---
title: "List an user's Inbox tokens"
method: GET
path: "/users/{user_id}/channels/in_app/inbox/tokens"
tags: ["in_app", "inbox"]
---

# List an user's Inbox tokens

`GET /users/{user_id}/channels/in_app/inbox/tokens`

## Request

- Base URL: `https://api.magicbell.com/v2`
- URL: `https://api.magicbell.com/v2/users/{user_id}/channels/in_app/inbox/tokens`
- Auth: none declared
- TypeScript: <https://skmtc.dev/magicbell/apis/magicbell-api/docs/users/:user_id/channels/in_app/inbox/tokens/get.ts> (a function with typed inputs; its response is checked against the schema)

Lists all Inbox tokens associated with a specific user. This endpoint is available to project administrators and returns a paginated list of tokens, including both active and revoked tokens.

## Path parameters

- `user_id` string, required

## Query parameters

- `limit` integer
- `starting_after` string
- `ending_before` string

## Response `200`

OK

- InboxTokenResponseCollection
  - `data` InboxTokenResponse[]
    - `connection_id` string, nullable: Realtime connection ID to restrict delivery to a specific Ably connection.
    - `created_at` string, date-time, required: The timestamp when the token was created.
    - `discarded_at` string, date-time, nullable: The timestamp when the token was discarded, if applicable.
    - `id` string, required: The unique identifier for the token.
    - `token` string, required: The in-app inbox token generated for this user.
    - `updated_at` string, date-time, nullable: The timestamp when the token metadata last changed.
  - `links` Links
    - `first` string
    - `next` string, nullable
    - `prev` string, nullable

---

[API](https://skmtc.dev/magicbell/apis/magicbell-api.md) - [All operations](https://skmtc.dev/magicbell/apis/magicbell-api/llms.txt) - [OpenAPI document](https://skmtc.dev/magicbell/apis/magicbell-api/revisions/8b99dca11019?raw)
