---
title: "Save an Inbox token"
method: PUT
path: "/channels/in_app/inbox/tokens"
tags: ["in_app", "inbox"]
---

# Save an Inbox token

`PUT /channels/in_app/inbox/tokens`

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.

## Request body

- InboxToken
  - `connection_id` string, nullable — Realtime connection ID to restrict delivery to a specific Ably connection.
  - `token` string, required — The in-app inbox token generated for this user.

## Response `200`

OK

- InboxToken
  - `connection_id` string, nullable — Realtime connection ID to restrict delivery to a specific Ably connection.
  - `token` string, required — The in-app inbox token generated for this user.

---

[API](https://skmtc.net/magicbell/apis/magicbell-api.md) · [All operations](https://skmtc.net/magicbell/apis/magicbell-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/magicbell/magicbell-api/revisions/8b99dca11019/schema)
