Skip to main content
GET
Get a ticket

Authorizations

Authorization
string
header
required

API token with sk-de- prefix. Created in the Decimal dashboard under Settings → API Tokens.

Path Parameters

source
string
required

Helpdesk the ticket was synced from, lowercase (e.g. plain, zendesk).

external_id
string
required

Ticket ID in the source helpdesk (for Plain, the thread ID).

Response

The ticket.

id
integer
required

Decimal ticket ID.

external_id
string
required

Ticket ID in the source helpdesk.

external_source
string
required

Helpdesk the ticket was synced from.

number
integer | null
required
display_id
string | null
required
title
string
required
body_html
string
required

The original post.

state
string
required
priority
string | null
required
source
string
required

Channel the ticket came in on.

type
string
required

Link to the ticket in the helpdesk.

tags
string[]
required
requester_id
string | null
required
requester
object | null
required

As returned by the helpdesk. Shape varies by helpdesk.

account_id
string | null
required
account
object | null
required

As returned by the helpdesk. Shape varies by helpdesk.

assignee_id
string | null
required
assignee
object | null
required

As returned by the helpdesk. Shape varies by helpdesk.

team_id
string | null
required
team
object | null
required

As returned by the helpdesk. Shape varies by helpdesk.

custom_fields
object | null
required

As returned by the helpdesk. Shape varies by helpdesk.

attachments
object[]
required

Attachments on the original post.

messages
object[]
required

Replies and notes after the original post, oldest first.

created_at
string<date-time> | null
required

When Decimal first synced the ticket.

resolution_time
string<date-time> | null
required
updated_at
string<date-time> | null
required

Last updated in the helpdesk.