---
title: "Get Call Token (call_id)"
method: POST
path: "/calls/{call_id}"
---

# Get Call Token (call_id)

`POST /calls/{call_id}`

Retrieves the token to join a call

## Request body

- GetCallTokenRequest, nullable
  - `user` UserObjectRequest — Represents chat user
    - `ban_expires` string, date-time — Expiration date of the ban
    - `banned` boolean — Whether a user is banned or not
    - `id` string, required — Unique user identifier
    - `invisible` boolean
    - `language` string — Preferred language of a user
    - `push_notifications` PushNotificationSettingsRequest
      - `disabled` boolean
      - `disabled_until` string, date-time
    - `revoke_tokens_issued_before` string, date-time — Revocation date for tokens
    - `role` string — Determines the set of user permissions
    - `teams` string[] — List of teams user is a part of
  - `user_id` string — **Server-side only**. User ID which server acts upon

## Response `201`

Successful response

- GetCallTokenResponse, nullable
  - `agora_app_id` string
  - `agora_uid` number
  - `duration` string, required — Duration of the request in human-readable format
  - `token` string, required

## Other responses

- `400` — Bad request
- `429` — Too many requests

---

[API](https://skmtc.net/streamioapi/apis/stream-io-api.md) · [All operations](https://skmtc.net/streamioapi/apis/stream-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/streamioapi/stream-io-api/versions/f5553620777b/schema)
