Partners
Mint a sign-in link
A single-use magic link that signs the partner straight into their portal. Fifteen-minute life. Drop it into your own emails or app. Needs the umbrella write scope: a sign-in link is a session on the partner's portal, not a partner record, so no narrower scope hands one out.
Scope: write
post/v1/partners/{id}/sso
Request
- Base URL: https://api.affiliaterail.com
- URL: https://api.affiliaterail.com/v1/partners/{id}/sso
- Auth: HTTP bearer
Path parameters
idstring required
Prefixed id (part_…)
Example:part_7uSyy9FqVLCFWrdPeZaK
Request body
Response
The link
Example response
{
"partner_id": "part_7uSyy9FqVLCFWrdPeZaK",
"expires_at": "2026-08-21T10:15:30.000Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.