v1
latestOpenAPI 3.0.12026-07-141671231.8 MBHidden
Create a webhook subscription
Creates a webhook subscription to receive real-time notifications for events occurring within your company or companies.
Authentication & Scope
- Developer Token: The subscription is scoped to the single company linked to the token.
- OAuth Application Access Token: The subscription covers all companies accessible by the OAuth application.
Limits Up to 10 webhook subscriptions are allowed per subscriber.
Secret . The secret will be auto-generated.
🔒 The secret is only returned in the creation response and cannot be retrieved afterwards. Make sure to store it securely.
post/api/external/v2/webhook_subscriptions
Request body
Example request
{
"callback_url": "https://example.com/webhooks",
"events": [
"dms_file.created",
"customer_invoice.e_invoicing_status_updated"
]
}Response
Renders the created webhook subscription
Example response
{
"id": 12345,
"callback_url": "https://example.com/webhooks",
"events": [
"dms_file.created",
"customer_invoice.e_invoicing_status_updated"
],
"enabled": true,
"created_at": "2023-08-07T14:23:12.000Z",
"updated_at": "2023-08-07T14:23:12.000Z"
}