Server description (copied; language not verified)
Send a message on behalf of an agent's user or an SMB via WhatsApp or email — both live. SMS and voice are advertised but NOT wired on this deployment: they always fail honestly (channel_not_configured), uncharged. Sent immediately, no scheduling. Every send passes a non-bypassable gate (TCPA, GDPR, CASL, PDPL, 26 jurisdictions): marketing without recorded consent gets a structured compliance_violation receipt. [from $0.02/call, variable] [async→get_outcome]
Input schema (server-provided preview — do not copy)
{
"type": "object",
"required": [
"content",
"message_type",
"recipient"
],
"properties": {
"content": {
"type": "object",
"required": [
"body"
],
"properties": {
"body": {
"type": "string"
},
"subject": {
"type": "string",
"description": "For email channel"
},
"template_id": {
"type": "string"
},
"template_vars": {
"type": "object"
}
}
},
"recipient": {
"type": "object",
"required": [
"id_type",
"id_value"
],
"properties": {
"id_type": {
"enum": [
"phone",
"email",
"smb_id",
"customer_id"
],
"type": "string"
},
"id_value": {
"type": "string"
},
"country_code": {
"type": "string",
"description": "ISO 3166-1 alpha-2, required for compliance routing"
}
}
},
"business_id": {
"type": "string",
"description": "Stable id for the recipient business; used for global demand shaping."
},
"message_type": {
"enum": [
"transactional",
"marketing",
"reminder",
"follow_up",
"notification"
],
"type": "string",
"description": "Intent tag for the message. Five permitted types. 'marketing' is allowed only…"
},
"on_behalf_of": {
"type": "string",
"description": "Who this message is FOR (your end-user's name/label). On WhatsApp this opens a…"
},
"idempotency_key": {
"type": "string",
"maxLength": 128,
"description": "Retry key: a 24h replay returns the original receipt, not re-run or charged."
},
"preferred_channel": {
"enum": [
"whatsapp",
"sms",
"email",
"voice",
"auto"
],
"type": "string",
"default": "auto"
}
}
}