Connect a User via SMS
Connect a User using SMS verification. Identify the user by date of birth, by legal first and last name as it appears on their credit file, or by the last four digits of their Social Security number. One of the three is required. The connection will complete once the user has been verified using the sms verify endpoint. Identification runs on the verify call, so an identity that cannot be resolved is reported there; you may then start a new connect supplying dateOfBirth instead, and nothing in the response indicates whether a date of birth would have resolved it.
Send your Spinwheel secret key as a bearer token: Authorization: Bearer <secretKey>. Keys are environment-specific.
In: header
Request Body
application/json
The phone number in E.164 format.
The date of birth. Formatted as YYYY-MM-DD. Supply one of dateOfBirth, firstName + lastName, or ssnLastFourDigits. If more than one is provided, only the highest-priority one is used to identify the user, in the order ssnLastFourDigits, dateOfBirth, then firstName + lastName, and the others are ignored. To identify the user with a lower-priority value, send the request again without the higher-priority ones.
The user's legal first name, as it appears on their credit file. Must be sent together with lastName. One of dateOfBirth, firstName + lastName, or ssnLastFourDigits is required.
The user's legal last name, as it appears on their credit file. Must be sent together with firstName. One of dateOfBirth, firstName + lastName, or ssnLastFourDigits is required.
The last four digits of the user's Social Security number. One of dateOfBirth, firstName + lastName, or ssnLastFourDigits is required.
An existing userId to connect with. One of extUserId or userId is required.
A unique external ID for the user. One of extUserId or userId is required.
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/sms" \ -H "Content-Type: application/json" \ -d '{ "extUserId": "0ae26e20-1413-4291-b6d3-8e033d76728a", "firstName": "Christy", "lastName": "Jenoval", "phoneNumber": "+15555555555" }'{ "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", "sms": { "codeExpiresAt": 1698357237321, "codeTimeoutSeconds": 300 } }}
