Raw schema
{
"type": "object",
"properties": {
"subject": {
"type": "string",
"description": "Ticket subject (required)."
},
"description": {
"type": "string",
"description": "Ticket description, HTML content (required)."
},
"email": {
"description": "Requester email (one of email/requester_id/phone required).",
"type": "string"
},
"requester_id": {
"description": "Requester (contact) id (one of email/requester_id/phone required).",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"phone": {
"description": "Requester phone (one of email/requester_id/phone required).",
"type": "string"
},
"status": {
"description": "Ticket status: 2=Open, 3=Pending, 4=Resolved, 5=Closed.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"priority": {
"description": "Ticket priority: 1=Low, 2=Medium, 3=High, 4=Urgent.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"source": {
"description": "Ticket source: 1=Email, 2=Portal, 3=Phone, 7=Chat, 9=Feedbackwidget, 10=Outbound email.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"type": {
"description": "Ticket type (e.g. Question, Incident).",
"type": "string"
},
"tags": {
"description": "Tags (array of strings).",
"type": "array",
"items": {
"type": "string"
}
},
"cc_emails": {
"description": "Emails to CC on the ticket.",
"type": "array",
"items": {
"type": "string"
}
},
"group_id": {
"description": "Id of the group to assign the ticket to.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"responder_id": {
"description": "Id of the agent the ticket is assigned to.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"company_id": {
"description": "Id of the company the ticket belongs to.",
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"custom_fields": {
"description": "Custom field values, keyed by field name.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
}
},
"required": [
"subject",
"description"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}