Connection
Token validation
REST
For calls to the REST API validity is checked on every request.
Websocket
For websocket calls, the token is validated on connection only, subsequent requests are automatically valid as long as the websocket connection is open. There is a maximum connection lifetime of two hours after which the connection will be closed and you will need to provide a new and valid token to open a new connection. We recommend rolling over between multiple websocket-connections. Match suggestions will be delivered round-robin, when multiple subscribers exist.
Duplicate players
If a player is already in the queue or in a match suggestion that is waiting to be picked up, and you try to add a player with the same identifier, the endpoint will return a 409 - Conflict
, instructing the client to first pick up the match of that user.