Skip to main content
GET
/
v2
/
notifications
/
webhooks
/
{webhook_id}
/
logs
Get Webhook Subscription Logs
curl --request GET \
  --url https://api.catenatelematics.com/v2/notifications/webhooks/{webhook_id}/logs \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "created_at": "2023-11-07T05:31:56Z",
      "webhook_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "status_code": 123,
      "error_message": "<string>",
      "response_time_ms": 123
    }
  ],
  "current_page": "<string>",
  "current_page_backwards": "<string>",
  "previous_page": "<string>",
  "next_page": "<string>"
}
Logs are only available for the last 14 days.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

webhook_id
string<uuid>
required

Query Parameters

start_date
string<date-time> | null
end_date
string<date-time> | null
status
enum<string> | null
Available options:
success,
failed
cursor
string | null

Cursor for the next page

size
integer
default:300

Page size

Required range: 1 <= x <= 1000

Response

Successful Response

items
WebhookLogRead · object[]
required
current_page
string | null

Cursor to refetch the current page

current_page_backwards
string | null

Cursor to refetch the current page starting from the last item

previous_page
string | null

Cursor for the previous page

next_page
string | null

Cursor for the next page