Skip to main content
GET
/
api
/
v1
/
mgt
/
workspaces
/
{workspaceId}
/
webhook-subscriptions
/
{subscriptionId}
/
logs
Get Subscription Logs
curl --request GET \
  --url https://api.xenia.team/api/v1/mgt/workspaces/{workspaceId}/webhook-subscriptions/{subscriptionId}/logs \
  --header 'x-client-key: <api-key>' \
  --header 'x-client-secret: <api-key>'
{
  "status": true,
  "code": 123,
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "eventId": "<string>",
      "eventType": "<string>",
      "status": "<string>",
      "responseStatus": 123,
      "responseTimeMs": 123,
      "attemptCount": 123,
      "error": "<string>",
      "createdAt": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "total": 123,
    "limit": 123,
    "offset": 123
  }
}

Authorizations

x-client-key
string
header
required
x-client-secret
string
header
required

Path Parameters

workspaceId
string<uuid>
required

Workspace ID

subscriptionId
string<uuid>
required

Subscription ID

Query Parameters

eventType
string

Filter by event type

status
enum<string>

Filter by delivery status

Available options:
success,
failed,
pending
startDate
string<date-time>

Start of date range

endDate
string<date-time>

End of date range

limit
integer
default:50

Number of results

Required range: x <= 100
offset
integer
default:0

Results to skip

Response

Logs retrieved successfully

status
boolean
code
integer
data
object[]
pagination
object