PATCH
/
ticket
/
{ticketId}
curl --request PATCH \
  --url https://demo.enneo.ai/api/mind/ticket/{ticketId} \
  --header 'Content-Type: application/json' \
  --data '{
  "contractId": 376189,
  "status": "open",
  "workedOnBy": null,
  "priority": "low",
  "dueBy": 1609502400,
  "firstResponseDueBy": 1609502400,
  "tagIds": [
    1
  ]
}'
{
  "success": true
}

Authorizations

connect.sid
string
cookie
required

Cookie-based authentication

Path Parameters

ticketId
integer
required

The id of the ticket

Body

application/json
A JSON object containing changes
contractId
integer | null

The id of the contract to set

status
enum<string>

Status of ticket

Available options:
open,
pending,
resolved,
closed,
waitingOnCustomer,
waitingOnThirdParty
workedOnBy
integer | null

If set to null, flag that the agent has stopped working on this ticket

priority
enum<string>

Priority of ticket

Available options:
low,
medium,
high,
urgent
dueBy
string | null

The due date to set

firstResponseDueBy
string | null

The first response due date to set

tagIds
integer[]

An array of tag ids to set

Response

200
application/json
Successful operation

Data format of Enneo success messages

success
boolean

Operation was successful