Verify SMS and Email Verification Code
POST/auth/v1/verification/verify
Interface Description
Verify the verification code and return verification_token
Request
- application/json
Body
verification_id Verification ID (string)required
Obtained from the response of the SMS or email verification code sending API
verification_code Verification code (string)required
The verification code received on mobile or email, default expiration time is 600 seconds
Responses
- 200
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
verification_token Verification token (string)
Passed to the /auth/v1/signin API when logging in with phone number + verification code or email + verification code
expires_in Expiration time (integer)
Default 600 seconds
{
"verification_token": "string",
"expires_in": 0
}
Loading...