View Categories

Send Phone Number Code

The following api should be called in Auth Service

Auth Dev Instance : (Alaric IdentityServer )

Endpoint

/api/v1/User/phone-number/send-code

Post

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

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

phone_number: Please provide a valid phone number.

Response

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

Powered by BetterDocs