Activities

post
Create an activity

/v1/games/:game_id/activities
Request
Response
Request
Body Parameters
custom_action_id
required
string
custom_player_id
required
string
custom_session_id
optional
string
amount
optional
integer
Defaults to 1
date_time_utc
optional
string
Sample format: `2021-01-13T23:13:46.921279Z`
Response
200: OK

Amount

The amount that you specify indicates the number of times the action has been performed by the player.

Default: 1

Date/Time UTC

This is the date/time that the action is to be recorded. For some circumstances, this shouldn't be necessary, but for others it will. It is good to use if precision is important or if there's a need to "go back in time" and report activities that weren't previously reported.

Default: the current date/time when the request is received.

The value passed cannot be in the future.