Skip to main content
POST
/
partners
/
v2
/
sessions
curl --request POST \
  --url https://api-sandbox.argyle.com/partners/v2/sessions \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "verification": "43a2c6c3-1e63-91e5-88e3-f9ab2dcc489b",
  "configuration": {
    "redirect_url": "https://your-application.com/return",
    "flow_id": "12ABCD3E",
    "items": [
      "item_000000001",
      "item_000000002"
    ],
    "language": "EN",
    "mobile_app": true
  }
}
'
{
  "verification": "43a2c6c3-1e63-91e5-88e3-f9ab2dcc489b",
  "configuration": {
    "experience": null,
    "single_use_url": false,
    "redirect_url": "https://your-application.com/return",
    "flow_id": "12ABCD3E",
    "items": [
      "item_000000001",
      "item_000000002"
    ],
    "language": "EN",
    "mobile_app": true
  },
  "link": "https://connect.argyle.com/?...",
  "data_source": "payroll"
}

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.

Authorizations

Authorization
string
header
required

Username = api_key_id, Password = api_key_secret

Body

application/json
verification
string<uuid>
required

ID of the verification used to initialize the session.

configuration
object

Connection session configuration for payroll and banking verifications.

Response

200 - application/json

Partner connection session object.

verification
string<uuid>

Verification ID associated with the session.

configuration
object

Connection session configuration for payroll and banking verifications.

URL used to launch the payroll or banking frontend experience. For payroll, use it as connectUrl when initializing the Web SDK; the returned session URL already determines whether the session runs in Sandbox or Production. Alternatively, open it directly for Hosted Link. For banking, use it to launch either an Embedded banking session or a Hosted banking session. Session links expire after one hour. A new session link can be created at any time by creating another session for the active verification.

data_source
enum<string>

Source of connection data.

Available options:
payroll,
banking