Sign in

Add a webhook

documented

Register a new webhook URL for Deputy events.

POST /api/v1/resource/WebhookWebhooksno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{$install}}.{{$geo}}.deputy.com/api/v1/resource/Webhook" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"Topic": "{{$topic}}", "Enabled": {{$enabled}}, "Type": "URL", "Address": "{{$webhook_url}}", "Filter": {"OperationalUnit": "{{$operational_unit}}"}}'
Add a webhook · Deputy · OpenIntegrations