Overview
Auth Requests enable passwordless login flows where users can approve authentication requests from other devices. This is commonly used for “Login with Device” functionality.List Auth Requests
Retrieve all authentication requests for the current user.Response
Returns a list of auth requests with status, device information, and timestamps.Unique identifier for the auth request
Public key for secure communication
Type of device making the request
IP address of the requesting device
When the request was created
When the request was responded to
Whether the request was approved
Get Auth Request
Retrieve details of a specific authentication request.The auth request ID
Get Pending Auth Requests
Retrieve all pending authentication requests awaiting approval.Response
Returns only auth requests that are pending approval (not yet approved or denied).Create Auth Request
Create a new authentication request for passwordless login.Request Body
Email address of the user
Public key for encryption
Unique identifier for the requesting device
One-time access code for validation
Auth request type (0 = AuthenticateAndUnlock, 1 = Unlock, 2 = AdminApproval)
Device fingerprint for display
This endpoint does not require authentication when creating user auth requests. Admin approval requests require authentication.
Create Admin Auth Request
Create an authentication request requiring admin approval.Email address of the user
Public key for encryption
Must be 2 (AdminApproval)
This endpoint requires authentication and is used for trusted device encryption workflows.
Update Auth Request
Approve or deny an authentication request.The auth request ID
Request Body
Whether to approve (true) or deny (false) the request
Encrypted key (required when approving)
Master password hash (required when approving)
Approving device identifier
Example: Approve Request
Example: Deny Request
Get Auth Request Response
Retrieve the response for an auth request (used by requesting device).The auth request ID
Access code provided when creating the request
This endpoint does not require authentication. The access code serves as verification.
Auth Request Workflow
Login with Device Flow
- Requesting Device: Creates auth request with
POST /auth-requests - Requesting Device: Polls
GET /auth-requests/{id}/responsefor approval - Approving Device: Views pending requests with
GET /auth-requests/pending - Approving Device: Approves request with
PUT /auth-requests/{id} - Requesting Device: Receives encrypted key and completes authentication
Admin Approval Flow
- User Device: Creates admin auth request with
POST /auth-requests/admin-request - Admin: Views request in organization admin console
- Admin: Approves or denies request
- User Device: Receives response and completes setup