Raw schema
{
"type": "object",
"properties": {
"to": {
"minItems": 1,
"maxItems": 10,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 32,
"description": "Mobile number: UK 07700900123 / 447700900123, or international without + and leading zeros (e.g. 33612345678)."
},
"description": "Recipient mobile numbers (1-10): UK 07... / 447..., or international without + and leading zeros."
},
"message": {
"type": "string",
"minLength": 1,
"maxLength": 612,
"description": "Message text (UTF-8), up to 612 characters (160 per single GSM SMS, 153 per part when longer; unicode 70/66)."
},
"from": {
"type": "string",
"pattern": "^[A-Za-z0-9]{3,11}$",
"description": "Sender ID shown on the handset: 3-11 characters, letters and digits only (a company name or a reply number)."
},
"reference": {
"description": "Optional custom reference stored against the message (usable in firetext_get_delivery_report).",
"type": "string",
"minLength": 1,
"maxLength": 100
},
"unicode": {
"description": "0 = GSM characters only (default), 1 = always unicode, 2 = auto-detect from the text.",
"anyOf": [
{
"type": "number",
"const": 0
},
{
"type": "number",
"const": 1
},
{
"type": "number",
"const": 2
}
]
},
"subaccount": {
"description": "Sub-account ID (only when the account has the sub-account module). Omit for the main account.",
"type": "string",
"pattern": "^[A-Za-z0-9_.@-]{1,64}$"
}
},
"required": [
"to",
"message",
"from"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}