- Create or reuse a user.
- Order a verification.
- Start a session when the user needs to connect an account.
- Listen for verification status changes.
- Retrieve the completed report.
voie verification as the example. The same lifecycle applies to the other verification types.
Before you begin
- Create Sandbox API keys in Console.
- Use the Sandbox base URL:
https://api-sandbox.argyle.com/v2. - Send API requests from your backend using HTTP basic authentication.
- Set up webhook handling, then subscribe to the
verifications.updatedwebhook before testing the complete workflow.
Create or reuse a user
If the person already has an Argyle user with your organization, reuse that user ID across payroll, banking, and document workflows. Otherwise, create a user and store the returned ID with your internal record. Before adding another product, update the existing user with any missing details required by that product. Use the same user ID when ordering the verification. Required user details depend on the verification type:id. The user ID is required when ordering the verification.
Order a verification
UsePOST /v2/verifications. Set report.type to the required report type.
id. Use the type-specific guides for additional request fields and examples:
For government programs, see Government Benefits.
Create a session
Payroll and banking verifications require a session when the user needs to connect an account. Doc VOI uses document uploads instead. The verification must be active. An active verification is not completed or cancelled.Embedded session
UsePOST /v2/sessions with the verification ID. Session links expire after one hour. Create another session for the same active verification when a new link is required.
The session request depends on whether the user is connecting a payroll or financial account.
Payroll request: POST /v2/sessions
Payroll request: POST /v2/sessions
Banking request: POST /v2/sessions
Banking request: POST /v2/sessions
Payroll response
Payroll response
Banking response
Banking response
Invites
To send the user an email, text message, or both, create an invite session withPOST /v2/sessions and set type to invite. The user must have at least one active payroll or banking verification.
For wholesale mortgage implementations, the default wholesale flow is selected when the user has
external_metadata.broker and configuration.flow_id is omitted. A provided flow_id takes precedence.Launch an embedded session
Use the returned sessionlink according to the verification’s data source.
Payroll
- Pass
linkasconnectUrlwhen initializing the Web SDK or Mobile SDKs. - For Hosted Link, open the URL in a browser context. Hosted Link does not provide Link callbacks.
Banking
- Pass
linkasconnectURLwhen launching the banking SDK. - Use SDK callbacks for immediate frontend handling and the
verifications.updatedwebhook for backend lifecycle tracking. - See Banking Verifications for the SDK example and hosted-session requirements.
Track status and retrieve the report
Listen for theverifications.updated webhook. When status.code is completed or completed_with_errors, retrieve the report from report.file_url or report.json_url.
Continue with Verification Statuses.