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
Name | Description | Required | Type |
---|---|---|---|
type | Enum: "email" "phone" The type of verification, either email or phone ]. Verification code will be sent to the user's email or phone number | Required | Object |
Response
Code | Description |
---|---|
200 | success message if code is sent successfully |
409 | Unauthorized |
Request Sample
Content type
application/json
[
{
"type": "email"
}
...
]
Response Sample
Content type
application/json
[
{ }
]