# BlueMedia BSP API > REST API for integrating WhatsApp Business Platform through BlueMedia. Base URL: https://api.bluehola.com OpenAPI YAML: https://docs.bluehola.com/openapi.yaml OpenAPI JSON: https://docs.bluehola.com/openapi.json Complete Markdown corpus: https://docs.bluehola.com/llms-full.txt ## Start here - [Quickstart](https://docs.bluehola.com/markdown/guides/quickstart.md): From receiving your API Key to sending your first WhatsApp message, in 4 steps. - [Authentication & Scopes](https://docs.bluehola.com/markdown/guides/authentication.md): Except for the public endpoints (Meta callbacks and health checks), every request must carry `Authorization: Bearer `. Treat your API Key like a password: keep it out of front-end code, URLs, logs and ticket screenshots. - [Sending Messages & Tracking Status](https://docs.bluehola.com/markdown/guides/messaging.md): The `202 Accepted` from `POST /v1/messages` only means the platform has accepted the request — not that it was delivered, and not even that it was submitted to Meta. To track the real status you must poll `GET /v1/messages/{id}` or receive the status webhooks. - [Webhook Integration](https://docs.bluehola.com/markdown/guides/webhook-integration.md): Create a callback endpoint to receive user messages, status updates and asset changes such as phone numbers and templates, without polling. - [Error Codes](https://docs.bluehola.com/markdown/guides/error-codes.md): HTTP error codes, message delivery failure codes, and what to do about each. ## API reference - [Messages](https://docs.bluehola.com/markdown/messaging/messages.md): Submit outbound messages, check message status, and mark inbound messages as read. The 202 from POST /v1/messages only means the platform has accepted it — the real status comes from polling the message detail or receiving the status webhooks. - [Templates](https://docs.bluehola.com/markdown/templates-flows-media/templates.md): Creating templates, syncing their review status, and analytics. Before sending a template message the platform verifies it is APPROVED, and its parameters must match the placeholders declared at creation exactly in count and order. - [Phone Number Records](https://docs.bluehola.com/markdown/assets-phone-numbers/phone-numbers.md): Reading a phone number's local record on the platform side. These read endpoints return the local snapshot rather than live Meta state. - [Direct SDK Onboarding](https://docs.bluehola.com/markdown/onboarding/provider-onboarding.md): Submit a Meta authorization result from your own SDK page and track the resumable onboarding operation. - [Create Account Callback Endpoint](https://docs.bluehola.com/markdown/webhooks/post-v1-webhook-endpoints.md): Create an account callback endpoint. Callbacks carry X-Webhook-Signature-256: sha256=...; computed as an HMAC-SHA256 of the raw request body using the endpoint secret, which is returned only once. ## Reliability - [OpenAPI & Agent Access](https://docs.bluehola.com/markdown/reference/openapi.md): Download the OpenAPI 3.1 spec, webhook JSON Schemas and plain Markdown docs for direct consumption by SDKs, IDEs and coding agents — plus copy-paste prompts for Claude, Codex and similar tools. - [Idempotency & Retries](https://docs.bluehola.com/markdown/reference/idempotency.md): Request idempotency, ledger idempotency, atomic claiming in onboarding orchestration, and the at-least-once delivery with fixed retry schedule for webhooks. - [Rate Limits & Quotas](https://docs.bluehola.com/markdown/reference/rate-limits.md): A consolidated view of platform-side limits, Meta-side limits, and every time and size cap — plus what to do when you hit each one. ## Changes - [API Changelog](https://docs.bluehola.com/markdown/reference/changelog.md): A single record of changes to the API contract, behaviour, error codes and documentation entry points, with a machine-readable version. ## Webhook JSON Schemas - [message](https://docs.bluehola.com/schemas/webhooks/message.schema.json) - [status](https://docs.bluehola.com/schemas/webhooks/status.schema.json) - [change](https://docs.bluehola.com/schemas/webhooks/change.schema.json) - [probe](https://docs.bluehola.com/schemas/webhooks/probe.schema.json) - [job.completed](https://docs.bluehola.com/schemas/webhooks/job-completed.schema.json) - [job.failed](https://docs.bluehola.com/schemas/webhooks/job-failed.schema.json) - [usage.updated](https://docs.bluehola.com/schemas/webhooks/usage-updated.schema.json) - [webhook.verification](https://docs.bluehola.com/schemas/webhooks/webhook-verification.schema.json)