admin

Rotate Affiliate Token

Rotate the portal access token — instantly revokes the old /affiliate/{token} link and mints a new one. Use when a partner's link leaks. The new portal_url is in the response.

post/api/v1/admin/affiliates/{affiliate_id}/rotate-token

Request

  • Base URL: https://api.nudgelink.co (the document declares no server; this is the origin it was published from)
  • URL: https://api.nudgelink.co/api/v1/admin/affiliates/{affiliate_id}/rotate-token
  • Auth: HTTP bearer

Path parameters

affiliate_idstring uuid required

Response

Successful Response

idstring uuid required
codestring required
namestring required
contact_emailstring nullable required
commission_rate_percentnumber required
commission_duration_monthsinteger required
activeboolean required
notestring nullable required
signup_urlstring required
portal_urlstring required
created_atstring date-time required

Changes

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