Sign in

Create webhook subscription

documented

Creates a new webhook subscription for receiving event notifications.

POST /subscriptions/{unique_id}Webhooksno 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://api.donately.com/v2/subscriptions/{{$unique_id}}?account_id={{account_id}}" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Donately-Version: {{Donately-Version}}" \
  -d '{"amount_in_cents": {{$amount_in_cents}}, "currency": "{{$currency}}", "interval": "{{$interval}}", "campaign_id": "{{$campaign_id}}", "customer_id": "{{$customer_id}}", "notes": "{{$notes}}"}'
Create webhook subscription · Donately · OpenIntegrations