Download OpenAPI specification:Download
Manage sessions that provide context for WebAuthn APIs
Start authorized auth session for user flows that include registration, such as onboarding new users or offering WebAuthn registration to users that logged in using a legacy system or other Transmit login methods. This session must be authorized using an access token that's either fetched using client credentials, or was returned by another Transmit authentication. It must be called from the client backend
Auth session created
{- "username": "string",
- "session_expiration": 0,
- "redirect_uri": "string",
- "device_public_key": "string"
}
{- "auth_session_id": "string"
}
Start unauthorized auth session for user flows that only include authentication or recovery (not registration, which required an authorized session). This call must be made from the client.
Auth session created
{- "session_expiration": 0,
- "client_id": "string",
- "cross_device": {
- "binding_message": "string"
}, - "redirect_uri": "string",
- "approval_data": {
- "transaction_id": "eFII2y40uB9hQ98nXt3tc1IHkRt8GrRZiqZuRn_59wT",
- "sum": "200"
}
}
{- "auth_session_id": "string"
}
Get the status of an auth session in cross-device flows (e.g., if the authenticating device was attached) and obtain the authorization code to exchange for user tokens
Auth session status
{- "auth_session_id": "string"
}
{- "session_status": "in-progress",
- "cross_device_status": "pending-attachment",
- "cross_device_result": {
- "auth_code": "string"
}
}
Attach another device to an existing session for cross-device flows (e.g., when a QR code is scanned)
Device binding info
{- "auth_session_id": "string",
- "user_agent": "string"
}
{- "binding_info": {
- "binding_message": "string",
- "originating_device": {
- "device_info": {
- "osType": "string",
- "osVersion": "string",
- "browserType": "string",
- "browserVersion": "string"
}
}, - "approval_data": { }
}
}
Detach a device from an existing authentication session for cross-device flows. Invalidates device binding token for this device, and updates the cross-device status to completed
Device detached
{- "auth_session_id": "string"
}
{- "error_code": "invalid_request",
- "message": "Invalid request: property should not be null or undefined"
}