Webhooks
Authorization
Bearer AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
webhook_id*string
ID of the webhook to test
Response Body
application/json
application/json
application/json
curl -X POST "https://api.relayapi.dev/v1/webhooks/test" \ -H "Content-Type: application/json" \ -d '{ "webhook_id": "string" }'{
"success": true,
"status_code": 0,
"response_time_ms": 0
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {
"property1": null,
"property2": null
}
}
}