Skip to main content

Request Verification Code

Send a verification code to the client's email/phone number. To request a verification code using the endpoint below.

POST /api/v1/client/account/request-verification-code

Path param

authorization : *bearer
REQUEST BODY SCHEMA: application/json


NameDescriptionRequiredType
typeEnum: "email" "phone"
The type of verification, either email or phone ]. Verification code will be sent to the user's email or phone number
RequiredObject

Response

CodeDescription
200success message if code is sent successfully
409Unauthorized

Request Sample

Content type
application/json

[
{
"type": "email"
}
...
]

Response Sample

Content type
application/json

[
{ }
]