affiliate

Claim a custom affiliate code

Claim the affiliate's one custom code, the name a creator says out loud instead of a random string. First come, first served across the whole program. Requires a signed-in user rather than an API key: the code is claimed once and is the affiliate's public name.

post/affiliate/vanity-code/

Request

  • Base URL: https://api.getoneprofile.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.getoneprofile.ai/affiliate/vanity-code/
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Request body

codestring required

4-32 lowercase letters, digits or hyphens.

Response

Successful Response

codestring required
created_atstring date-time required
is_vanityboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.