curl --request POST \
--url https://api.authentica.sa/api/v2/verify-otp \
--header 'Content-Type: application/json' \
--header 'X-Authorization: <api-key>' \
--data '
{
"phone": "+966551234567",
"otp": "123456"
}
'
{
"status": true,
"message": "OTP verified successfully"
}{
"errors": [
{
"message": "Unauthorized"
}
]
}OTP Verification
Verify OTP
Verify the OTP entered by your customer for authentication.
This endpoint validates the OTP against the one sent via /send-otp endpoint.
POST
/
verify-otp
curl --request POST \
--url https://api.authentica.sa/api/v2/verify-otp \
--header 'Content-Type: application/json' \
--header 'X-Authorization: <api-key>' \
--data '
{
"phone": "+966551234567",
"otp": "123456"
}
'
{
"status": true,
"message": "OTP verified successfully"
}{
"errors": [
{
"message": "Unauthorized"
}
]
}Authorizations
API key for authentication. Get Your API Key
Body
application/json