cURL
curl --request GET \ --url https://api-dev.withflock.com/customers/{id} \ --header 'Authorization: <api-key>'
{ "id": "<string>", "externalUserId": "<string>", "email": "<string>", "name": "<string>", "referredBy": { "id": "<string>", "externalUserId": "<string>", "email": "<string>", "name": "<string>" }, "referredById": {}, "referredByReferralId": "<string>", "referredInCampaignId": "<string>", "visitedReferralsCount": 123, "convertedReferralsCount": 123, "referralCode": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "deletedAt": "2023-11-07T05:31:56Z", "organizationId": "<string>", "applicationId": "<string>", "customProperties": {}, "environment": "production" }
Documentation IndexFetch the complete documentation index at: https://docs.withflock.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.withflock.com/llms.txt
Use this file to discover all available pages before exploring further.
The customer who referred this customer
Show child attributes
production
test