Sign in

Create referral action

documented

Creates a new Referral Action to be used for processing new recurring rewards.

POST /api/referralactionReferralActionno 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.referralrock.com/api/referralaction" \
  -X POST \
  -H "Authorization: Basic {{REFERRALROCK_API_KEY}}:{{REFERRALROCK_SECRET}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"amount": {{$amount}}, "referralQuery": "{{$referralQuery}}", "programQuery": "{{$programQuery}}", "name": "{{$name}}", "externalIdentifier": "{{$externalIdentifier}}"}'
Create referral action · referralrock · OpenIntegrations