Scoped API keys, sandbox mode with wf_test_ prefixes, idempotency headers, and a cursor-based event stream. Build integrations that behave exactly like the dashboard.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v1/me | Org info for the authenticated key |
| POST | /api/v1/messages | Send a message or template |
| POST | /api/v1/contacts | Upsert a contact by phone number |
| GET | /api/v1/contacts | Paginated contact list with filters |
| POST | /api/v1/leads | Capture a lead and deliver its result over WhatsApp |
| GET | /api/v1/templates | List Meta-approved templates |
| GET | /api/v1/events | Poll event stream (cursor-based) |
| GET | /api/v1/openapi | OpenAPI 3.1 spec JSON |
Generate API keys from Settings → API Keys. Each key carries explicit scopes, limiting what it can access. Rotate keys instantly without downtime.
wf_live_••••••••••••••••wf_test_••••••••••••••••Available Scopes
messages:sendSend template and session messagescontacts:readRead contact list and profilescontacts:writeCreate and update contactstemplates:readList and inspect message templatesleads:writeCapture leads and trigger result delivery# POST a template message
curl -X POST https://app.leapcrew.in/api/v1/messages \
-H "Authorization: Bearer wf_live_••••••••••••" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: order-1234" \
-d '{
"to": "+919876543210",
"template": "cart_recovery",
"variables": {
"product_name": "Running Shoes",
"cart_link": "https://yourstore.com/cart/abc"
}
}'{
"id": "msg_01J9XKZTV4BQRSP8WDCN7HGF2",
"status": "queued",
"to": "+919876543210",
"template": "cart_recovery",
"created_at": "2026-06-11T08:14:33Z"
}Use wf_test_ keys to simulate the full API without sending real messages or consuming wallet credits.
Sandbox calls are never charged. Wallet balance is unaffected.
Messages log to your inbox tagged [Sandbox] instead of reaching customers.
Every response is identical to production. Ship code that works on day one.
Scalar-powered interactive reference with request builder, auto-auth, and response inspector.