> ## Documentation Index
> Fetch the complete documentation index at: https://docs.argyle.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Verifications Quickstart

> Build your first verification workflow.

A verification follows five steps:

1. Create or reuse a user.
2. Order a verification.
3. Start a session when the user needs to connect an account.
4. Listen for verification status changes.
5. Retrieve the completed report.

This Quickstart uses a payroll `voie` verification as the example. The same lifecycle applies to the other [verification types](https://docs.argyle.com/verifications/overview.md#verification-types).

## Before you begin

* Create Sandbox API keys in [Console](https://console.argyle.com/api-keys).
* Use the Sandbox base URL: `https://api-sandbox.argyle.com/v2`.
* Send API requests from your backend using [HTTP basic authentication](https://docs.argyle.com/api-guide/overview.md#authentication).
* Set up [webhook handling](https://docs.argyle.com/api-guide/webhooks.md), then subscribe to the [`verifications.updated`](https://docs.argyle.com/api-reference/verifications-webhooks/updated) webhook 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](https://docs.argyle.com/api-reference/users/create-a-user.md) and store the returned ID with your internal record.

Before adding another product, [update the existing user](https://docs.argyle.com/api-reference/users/update-a-user.md) 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:

| Field | Payroll | Banking | Doc VOI |
| - | - | - | - |
| `first_name` | Required | Required | Required |
| `last_name` | Required | Required | Required |
| `ssn` | Not required | Required if `birth_date` is not provided | Required |
| `birth_date` | Not required | Required if `ssn` is not provided | Not required |
| `address` | Not required | Required | Not required |
| `email` | Not required | Required if `phone_number` is not provided | Not required |
| `phone_number` | Not required | Required if `email` is not provided | Not required |

```json theme={}
{
  "first_name": "Jane",
  "last_name": "Doe",
  "ssn": "000-00-0000",
  "email": "jane@example.com",
  "phone_number": "+15555555555",
  "address": {
    "city": "New York",
    "line1": "123 Main St",
    "line2": null,
    "state": "NY",
    "country": "US",
    "postal_code": "10001"
  },
  "birth_date": {
    "year": 1990,
    "month": 1,
    "day": 13
  }
}
```

Store the returned user `id`. The user ID is required when ordering the verification.

## Order a verification

Use [`POST /v2/verifications`](https://docs.argyle.com/api-reference/verifications/order-a-verification). Set `report.type` to the required report type.

```jsonc theme={}
{
  "user": "018051aa-f7a9-a0db-2f38-6cfa325e9d69",
  "configuration": {
    "notified_recipients": [
      "john.doe@mortgage.com"
    ]
  },
  "report": {
    "type": "voie"
  },
  "loan": {      // Optional
    "number": "1234",
    "borrower_id": "ABC789",
    "application_id": "2121313",
    "officer_email": "john.doe@mortgage.com"
  },
  "billing": {      // Optional
    "cost_center": "5"
  }
}
```

Store the returned verification `id`. Use the type-specific guides for additional request fields and examples:

* [Payroll](https://docs.argyle.com/verifications/verification-types/payroll.md)
* [Banking](https://docs.argyle.com/verifications/verification-types/banking.md)
* [Doc VOI](https://docs.argyle.com/verifications/verification-types/document-voi.md)

For government programs, see [Government Benefits](https://docs.argyle.com/verticals/government-benefits.md).

## Create a session

Payroll and banking verifications require a session when the user needs to connect an account. Doc VOI uses [document uploads](https://docs.argyle.com/verifications/verification-types/document-voi.md#upload-documents) instead.

The verification must be active. An active verification is not completed or cancelled.

### Embedded session

Use [`POST /v2/sessions`](https://docs.argyle.com/api-reference/verifications/create-a-session) 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.

> [accordion] Payroll request: POST /v2/sessions
>
> ```json theme={}
> {
>   "verification": "43a2c6c3-1e63-91e5-88e3-f9ab2dcc489b",
>   "configuration": {
>     "redirect_url": "https://your-application.com/return",
>     "flow_id": "12ABCD3E",
>     "language": "EN",
>     "mobile_app": true
>   }
> }
> ```

> [accordion] Banking request: POST /v2/sessions
>
> ```json theme={}
> {
>   "verification": "43a2c6c3-1e63-91e5-88e3-f9ab2dcc489b",
>   "configuration": {
>     "experience": "97f1eccb-241d-4052-8409-fab2dcc489b",
>     "single_use_url": false,
>     "redirect_url": "https://your-application.com/return"
>   }
> }
> ```

> [accordion] Payroll response
>
> ```json theme={}
> {
>   "verification": "43a2c6c3-1e63-91e5-88e3-f9ab2dcc489b",
>   "configuration": {
>     "experience": null,
>     "single_use_url": false,
>     "redirect_url": "https://your-application.com/return",
>     "flow_id": "12ABCD3E",
>     "language": "EN",
>     "mobile_app": true
>   },
>   "link": "https://connect.argyle.com/?...",
>   "data_source": "payroll"
> }
> ```

> [accordion] Banking response
>
> ```json theme={}
> {
>   "verification": "43a2c6c3-1e63-91e5-88e3-f9ab2dcc489b",
>   "configuration": {
>     "experience": "97f1eccb-241d-4052-8409-fab2dcc489b",
>     "single_use_url": false,
>     "redirect_url": "https://your-application.com/return"
>   },
>   "link": "https://connect2.finicity.com?...",
>   "data_source": "banking"
> }
> ```

See the [Create a Session endpoint](https://docs.argyle.com/api-reference/verifications/create-a-session.md) for every available request field.

### Invites

To create an invite link, use [`POST /v2/sessions`](https://docs.argyle.com/api-reference/verifications/create-a-session) and set `type` to `invite`. The user must have at least one active payroll or banking verification.

Include `configuration.email`, `configuration.phone_number`, or both to send the invite by email or SMS:

```json theme={}
{
  "user": "018051aa-f7a9-a0db-2f38-6cfa325e9d69",
  "type": "invite",
  "configuration": {
    "email": "jane.doe@example.com",
    "phone_number": "+15555555555"
  }
}
```

To share the link yourself without sending email or SMS, omit both contact fields. You can omit `configuration` entirely when no other invite settings are needed:

```json theme={}
{
  "user": "018051aa-f7a9-a0db-2f38-6cfa325e9d69",
  "type": "invite"
}
```

One invite can include one or more active payroll or banking verifications for the same user. Invite links expire after 180 days or when revoked.

> [!NOTE]
>
> For wholesale mortgage implementations, add `external_metadata.broker` to the user and omit `configuration.flow_id` to use the default wholesale flow. A custom flow must be a wholesale flow to override that default. See [Wholesale Mortgage](https://docs.argyle.com/verifications/wholesale-mortgage.md) for setup, flow selection, and notifications.

## Launch an embedded session

Use the returned session `link` according to the verification's data source.

### Payroll

* Pass `link` as `connectUrl` when initializing the [Web SDK](https://docs.argyle.com/link/initialization/web.md#initialize-with-connecturl) or [Mobile SDKs](https://docs.argyle.com/link/initialization/mobile-sdks.md).
* For Hosted Link, open the URL in a browser context. Hosted Link does not provide Link callbacks.

### Banking

* Pass `link` as `connectURL` when launching the banking SDK.
* Use SDK callbacks for immediate frontend handling and the `verifications.updated` webhook for backend lifecycle tracking.
* See [Banking Verifications](https://docs.argyle.com/verifications/verification-types/banking.md#choose-a-session-type) for the SDK example and hosted-session requirements.

## Track status and retrieve the report

Listen for the [`verifications.updated`](https://docs.argyle.com/api-reference/verifications-webhooks/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](https://docs.argyle.com/verifications/verification-statuses.md).
