Chats

Create a public share link

Make a chat publicly accessible via a share URL. Security note: anyone with the URL can read the chat, even without authenticating. Treat this as a deliberate publishing action. Omit expiry fields to use the default 7-day lifetime (or keep the current expiry when re-sharing a live link). Pass expires_at: null for a link that never expires.

post/chats/{id}/share

Request

Path parameters

idstring uuid required

The chat ID

Request body

expires_ininteger

Link lifetime in seconds from now.

expires_atstring date-time nullable

Absolute ISO 8601 expiry. Explicit null means the link never expires.

Response

Share link created

share_urlstring required

Public share URL

is_publicboolean required

Always true on success

expires_atstring nullable required

ISO 8601 expiry, or null when the link never expires.

Changes

No recorded changes to this operation across all 1 revision of this API.