Skip to main content
TypeScript

Authorizations

Authorization
string
header
required

Your Periskope API token, sent as Authorization: Bearer <token>. Generate one from the Periskope dashboard under Settings → API & Webhooks. API access requires an active Pro or Enterprise plan.

Path Parameters

ticket_id
string
required

Unique id of the ticket (e.g. ACM-001) — the ticket_id returned when the ticket was created

Minimum string length: 1
Example:

"ACM-001"

Response

The ticket with its chat, quoted message and attached messages

A ticket together with its chat, the message it was raised from and (on GET /tickets/{ticket_id}) the messages attached to it.

chat
object

The chat the ticket is raised on. null in the rare case the chat record is no longer available.

message
object

The message the ticket was raised from (quoted_message_id). Always present as an object — every field in it is null when the ticket is not linked to a message.

ticket
object

The ticket itself

attached_messages
object[]

Messages attached to the ticket. Populated only by GET /tickets/{ticket_id} — always an empty array in create and update responses.