One endpoint for text, media, and template messages across all channels.
Every message request requires a client_ref field. This is the unique identifier for the client (end-business) on whose behalf you are sending the message. IntelliPortal uses this to route the message through the correct WhatsApp Business Account and phone number.
Where do I get client_ref? When you onboard a client via the Embedded Signup flow, IntelliPortal returns a client_ref in the response. Store this value and include it in every message you send on behalf of that client.
{
"client_ref": "partner-123", // ← identifies which client's WABA to use
"to": "+1234567890",
"type": "text",
"text": { "body": "Hello!" }
}POST https://api.intelliportal.io/v1/messages/send
Authorization: Bearer <api_key>
Content-Type: application/json
{
"client_ref": "partner-123",
"to": "+0987654321",
"type": "text",
"text": {
"body": "Thanks for reaching out!"
}
}POST https://api.intelliportal.io/v1/messages/send-template
Authorization: Bearer <api_key>
Content-Type: application/json
{
"client_ref": "partner-123",
"to": "+0987654321",
"template": {
"name": "hello_world",
"language": { "code": "en" }
}
}{
"success": true,
"message_id": "wamid.xxx"
}