Relayby Grasany

WhatsApp Business

Connect your business number to send WhatsApp messages through Relay.

Checking WhatsApp availability…

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.

Read the WhatsApp Business Messaging Policy · Data and deletion