API Documentation

Player notification

v1.0.0

This method sends the notification request about the action of the player in game. Available only for ​AVIATOR

  • Path: /playerNotificationCallback
  • Request Method: POST
  • Content-Type: application/json; charset=utf-8
  • Headers: X-Art-Client-ID, X-Art-Client-TS, X-Art-Client-Signature

Request

ParameterTypeDescription
user_idstringPlayer ID
gamestring [game enum]Identifies specific game. (game identificator)
session_tokenstringGame session token
platformstring [platform enum]Enum: mobiledesktop
notificationstringThe type of notification Enum: reality_check
notification_dataobjectThe necessary data object for notification
actionstringEnum: STOPCONTINUE

Response

ParameterTypeDescription
codeinteger [enum]Response code
messagestringResponse any logical message

Important!

Each request sent to the API requires validation using specific security headers. For details on implementing this, refer to Securing API Requests.

Reality check is available only for the game ​AVIATOR

Possible codes

  • 200 - Success
  • 413 - Invalid Client-Signature

If code is 200 - operator should always return parameter data with information; HTTP status code should always be 200