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.string
required
Unique identifier for the auth request
string
Public key for secure communication
number
Type of device making the request
string
IP address of the requesting device
string
When the request was created
string
When the request was responded to
boolean
Whether the request was approved
Get Auth Request
Retrieve details of a specific authentication request.string
required
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
string
required
Email address of the user
string
required
Public key for encryption
string
required
Unique identifier for the requesting device
string
required
One-time access code for validation
number
required
Auth request type (0 = AuthenticateAndUnlock, 1 = Unlock, 2 = AdminApproval)
string
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.string
required
Email address of the user
string
required
Public key for encryption
number
required
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.string
required
The auth request ID
Request Body
boolean
required
Whether to approve (true) or deny (false) the request
string
Encrypted key (required when approving)
string
Master password hash (required when approving)
string
Approving device identifier
Example: Approve Request
Example: Deny Request
Get Auth Request Response
Retrieve the response for an auth request (used by requesting device).string
required
The auth request ID
string
required
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