API
identity.updateStatus
API
identity.updateStatus
Updates the current identity's status.
POST https://identity.api.rivet.gg/v1/identities/identities/self/status
curl -X POST -d '@body.json' 'https://identity.api.rivet.gg/v1/identities/identities/self/status'
Authorizations
Authorization[header]required
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
statusrequired
string
The current status of an identity. This helps players understand if another player is currently playing or has their game in the background.
Available options:
online
, away
, offline
curl -X POST -d '@body.json' 'https://identity.api.rivet.gg/v1/identities/identities/self/status'