Skip to content
LogoLogo

Consent

Create a sign-in context; elevated partner access requires the user's consent.

Create a login context

POST/embed/login-contexts

Basic contexts use public appId and a registered parentOrigin without integration authentication. Elevated partner contexts require both x-app-id and x-api-key, plus partnerUserRef and nonempty requestedScopes together. The body appId must match the authenticated integration, and requested scopes must be allowed by both the integration and key. Do not send an Authorization credential. Creation alone grants no access. State is a single-use secret returned only on creation.

Request Body

application/json

Responses

400Invalid body, unregistered parent origin, incomplete elevated fields or scopes not allowed by the integration.
401Missing, invalid or mismatched credentials for an elevated context.
403The integration key lacks a requested scope.
404The public app ID is not an active integration (basic context).
429Rate limited (60 requests per minute).