Update a webhook endpoint
curl --request PATCH \
--url https://app.sahlfinancial.com/api/v1/webhooks/{endpoint_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"is_active": false
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({is_active: false})
};
fetch('https://app.sahlfinancial.com/api/v1/webhooks/{endpoint_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.sahlfinancial.com/api/v1/webhooks/{endpoint_id}"
payload = { "is_active": False }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"id": "e4b7a2c9-1f6d-4d38-a5e3-7c9b0d2f8a41",
"tenant_id": "0b6f5a3e-7c1d-4e0a-9d2f-3a1c5e8b7f10",
"url": "https://example.com/hooks/sahl",
"events": "case.created,case.scored",
"is_active": false,
"description": "Case events to the loan system",
"created_at": "2026-10-07T09:14:22Z",
"updated_at": "2026-10-07T09:14:22Z"
}{
"detail": "Invalid or expired token"
}{
"detail": "Insufficient permissions"
}{
"detail": "Webhook not found"
}{
"detail": {
"code": "unknown_webhook_event",
"message": "Unknown event(s): case.exploded",
"allowed": [
"case.created",
"case.scored"
]
}
}{
"code": "rate_limit_exceeded",
"message": "Too many requests. Please slow down."
}Update a webhook endpoint
Who can call it: tenant_admin, tenant_api_manager or platform_admin.
Only the fields you send change. The signing secret cannot be changed or read back.
Auth: dashboard session (Authorization: Bearer <access token>). Not available with a partner API key.
Update a webhook endpoint
curl --request PATCH \
--url https://app.sahlfinancial.com/api/v1/webhooks/{endpoint_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"is_active": false
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({is_active: false})
};
fetch('https://app.sahlfinancial.com/api/v1/webhooks/{endpoint_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.sahlfinancial.com/api/v1/webhooks/{endpoint_id}"
payload = { "is_active": False }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"id": "e4b7a2c9-1f6d-4d38-a5e3-7c9b0d2f8a41",
"tenant_id": "0b6f5a3e-7c1d-4e0a-9d2f-3a1c5e8b7f10",
"url": "https://example.com/hooks/sahl",
"events": "case.created,case.scored",
"is_active": false,
"description": "Case events to the loan system",
"created_at": "2026-10-07T09:14:22Z",
"updated_at": "2026-10-07T09:14:22Z"
}{
"detail": "Invalid or expired token"
}{
"detail": "Insufficient permissions"
}{
"detail": "Webhook not found"
}{
"detail": {
"code": "unknown_webhook_event",
"message": "Unknown event(s): case.exploded",
"allowed": [
"case.created",
"case.scored"
]
}
}{
"code": "rate_limit_exceeded",
"message": "Too many requests. Please slow down."
}Authorizations
The access token (JWT) of a signed-in console user, from POST /v1/auth/login. It lasts 30 minutes. It is not an API key: a partner API key is refused here. There is no cookie.
Path Parameters
Body
application/json