---
title: "Get a fresh joining pass for a call, before the current one expires."
method: POST
path: "/v1/refresh_call_token"
tags: ["Live calls"]
---

# Get a fresh joining pass for a call, before the current one expires.

`POST /v1/refresh_call_token`

## Request

- Base URL: `https://partner.mindupload.app`
- URL: `https://partner.mindupload.app/v1/refresh_call_token`
- Auth: API key in header `X-Partner-Key`

Returns a new joining pass for somebody already in a call. A pass authorizes joining, so a call in progress does not drop when one expires — but a fresh pass is what lets a client reconnect after losing its network, so ask for one before the current pass expires. Never refused for being over your allowance.

## Request body

- object
  - `preferred_language` string, nullable: BCP-47-ish language code (e.g. 'en', 'zh-cn') for localized messages.
  - `username` string, nullable: The end-user's username.
  - `password` string, nullable: The end-user's password on first sign-in. After login/register, send the returned session token (JWT) here instead — the field accepts either, and reusing the token keeps raw passwords out of your storage.
  - `call_session_id` string, nullable

## Response `200`

Result envelope — check the success field.

- object
  - `success` boolean: Whether the call succeeded.
  - `error_message` string, nullable: Human-readable reason when success is false.
  - `error_code` string
  - `call_session_id` string, nullable
  - `auth_token` string, nullable
  - `participant_id` string, nullable
  - `expires_at` integer, nullable: UNIX timestamp when this resource or capability expires.
  - `is_host` boolean, nullable

## Other responses

- `400`: Invalid request payload.
- `401`: Missing or invalid partner key.
- `403`: Partner is not authorized for this operation.
- `429`: Rate limit exceeded — retry later.
- `500`: Internal server error.

---

[API](https://skmtc.dev/mindupload/apis/mind-upload-partner-api.md) · [All operations](https://skmtc.dev/mindupload/apis/mind-upload-partner-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mindupload/apis/mind-upload-partner-api/revisions/0371bdf78533?raw)
