Skip to content

Accept referral code

POST
/referral-codes/accept

Accept a referral code for the current user

Authorizations

bearerAuth

Generate an API token here

Type
HTTP (bearer)

Parameters

Header Parameters

compatibility-date*

API compatibility date in YYYY-MM-DD format. Must be a date after 2025-11-01.

Type
string
Required
Example"2025-11-01"
Pattern
"^\\d{4}-\\d{2}-\\d{2}$"

Request Body

application/json
object
Min Length1
Max Length64

Responses

success.referral.accept

application/json
object
object
Required

Playground

Authorization
Headers
Body

Samples