Raw schema
{
"type": "object",
"properties": {
"subject": {
"type": "string",
"minLength": 1,
"maxLength": 255,
"description": "Case subject."
},
"contents": {
"type": "string",
"minLength": 1,
"description": "Body of the first post."
},
"requester_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"description": "The requester (customer user) id (integer)."
},
"channel": {
"type": "string",
"enum": [
"MAIL",
"TWITTER",
"FACEBOOK",
"NOTE"
],
"description": "MAIL, TWITTER, FACEBOOK or NOTE (internal, not sent)."
},
"channel_id": {
"description": "Channel account id (e.g. the mailbox id). Required unless channel is NOTE.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"cc": {
"description": "MAIL only: CC addresses.",
"maxItems": 50,
"type": "array",
"items": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
}
},
"html": {
"description": "MAIL/NOTE: treat contents as HTML (sanitized by Kayako).",
"type": "boolean"
},
"priority_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"type_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"status_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"assigned_team_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"assigned_agent_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"form_id": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"tags": {
"description": "Comma-separated tags.",
"type": "string",
"maxLength": 500
},
"field_values": {
"description": "Custom field values keyed by field key, e.g. {\"order_number\": \"1234\"}. For multi-select fields pass CSV options โ ALL options must be passed; omitted ones are removed.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
}
},
"required": [
"subject",
"contents",
"requester_id",
"channel"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}