curl -X GET "https://api.sayvy.ai/api/v1/webhooks" \
-H "Authorization: Bearer <token>"
import requests
url = "https://api.sayvy.ai/api/v1/webhooks"
headers = {
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.status_code)
print(response.json())
const response = await fetch("https://api.sayvy.ai/api/v1/webhooks", {
method: "GET",
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"))
.header("Authorization", "Bearer <token>")
.GET()
.build();
HttpResponse<String> response =
HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
{
"webhooks": [
{
"id": "8f3b0e2a-71d3-4a5f-9e6b-123456789abc",
"organization_id": "93f35dc2-5d46-4e58-a9ee-038c35d9bcf1",
"url": "https://example.com/api/webhooks/sayvy",
"secret": "whsec_3b9f8a12e4c7d018b249aef567890123",
"events": [
"call.completed",
"message.received"
],
"is_active": true,
"created_at": "2026-09-07T12:30:00Z",
"updated_at": "2026-09-07T12:30:00Z"
}
]
}
{
"detail": "Unauthorized"
}
Webhooks
List webhooks
Retrieve all registered webhook subscriptions for your organization
GET
/
api
/
v1
/
webhooks
curl -X GET "https://api.sayvy.ai/api/v1/webhooks" \
-H "Authorization: Bearer <token>"
import requests
url = "https://api.sayvy.ai/api/v1/webhooks"
headers = {
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.status_code)
print(response.json())
const response = await fetch("https://api.sayvy.ai/api/v1/webhooks", {
method: "GET",
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"))
.header("Authorization", "Bearer <token>")
.GET()
.build();
HttpResponse<String> response =
HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
{
"webhooks": [
{
"id": "8f3b0e2a-71d3-4a5f-9e6b-123456789abc",
"organization_id": "93f35dc2-5d46-4e58-a9ee-038c35d9bcf1",
"url": "https://example.com/api/webhooks/sayvy",
"secret": "whsec_3b9f8a12e4c7d018b249aef567890123",
"events": [
"call.completed",
"message.received"
],
"is_active": true,
"created_at": "2026-09-07T12:30:00Z",
"updated_at": "2026-09-07T12:30:00Z"
}
]
}
{
"detail": "Unauthorized"
}
Returns all active and paused webhook subscriptions configured within your organization, including callback URLs, subscribed events, and signing secrets.
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
Bearer token for authentication. Format:
Bearer <token>.Response Fields
WebhookSubscriptionResponse[]
Array of webhook subscription objects:
curl -X GET "https://api.sayvy.ai/api/v1/webhooks" \
-H "Authorization: Bearer <token>"
import requests
url = "https://api.sayvy.ai/api/v1/webhooks"
headers = {
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.status_code)
print(response.json())
const response = await fetch("https://api.sayvy.ai/api/v1/webhooks", {
method: "GET",
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"))
.header("Authorization", "Bearer <token>")
.GET()
.build();
HttpResponse<String> response =
HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
{
"webhooks": [
{
"id": "8f3b0e2a-71d3-4a5f-9e6b-123456789abc",
"organization_id": "93f35dc2-5d46-4e58-a9ee-038c35d9bcf1",
"url": "https://example.com/api/webhooks/sayvy",
"secret": "whsec_3b9f8a12e4c7d018b249aef567890123",
"events": [
"call.completed",
"message.received"
],
"is_active": true,
"created_at": "2026-09-07T12:30:00Z",
"updated_at": "2026-09-07T12:30:00Z"
}
]
}
{
"detail": "Unauthorized"
}
‹ PreviousNext ›
Get webhook
GET /api/v1/webhooks/{webhook_id}
Was this page helpful?