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

# Send Test Delivery

> Send a sample event to a URL before you create the endpoint.

Sends a sample payload for one event type to the URL you give and reports what happened. Nothing is saved and no secret is needed, so you can check that your receiver is reachable and parses the payload before calling [Create Endpoint](https://docs.oktivo.com/api-reference/webhooks/create-endpoint.md). This is the same check as the **Send Test** button in the dashboard.

## Request Body

**url** `string` *required*

The HTTPS URL to send the sample to.

**eventType** `string` (default: call.ended)

The event whose sample payload is sent. See [Events](https://docs.oktivo.com/concepts/events.md) for the list.

**deliveryProfile** `string` (default: standard)

Set `panzo` to send the Panzo-compatible variant of the payload. See [Webhooks](https://docs.oktivo.com/concepts/webhooks.md#panzo-delivery-format).

**payloadMode** `string` (default: standard)

Set `custom` to replay a custom request. Then `method`, `headers`, `bodyType`, `bodyTemplate`, `auth` and `timeoutMs` are used, with the same rules as when you create an endpoint.

## Response

**success** `boolean`

`true` when your URL accepted the sample delivery.

**result** `object`

The outcome of the test request to your URL.

**samplePayload** `object`

The sample payload that was sent.

```bash cURL theme={null}
curl -X POST https://client-backend.oktivo.com/api/v1/crm/webhooks/endpoints/test-delivery \
  -H "Authorization: Bearer okt_YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "url": "https://your-app.com/webhooks/oktivo", "eventType": "call.completed" }'
```

```json 400 Validation Error theme={null}
{
  "success": false,
  "message": "A valid HTTPS URL is required",
  "error": "A valid HTTPS URL is required",
  "code": "BAD_REQUEST",
  "requestId": "3f1c2c0e-6a41-4e0b-9f0e-1f2d6f1b8a77",
  "errorInfo": {
    "code": "BAD_REQUEST",
    "message": "A valid HTTPS URL is required"
  }
}
```

> [!NOTE]
>
> This endpoint accepts an **API Token** (`okt_...`) or **JWT** and shares the standard 120 requests/minute limit. The dashboard path `POST /webhooks/endpoints/test-delivery` is JWT only and behaves the same. Your plan must include the Webhooks feature.


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