POST
/
rewards
/
trigger
cURL
curl --request POST \
  --url https://api-dev.withflock.com/rewards/trigger \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "externalUserId": "<string>",
  "rewardFor": [
    "self",
    "referral_partner"
  ],
  "environment": "production"
}'
[
  {
    "id": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Body

application/json

Response

201 - application/json

The response is of type object[].