Get referral
Use a key with only read scopes. Your customer_id is in the reply to Get the calling API key.
GET
The workspace's invite link and what it earned: sign-ups, credits paid and this month's count against the limit. Owners and admins.
CustomerApiKeyheader
AuthorizationBearer <API Key>Customer API key sent as a bearer token
customer_id*stringFormat
uuidRequest fulfilled, document follows
application/json- response
earned_usd*numberinvite_url*stringref_code*stringreferred_paying*integercurl -X GET 'https://api.syndai.ai/api/v1/coding/customers/497f6eca-6276-4993-bfeb-53cbbbba6f08/referral'Example Response
{ "earned_usd": 0, "invite_url": "string", "ref_code": "string", "referred_paying": 0}