Consent
Create a sign-in context; elevated partner access requires the user's consent.
Create a login context
/embed/login-contextsBasic 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/jsonRequires matching integration headers and both elevated fields together.
string·max 2048Origin of the host page; must be registered for this integration. Trimmed and normalized by the server.
string·min 1·max 128Stable partner-side user identifier; constraints apply after trimming.
Responses
string·min 1Single-use secret returned only on creation. Keep out of logs, URLs, caches and diagnostics.