Users
Create Affiliate Apply Link
Changed onBuilds 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
Request
- Base URLhttps://api.winwinkit.com
- Authnone declared. Required headers: x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
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
- info
endpoint added
- info