Send WhatsApp messages, manage templates, and handle media — all through a single, simple API.
Generate your API token in the Business Portal (Operate → Settings → Developer API), point your requests to bbgateway.spotbay.in/wa-api, and start sending. Full WhatsApp Cloud API payload compatibility — no changes to your message structure needed.
# Send a WhatsApp message
curl -X POST \
'https://bbgateway.spotbay.in/wa-api/v21.0/<phone_id>/messages' \
-H 'Authorization: Bearer sb_wa_your_token' \
-d '{
"messaging_product": "whatsapp",
"to": "919876543210",
"type": "text",
"text": {"body": "Hello! 👋"}
}'Business Portal → Operate → Settings → Developer API. Start sending in minutes.
One token, one base URL. Follow the WhatsApp Cloud API spec — send messages, manage templates, upload media. No complicated setup.
SpotBay handles authentication, rate limits, and reliability. Your token is all you need to get started.
Text, images, video, audio, documents, interactive buttons, lists, templates, reactions — the complete WhatsApp Cloud API message surface.
Get your SpotBay API token from the Business Portal → Operate → Settings → Developer API.
curl -X POST 'https://bbgateway.spotbay.in/wa-api/v21.0/{phone_number_id}/messages' \
-H 'Authorization: Bearer sb_wa_your_token' \
-H 'Content-Type: application/json' \
-d '{
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "919876543210",
"type": "text",
"text": {
"preview_url": false,
"body": "Hello from SpotBay! 👋"
}
}'SpotBay API follows the WhatsApp Cloud API v21.0 spec, plus one SpotBay extension for downloading media. For full payload details on each endpoint, refer to the WhatsApp Cloud API docs — request and response formats are identical.
/v21.0/{phone_number_id}/messages/v21.0/{phone_number_id}/media/v21.0/{media_id}/v21.0/{media_id}/download/v21.0/{media_id}/v21.0/{waba_id}/message_templates/v21.0/{waba_id}/message_templates/v21.0/{waba_id}/message_templates?name=.../v21.0/{waba_id}/phone_numbers/v21.0/{waba_id}/v21.0/{phone_number_id}/v21.0/{phone_number_id}/whatsapp_business_profile/v21.0/{phone_number_id}/whatsapp_business_profileInclude your SpotBay API token in every request:
Find your token: Business Portal → Operate → Settings → Developer API
Errors raised by SpotBay carry type: "SpotBayApiError", the HTTP status in code and a machine-readable spotbay_reason. Errors from Meta pass through unchanged with Meta's status code and fbtrace_id. Every error is application/json.
{
"error": {
"message": "waba_id 000000000000000 does not belong to this API token",
"type": "SpotBayApiError",
"code": 403,
"spotbay_reason": "waba_mismatch"
}
}invalid_tokenphone_number_mismatchwaba_mismatchendpoint_not_availableunknown_pathmedia_not_foundmethod_not_allowedpayload_too_largerate_limitedbusyupstream_unreachableupstream_response_too_largeupstream_timeoutInbound messages and delivery-status callbacks are not available on the Developer API yet — there is no webhook endpoint to configure. Sending, templates, media and business-profile management are fully available today. Tell us if you need webhooks and we will let you know as soon as they ship.
Sign up for SpotBay, connect your WhatsApp Business Account, and generate your API token in minutes.