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

  1. Register — Create an account at /register.
  2. Connect a device — Scan QR from your WhatsApp app in the dashboard.
  3. Generate an API key — Go to API Keys in the sidebar.
  4. 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