Skip to main content
GET
https://agentgate.mynewapi.com
/
v1
/
webhooks
curl https://agentgate.mynewapi.com/v1/webhooks \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "webhooks": [
    {
      "id": "wh_abc123",
      "url": "https://your-app.com/webhooks/agentgate",
      "events": ["run.completed", "run.failed"],
      "enabled": true,
      "description": "Production webhook",
      "createdAt": "2024-01-01T00:00:00Z"
    }
  ]
}
webhooks
array
Array of webhook configurations.
Webhook secrets are never returned in list responses.
curl https://agentgate.mynewapi.com/v1/webhooks \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "webhooks": [
    {
      "id": "wh_abc123",
      "url": "https://your-app.com/webhooks/agentgate",
      "events": ["run.completed", "run.failed"],
      "enabled": true,
      "description": "Production webhook",
      "createdAt": "2024-01-01T00:00:00Z"
    }
  ]
}