Skip to main content
POST
/
v1
/
account
/
referral
Apply Referral Code
curl --request POST \
  --url https://api.perpetuals.polymarket.com/v1/account/referral \
  --header 'Content-Type: application/json' \
  --header 'POLYMARKET-PROXY: <api-key>' \
  --header 'POLYMARKET-SECRET: <api-key>' \
  --data '
{
  "code": "ABC123"
}
'
{
  "status": "ok"
}
Request Weight: 1

Authorizations

POLYMARKET-PROXY
string
header
required

Proxy address

POLYMARKET-SECRET
string
header
required

Correponding proxy secret

Body

application/json

Referral code to apply.

code
string
required

Referral or invite code

Example:

"ABC123"

Response

Referral code accepted.

status
enum<string>
required
Available options:
ok