curl --request POST \ --url https://api-dev.withflock.com/referrals \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "campaignId": "<string>", "refereeId": "<string>", "referralCode": "<string>" }'
{ "id": "<string>", "campaignId": "<string>", "refereeId": {}, "referrerId": "<string>", "status": {}, "suspectedFrauds": [ { "message": "<string>", "type": "<string>" } ], "organizationId": "<string>", "applicationId": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "deletedAt": "2023-11-07T05:31:56Z" }
The ID of the customer being invited
Show child attributes