Skip to main content
POST /v1/auth/login/enrollment Returns a sign-in URL without requiring an existing account: the company SSO connection when the target has a ready connection, otherwise ordinary account login. Supply one documented enrollment variant: organizationId with returnTo (optionally invitationToken), invitationToken with returnTo, or retryToken. Open the returned URL to continue authentication; receiving a URL does not complete sign-in. This is a browser flow: the request must come from an allowed Origin, and the retryToken variant also needs the retry cookie set by the failed sign-in, so send it with credentials.
TypeScript

Body

One of: OrganizationEnterpriseLoginRequest
string
string
required
string
required
One of: InvitationEnterpriseLoginRequest
string
required
string
required
One of: RetryEnterpriseLoginRequest
string
required

Returns

200 Company SSO URL when the target has a ready connection, otherwise the ordinary Account login URL. The response never says which, and access is decided only after authentication. StartEnterpriseLoginResponse
string (uri)
required