WhatsApp Business
Connect your business number to send WhatsApp messages through Relay.
Checking WhatsApp availability…
Meta app review is limited to the configured test recipient.
Business number
Set up Meta billing
Provide a PIN if Meta still needs to register this number. Keep it for future number recovery.
WhatsApp credits
Checking your credits…
WhatsApp send key
Create a key for your server. A new key replaces the previous WhatsApp send key.
Message templates
Manage in MetaCreate a text template
Message activity
Recipient permissions
Record a recipient’s permission before sending. Remove permission for any category they opt out of.
Send a review message
Record permission for the template’s category above, then select an approved review template.
Send from your application
Keep the send key on your server. Use a Meta-approved template to start a conversation and for messages sent after the 24-hour customer service window. Free-form replies require an open service window.
Record permission from your server with POST /v1/whatsapp/consents or use the workspace form. Use the workspace dashboard key to record consent and read activity.
curl https://cpaas.grasany.com/v1/whatsapp/messages \
-H "Authorization: Bearer $RELAY_WHATSAPP_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: shipment_1042_whatsapp" \
-d '{"to":"+919876543210","type":"template",
"template":{"name":"shipment_update","language":"en_IN"}}'
Reuse the same Idempotency-Key and payload when retrying a request. Use the Relay message ID to track delivery in your workspace.