Skip to main content

Bring WhatsApp
into your business

BlueMedia Developer Docs — every API and guide you need to integrate the WhatsApp Business Platform.

API endpoints
69
Resource groups
9
Max webhook delivery attempts
8
Send your first messagePOST /v1/messages
curl -X POST https://api.bluehola.com/v1/messages \
-H "Authorization: Bearer $BSP_API_KEY" \
-H "Idempotency-Key: order-8821-notify" \
-H "Content-Type: application/json" \
-d '{
"phoneNumberId": "pn_01923abc",
"to": "8613800138000",
"type": "text",
"text": { "body": "Hi, your order has shipped." }
}'
202 Accepted{ "id": "msg_01923abc", "status": "accepted" }
Webhook eventsX-Webhook-Event
Quickstart

From API Key to first message in four steps

  1. Get an API Key

    BlueMedia issues the Key and configures its authorization scope.

  2. Verify the token

    Call GET /whoami to confirm the Key works and read your scope.

  3. List your phone numbers

    Pick a registered number’s pn_… ID to send from.

  4. Send your first message

    202 means accepted; track delivery with webhooks.

Follow the Quickstart
Why these docs

The value of API docs is not the field table.
It is being clear about what can go wrong.

Integrate once, trace the whole chain

From customer authorization and phone number registration through message delivery and billing, every step has persisted state and recoverable retries. No guesswork.

The pitfalls we hit are written down

The 24-hour window, idempotency keys, reservations and reversals, rate limits on the Meta side — where a warning belongs, there is one, instead of just a field table.

Errors tell you who to go to

Every failure code says whether it is retryable and whether the caller or the platform has to fix it, so you never have to cross-reference Meta’s raw error table again.

When you are ready, start with the first message.