Webhooks
Test your webhook endpoint to verify it can receive notifications from meter.Test webhook delivery
Send a sample webhook payload to verify your endpoint is configured correctly.Request body
| Field | Type | Required | Description |
|---|---|---|---|
webhook_url | string | Yes | The webhook URL to test |
Response
| Field | Type | Description |
|---|---|---|
success | boolean | Whether the webhook was delivered successfully (2xx response) |
status_code | integer | HTTP status code returned by your endpoint (0 if request failed) |
message | string | Human-readable result message |
Example
Test payload format
The test endpoint sends a payload matching the format of real webhook notifications:| Field | Type | Description |
|---|---|---|
job_id | UUID | ID of the scrape job |
schedule_id | UUID | ID of the schedule that triggered the job |
status | string | Job status (completed or failed) |
results | array | Extracted data from the page |
item_count | integer | Number of items extracted |
has_changes | boolean | Whether content changed since last run |
content_hash | string | Hash of the extracted content |
completed_at | datetime | When the job completed |
Error responses
| Status | Description |
|---|---|
400 | Invalid request (missing webhook_url) |
422 | Invalid URL format |