Wamebo REST API

Connect your custom CRM, ERP, or web application directly to the WhatsApp Cloud API using our simplified, secure REST endpoints.

Authentication

All API requests require your unique Workspace API Key. You can generate or revoke this key from your Settings > Workspace Preferences dashboard. Pass the key in the Authorization header as a Bearer token.

HTTP Header
Authorization: Bearer YOUR_WORKSPACE_API_KEY
Content-Type: application/json

Send Text Message

Send a standard text message to a customer. Important: You can only send free-form text messages if the customer has sent you a message within the last 24 hours (Active Customer Service Window).

POST https://api.wamebo.com/v1/messages/send-text
Parameters (JSON)
FieldTypeDescription
to * String Customer's WhatsApp number with country code (no '+' sign). Ex: 919876543210
text * String The text message body you wish to send.
curl -X POST https://api.wamebo.com/v1/messages/send-text \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "919876543210",
    "text": "Hello! Your order has been packed and is ready for shipping."
}'
$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.wamebo.com/v1/messages/send-text', [
  'headers' => [
    'Authorization' => 'Bearer YOUR_API_KEY',
    'Content-Type' => 'application/json'
  ],
  'json' => [
    'to' => '919876543210',
    'text' => 'Hello! Your order has been packed and is ready for shipping.'
  ]
]);

echo $response->getBody();
const axios = require('axios');

axios.post('https://api.wamebo.com/v1/messages/send-text', {
    to: '919876543210',
    text: 'Hello! Your order has been packed and is ready for shipping.'
}, {
    headers: {
        'Authorization': 'Bearer YOUR_API_KEY',
        'Content-Type': 'application/json'
    }
})
.then(res => console.log(res.data))
.catch(err => console.error(err));

Send Template Message

Send a pre-approved Meta Template message. This endpoint can be used to initiate conversations outside the 24-hour service window. You can pass dynamic variables via the components array.

POST https://api.wamebo.com/v1/messages/send-template
Parameters (JSON)
FieldTypeDescription
to * String Customer's WhatsApp number.
template_name * String The exact name of the approved template in your Meta dashboard.
language String Language code (e.g., en, es). Default is en.
components Array Array of variable objects replacing {{1}}, {{2}} in your template.
Example JSON Payload
{
    "to": "919876543210",
    "template_name": "order_shipped_alert",
    "language": "en",
    "components": [
        {
            "type": "body",
            "parameters": [
                { "type": "text", "text": "John Doe" },
                { "type": "text", "text": "ORD-5542" }
            ]
        }
    ]
}