Skip to main content
POST
Create sign-in URL

Endpoint

Generates a single-use, short-lived sign-in link. Redirect the partner to the returned url and they are logged into their portal dashboard without entering a password or one-time code. See the Auto-login guide for the full flow.
Available for affiliate and refer-a-friend programs. For refer-a-friend, the “partner” is the referring customer. Call this endpoint server-side — it requires your secret API key.

Identifying the partner

You can pass the partner’s ID in the path, or identify the partner in the request body. Use whichever fits your integration:

Path parameters

Request body

Provide at least one identifier (id, key, or email) unless the id is supplied in the path.
Identifiers are resolved by priority: id, then key, then email. Provide the one you have.

Request

cURL

Response

Error responses

Treat the returned url as a credential — it signs the partner in on first use. Deliver it only to the intended user and avoid logging it.
Generate the link on demand, immediately before redirecting the partner. Because it is single-use and expires quickly, links created ahead of time are usually no longer valid when needed.