SMS
The following guide will provide guidance on connecting users with our SMS OTP flow via API.
Before Getting Started
This Connect API will trigger an OTP via SMS with an expiration of 5 minutes. This is necessary to ensure that the user is still run through the proper confirmation checks and validity scoring functions that Spinwheel performs natively within the Drop-in Modules. For resending OTPs, we recommend no more than 1 request / 30 seconds per phone number.
As you look to integrate with Spinwheel's APIs, please note that you will be responsible for capturing consent along with displaying the following language to the user to proceed with a connection to the platform:
"By continuing you agree to the Spinwheel End User Agreement. Further, you are providing “written instructions” to Spinwheel Solutions, Inc. authorizing it to obtain your credit profile from any consumer reporting agency."
Steps
This flow diagram explains how a user can be connected using Connect SMS as the authentication mechanism:
The process of connecting users is broken out into the following key steps as noted below.
- Send a connect request via a POST to /v1/users/connect/sms/ with the end user's phone number, date of birth, and a unique
extUserIdthat represents that user in your system. - Upon the submission of the information at the first step, the user will be texted an OTP with a unique code to be presented back via the API
- The code texted to the user is submitted back to Spinwheel via /v1/users/connect/sms/verify
- Once the code is sent, Spinwheel will perform synchronous checks and provide the status back of the newly connected user.
The connected users will have their information pulled into and maintained in their user object which can be accessed from the /v1/users endpoint.
Sandbox User Data
Sandbox test user identities have been set up in the sandbox environment providing a variety of scenarios that you can use to test your integration against. Default users need any valid US mobile phone number plus date of birth.
FallbackIn a small number of cases, we won't be able to verify a user's identity using only a phone number and date of birth. In those cases, we recommend that you fall back to the KBA connection API instead.
Updated 15 days ago

