Affiliate Login

POST /a/affiliates/login

Authenticate affiliate using email and password and return a redirect URL with short-lived token. To embed the portal in your own app, use Affiliate SSO Link instead: it needs no password and its link works once. Affiliates made app-only (password_login=false on Affiliate SSO Link) are refused with 403 password_login_disabled. The redirect URL works once and expires after 1 hour; a user with two-factor authentication is asked for their code before the portal opens. After 5 wrong passwords for the same email within 15 minutes, further attempts return 429 too_many_attempts with Retry-After.

Authentication

Domain ID — your network's tenant ID (header: X-Domain-Id)

API Key (header: X-Api-Key)

Secret Key (header: X-Api-Secret)

No API key yet? Start a 14-day free trial and generate a key from your dashboard's security settings. No credit card required.

Request Body *

Affiliate login credentials

Content-Type: application/json

FieldTypeRequiredDescription
emailstringYes
passwordstringYes

Responses

StatusDescription
200Login successful
401Invalid credentials
403Account not active (account_not_active), or password sign-in disabled for this app-only affiliate (password_login_disabled)
422Validation error
429Too many failed attempts for this email