PUT
/
tickets
/
{ticket_number}
Update ticket
curl --request PUT \
  --url https://{your-workspace}.neetodesk.com/api/v1/public/tickets/{ticket_number} \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <x-api-key>' \
  --data '{
  "email": "john@example.com",
  "subject": "How to resolve the pending payments",
  "description": "I need your help in resolving the pending payments.",
  "ticket_fields": {
    "Country": "USA"
  },
  "status": "closed",
  "priority": "urgent",
  "category": "Problem"
}'
{
  "ticket": {
    "id": "<string>",
    "number": 123,
    "subject": "<string>",
    "description": "<string>",
    "priority": "<string>",
    "status": "<string>",
    "category": "<string>"
  }
}
Replace {your-workspace} with your workspace’s subdomain.
Learn how to find your subdomain in Identifying your subdomain.

Headers

X-Api-Key
string
default:your-api-key
required

X-Api-Key is used to authenticate requests using an API key. Provide your API key in this header to access protected endpoints. Refer to Authentication for more information.

Path Parameters

ticket_number
number
required

Ticket number that you want to update. You can use either the ticket ID (UUID) or ticket number (sequential number) interchangeably. Refer to Getting Ticket Identifiers for detailed instructions.

Body

application/json

Response

200 - application/json

OK - Request succeeded

The response is of type object.