Create hook
documentedCreate a webhook hook that posts collected form payloads to a target URL. Required fields: event and target_url; optional wisepop_id to limit to a specific Wisepop.
POST /api2/hooksWebhooksno 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://app.wisepops.com/api2/hooks' \\
-X POST \\
-H 'Authorization: WISEPOPS-API key={{WISEPOPS_API_KEY}}' \\
-H 'Content-Type: application/json' \\
-H 'Accept: application/json' \\
-d '{"event": "{{$event}}", "target_url": "{{$target_url}}", "wisepop_id": "{{$wisepop_id}}"}'