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

# Fire a sample webhook.test event

Sends a webhook.test event to the configured URL using the current secret. Useful for verifying a new endpoint.

` POST /projects/{projectId}/webhooks/{webhookId}/test `

Fire a sample webhook.test event

Sends a webhook.test event to the configured URL using the current secret. Useful for verifying a new endpoint.

## Servers

- ` https://api.rogeriq.com/api/v1 `

## Authentication

The operation accepts these alternatives. Schemes within one alternative are required together.

### Alternative 1

- ` apiKey `: ` apiKey `

  - Credential: ` X-API-Key ` in ` header `

  - API key with `riq_` prefix

## Parameters

### ` projectId ` (path, required)

- ` value `: type ` string `

### ` webhookId ` (path, required)

- ` value `: type ` string `

## Responses

### ` 200 ` — Delivery attempted

Content type: ` application/json `

- ` value `: type ` object `

  - ` data `: type ` object `

    - ` delivered `: type ` boolean `

    - ` status_code `: type ` integer `; nullable

    - ` duration_ms `: type ` integer `

## Request examples

### cURL

```curl
curl -X POST 'https://api.rogeriq.com/api/v1/projects/string/webhooks/string/test' \
  -H 'Authorization: Bearer YOUR_API_TOKEN'
```

### JavaScript

```javascript
const response = await fetch('https://api.rogeriq.com/api/v1/projects/string/webhooks/string/test', {
  method: 'POST',
  headers: {
      "Authorization": "Bearer YOUR_API_TOKEN"
  }
});

const data = await response.json();
console.log(data);
```

### Python

```python
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN'
}

response = requests.post('https://api.rogeriq.com/api/v1/projects/string/webhooks/string/test', headers=headers)
print(response.json())
```