Webhook Logs

Supported & Tested

Read saved webhook delivery logs with pagination using the Hostinger-safe file endpoint.

GEThttps://api.waplix.io/api/v1/webhook-logs/index?instance_id=12345
Authentication
Authorization: Bearer YOUR_API_KEY
Parameters Specification
instance_id
stringReq

Required Waplix instance id

page
integerOpt

Optional page number

limit
integerOpt

Optional integer limit (max 100)

status
stringOpt

Optional delivery status filter (success/failed)

event_type
stringOpt

Optional event type filter

Usage Notes
Read saved webhook delivery logs with pagination using the Hostinger-safe file endpoint.
Request Payload Example
Request
curl -X GET "https://api.waplix.io/api/v1/webhook-logs/index?instance_id=12345" \
  -H "Authorization: Bearer YOUR_API_KEY"
Success Response
Response · 200 OK
{
  "success": true,
  "items": [
    {
      "instance_id": "demo_instance",
      "event_type": "message.received",
      "webhook_url": "https://example.com/webhook",
      "payload": "{\"event\":\"message.received\",\"instance_id\":\"demo_instance\",\"from\":\"15551234567@s.whatsapp.net\",\"chat_id\":\"15551234567@s.whatsapp.net\",\"message_type\":\"text\",\"message\":\"Hello from Waplix API docs.\",\"message_id\":\"MSG_DEMO_001\",\"timestamp\":1782000000}",
      "response_code": 200,
      "response_body": "{\"success\":true}",
      "status": "success",
      "created_at": "2026-06-23T12:00:00.000Z"
    },
    {
      "instance_id": "demo_instance",
      "event_type": "chat.archived",
      "webhook_url": "https://example.com/webhook",
      "payload": "{\"event\":\"chat.archived\",\"instance_id\":\"demo_instance\",\"chat_id\":\"15551234567@s.whatsapp.net\",\"status\":\"archived\",\"timestamp\":1782000001}",
      "response_code": 200,
      "response_body": "{\"success\":true}",
      "status": "success",
      "created_at": "2026-06-23T12:00:01.000Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "total": 2
  }
}
Was this page helpful?