> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nottoad.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a webhook endpoint

> POST /v1/pulso/webhooks/endpoints

Create an HTTPS receiver for a nonempty set of event types. The response issues a one-time secret.

> [!NOTE]
>
> Scope: `pulso.webhooks.manage`. [Authentication](https://docs.nottoad.com/en/api/authentication.md).

## Headers

**X-Api-Key** `string` *required*

Customer API key. Keep it on your server.

## Request body

**url** `string` *required*

HTTPS receiver URL.

**eventTypes** `string[]` *required*

Nonempty array of supported types: `pulso.call.completed.v1`, `pulso.call.enriched.v1`, `pulso.call.failed.v1`, `pulso.ping.v1`, `pulso.webhook.endpoint.disabled.v1`. Unknown types return 422 WEBHOOK\_EVENT\_TYPES\_INVALID.

**scenarioFilter** `string[] | null`

Limit delivery to scenario slugs; null selects all.

**maskPhone** `boolean`

Control phone masking.

**payloadSections** `string[] | null`

Select escalation, transcript, tools; omitted or null means all.

## Response · 201

**id** `string`

Endpoint ID.

**url** `string`

HTTPS receiver URL.

**eventTypes** `string[]`

Subscribed event types: `pulso.call.completed.v1`, `pulso.call.enriched.v1`, `pulso.call.failed.v1`, `pulso.ping.v1`, `pulso.webhook.endpoint.disabled.v1`.

**scenarioFilter** `string[] | null`

Scenario slugs selected for delivery, or null for all.

**maskPhone** `boolean`

Whether phone numbers are masked.

**payloadSections** `string[]`

Optional call-event sections delivered to the receiver.

**payloadSectionsDefault** `boolean`

true means all sections, including future ones.

**health** `string`

active, failing, or disabled.

**disabledReason** `string | null`

Why the endpoint was disabled, if applicable.

**consecutiveFailures** `integer`

Consecutive failed deliveries.

**lastSuccessAt** `string | null`

Time of the last successful delivery.

**createdAt** `string`

Endpoint creation time.

**previousExpiresAt** `string`

Previous secret expiry during rotation; otherwise omitted.

**secret** `string`

One-time secret only on creation or rotation.

> [!WARNING]
>
> Store any one-time secret securely. Verify webhook signatures against the unchanged raw body before processing.

```bash cURL theme={null}
curl -X POST 'https://console.nurrel.io/v1/pulso/webhooks/endpoints' \
  -H 'X-Api-Key: YOUR_CUSTOMER_KEY' \
  -H 'Content-Type: application/json' \
  --data '{"url":"https://example.com/pulso-webhook","eventTypes":["pulso.call.completed.v1"],"maskPhone":true}'
```

```javascript JavaScript theme={null}
const response = await fetch('https://console.nurrel.io/v1/pulso/webhooks/endpoints', {
  method: 'POST',
  headers: { 'X-Api-Key': process.env.NURREL_API_KEY, 'Content-Type': 'application/json' },
  body: JSON.stringify({"url": "https://example.com/pulso-webhook", "eventTypes": ["pulso.call.completed.v1"], "maskPhone": true}),
});
```

```python Python theme={null}
import os, requests
response = requests.request('POST', 'https://console.nurrel.io/v1/pulso/webhooks/endpoints',
    headers={ 'X-Api-Key': os.environ['NURREL_API_KEY'] },
    json={'url': 'https://example.com/pulso-webhook', 'eventTypes': ['pulso.call.completed.v1'], 'maskPhone': True})
```

```json Response theme={null}
{
  "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>"
}
```

## Next

[Explore the PULSO API overview](https://docs.nottoad.com/en/api/pulso-calls.md) or [events and webhooks](https://docs.nottoad.com/en/api/pulso-events.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.