Skip to main content
GET
https://agentgate.mynewapi.com
/
v1
/
webhooks
/
{id}
curl https://agentgate.mynewapi.com/v1/webhooks/wh_abc123 \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "id": "wh_abc123",
  "url": "https://your-app.com/webhooks/agentgate",
  "events": ["run.completed", "run.failed"],
  "enabled": true,
  "description": "Production webhook",
  "createdAt": "2024-01-15T10:30:00Z"
}
id
string
required
Webhook ID (format: wh_xxxxx).
id
string
Webhook identifier.
url
string
Webhook URL.
events
array
Subscribed event types.
enabled
boolean
Whether webhook is active.
description
string
Webhook description.
createdAt
string
Creation timestamp.
The webhook secret is not included in the response.
curl https://agentgate.mynewapi.com/v1/webhooks/wh_abc123 \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "id": "wh_abc123",
  "url": "https://your-app.com/webhooks/agentgate",
  "events": ["run.completed", "run.failed"],
  "enabled": true,
  "description": "Production webhook",
  "createdAt": "2024-01-15T10:30:00Z"
}