curl --request PATCH \
--url https://api.slash.com/webhook/{webhookId} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"reason": "<string>"
}
'{
"id": "<string>",
"createdAt": "<string>",
"url": "<string>",
"name": "<string>",
"archivedAt": "<string>",
"pausedAt": "<string>",
"backingOffUntil": "<string>",
"disabledAt": "<string>"
}Update webhook
Update a webhook endpoint status.
Status transitions:
active: Re-enables the endpoint. Use this to:- Unpause a paused endpoint
- Re-enable an endpoint that is backing-off or disabled due to delivery failures
- When re-enabled, any queued notifications will be sent
paused: Pauses the endpoint. While paused:- New notifications are queued (not lost)
- No delivery attempts are made
- Use
activeto resume and process queued notifications
archived: Permanently archives the endpoint (soft delete)
Note: The backing-off and disabled statuses are system-managed and cannot be set directly.
These occur automatically when delivery failures are detected. Use active to re-enable.
curl --request PATCH \
--url https://api.slash.com/webhook/{webhookId} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"reason": "<string>"
}
'{
"id": "<string>",
"createdAt": "<string>",
"url": "<string>",
"name": "<string>",
"archivedAt": "<string>",
"pausedAt": "<string>",
"backingOffUntil": "<string>",
"disabledAt": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.slash.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key authentication for public API requests.
Keys come in two flavors:
- Legal-entity-scoped keys are pinned to a single legal entity. Minted via the dashboard under a specific entity; every request acts on that entity.
- User-scoped keys are pinned to a user and span every legal
entity that user has access to. Every request made with a
user-scoped key (except
GET /legal-entity, which lists the legal entities the user can access) must include anx-legal-entityheader naming the legal entity the request is operating on. Requests without the header are rejected with400. The authenticated user must have an active permission role on the supplied legal entity, otherwise the request is rejected with403.
Path Parameters
Body
The desired status for the endpoint:
active: Enable/re-enable the endpointpaused: Pause the endpoint (notifications are queued)archived: Archive the endpoint (soft delete)
active, paused, archived Optional reason for the status change (for audit purposes)
Response
OK
The URL that will receive the webhook payload
The name of the webhook
The current status of the webhook endpoint:
active: The webhook is enabled and receiving events normally.paused: The webhook has been paused by the user. Events are queued and will be delivered when the endpoint is set back toactive.backing-off: The system is temporarily backing off due to delivery failures. Delivery will be automatically retried atbackingOffUntil. You can also immediately re-enable by setting status toactivevia the PATCH endpoint.disabled: The webhook has been automatically disabled due to repeated delivery failures. Re-enable by setting status toactivevia the PATCH endpoint.
active, paused, backing-off, disabled When the endpoint was paused by the user (ISO 8601 timestamp)
When the system will automatically retry delivery (ISO 8601 timestamp). Only present when status is backing-off.
When the endpoint was automatically disabled due to repeated failures (ISO 8601 timestamp). Only present when status is disabled.