Connect

Connect a User via Network Token

POST
/v1/users/connect/network

Create user from Spinwheel network token.

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Request Body

application/json

extUserId*string

A unique external ID for the user

networkToken*string

Network token

ssnLastFourDigits*string
Length4 <= length <= 4
dateOfBirth*string

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

Match^\d{4}-(0?[1-9]|1[012])-(0?[1-9]|[12][0-9]|3[01])$
audit*

Verification and consent audit trail. Documents the client's identity verification of the user and the user's consent to the Spinwheel End User Agreement.

include?array<string>

Array of additional data abilities to include. Supported values: CREDIT_REPORT. When CREDIT_REPORT is present, credit report and liability data are included with the user information.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/users/connect/network" \  -H "Content-Type: application/json" \  -d '{    "extUserId": "testuser@gmail.com",    "networkToken": "7519c55d-68aa-4b21-b580-d70d4fb4f2ab",    "ssnLastFourDigits": "1234",    "dateOfBirth": "1990-01-05",    "audit": {      "userConsentDate": "2023-01-01"    }  }'

{  "status": {    "code": 200,    "desc": "success"  },  "data": {    "userId": "b26e936c-3a1b-417c-a879-43be436d4ead",    "extUserId": "testuser@gmail.com",    "createdOn": 1597317116353,    "updatedOn": 1597753517524,    "profile": {      "firstName": "CHRISTY",      "middleName": "L",      "lastName": "JENOVAL",      "emailAddress": "test.user@abc.com",      "phoneNumber": "+19999999999",      "ssnLastFourDigits": "1234",      "dob": "2000-01-01",      "addresses": [        {          "addressLine1": "123 Main St",          "addressLine2": "Unit: 234",          "city": "San Francisco",          "state": "CA",          "zip": "94103"        }      ]    },    "networkToken": "b26e936c-3a1b-417c-a879-43be436d4ead"  }}