# Send a test ping

> Queues a `ping` delivery to the endpoint and returns at once with its `delivery_id`.

Source: https://docs.spicrawl.com/api-reference/webhooks/webhooks-test

## POST /v1/webhooks/{webhookID}/test

Operation ID: `webhooksTest`. API key scope: `webhooks`.

Queues a `ping` delivery to the endpoint and returns at once with its `delivery_id`. Takes no body. The
delivery body is:

```json
{"event":"ping","endpoint_id":"<id>","created_at":"2026-11-25T10:00:00Z"}
```

The ping is signed like every delivery and follows the same retry ladder. Read `GET
/v1/webhooks/{webhookID}/deliveries` to see whether it arrived.

### Example

```bash
curl -X POST "https://api.spicrawl.com/v1/webhooks/{webhookID}/test" \
  -H "Authorization: Bearer $SPICRAWL_API_KEY"
```

### Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `webhookID` | path | string | yes | The endpoint `id`. An id of another organization answers 404. |

### Responses

#### 202

The ping is queued.

Headers: `X-Request-Id`.

`application/json`.

| Field | Type | Required | Description |
|---|---|---|---|
| `delivery_id` | string | yes |  |

#### 401

Missing, invalid, revoked or expired key. Not retryable with the same key.

Headers: `X-Request-Id`.

`application/problem+json` (`Problem` schema).

#### 403

The key lacks the scope this route requires (`ERR::AUTH::INSUFFICIENT_SCOPE`), or the action is not permitted.

Headers: `X-Request-Id`.

`application/problem+json` (`Problem` schema).

#### 404

No such resource for this key's organization.

Headers: `X-Request-Id`.

`application/problem+json` (`Problem` schema).

#### 500

Internal error. Retryable when `retryable` is true.

Headers: `X-Request-Id`.

`application/problem+json` (`Problem` schema).

Full OpenAPI spec: https://docs.spicrawl.com/openapi.yaml
