Users

Create Affiliate Apply Link

Builds an affiliate apply link for the user, carrying a short-lived token so the affiliate they become is attributed back to them. Request it when the user asks to apply, rather than ahead of time.

post/users/{app_user_id}/affiliate-apply-link

Path parameters

app_user_idstring required

The app user id of the user applying.

Headers

x-api-keystring required

The API key to authenticate with.

Request body

group_slugstring nullable

The affiliate group to apply to. Omit to link to the app's default group.

Example request

{
  "group_slug": "creators"
}

Response

The apply link has been successfully built.

Example response

{
  "data": {
    "link": "https://appname.wwk.link/apply/creators?intent_token=v1..."
  }
}

Changes

Changed in 1 of the 3 revisions of this API.1