curl -X DELETE "https://api.sayvy.ai/api/v1/webhooks/8f3b0e2a-71d3-4a5f-9e6b-123456789abc" \
-H "Authorization: Bearer <token>"
import requests
url = "https://api.sayvy.ai/api/v1/webhooks/8f3b0e2a-71d3-4a5f-9e6b-123456789abc"
headers = {
"Authorization": "Bearer <token>"
}
response = requests.delete(url, headers=headers)
print(response.status_code)
print(response.json())
const response = await fetch("https://api.sayvy.ai/api/v1/webhooks/8f3b0e2a-71d3-4a5f-9e6b-123456789abc", {
method: "DELETE",
headers: {
"Authorization": "Bearer <token>"
}
});
const data = await response.json();
console.log(data);
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sayvy.ai/api/v1/webhooks/8f3b0e2a-71d3-4a5f-9e6b-123456789abc"))
.header("Authorization", "Bearer <token>")
.DELETE()
.build();
HttpResponse<String> response =
HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
{
"message": "Webhook deleted successfully"
}
{
"detail": "Unauthorized"
}
{
"detail": "Webhook not found"
}
Webhooks
Delete webhook
Permanently deregister a webhook subscription
DELETE
/
api
/
v1
/
webhooks
/
{webhook_id}
curl -X DELETE "https://api.sayvy.ai/api/v1/webhooks/8f3b0e2a-71d3-4a5f-9e6b-123456789abc" \
-H "Authorization: Bearer <token>"
import requests
url = "https://api.sayvy.ai/api/v1/webhooks/8f3b0e2a-71d3-4a5f-9e6b-123456789abc"
headers = {
"Authorization": "Bearer <token>"
}
response = requests.delete(url, headers=headers)
print(response.status_code)
print(response.json())
const response = await fetch("https://api.sayvy.ai/api/v1/webhooks/8f3b0e2a-71d3-4a5f-9e6b-123456789abc", {
method: "DELETE",
headers: {
"Authorization": "Bearer <token>"
}
});
const data = await response.json();
console.log(data);
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sayvy.ai/api/v1/webhooks/8f3b0e2a-71d3-4a5f-9e6b-123456789abc"))
.header("Authorization", "Bearer <token>")
.DELETE()
.build();
HttpResponse<String> response =
HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
{
"message": "Webhook deleted successfully"
}
{
"detail": "Unauthorized"
}
{
"detail": "Webhook not found"
}
Permanently remove a webhook listener subscription by its UUID. Once deleted, no further HTTP delivery requests will be sent to the callback URL.
Authentication
This endpoint requires Bearer token authentication.Authorization: Bearer <token>
| Header | Type | Required | Description | Format |
|---|---|---|---|---|
Authorization | string | Yes | Scoped organization API key or Bearer JWT token | Bearer <token> |
Input parameters
string
required
Unique UUID identifier of the webhook to delete. Example:
8f3b0e2a-71d3-4a5f-9e6b-123456789abc.string
required
Bearer token for authentication. Format:
Bearer <token>.Response Fields
string
Confirmation message:
"Webhook deleted successfully".curl -X DELETE "https://api.sayvy.ai/api/v1/webhooks/8f3b0e2a-71d3-4a5f-9e6b-123456789abc" \
-H "Authorization: Bearer <token>"
import requests
url = "https://api.sayvy.ai/api/v1/webhooks/8f3b0e2a-71d3-4a5f-9e6b-123456789abc"
headers = {
"Authorization": "Bearer <token>"
}
response = requests.delete(url, headers=headers)
print(response.status_code)
print(response.json())
const response = await fetch("https://api.sayvy.ai/api/v1/webhooks/8f3b0e2a-71d3-4a5f-9e6b-123456789abc", {
method: "DELETE",
headers: {
"Authorization": "Bearer <token>"
}
});
const data = await response.json();
console.log(data);
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.sayvy.ai/api/v1/webhooks/8f3b0e2a-71d3-4a5f-9e6b-123456789abc"))
.header("Authorization", "Bearer <token>")
.DELETE()
.build();
HttpResponse<String> response =
HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
{
"message": "Webhook deleted successfully"
}
{
"detail": "Unauthorized"
}
{
"detail": "Webhook not found"
}
‹ PreviousOverview ›
Webhooks Overview
Back to Webhooks documentation hub
Was this page helpful?