Skip to main content

Test Webhook

Send a test event to verify your webhook endpoint is working.

POST /api/v1/webhooks/:id/test

Required Scope: webhooks:write

Request

Path Parameters

ParameterTypeDescription
idstringWebhook ID

Example

curl -X POST "https://api.flowmaestro.io/api/v1/webhooks/wh_abc123/test" \
-H "X-API-Key: fm_live_your_api_key"

Response

{
"data": {
"webhook_id": "wh_abc123",
"delivery_id": "delivery_xyz789",
"success": true,
"status_code": 200,
"response_time_ms": 145
},
"meta": {
"request_id": "...",
"timestamp": "..."
}
}

Failed Test Response

{
"data": {
"webhook_id": "wh_abc123",
"delivery_id": "delivery_xyz789",
"success": false,
"status_code": 500,
"error_message": "Connection refused",
"response_time_ms": 30000
},
"meta": {
"request_id": "...",
"timestamp": "..."
}
}

Errors

StatusCodeDescription
404resource_not_foundWebhook not found