Verify Phone Number Code

The following api should be called in Auth Service

Auth Dev Instance : (Alaric IdentityServer )

Endpoint

/api/v1/User/phone-number/verify

Post

{
  "id": 0,
  "code": "string"
}

id: Please provide your User Id in id. Should be a valid UserId

code: Please provide a valid 6 digit OTP that you have received on your provided phone number.

Response

Success: Code 200 with no body. Indicates SMS Code Verified
BadInput : Code 400 with error messages. 
Server Failure: Code 500 with no error message

Powered by BetterDocs