Create a webhook
Create a webhook that receives events at a URL. Creating one with the name and URL of a webhook that isn’t archived returns that webhook.
Authorizations
User API key authentication. Create a key under Settings → API keys in the Slash dashboard (https://app.slash.com/global-settings/api-keys) and send the x-legal-entity header naming the legal entity to act on with every request. Keys scoped to a legal entity are rejected with 403 user_api_key_required.
Headers
Unique caller-generated key for one create request. Once an authenticated, schema-valid request reaches the operation, the key is permanently consumed for that operation and legal entity whether the operation succeeds or fails. Reusing it in that scope returns 409 and never replays a response, unlike API v1, which replays the original response for a matching key.
1 - 255Body
The event types the webhook receives. Omit it to receive every event.
1Response
The webhook.
active webhooks receive events. A paused webhook holds new events and sends them once it is unpaused. Slash sets backing_off after failed deliveries and retries at backingOffUntil, and disabled after repeated failures; unpausing either makes it active and sends the events it held. archived webhooks get no new events.
active, paused, backing_off, disabled, archived