Send Phone Verification Code
Initiates phone number verification by sending an OTP code via SMS using Twilio Verify.
POST
Initiates phone number verification by sending an OTP code via SMS using Twilio Verify.
Loading code example
Loading code example
Authorizations
apiKeyAuthstringheaderrequired
API key passed in the header.
Body
Body
phoneNumberstringrequiredPhone number in E.164 format (e.g., +14155552671)
Pattern:
^\+[1-9]\d{1,14}$websiteIdstring<uuid>The ID of the website
userIdstring<uuid>The ID of the user
walletAddressstringThe wallet address of the user
Response
application/json
200
dataobjectrequiredResponse payload after initiating phone verification via OTP
data.successbooleanrequiredWhether the phone number verification was successful
data.messagestringrequiredStatus message
data.userIdstring<uuid>requiredThe ID of the user