Skip to main content
POST
Create a public share link

Authorizations

Authorization
string
header
required

API key for authentication. Format: gcai_xxxxxxxxx

Create API keys in the GC AI app under Settings → API.

Path Parameters

id
string<uuid>
required

The chat ID

Body

application/json
expires_in
integer

Link lifetime in seconds from now.

Required range: x > 0
expires_at
string<date-time> | null

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

Response

Share link created

share_url
string
required

Public share URL

is_public
boolean
required

Always true on success

expires_at
string | null
required

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