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

Authorizations

Authorization
string
header
required

Body

application/json

Response

201 - application/json

The response is of type object[].