https://app.example.com/api/v1/workspace-webhooks
Authenticate with a workspace API key. Older credentials (sbk_ keys, personal tokens) and browser sessions are not accepted here.
Permissions
The key also needs
publishing:webhooks:subscribe and/or salesbot:webhooks:subscribe for every product the endpoint subscribes to. Endpoints that include a product your key cannot subscribe to are left out of lists and refused on direct access.
Required headers
List available events
Create an endpoint
urlmust be publichttps://.- Publishing events always use
"channel": "all". - New endpoints are always created paused, whatever you send in
enabled. Enable it once your receiver is ready. - Returns
201with the endpoint and its signing secret (whsec_...) in a top-levelsecretfield. This is the only time the secret is returned. If the response is lost, retry with the sameIdempotency-Keyand body to get it again within 24 hours. - A workspace can have up to 25 endpoints.
Update an endpoint
subscriptions, it replaces the whole list.
Send a test event
"test": true. The endpoint must be enabled. Returns 202 with the new delivery.
Rotate the signing secret
"immediate": falsekeeps the old secret valid for 24 hours alongside the new one."immediate": truerevokes the old secret straight away.- You cannot start a second overlapping rotation while one is in progress.
Delivery history and resend
GET /deliveries/{delivery} shows its attempts. POST /deliveries/{delivery}/resend sends it again as a new delivery (with a new ID, linked through resend_of). Resending needs the endpoint to be enabled, still subscribed to the event, and the payload to still be stored. Payloads are kept for about 7 days.
Delete an endpoint
204.