Skip to main content
PATCH
Update a ticket

Authorizations

Authorization
string
header
required

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

Scopes

tickets:update
tickets:read

Path Parameters

id
integer
required

Decimal ticket ID (id on the ticket).

Body

application/json
status
string

Status as the helpdesk names it, like the ticket state. An unavailable status fails with bad_request naming the ones this ticket accepts.

Minimum string length: 1
priority
string

Priority as the helpdesk names it. Plain, Zendesk, Linear, and Decimal tickets only.

Minimum string length: 1
assignee
string | null

Teammate to assign, by email or user ID in the helpdesk. null unassigns. Plain, Pylon, Zendesk, Intercom, Linear, and Decimal tickets only.

Minimum string length: 1
add_tags
string[]

Tags to add. Decimal tickets only.

Required array length: 1 - 20 elements
Required string length: 1 - 50

Response

The updated ticket, without its messages.

id
integer
required

Decimal ticket ID.

external_id
string
required

Ticket ID in the source helpdesk.

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

Status as the helpdesk names it. Not normalized across helpdesks.

priority
string | null
required
type
string
required
url
string | null
required

Link to the ticket in the helpdesk.

decimal_url
string<uri>
required

Link to the ticket in Decimal.

tags
string[]
required
requester
object | null
required

Other fields are as returned by the helpdesk and vary by helpdesk.

account
object | null
required

Other fields are as returned by the helpdesk and vary by helpdesk.

assignee
object | null
required

Other fields are as returned by the helpdesk and vary by helpdesk.

team
object | null
required

Other fields are as returned by the helpdesk and vary by helpdesk.

custom_fields
object | null
required

As returned by the helpdesk. Shape varies by helpdesk.

created_at
string<date-time> | null
required

When the ticket entered Decimal. For older tickets, when it was created in the helpdesk.

external_created_at
string<date-time> | null
required

Created in the helpdesk.

external_updated_at
string<date-time> | null
required

Last updated in the helpdesk.