For the complete documentation index, see llms.txt. This page is also available as Markdown.

referral_create

Create referral code

post
/api/v1/referral/create
Header parameters
authorizationstringRequired

Auth token in the Authorization header.

Body
account_indexinteger · int64Required
Responses
200

A successful response.

application/json
codeinteger · int32RequiredExample: 200
messagestringOptional
referral_codestringRequiredExample: 5V24K3MJ
post/api/v1/referral/create
POST /api/v1/referral/create HTTP/1.1
Host: mainnet.zklighter.elliot.ai
authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 19

"account_index=1"
{
  "code": 200,
  "message": "text",
  "referral_code": "5V24K3MJ"
}

Last updated

Was this helpful?