API Reference

Complete endpoint reference for the Wayul public API.

Base URL

https://wayul.kawilabs.id/api/v1

Authentication

All requests require the X-API-Key header.

Endpoints

MethodPathDescription
POST/messagesSend a message
GET/messages/:idGet message status

Rate limits

60 requests per minute per API key. Exceeding the limit returns 429 Too Many Requests.

Error format

{
  "error": {
    "code": "DEVICE_NOT_CONNECTED",
    "message": "Perangkat tidak terhubung"
  }
}