Whatsapp messages
Send a WhatsApp message to any phone number using your connected WhatsApp account.
Rate Limits (per account):
Burst: 6 messages capacity (refills 1 token every 20 seconds = 3/min)
Hourly: 60 messages per hour (sliding window)
Response Headers:
X-RateLimit-Burst-Limit: Maximum burst capacityX-RateLimit-Burst-Remaining: Remaining burst tokensX-RateLimit-Hour-Limit: Maximum messages per hourX-RateLimit-Hour-Remaining: Remaining hourly quotaRetry-After: Seconds to wait if rate limited (429 response)
Processing: Messages are processed asynchronously. The endpoint returns 201 immediately and processing happens in the background.
Your WhatsApp account ID from RogerRoger
01234567-89ab-cdef-0123-456789abcdefRecipient phone number in E.164 format (with country code)
+31612345678Pattern: ^(\+?[1-9]\d{1,14})$Message text to send (1-4096 characters)
Hello! This is a test message from our API.Message queued successfully. Check rate limit headers for remaining quota.
Validation error (invalid UUID, phone format, or message length)
Unauthorized (invalid JWT token or API key)
Forbidden
WhatsApp account not found or access denied
An error occurred
Rate limit exceeded. Check Retry-After header for wait time in seconds.
POST /whatsapp/messages HTTP/1.1
Host: api.rogerroger.io
Content-Type: application/ld+json
Accept: */*
Content-Length: 183
{
"accountId": "01234567-89ab-cdef-0123-456789abcdef",
"phoneNumber": "+31612345678",
"message": "Hello! This is a test message from our API.",
"attachments": [
{
"url": "https://example.com"
}
]
}No content
Last updated

