Open the dashboard, create a connection and scan the QR code from WhatsApp → Linked devices.
Quickstart01 · Pair a number 02 · Add your key 03 · Send an alert 04 · Handle the webhook
Send your first alert in five minutes.
Pair a number, make one HTTP request and receive the reply at your webhook.
Set your API key in the request’s Authorization header. Keep it server-side and never expose it in browser code.
curl -X POST https://api.chatrail.dev/v1/messages/text \
-H 'Authorization: Bearer $CHATRAIL_KEY' \
-H 'Content-Type: application/json' \
-d '{"connection":"sandbox","to":"15551234567","body":"A 2-bed just came up.","context":{"listing_id":"HF-2048"}}'Verify the signature, store the event id for idempotency, then use message.received to continue the conversation.