Authentication
After creating an access key, you should use it in the Authorization
header:
curl \
-X POST \
-H 'Authorization: Bearer eyJhb..........w5c' \
-H 'Content-type: application/json' \
'https://api.trytalo.com/v1/events'
Player authentication
When calling API endpoints on behalf of a player that is using player authentication you must send the following headers:
x-talo-player
: the ID of the playerx-talo-alias
: the ID of the player's identified aliasx-talo-session
: the session token received after registering or logging-in a player
tip
The Godot plugin and Unity package will automatically populate these headers for you. If you're receiving session-related errors, visit the Common errors page for more information.