JavaScript SDK: swarmhit.webhooks.list(params?)
Authorization
bearerAuth An API key created on the Access tokens page.
In: header
Query Parameters
Page size, 1–100.
1 <= value <= 10050Number of records to skip.
0 <= value0Response Body
application/json
application/json
curl -X GET "https://example.com/webhooks"{ "data": [ { "id": "string", "url": "string", "events": [ "string" ], "enabled": true, "classifyReplies": true, "secret": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "lastDeliveryAt": "2019-08-24T14:15:22Z", "failureCount": 0, "disabledReason": "string" } ], "paging": { "limit": 0, "offset": 0 }}List recent deliveries GET
**JavaScript SDK:** [`swarmhit.webhooks.listDeliveries(webhookId, params?)`](/smart-api/sdk/methods#webhooks) The recent delivery attempts for a webhook — useful for debugging an integration. Rows are dropped 7 days after creation.
List the delivery log GET
**JavaScript SDK:** [`swarmhit.webhooks.deliveries.list(params?)`](/smart-api/sdk/methods#webhooks.deliveries) Every event delivery across all of the workspace's endpoints, newest first, with the full `payload` on each row. Filter by event, status or endpoint. Rows are dropped 7 days after creation, so poll or export to keep a permanent record.