---
title: "Test Webhook Delivery"
description: "Sends a sample test match to the configured webhook URL. Rate limited to 5 per minute."
---

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

Path: ThreadAPI API › Monitors

`POST /v1/monitors/{id}/test`

Sends a sample test match to the configured webhook URL. Rate limited to 5 per minute.

## Authentication

Requires one of the following:

- `bearerAuth`, http, header `Authorization`
- `apiKeyAuth`, apiKey, in header, header `x-api-key`

## Path parameters

- `id` (`testMonitor.path.id`; string, required)

## Code samples

### cURL

```bash
curl --request POST \
  --url 'https://api.threadapi.dev/v1/monitors/<id>/test' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.threadapi.dev/v1/monitors/<id>/test';
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.threadapi.dev/v1/monitors/<id>/test"

headers = {"Authorization": "Bearer <token>"}

response = requests.post(url, headers=headers)

print(response.text)
```

## Responses

### 200

Test delivery outcome

#### Example

```json
{
  "delivered": true,
  "status": 0,
  "error": "string"
}
```

- `delivered` (`testMonitor.response.200.delivered`; boolean, optional)
- `status` (`testMonitor.response.200.status`; integer, optional)
- `error` (`testMonitor.response.200.error`; string | null, optional)

### 401

Missing or invalid API key or OAuth access token

#### Example

```json
{
  "error": {
    "code": "not_found",
    "message": "string",
    "retryable": true,
    "retry_after": 0,
    "request_id": "string"
  }
}
```

- `error` (`testMonitor.response.401.error`; object, required) — Some codes add fields, such as `limit` and `used` on `monitor_limit_reached` and `upgrade_url` on `rate_limited` and `daily_quota_exceeded`.
  - `code` (`testMonitor.response.401.error.code`; string, required)
    - example `"not_found"`
  - `message` (`testMonitor.response.401.error.message`; string, required)
  - `retryable` (`testMonitor.response.401.error.retryable`; boolean, required)
  - `retry_after` (`testMonitor.response.401.error.retry_after`; integer, optional) — Seconds to wait before retrying.
  - `request_id` (`testMonitor.response.401.error.request_id`; string, optional) — The request's X-Request-Id; include it when reporting an issue.

### 404

Requested user or resource not found

#### Example

```json
{
  "error": {
    "code": "not_found",
    "message": "string",
    "retryable": true,
    "retry_after": 0,
    "request_id": "string"
  }
}
```

- `error` (`testMonitor.response.404.error`; object, required) — Some codes add fields, such as `limit` and `used` on `monitor_limit_reached` and `upgrade_url` on `rate_limited` and `daily_quota_exceeded`.
  - `code` (`testMonitor.response.404.error.code`; string, required)
    - example `"not_found"`
  - `message` (`testMonitor.response.404.error.message`; string, required)
  - `retryable` (`testMonitor.response.404.error.retryable`; boolean, required)
  - `retry_after` (`testMonitor.response.404.error.retry_after`; integer, optional) — Seconds to wait before retrying.
  - `request_id` (`testMonitor.response.404.error.request_id`; string, optional) — The request's X-Request-Id; include it when reporting an issue.

### 429

Rate limit or daily request quota exceeded

#### Example

```json
{
  "error": {
    "code": "not_found",
    "message": "string",
    "retryable": true,
    "retry_after": 0,
    "request_id": "string"
  }
}
```

- `error` (`testMonitor.response.429.error`; object, required) — Some codes add fields, such as `limit` and `used` on `monitor_limit_reached` and `upgrade_url` on `rate_limited` and `daily_quota_exceeded`.
  - `code` (`testMonitor.response.429.error.code`; string, required)
    - example `"not_found"`
  - `message` (`testMonitor.response.429.error.message`; string, required)
  - `retryable` (`testMonitor.response.429.error.retryable`; boolean, required)
  - `retry_after` (`testMonitor.response.429.error.retry_after`; integer, optional) — Seconds to wait before retrying.
  - `request_id` (`testMonitor.response.429.error.request_id`; string, optional) — The request's X-Request-Id; include it when reporting an issue.


Source: https://threadapi.dev/api/Monitors/testMonitor/index.md
