Webhooks

Webhook subscription management for event notifications

List webhook subscriptions for the current company

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
chevron-right
200

List of webhook subscriptions

idinteger · int64Optional
callbackUrlstringOptional
activebooleanOptional
createdAtstring · date-timeOptional
updatedAtstring · date-timeOptional
get
/v1/webhooks

Register a new webhook subscription

post

Subscribe to receive webhook notifications for specific events. When an event occurs, a WebhookPayload will be sent via HTTP POST to your callback URL. Security: The webhook payload is signed using HMAC-SHA256. The signature is sent in the X-Hub-Signature-256 header as sha256=<hex_signature>. Verify the signature using the secret returned upon subscription creation. Payload: See WebhookPayload schema for the structure of events sent to your endpoint. Retries: Failed deliveries are retried up to 3 times with exponential backoff (10s, 60s, 300s).

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
callbackUrlstring · uriRequired

The URL to receive webhook events. Must be accessible via HTTPS in production.

Example: https://api.example.com/webhooks/tsanet
Responses
chevron-right
200

Webhook subscription created successfully

idinteger · int64Optional
callbackUrlstringOptional
activebooleanOptional
secretstringOptional

HMAC secret for signing webhooks (only returned on creation)

createdAtstring · date-timeOptional
post
/v1/webhooks

Get delivery log for a webhook subscription

get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idinteger · int64Required

The webhook subscription ID

Query parameters
pageinteger · int32Optional

Page number (0-based)

Default: 0
sizeinteger · int32Optional

Page size

Default: 20
Responses
chevron-right
200

Delivery log

totalElementsinteger · int64Optional
totalPagesinteger · int32Optional
sizeinteger · int32Optional
numberinteger · int32Optional
get
/v1/webhooks/{id}/deliveries

Delete a webhook subscription

delete
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idinteger · int64Required

The webhook subscription ID

Responses
delete
/v1/webhooks/{id}

No content

Last updated