Skip to main content

Get Ticket Draft

GET 

/api/support/agent/tickets/:ticket/draft

Returns the ticket's shared draft, or {"data": null} when the ticket has none.

Required scope: support:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Path parameters

  • ticket (integer) — the ticket id.

Response fields (data, nullable) — id, ticket_id, mode (reply or note), body, cc[], status_after (nullable), attachments[] ({name, size} metadata only), version (the token the next save must carry), user ({id, name} — who holds the draft), created_at, updated_at.

Read it before editing the draft: keep version, send it back with every save, and a 409 from Save Ticket Draft tells you a colleague got there first.

Authentication: Bearer token with the support:read scope, or an authenticated session, from a caller with an active support role. No tenant context — this endpoint is central.

Request

Responses

OK

Response Headers
    Content-Type