Skip to main content
Base URL: 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

Returns every event your workspace can subscribe to, with its data schema, a sample payload and the channels it supports.

Create an endpoint

  • url must be public https://.
  • 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 201 with the endpoint and its signing secret (whsec_...) in a top-level secret field. This is the only time the secret is returned. If the response is lost, retry with the same Idempotency-Key and body to get it again within 24 hours.
  • A workspace can have up to 25 endpoints.

Update an endpoint

Fields you leave out keep their current values. If you send subscriptions, it replaces the whole list.

Send a test event

Sends a sample of a subscribed event with "test": true. The endpoint must be enabled. Returns 202 with the new delivery.

Rotate the signing secret

  • "immediate": false keeps the old secret valid for 24 hours alongside the new one.
  • "immediate": true revokes 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

Returns 204.

Limits

Management changes are limited to 60 per workspace per minute, on top of the normal API rate limits.