latestOpenAPI 3.1.02026-08-1014497184.0 KB

8b99dca11019

in_app
inbox

Save an Inbox token

Saves the Inbox token for the authenticated user. This token serves as a credential for accessing channel-specific functionality. Each token is unique to the user and channel combination, allowing for direct communication with the user via the channel.

put/channels/in_app/inbox/tokens

Request body

connection_idstring nullable

Realtime connection ID to restrict delivery to a specific Ably connection.

tokenstring required

The in-app inbox token generated for this user.

Example request

{
  "token": "eH0fLhuiRj2Np7UQ-opXAm:APA91bGtC-wH4sgW1jWkMKIZf7FYkm_RTQb7Jid7DfSJnCgivGYoRzhLrGxpcIF6yPjmbzAr6CKF-6phZkBasFUUfZmfdgcqfA_ZlZdVk6pSnon3LGzMumCzEJE0zgWoo_RUmVUVJUAt"
}

Response

OK

connection_idstring nullable

Realtime connection ID to restrict delivery to a specific Ably connection.

tokenstring required

The in-app inbox token generated for this user.

Example response

{
  "token": "eH0fLhuiRj2Np7UQ-opXAm:APA91bGtC-wH4sgW1jWkMKIZf7FYkm_RTQb7Jid7DfSJnCgivGYoRzhLrGxpcIF6yPjmbzAr6CKF-6phZkBasFUUfZmfdgcqfA_ZlZdVk6pSnon3LGzMumCzEJE0zgWoo_RUmVUVJUAt"
}