v29

latestOpenAPI 3.1.2raw.githubusercontent.com2026-08-014117755.2 KB
Chats

Get Preview URL

Returns the preview URL for a chat. If the preview isn't ready, the response is null. Poll this endpoint until the response is non-null.

get/chats/{chatId}/preview

Path parameters

chatIdstring required

The unique identifier of the chat.

Response

The preview details, or null if the preview is still starting. Poll this endpoint until the response is non-null.

urlstring uri required

The preview URL for this chat.

tokenstring required

A short-lived token for accessing the preview URL via the x-v0-preview-token header.

expiresAtstring date-time required

The ISO timestamp when token expires.