Connect

Connect a User via KBA

POST
/v1/users/connect/kba

Connect a User using a set of personal questions provided by a credit bureau.

Authorization

AuthorizationBearer <token>

Send your Spinwheel secret key as a bearer token: Authorization: Bearer <secretKey>. Keys are environment-specific.

In: header

Request Body

application/json

firstName*string

The user's first name.

lastName*string

The user's last name.

dateOfBirth*string

The date of birth. Formatted as YYYY-MM-DD.

ssn*string

The user's ssn (without hyphens)

address*
userId?string

An existing userId to connect with. One of extUserId or userId is required.

extUserId?string

A unique external ID for the user. One of extUserId or userId is required.

audit?

Consent metadata captured at the time of the connect request.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/v1/users/connect/kba" \  -H "Content-Type: application/json" \  -d '{    "extUserId": "0ae26e20-1413-4291-b6d3-8e033d76728a",    "firstName": "Christy",    "lastName": "Jenoval",    "dateOfBirth": "1990-01-05",    "ssn": "999999999",    "address": {      "addressLine1": "21 Pacific St",      "city": "Pittsfield",      "state": "MA",      "zip": "01201"    }  }'

{  "status": {    "code": 201,    "desc": "success"  },  "data": {    "userId": "52183390-b209-46bd-955b-d6d9d301a84f",    "extUserId": "689663dc-077d-4d8c-ac75-5a7c2c305c30",    "connectionId": "417f7fa8-81d9-4142-827e-9e9abfeb02df",    "connectionStatus": "IN_PROGRESS",    "kba": {      "questions": [        {          "id": "0",          "question": "Which of the following represents the last four digits of your cellular phone number?",          "options": [            {              "id": "0",              "text": "1195"            },            {              "id": "1",              "text": "3552"            },            {              "id": "2",              "text": "2570"            },            {              "id": "3",              "text": "1721"            },            {              "id": "4",              "text": "NONE OF THE ABOVE/DOES NOT APPLY"            }          ]        }      ]    }  }}