---
title: "Refresh Client Token to join a room."
method: POST
path: "/rooms/{room_id}/actions/refresh_client_token"
tags: ["Rooms Client Tokens"]
---

# Refresh Client Token to join a room.

`POST /rooms/{room_id}/actions/refresh_client_token`

Synchronously refresh an Client Token to join a Room. Client Token is necessary to join a Telnyx Room. Client Token will expire after `token_ttl_secs`.

## Path parameters

- `room_id` string, uuid, required

## Request body

- RefreshRoomClientTokenRequest
  - `token_ttl_secs` integer — The time to live in seconds of the Client Token, after that time the Client Token is invalid and can't be used to join a Room.
  - `refresh_token` string, required

## Response `201`

Refresh room client token response.

- object
  - `data` object
    - `token` string
    - `token_expires_at` string, date-time — ISO 8601 timestamp when the token expires.

## Other responses

- `403` — Forbidden

---

[API](https://skmtc.net/team-telnyx/apis/telnyx-api-2.md) · [All operations](https://skmtc.net/team-telnyx/apis/telnyx-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api-2/revisions/8f5f4e537994/schema)
