List Webhook Logs
GET/webhooks/logs
List webhook logs based on the given topic
Request
Query Parameters
topic stringrequired
The topic to filter by (e.g. sync/completed
)
Header Parameters
Authorization stringrequired
Default value: bearer YOUR_API_KEY
Responses
- 200
- 400
200
- application/json
- Schema
- Example (from schema)
- Result
Schema
Array [
Array [
]
]
logs
object[]
subscriptionId string
topic string
address string
attempts
object[]
requestHeaders
object
Content-Type string
X-Alloy-Topic string
X-Alloy-Signature string
responseStatusCode integer
Default value: 0
attemptAt string
logId string
{
"logs": [
{
"subscriptionId": "65968bf832ffc6a0c716b888",
"topic": "connection/deleted",
"address": "https://123-456-789.ngrok-free.app/api/log",
"attempts": [
{
"requestHeaders": {
"Content-Type": "application/json",
"X-Alloy-Topic": "connection/deleted",
"X-Alloy-Signature": "wdklqmdqwf3yojfu4g3weud9iedm23oiiqquioiwopekm3dui23h"
},
"responseStatusCode": 200,
"attemptAt": "2024-01-04T10:49:30.230Z"
}
],
"logId": "65a0a473e07b4efe06b60f66"
}
]
}
{
"logs": [
{
"subscriptionId": "65968bf832ffc6a0c716b888",
"topic": "connection/deleted",
"address": "https://123-456-789.ngrok-free.app/api/log",
"attempts": [
{
"requestHeaders": {
"Content-Type": "application/json",
"X-Alloy-Topic": "connection/deleted",
"X-Alloy-Signature": "wdklqmdqwf3yojfu4g3weud9iedm23oiiqquioiwopekm3dui23h"
},
"responseStatusCode": 200,
"attemptAt": "2024-01-04T10:49:30.230Z"
}
],
"logId": "65a0a473e07b4efe06b60f66"
},
{
"subscriptionId": "65968c1832ffc6a0c716b88e",
"topic": "connection/deleted",
"address": "https://123-456-789.ngrok-free.app/api/log",
"attempts": [
{
"requestHeaders": {
"Content-Type": "application/json",
"X-Alloy-Topic": "connection/deleted",
"X-Alloy-Signature": "19j32uih7dgd7648h984893fh783qwheihweojr23j23dihadud"
},
"responseStatusCode": 200,
"attemptAt": "2024-01-04T10:49:31.441Z"
}
],
"logId": "65a0a46fadf0201aaa955576"
},
{
"subscriptionId": "65a0a47d0a541aebb17e0973",
"topic": "connection/created",
"address": "https://324-345-8273.ngrok-free.app/api/log",
"attempts": [
{
"requestHeaders": {
"Content-Type": "application/json",
"X-Alloy-Topic": "connection/created",
"X-Alloy-Signature": "dmoi2j23uh3hghiosjmiuhw7219w9ikop21i1wyt73yi4jueo"
},
"responseStatusCode": 200,
"attemptAt": "2024-01-04T10:50:01.401Z"
}
],
"logId": "65a0a46910014adfacb397c7"
}
]
}
400
- application/json
- Schema
- Example (from schema)
- Result
Schema
object
{}
{}
Loading...