Skip to main content

Request Logs

Inspect recent Developer API requests, including method, path, status code, request/response bodies, and timing. All endpoints use API-key authentication and the standard response envelope — see Getting Started for x-api-key, base URL, and rate limits.


API Request Logs

GET /v1/logs

cURL

curl -X GET 'https://app.superwaba.com/api/developer/v1/logs?page=1&limit=20' \
-H 'x-api-key: sgk_YOUR_API_KEY'

Query Parameters

ParameterTypeDefaultDescription
pagenumber1Page number
limitnumber20Results per page (max: 100)

Response - 200 OK

{
"success": true,
"data": {
"data": [
{
"id": "log_a1b2c3d4",
"method": "POST",
"path": "/v1/instagram/send-message",
"status_code": 201,
"request_body": {
"participantId": "17841400000000000",
"type": "text"
},
"response_body": {
"messageId": "mid.XXXX"
},
"ip_address": "203.0.113.42",
"user_agent": "curl/8.1.2",
"duration_ms": 1066,
"created_at": "2026-05-26T17:39:00.000Z"
},
{
"id": "log_e5f6g7h8",
"method": "POST",
"path": "/v1/instagram/send-message",
"status_code": 502,
"request_body": {
"participantId": "17841400000000000",
"type": "text"
},
"response_body": {
"error": "This message is sent outside of allowed window."
},
"ip_address": "203.0.113.42",
"user_agent": "curl/8.1.2",
"duration_ms": 903,
"created_at": "2026-05-26T17:38:00.000Z"
}
],
"meta": {
"page": 1,
"limit": 20,
"total": 44,
"totalPages": 3
}
}
}

Response - 401 Invalid API Key

{
"success": false,
"message": "Invalid or missing API key",
"code": "INVALID_API_KEY",
"fix": "Include a valid x-api-key header"
}