Skip to main content
POST
/
v1
/
account
/
invite
Create Account Invite
curl --request POST \
  --url https://api.perpetuals.polymarket.com/v1/account/invite \
  --header 'Content-Type: application/json' \
  --header 'POLYMARKET-PROXY: <api-key>' \
  --header 'POLYMARKET-SECRET: <api-key>' \
  --data '{}'
{
  "status": "ok",
  "code": "ABC123",
  "referrals_available": 1,
  "cooldown_ms": 1
}
Request Weight: 1

Authorizations

POLYMARKET-PROXY
string
header
required

Proxy address

POLYMARKET-SECRET
string
header
required

Correponding proxy secret

Body

application/json

Empty invite creation request.

The body is of type object.

Response

Account invite response.

status
enum<string>
required
Available options:
ok
code
string
required

Referral or invite code

Example:

"ABC123"

referrals_available
integer
required

Remaining lifetime referrals for this invite code.

Required range: x >= 0
cooldown_ms
integer | null
required

Milliseconds until referrals become available again. Null for lifetime caps because no windowed cooldown applies.

Required range: x >= 0