Create hook
documentedSpecify a URL to receive webhook POSTs when events occur.
POST /api/hooksHooksno 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://api.referralrock.com/api/hooks" \
-X POST \
-H "Authorization: Basic {{REFERRALROCK_API_KEY}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"target_url": "{{$target_url}}", "event": "{{$event}}"}'