Skip to main content
PUT
cURL
Set a custom field value on a ticket. If the value already exists for that attribute, it is updated; otherwise a new row is created. Get valid ticketAttributeId values from attributeValues on Get ticket, or from Settings → Ticket types in the dashboard (see Custom attributes).

Path parameters

string
required
Ticket UUID.

Request body

The ticket ticketId comes from the URL path — only send the attribute fields in the body.
string
required
Attribute definition UUID from the ticket type’s attribute list.
string | number | boolean | string[] | null
required
Value to store. Shape must match the attribute’s format (text, list, number, etc.).
This endpoint returns the attribute value row, not the ticket. A ticket.updated webhook fires separately with the full ticket row in the payload.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-api-key
string
required
Minimum string length: 1
x-workspace-slug
string
required
x-workspace-id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Path Parameters

ticketId
string
required

Body

application/json
ticketAttributeId
string
required
value
required

Response

Successful response

ticketId
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
ticketAttributeId
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
slug
string
required
value
required
id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
createdAt
string
required
updatedAt
string
required