Get webhook logs
GET /api/2.0/settings/webhooks/log
Request
Returns the logs of the webhook activities.
Authorization
An API key is a token that you provide when making API calls. Include the token in a cookie parameter called asc_auth_key
.
Example: asc_auth_key=864FE52C-1C1C-469F-9308-51DAFEFE7436
.
Headers
- Accept
enum of string
Can be one of:
application/json
,text/json
,text/plain
.
Query
- deliveryFrom
string
date-time Delivey start time
- deliveryTo
string
date-time Delivey end time
- hookUri
string
Hook URI
- webhookId
integer
int32 Webhook ID
- configId
integer
int32 Config ID
- eventId
integer
int32 Event ID
- groupStatus
one of
Webhook group status
- .
enum of string
[None - None, NotSent - Not sent, Status2xx - Status2xx, Status3xx - Status3xx, Status4xx - Status4xx, Status5xx - Status5xx]
Can be one of:
None
,NotSent
,Status2xx
,Status3xx
,Status4xx
,Status5xx
.- .
enum of integer
[0 - None, 1 - Not sent, 2 - Status2xx, 4 - Status3xx, 8 - Status4xx, 16 - Status5xx]
Can be one of:
0
,1
,2
,4
,8
,16
.
Examples
GET /api/2.0/settings/webhooks/log?deliveryFrom=2008-04-10T06%3A30%3A00.0000000%2B04%3A00&deliveryTo=2008-04-10T06%3A30%3A00.0000000%2B04%3A00&hookUri=some%20text&webhookId=1234&configId=1234&eventId=1234 HTTP/1.1
Accept: application/json
Host: example.com
curl --request GET \
--url 'https://example.com/api/2.0/settings/webhooks/log?deliveryFrom=2008-04-10T06%3A30%3A00.0000000%2B04%3A00&deliveryTo=2008-04-10T06%3A30%3A00.0000000%2B04%3A00&hookUri=some%20text&webhookId=1234&configId=1234&eventId=1234' \
--header 'Accept: application/json'
Responses
200
Logs of the webhook activities
- id
integer
int32 ID
- configName
string
Config name
- creationTime
string
date-time Creation time
- method
string
Method
- route
string
Route
- requestHeaders
string
Request headers
- requestPayload
string
Request payload
- responseHeaders
string
Response headers
- responsePayload
string
Response payload
- status
integer
int32 Status
- delivery
string
date-time Delivery time
401
Unauthorized
403
Forbidden