curl -X GET "https://api.pingr.ai/api/v1/webhooks/8f3b0e2a-71d3-4a5f-9e6b-123456789abc" \
-H "Authorization: Bearer <token>"
import requests
url = "https://api.pingr.ai/api/v1/webhooks/8f3b0e2a-71d3-4a5f-9e6b-123456789abc"
headers = {
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.status_code)
print(response.json())
const response = await fetch("https://api.pingr.ai/api/v1/webhooks/8f3b0e2a-71d3-4a5f-9e6b-123456789abc", {
method: "GET",
headers: {
"Authorization": "Bearer <token>"
}
});
const data = await response.json();
console.log(data);
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.pingr.ai/api/v1/webhooks/8f3b0e2a-71d3-4a5f-9e6b-123456789abc"))
.header("Authorization", "Bearer <token>")
.GET()
.build();
HttpResponse<String> response =
HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
{
"id": "8f3b0e2a-71d3-4a5f-9e6b-123456789abc",
"organization_id": "93f35dc2-5d46-4e58-a9ee-038c35d9bcf1",
"url": "https://example.com/api/webhooks/pingr",
"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"
}
{
"detail": "Webhook not found"
}
Webhooks
Get webhook
Retrieve complete subscription details and signing secret for a webhook
GET
/
api
/
v1
/
webhooks
/
{webhook_id}
curl -X GET "https://api.pingr.ai/api/v1/webhooks/8f3b0e2a-71d3-4a5f-9e6b-123456789abc" \
-H "Authorization: Bearer <token>"
import requests
url = "https://api.pingr.ai/api/v1/webhooks/8f3b0e2a-71d3-4a5f-9e6b-123456789abc"
headers = {
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.status_code)
print(response.json())
const response = await fetch("https://api.pingr.ai/api/v1/webhooks/8f3b0e2a-71d3-4a5f-9e6b-123456789abc", {
method: "GET",
headers: {
"Authorization": "Bearer <token>"
}
});
const data = await response.json();
console.log(data);
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.pingr.ai/api/v1/webhooks/8f3b0e2a-71d3-4a5f-9e6b-123456789abc"))
.header("Authorization", "Bearer <token>")
.GET()
.build();
HttpResponse<String> response =
HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
{
"id": "8f3b0e2a-71d3-4a5f-9e6b-123456789abc",
"organization_id": "93f35dc2-5d46-4e58-a9ee-038c35d9bcf1",
"url": "https://example.com/api/webhooks/pingr",
"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"
}
{
"detail": "Webhook not found"
}
Retrieve configuration parameters, current status, subscribed events, and signing secret for an existing webhook subscription by its unique UUID.
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 subscription. Example:
8f3b0e2a-71d3-4a5f-9e6b-123456789abc.string
required
Bearer token for authentication. Format:
Bearer <token>.Response Fields
string
Webhook subscription UUID.
string
Organization UUID.
string
Target HTTPS callback endpoint URL.
string
HMAC SHA-256 signing secret key.
string[]
Array of active subscribed event topics.
boolean
Operational delivery status.
string
Creation timestamp.
string
Last modification timestamp.
curl -X GET "https://api.pingr.ai/api/v1/webhooks/8f3b0e2a-71d3-4a5f-9e6b-123456789abc" \
-H "Authorization: Bearer <token>"
import requests
url = "https://api.pingr.ai/api/v1/webhooks/8f3b0e2a-71d3-4a5f-9e6b-123456789abc"
headers = {
"Authorization": "Bearer <token>"
}
response = requests.get(url, headers=headers)
print(response.status_code)
print(response.json())
const response = await fetch("https://api.pingr.ai/api/v1/webhooks/8f3b0e2a-71d3-4a5f-9e6b-123456789abc", {
method: "GET",
headers: {
"Authorization": "Bearer <token>"
}
});
const data = await response.json();
console.log(data);
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api.pingr.ai/api/v1/webhooks/8f3b0e2a-71d3-4a5f-9e6b-123456789abc"))
.header("Authorization", "Bearer <token>")
.GET()
.build();
HttpResponse<String> response =
HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
{
"id": "8f3b0e2a-71d3-4a5f-9e6b-123456789abc",
"organization_id": "93f35dc2-5d46-4e58-a9ee-038c35d9bcf1",
"url": "https://example.com/api/webhooks/pingr",
"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"
}
{
"detail": "Webhook not found"
}
‹ PreviousNext ›
Update webhook
PUT /api/v1/webhooks/{webhook_id}
Was this page helpful?