Update webhook endpoint
curl --request PATCH \
--url https://api.turos.app/v1/webhook_endpoints/{webhook_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"destinationUrl": "https://example.com/hooks/secapi",
"description": "Production monitor matches",
"subscribedEventTypes": [
"monitor.match",
"webhook.test"
],
"status": "active"
}
'import requests
url = "https://api.turos.app/v1/webhook_endpoints/{webhook_id}"
payload = {
"destinationUrl": "https://example.com/hooks/secapi",
"description": "Production monitor matches",
"subscribedEventTypes": ["monitor.match", "webhook.test"],
"status": "active"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
destinationUrl: 'https://example.com/hooks/secapi',
description: 'Production monitor matches',
subscribedEventTypes: ['monitor.match', 'webhook.test'],
status: 'active'
})
};
fetch('https://api.turos.app/v1/webhook_endpoints/{webhook_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "webhook_endpoint",
"id": "wh_2ZK8Q1W9F4M6P7R3",
"createdAt": "2026-06-25T15:00:00.000Z",
"updatedAt": "2026-06-25T15:00:00.000Z",
"livemode": false,
"orgId": "org_example_123",
"description": "Production monitor matches",
"destinationUrl": "https://example.com/hooks/secapi",
"subscribedEventTypes": [
"monitor.match",
"webhook.test"
],
"status": "active",
"lastDeliveredAt": null
}Webhook endpoints
Update webhook endpoint
Update a webhook endpoint URL, description, subscribed event types, or active status.
PATCH
/
v1
/
webhook_endpoints
/
{webhook_id}
Update webhook endpoint
curl --request PATCH \
--url https://api.turos.app/v1/webhook_endpoints/{webhook_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"destinationUrl": "https://example.com/hooks/secapi",
"description": "Production monitor matches",
"subscribedEventTypes": [
"monitor.match",
"webhook.test"
],
"status": "active"
}
'import requests
url = "https://api.turos.app/v1/webhook_endpoints/{webhook_id}"
payload = {
"destinationUrl": "https://example.com/hooks/secapi",
"description": "Production monitor matches",
"subscribedEventTypes": ["monitor.match", "webhook.test"],
"status": "active"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
destinationUrl: 'https://example.com/hooks/secapi',
description: 'Production monitor matches',
subscribedEventTypes: ['monitor.match', 'webhook.test'],
status: 'active'
})
};
fetch('https://api.turos.app/v1/webhook_endpoints/{webhook_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"object": "webhook_endpoint",
"id": "wh_2ZK8Q1W9F4M6P7R3",
"createdAt": "2026-06-25T15:00:00.000Z",
"updatedAt": "2026-06-25T15:00:00.000Z",
"livemode": false,
"orgId": "org_example_123",
"description": "Production monitor matches",
"destinationUrl": "https://example.com/hooks/secapi",
"subscribedEventTypes": [
"monitor.match",
"webhook.test"
],
"status": "active",
"lastDeliveredAt": null
}Authorizations
Body
application/json
Response
Successful response