Skip to main content
POST
/
api
/
v1
/
referrals
/
redeem
POST /api/v1/referrals/redeem
curl --request POST \
  --url https://api.mainnet.aptoslabs.com/decibel/api/v1/referrals/redeem \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "account": "<string>",
  "referral_code": "<string>"
}
'
{
  "account": "<string>",
  "referral_code": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.decibel.trade/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer token from Geomi. See Authentication for setup instructions.

Body

application/json

Request body for POST /api/v1/referrals/redeem

account
string
required

The wallet address redeeming the code (not a subaccount address)

referral_code
string
required

The referral code to redeem

Response

Referral code redeemed

Response for POST /api/v1/referrals/redeem

account
string
required

The wallet address that redeemed the code (not a subaccount address)

referral_code
string
required

The referral code that was redeemed