Description du serveur (copiée ; langue non vérifiée)
Send a message on behalf of an agent's user or an SMB across WhatsApp (free during launch), SMS, email, or voice, sent immediately with no scheduling. Every send routes through a non-bypassable gate (TCPA, GDPR, CASL, PDPL across 26 jurisdictions): marketing without recorded consent is rejected at runtime with a structured compliance_violation receipt. [from $0.02/call, variable] [async→get_outcome]
Schéma d’entrée (aperçu fourni par le serveur — ne pas copier)
{
"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"
}
}
}