---
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://staging.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": "unauthorized: missing or invalid credentials",
  "error_code": "insufficient_credits"
}
```

One of:

- `ErrorResponse`
- `Error`

### 404

Requested user or resource not found

#### Example

```json
{
  "error": "unauthorized: missing or invalid credentials",
  "error_code": "insufficient_credits"
}
```

One of:

- `ErrorResponse`
- `Error`

### 429

Rate limit or daily request quota exceeded

#### Example

```json
{
  "error": "unauthorized: missing or invalid credentials",
  "error_code": "insufficient_credits"
}
```

One of:

- `ErrorResponse`
- `Error`


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