Skip to content
Navigation
POST/tickets/{ticketId}/status

Set a ticket status

Move a ticket to a workspace status id (see GET /ticket-statuses).

Parameters

NameInTypeDescription
ticketIdrequiredpathstringTicket ID

Request body

FieldTypeDescription
statusIdrequiredstringTarget ticket status id (see GET /ticket-statuses)

Response

Updated ticket

FieldTypeDescription
idrequiredstringTypeID - a type-prefixed UUID
numberrequirednumberPer-workspace sequential ticket number
referencerequiredstringHuman reference, "#" + number
typerequired"customer" | "back_office" | "tracker"Ticket object type
ticketTyperequiredobject | nullWorkspace-defined registry type, null on legacy typeless tickets
titlerequiredstring
statusrequiredobjectInternal workspace status: its display name + stable category
stagerequired"received" | "in_progress" | "awaiting_requester" | "resolved" | nullCustomer-facing public stage, null when the status projects none
priorityrequired"none" | "low" | "medium" | "high" | "urgent"Triage priority
requesterPrincipalIdrequiredstring | nullPrincipal ID of the requester, null if unattributed
assigneePrincipalIdrequiredstring | nullPrincipal ID of the assigned teammate, null if unassigned
assigneeTeamIdrequiredstring | nullID of the assigned team, null if unassigned
companyIdrequiredstring | nullID of the associated company, null if none
firstResponseAtrequiredstring | nullWhen a teammate first responded, null until then
dueAtrequiredstring | nullSLA due time, null if no policy applies
resolvedAtrequiredstring | nullWhen the ticket entered a closed status, null while open
createdAtrequiredstringISO 8601 timestamp
updatedAtrequiredstringISO 8601 timestamp
reopenedCountrequirednumberHow many times the ticket has reopened

Errors

400Validation error
401Unauthorized
404Ticket not found

Example request

curl \
  -X POST \
  "https://feedback.quackback.io/api/v1/tickets/:ticketId/status" \
  -H "Authorization: Bearer qb_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
  "statusId": "post_01h455vb4pex5vsknk084sn02q"
}'