Skip to main content
GET
/
v1
/
agents
/
{agent_id}
/
webhook
curl https://api.dari.dev/v1/agents/agt_123/webhook \
  -H "Authorization: Bearer $DARI_API_KEY"
{
  "webhook_url": "https://example.com/dari/webhook",
  "signing_enabled": true,
  "signing_secret": null
}

Documentation Index

Fetch the complete documentation index at: https://docs.dari.dev/llms.txt

Use this file to discover all available pages before exploring further.

Return the webhook URL configured for one agent. This endpoint tells you whether webhook signing is enabled, but it never returns the existing signing secret. If you need a new secret, rotate the webhook secret.

Path Parameters

agent_id
string
required
Agent ID.

Headers

Authorization
string
required
Bearer token using your Dari API key.

Response Fields

webhook_url
string | null
Configured webhook URL, or null when no webhook is configured.
signing_enabled
boolean
Whether Dari signs webhook deliveries for this agent. This is false when no webhook is configured.
signing_secret
null
Always null for this endpoint. Secrets are only returned when created or rotated.
curl https://api.dari.dev/v1/agents/agt_123/webhook \
  -H "Authorization: Bearer $DARI_API_KEY"
{
  "webhook_url": "https://example.com/dari/webhook",
  "signing_enabled": true,
  "signing_secret": null
}