v1
latestOpenAPI 3.0.12026-07-141671231.8 MBHidden
Get a webhook subscription
This endpoint allows you to retrieve a webhook subscription by ID. Note that the secret is not included in the response.
get/api/external/v2/webhook_subscriptions/{id}
Path parameters
idinteger required
ID of the webhook subscription
Response
A webhook subscription
Example response
{
"id": 12345,
"callback_url": "https://example.com/webhooks",
"events": [
"dms_file.created",
"customer_invoice.e_invoicing_status_updated"
],
"enabled": true,
"disabled_at": "2023-08-07T14:23:12.000Z",
"last_failure_status": 500,
"last_failure_at": "2023-08-07T14:23:12.000Z",
"consecutive_failures": 3,
"created_at": "2023-08-07T14:23:12.000Z",
"updated_at": "2023-08-07T14:23:12.000Z"
}