Skip to main content

Verify SMS and Email Verification Code

POST 

/auth/v1/verification/verify

Interface Description

Verify the verification code and return verification_token

Request

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

Response Headers
    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

    Loading...