Skip to content

Mint a single-use ticket that signs a link holder into the embedded room.

POST
/api/v1/rooms/{slug}/frame-tickets

Pass the ticket to the embed as the access-ticket attribute (or the accessTicket mount option). It is valid once, for 60 seconds, and only in a frame whose parent page is parentOrigin, which must be one of the room’s allowed embedding origins.

slug
required
string

The slug of a room the key’s account owns or co-owns.

Media typeapplication/json
object
accessLink
required
string
parentOrigin
required

Exact origin of the embedding page, e.g. https://your-site.example

string
Examplegenerated
{
"accessLink": "example",
"parentOrigin": "example"
}

Ticket created.

Media typeapplication/json
object
ticket
required
string
expiresAt
required
string format: date-time
Examplegenerated
{
"ticket": "example",
"expiresAt": "2026-04-15T12:00:00Z"
}

Invalid body

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}

Missing or invalid developer key.

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}

The key lacks the required scope, or is not permitted for this room.

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}

Room (or file, or access link) not found. A room the key’s account does not own or co-own is reported the same way.

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}

Rate limit exceeded; back off about a minute.

Media typeapplication/json
object
error
required
string
Examplegenerated
{
"error": "example"
}