Api referenceDevelopers
Get API Request Logs
Authorization
apiKey X-API-Key<token>
API key for authentication
In: header
Query Parameters
page?integer
Default
1Range
1 <= value <= 9007199254740991limit?integer
Default
20Range
1 <= value <= 100apiKeyId?string
Filter by specific API key
Format
uuidmethod?unknown
Value in
"GET" | "POST" | "PUT" | "DELETE" | "PATCH"statusCode?number
startDate?string
Format
date-timeendDate?string
Format
date-timesearch?string
Search by message ID or endpoint
includeWebhooks?boolean
Include webhook execution logs
Default
falseResponse Body
application/json
curl -X GET "https://samva.app/api/v1/developers/logs"{
"data": [
{
"id": "string",
"requestId": "string",
"timestamp": "string",
"method": "string",
"endpoint": "string",
"statusCode": 0,
"latency": 0,
"channel": "email",
"messageId": "string",
"apiKeyId": "string",
"apiKeyName": "string",
"isWebhook": true
}
],
"meta": {
"page": -9007199254740991,
"limit": -9007199254740991,
"total": -9007199254740991,
"hasMore": true
}
}