curl https://api.agentcard.sh/api/v1/webhook_endpoints/wh_abc123 \
-H "Authorization: Bearer sk_test_..."
{
"id": "wh_abc123",
"object": "webhook_endpoint",
"url": "https://your-app.example.com/webhooks/agentcard",
"enabled_events": ["card.*"],
"status": "active",
"description": "production receiver",
"consecutive_failures": 0,
"last_success_at": "2026-05-17T13:42:00.000Z",
"disabled_at": null,
"created_at": "2026-05-17T12:00:00.000Z",
"updated_at": "2026-05-17T13:42:00.000Z"
}
Webhook Endpoints
Retrieve webhook endpoint
Fetch a single webhook endpoint.
GET
/
api
/
v1
/
webhook_endpoints
/
{id}
curl https://api.agentcard.sh/api/v1/webhook_endpoints/wh_abc123 \
-H "Authorization: Bearer sk_test_..."
{
"id": "wh_abc123",
"object": "webhook_endpoint",
"url": "https://your-app.example.com/webhooks/agentcard",
"enabled_events": ["card.*"],
"status": "active",
"description": "production receiver",
"consecutive_failures": 0,
"last_success_at": "2026-05-17T13:42:00.000Z",
"disabled_at": null,
"created_at": "2026-05-17T12:00:00.000Z",
"updated_at": "2026-05-17T13:42:00.000Z"
}
Returns the webhook endpoint with the given ID. The signing secret is never included — use
roll_secret if you’ve lost it.
curl https://api.agentcard.sh/api/v1/webhook_endpoints/wh_abc123 \
-H "Authorization: Bearer sk_test_..."
{
"id": "wh_abc123",
"object": "webhook_endpoint",
"url": "https://your-app.example.com/webhooks/agentcard",
"enabled_events": ["card.*"],
"status": "active",
"description": "production receiver",
"consecutive_failures": 0,
"last_success_at": "2026-05-17T13:42:00.000Z",
"disabled_at": null,
"created_at": "2026-05-17T12:00:00.000Z",
"updated_at": "2026-05-17T13:42:00.000Z"
}
⌘I