Quickstart
Get started with Wayul in under 15 minutes. Send your first WhatsApp message via API.
Base URL
https://wayul.kawilabs.id/api/v1
Authentication
All API requests require an X-API-Key header. Generate your key from the dashboard at /app/api-keys.
Steps
- Register — Create an account at /register.
- Connect a device — Scan QR from your WhatsApp app in the dashboard.
- Generate an API key — Go to API Keys in the sidebar.
- Send a message — Use the curl example below.
Example: Send a message
curl -X POST https://wayul.kawilabs.id/api/v1/messages \
-H "X-API-Key: wy_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"device_id": "dev_01",
"to": "628123456789",
"content": "Kode OTP Anda: {{1}}",
"variables": ["482913"]
}'Response: 202 Accepted with a message_id.
Next steps
- Send Message API — request/response format, template variables.
- Message Status — lifecycle from queued to read.
- Webhooks — receive status events on your server.