Create or update webhook
documentedCreate a new webhook or update an existing one for the specified form.
POST /api/v2/{user_dir}/forms/{form_dir}/webhooksFormsno 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://{{$server}}.formsite.com/api/v2/{{$user_dir}}/forms/{{$form_dir}}/webhooks" -X POST -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" -H "Content-Type: application/json" -H "Accept: application/json" -d '{"webhook": {"handshake_key": "{{$handshake_key}}", "event": "{{$event}}", "url": "{{$hook_url}}"}}'