API Keys

Default API Key

Auto-generated for your account — keep it secret

Active
••••••••••••••••••••••••••••••••

Named API Keys

Create separate keys for different integrations

No named keys yet

📡 REST API Reference

Authenticate with header: X-API-Key: YOUR_KEY

POST/api/v1/send

Send WhatsApp message

Body: {"to":"+1234567890","message":"Hello!"}
GET/api/v1/contacts

List contacts

POST/api/v1/contacts

Create/update contact

Body: {"phone":"+1234567890","name":"John"}
POST/api/v1/otp

Send OTP via WhatsApp

Body: {"phone":"+1234567890","purpose":"verification"}
POST/api/v1/otp-verify

Verify OTP

Body: {"otp_id":"uuid","otp":"123456"}
POST/api/v1/whmcs-webhook

WHMCS webhook receiver

Body: {"action":"InvoicePaid","invoiceid":"42","userid":"7"}

🏢 WHMCS Webhook URL

https://your-site.netlify.app/api/v1/whmcs-webhook?api_key=YOUR_KEY

Paste this URL in WHMCS Admin → Setup → API → Hooks