Skip to main content
POST
https://agentgate.mynewapi.com
/
v1
/
webhooks
/
{id}
/
test
curl -X POST https://agentgate.mynewapi.com/v1/webhooks/wh_abc123/test \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "success": true,
  "statusCode": 200,
  "responseTime": 150
}
id
string
required
Webhook ID to test.
success
boolean
Whether the test delivery succeeded.
statusCode
integer
HTTP status code returned by your endpoint.
responseTime
integer
Response time in milliseconds.
error
string
Error message if delivery failed.
curl -X POST https://agentgate.mynewapi.com/v1/webhooks/wh_abc123/test \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "success": true,
  "statusCode": 200,
  "responseTime": 150
}