---
title: "Generate a New Access Token"
method: POST
path: "/access-token"
tags: ["Auth"]
---

# Generate a New Access Token

`POST /access-token`

Generates a short-lived access token to make API requests from authenticated clients.

## Headers

- `Cartesia-Version` '2026-03-01', date, required

## Request body

- TokenRequest
  - `grants` TokenGrant
    - `tts` boolean, nullable — The `tts` grant allows the token to be used to access any TTS endpoint.
    - `stt` boolean, nullable — The `stt` grant allows the token to be used to access any STT endpoint.
    - `agent` boolean, nullable — The `agent` grant allows the token to be used to access the Agent websocket calling [endpoint](/line/integrations/web-calls#connection).
  - `expires_in` integer, nullable — The number of seconds the token will be valid for since the time of generation. The maximum is 1 hour (3600 seconds).

## Response `200`

- TokenResponse
  - `token` string, required — The generated Access Token.

---

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