Raw schema
{
"type": "object",
"properties": {
"ticket_number": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991,
"description": "The ticket NUMBER (the `id` field, e.g. 3 for #DC00000003) โ not the prefixed display id."
},
"staff": {
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991,
"description": "The agent making the reply (happyfox_list_staff) id."
},
"plaintext": {
"description": "Reply in plain text.",
"type": "string"
},
"html": {
"description": "Reply in HTML.",
"type": "string"
},
"update_customer": {
"description": "true = send the reply to the contact by email. Default false.",
"type": "boolean"
},
"subject": {
"description": "Override the subject of the email sent to the contact.",
"type": "string"
},
"cc": {
"description": "CC email addresses, as a comma-separated string.",
"type": "string"
},
"bcc": {
"description": "BCC email addresses, as a comma-separated string.",
"type": "string"
},
"send_survey": {
"description": "true = send the satisfaction survey.",
"type": "boolean"
},
"status": {
"description": "New status id (happyfox_list_statuses).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"priority": {
"description": "New priority id (happyfox_list_priorities).",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"assignee": {
"description": "Agent id to assign the ticket to (from happyfox_list_staff); null to unassign.",
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"time_spent": {
"description": "Minutes to add to the ticket's time spent (some categories require it).",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"due_date": {
"description": "Due date, yyyy-mm-dd or dd/mm/yyyy.",
"type": "string",
"pattern": "^(\\d{4}-\\d{2}-\\d{2}|\\d{2}\\/\\d{2}\\/\\d{4})$"
},
"tags": {
"description": "Tags to set, as a comma-separated string.",
"type": "string"
},
"custom_fields": {
"description": "Custom field values keyed \"t-cf-<id>\". Ticket fields (ids from happyfox_list_ticket_custom_fields); compulsory-on-completion fields are required when closing. Values: text = string, number = number, dropdown = choice id, multiple choice = array of choice ids, date = yyyy-mm-dd.",
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^(t\\-cf\\-)\\d+$"
},
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "array",
"items": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
}
]
}
}
},
"required": [
"ticket_number",
"staff"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}