Skip to main content
POST
/
api
/
public
/
ticket
/
metadata
Update metadata of a ticket
curl --request POST \
  --url https://api.example.com/api/public/ticket/metadata \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "metadata": {
    "order_id": "ORD-12345",
    "priority": "high"
  }
}
'

Headers

x-api-key
string
required

API key needed to authorize the request

Body

application/json
metadata
object
required
ticket_id
string<uuid>
ai_contact_id
string<uuid>
contact_number
string
allow_closed_ticket
boolean

Response

Ticket metadata updated successfully