Skip to main content
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"
}

Authorizations

X-Authorization
string
header
required

API key for authentication. Get Your API Key

Body

application/json
otp
string
required

The OTP entered by the customer

Example:

"123456"

phone
string

Phone number used to send the OTP. Required if sms or whatsapp was used.

Example:

"+966551234567"

email
string<email>

Email used to send the OTP. Required if email was used.

Example:

"user@example.com"

Response

OTP verified successfully

status
boolean
Example:

true

message
string
Example:

"OTP verified successfully"