POST
/
referrals
/
validate-code
curl --request POST \
  --url https://api-dev.withflock.com/referrals/validate-code \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "campaignId": "<string>",
  "referralCode": "<string>"
}'
{
  "campaignId": "<string>",
  "referralCode": "<string>"
}

Authorizations

Authorization
string
header
required

Body

application/json
campaignId
string
required
referralCode
string
required

Response

200 - application/json
campaignId
string
required
referralCode
string
required