S
Samva
S
Samva
DashboardAPISamva DocumentationQuickstart GuideAuthentication

Api referenceDevelopers

Get API Request Logs

GET
/developers/logs

Authorization

apiKey
X-API-Key<token>

API key for authentication

In: header

Query Parameters

page?integer
Default1
Range1 <= value <= 9007199254740991
limit?integer
Default20
Range1 <= value <= 100
apiKeyId?string

Filter by specific API key

Formatuuid
method?unknown
Value in"GET" | "POST" | "PUT" | "DELETE" | "PATCH"
statusCode?number
startDate?string
Formatdate-time
endDate?string
Formatdate-time
search?string

Search by message ID or endpoint

includeWebhooks?boolean

Include webhook execution logs

Defaultfalse

Response 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
  }
}
curl -X GET "https://samva.app/api/v1/developers/logs"