Verify Phone
https://core.hisend.hunnovate.com/api/v1/projects/{project_identifier}/auth/phone/verify?api_key={api_key}
Verify phone number of the user
Path Parameters
project_identifier string required
The identifier or id of the project, for example project_name or 01jtk9f6xtp5bqycmj8x68040f, you can get it from the projects page on your dashboard
Query Params
api_key string required
The api key from your dashboard
Body Parameters
phone string required
Phone number of the user
otp_reference string required
Reference returned from the send OTP endpoint
otp string required
One time password Sent to the customer
422 Error Response Example
{
"message": "Invalid OTP",
}
200 Success Response Example
{
"data": {
"customer_identifier": "example@hunnovate.com",
"channel": "sms",
"reference": "01jtdre6ga9vqk1ce154p0jjwr",
},
"message": "OTP generated successfully",
}