Messaging & Connectivity API
Send WhatsApp messages, receive replies and delivery events, and show a retained inbox. Your application owns its workflows; appointment setup is not required.
Before going live — check deployed capabilities, grants and your integration’s readiness.
Check deployed capabilities, key grants and business readiness in your environment. HTTP examples were captured in isolated tests; their local-unreleased provenance neither says the API is offline nor certifies your integration. Customer self-service uses the business-configured WhatsApp authentication template; SMS is not supported. Authorized admin contact recording is a separate action without a code.
Check your business before sending. An issued key, an enabled inbox or a saved number does not prove that the WhatsApp connection is ready.
Supported by the current API
- Server-side contact recording, retained conversation search, reading and human control. Download retained attachments through your authorized backend with conversations:read and conversations:media:read.
- Text and uploaded media within the customer service window; supported approved templates, including Utility quick replies and Authentication copy-code.
- Signed incoming-message and delivery callbacks, delivery inspection and explicit recovery of uncertain operations.
WhatsApp management — controlled pilot
Available in a controlled pilot. Access requires explicitly granted scopes and a ready Meta Cloud API connection. Read messaging-capabilities and the actual command responses for your business before enabling these operations. Template approval and message delivery remain separate.
- Explicitly scoped template creation, editing, deletion and approval-status reads; business profile and photo updates; image uploads and operation recovery.
- Image-header messages and one to three Utility or Marketing quick replies. Shared accounts still isolate each business’s managed templates.
- An owner setting in CRAD to review the exact HTTPS webhook destination. Your backend then registers its signing secret through the existing webhook API.
Check the connection mode
- Meta Cloud API — Standard
- The official Cloud API messaging path. Number activation, asset permissions and current connection readiness are still required.
- Meta Cloud API — Coexistence
- Uses the official Cloud API alongside WhatsApp Business. Setup and workspace eligibility differ; confirm this mode with CRAD before integrating.
- OpenWA
- A separate WhatsApp Web connection, not the official Meta Cloud API. This quickstart does not offer equivalent external sending or messaging callbacks for OpenWA.
From a server key to a message
-
Keep the key on your server
Request contacts:record and conversations:read/write/send. Use a separate key and sender for each business. Authorize your own application users before calling CRAD; never expose the key in browser code.
Operation details
-
Read access and capabilities
GET management returns the key’s current identity and grants. GET messaging-capabilities separates installed, providerSupported, granted and ready; ready:null is unknown, not permission to send. GET conversations/availability checks the inbox feature. Inspect the thread’s connection readiness before writing.
curl --request GET \ "https://api.crad.ai/v1/management" \ --header "Authorization: Bearer ${CRAD_API_KEY}" \ --header "Accept: application/json" -
Record the contact and send
Record/link the contact, open its conversation, read the thread and take human control if needed. Re-read the quoted ETag, inspect the approved template catalogue, then send with a saved Idempotency-Key UUID and If-Match. Contact recording is not proof of consent. Text and files require the current 24-hour service window.
-
Connect your receiver
Have the exact public HTTPS callback URL approved, through the CRAD owner setting or the existing CRAD review, then configure messaging-webhook with your signing secret. Verify the timestamp and HMAC over the exact raw body, persist and deduplicate by eventId, and acknowledge with 2xx. Events can arrive more than once or out of order.
-
Recover without a second send
Keep the original UUID, body and ETag. Check conversation-sends after a lost response; pending or unknown must not trigger a replacement send. A receipt marked accepted is not delivered. Inspect failed callback deliveries and explicitly retry after repairing your receiver.
OTP is optional. Your server generates, stores, expires and verifies codes and limits attempts. A supported Authentication template transports the code; it does not implement that lifecycle for you.
Not yet self-service through this API
- Independent workspace and number onboarding.
- Purchasing API plans and viewing a paid usage allowance. Technical rate limits are not a purchased plan.
Verify your integration before launch
Use an explicitly authorized recipient. Verify the intended sender, actual delivery and signed incoming events, duplicate callbacks, revoked access and lost-response recovery. Your application owns orders, confirmations and support settings. Downloads and recorded examples do not establish live readiness.
Arrange access for your business
New connections and callback destinations are coordinated with CRAD. If you already have access, use the permissions and readiness returned for your own business.
Discuss API accessOpens a WhatsApp draft for you to review and send. Do not include API keys.