Skip to main content
POST
Add or update affiliate link

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.

Body

application/json

Affiliate URL

Example:

"https://example.com"

title
string
required

Link title

Example:

"My Link"

type
string
required

Link type

Example:

"athlete"

id
integer

Link ID (for update; omit for new)

Example:

1

icon
string

Icon identifier

Example:

"link"

status
string

Link status

Example:

"A"

Response

200

Link added/updated