Mutation
Validate Spinwheel verification code sent to customer (step 2 of 2). This will give the requesting organzation consent to pull the Spinwheel credit report.
Mutation Signature
verifySMSCode ( input : VerifySMSCodeInput !): VerifySMSCodeResponse !
Example Request
mutation VerifySMSCode ( $input : VerifySMSCodeInput ! ) {
verifySMSCode ( input : $input ) {
# Add fields you want to retrieve
Example Variables:
"reqOrgContactId" : " contact-12345 " ,
"verificationCode" : " 123456 "
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
"message" : " Verification successful "
Arguments
Argument Type Description inputVerifySMSCodeInput!Input containing the verification code to validate
Input for Spinwheel SMS Code Verification
Required Fields:
Field Type Description reqOrgContactIdString!Reqesting organization contact ID verificationCodeString!Verification code that spinwheel sends via SMS
Response Type
Returns: VerifySMSCodeResponse!
VerifySMSCodeResponse
Verify SMS Code 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