Enigma Developers
API ReferenceTickets

Update a ticket

PATCH
/v1/tickets/{ticketId}

Only the fields you send are changed. Requires scope tickets:update.

Authorization

headerAuthorizationBearer <token>

Your organization API key: Authorization: Bearer org_…

Path Parameters

ticketId*string

The ticket's ticketId.

Request Body

application/json
  1. body
subject?string
title?stringDeprecated

Old name for subject.

description?string
status?TicketStatus
Value in"open""in_progress""resolved""closed"
priority?TicketPriority
Value in"low""medium""high""urgent"
assigneeId?string
resolutionDate?string
Formatdate-time

Response Body

The updated ticket.

application/json
  1. response
_id?string
ticketId?string

Human-readable ticket ID; use it in the ticket URLs.

title?string

The ticket subject.

description?string
status?TicketStatus
Value in"open""in_progress""resolved""closed"
priority?TicketPriority
Value in"low""medium""high""urgent"
assigneeId?string|null
audienceId?string|null
organizationId?string
resolutionDate?|
Formatdate-time
createdAt?string
Formatdate-time
updatedAt?string
Formatdate-time
curl -X PATCH 'https://api.enigma-ai.com/v1/tickets/string' \  -H 'Content-Type: application/json' \  -d '{  "status": "resolved",  "resolutionDate": "2026-10-10T12:00:00.000Z"}'
{  "_id": "string",  "ticketId": "string",  "title": "string",  "description": "string",  "status": "open",  "priority": "low",  "assigneeId": "string",  "audienceId": "string",  "organizationId": "string",  "resolutionDate": "2019-08-24T14:15:22Z",  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}