Mutation
Send SMS verification code to customer for Spinwheel user verification/consent (step 1 of 2). Customer consent is required to pull Spinwheel credit report.
Mutation Signature
sendSMSVerificationCode ( input : SMSVerificationInput !): SMSVerificationResponse !
Example Request
mutation SendSMSVerificationCode ( $input : SMSVerificationInput ! ) {
sendSMSVerificationCode ( input : $input ) {
# Add fields you want to retrieve
Example Variables:
"phoneNumber" : " +12135551234 " ,
"dateOfBirth" : " 1985-03-15 " ,
"reqOrgContactId" : " contact-12345 "
Open in Apollo Studio Explorer →
Click the link above to open this mutation in Apollo Studio Explorer with the query pre-filled.
You’ll need to authenticate with your sandbox credentials.
Example Response
"sendSMSVerificationCode" : {
"message" : " Verification code sent successfully "
Arguments
Argument Type Description inputSMSVerificationInput!Input containing phone number and customer details for SMS verification
Input for Spinwheel SMS Verification
Required Fields:
Field Type Description phoneNumberString!phone number in E.164 format +11231231234 dateOfBirthString!dob in yyyy-mm-dd format 1990-04-12 reqOrgContactIdString!Reqesting organization contact ID
Response Type
Returns: SMSVerificationResponse!
SMSVerificationResponse
SMS Verification Response
SMSVerificationResult
SMS Verification Result
Field Type Description messageStringSMS Verification success message
SMSVerificationResponseError
SMS Verification Response Error
Field Type Description messageStringSMS verification error message
Error Types
The response may include the following error types:
SMSVerificationResponseError
SMS Verification Response Error
Field Type Description messageStringSMS verification error message
Manual Error Documentation
Add service-specific error codes and their resolutions below.
Common Errors
Error Code Description Resolution VALIDATION_ERRORInput validation failed Check required fields and formats UNAUTHORIZEDInvalid or expired token Re-authenticate and retry NOT_FOUNDResource not found Verify the ID or reference