curl -X POST 'https://console.nurrel.io/v1/pulso/webhooks/endpoints/550e8400-e29b-41d4-a716-446655440000/rotate' \
-H 'X-Api-Key: YOUR_CUSTOMER_KEY'
const response = await fetch('https://console.nurrel.io/v1/pulso/webhooks/endpoints/550e8400-e29b-41d4-a716-446655440000/rotate', {
method: 'POST',
headers: { 'X-Api-Key': process.env.NURREL_API_KEY },
});
import os, requests
response = requests.request('POST', 'https://console.nurrel.io/v1/pulso/webhooks/endpoints/550e8400-e29b-41d4-a716-446655440000/rotate',
headers={ 'X-Api-Key': os.environ['NURREL_API_KEY'] })
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"url": "https://example.invalid/pulso-webhook",
"eventTypes": [
"pulso.call.completed.v1"
],
"scenarioFilter": null,
"maskPhone": true,
"payloadSections": [
"escalation",
"transcript",
"tools"
],
"payloadSectionsDefault": true,
"health": "active",
"disabledReason": null,
"consecutiveFailures": 0,
"lastSuccessAt": null,
"createdAt": "2026-10-01T08:00:00Z",
"secret": "whsec_<one-time-secret>",
"previousExpiresAt": "2026-10-05T08:00:00Z"
}
API PULSO: вебхуки
Сменить секрет вебхука
POST /v1/pulso/webhooks/endpoints/{id}/rotate
curl -X POST 'https://console.nurrel.io/v1/pulso/webhooks/endpoints/550e8400-e29b-41d4-a716-446655440000/rotate' \
-H 'X-Api-Key: YOUR_CUSTOMER_KEY'
const response = await fetch('https://console.nurrel.io/v1/pulso/webhooks/endpoints/550e8400-e29b-41d4-a716-446655440000/rotate', {
method: 'POST',
headers: { 'X-Api-Key': process.env.NURREL_API_KEY },
});
import os, requests
response = requests.request('POST', 'https://console.nurrel.io/v1/pulso/webhooks/endpoints/550e8400-e29b-41d4-a716-446655440000/rotate',
headers={ 'X-Api-Key': os.environ['NURREL_API_KEY'] })
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"url": "https://example.invalid/pulso-webhook",
"eventTypes": [
"pulso.call.completed.v1"
],
"scenarioFilter": null,
"maskPhone": true,
"payloadSections": [
"escalation",
"transcript",
"tools"
],
"payloadSectionsDefault": true,
"health": "active",
"disabledReason": null,
"consecutiveFailures": 0,
"lastSuccessAt": null,
"createdAt": "2026-10-01T08:00:00Z",
"secret": "whsec_<one-time-secret>",
"previousExpiresAt": "2026-10-05T08:00:00Z"
}
Смените секрет вебхука. Новый секрет показывается один раз; прежний действует до previousExpiresAt.
Scope:
pulso.webhooks.manage. Аутентификация.Заголовки
Параметры пути
Ответ · 200
Типы событий подписки:
pulso.call.completed.v1, pulso.call.enriched.v1, pulso.call.failed.v1, pulso.ping.v1, pulso.webhook.endpoint.disabled.v1.Храните одноразовый секрет защищённо. До обработки проверяйте подпись вебхука по неизменённому телу запроса.
curl -X POST 'https://console.nurrel.io/v1/pulso/webhooks/endpoints/550e8400-e29b-41d4-a716-446655440000/rotate' \
-H 'X-Api-Key: YOUR_CUSTOMER_KEY'
const response = await fetch('https://console.nurrel.io/v1/pulso/webhooks/endpoints/550e8400-e29b-41d4-a716-446655440000/rotate', {
method: 'POST',
headers: { 'X-Api-Key': process.env.NURREL_API_KEY },
});
import os, requests
response = requests.request('POST', 'https://console.nurrel.io/v1/pulso/webhooks/endpoints/550e8400-e29b-41d4-a716-446655440000/rotate',
headers={ 'X-Api-Key': os.environ['NURREL_API_KEY'] })
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"url": "https://example.invalid/pulso-webhook",
"eventTypes": [
"pulso.call.completed.v1"
],
"scenarioFilter": null,
"maskPhone": true,
"payloadSections": [
"escalation",
"transcript",
"tools"
],
"payloadSectionsDefault": true,
"health": "active",
"disabledReason": null,
"consecutiveFailures": 0,
"lastSuccessAt": null,
"createdAt": "2026-10-01T08:00:00Z",
"secret": "whsec_<one-time-secret>",
"previousExpiresAt": "2026-10-05T08:00:00Z"
}