API Reference
Log In
API Reference

Record batch of rewardable events

Example of a batch of rewardable events

Only userId and dataType are required. All other fields are optional.

[
   {
      "userId": "15",
      "dataType": "betExecuted",
      "eventId": "test",
      "body": {
         "betType": "single",
         "odds": 5.2,
         "description": "Just a cool bet"
      }
   },
    {
        "userId": "16",
        "dataType": "betExecuted",
        "eventId": "test",
        "body": {
          "betType": "single",
          "odds": 5.1,
          "description": "Just a cool bet"
        }
    }
]
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
Headers
string
required
Defaults to staging

Namespace

string

Version

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json