---
title: "Get User Access Token"
method: POST
path: "/platform/api/v1/users/{id}/token"
tags: ["Users"]
---

# Get User Access Token

`POST /platform/api/v1/users/{id}/token`

## Request

- Base URL: `https://app.chatwoot.com`
- URL: `https://app.chatwoot.com/platform/api/v1/users/{id}/token`
- Auth: one of:
  - HTTP bearer
  - API key in header `api_access_token`

Get the access token of a user

## Response `200`

Success

- object
  - `access_token` string: Access token of the user
  - `expiry` integer, nullable: Expiry timestamp
  - `user` object
    - `id` integer: User ID
    - `name` string: User's full name
    - `display_name` string: User's display name
    - `email` string: User's email address
    - `pubsub_token` string: User's pubsub token

## Other responses

- `401`: Unauthorized
- `404`: The given user does not exist

## Changes

- **2026-09-23** `e0345067d3f1`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/chatwoot/apis/chatwoot-2/changes/platform/api/v1/users/:id/token/post.md)

---

[API](https://skmtc.dev/chatwoot/apis/chatwoot-2.md) - [All operations](https://skmtc.dev/chatwoot/apis/chatwoot-2/llms.txt) - [OpenAPI document](https://skmtc.dev/chatwoot/apis/chatwoot-2/revisions/b05f5314267f?raw)
