Skip to main content

Close event

Request

URI: /closeEvent

Example usage: https://{callback_url}/closeEvent

The request is executed using the POST method.

This method is used to notify the platform about closed events in games.

note

closeEvent come on all providers except Spribe.

Request parameters

NameTypeRequiredDescription
eventIdstringYesEvent that should to be closed
userIdstringYesUser identifier
tokenstringYesCurrent user token
gameIdintegerYesIdentifier of the game where the event has occured

Example of a request parameters

Response: /closeEvent
{
"eventId": "1234",
"userId": "3234",
"token": "XXXXXXXXXX",
"gameId": 1018786
}

Response parameters

NameTypeRequiredDescription
statusbooleanYesResponse status

Example of a successful response

Response: /closeEvent
{
"status": true
}