Subscribe account-wide webhook
documentedCreate a webhook for account-wide events.
POST /api/v2/webhooksWebhooksno implementation yet0 runsNo 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://{{$subdomain}}.myphoner.com/api/v2/webhooks" \
-X POST \
-H "Authorization: Token {{MYPHONER_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"webhook": {"target_url": "https://{{$target_url}}", "event": "{{$event}}"}}'