curl --request POST \
--url https://api.authentica.sa/api/v2/send-otp \
--header 'Content-Type: application/json' \
--header 'X-Authorization: <api-key>' \
--data '
{
"method": "sms",
"phone": "+966551234567",
"template_id": 31
}
'{
"success": true,
"data": null,
"message": "OTP send successfully"
}OTP Verification
Send OTP
Send an OTP (One-Time Password) to a user’s mobile number or email address.
Features:
- SMS delivery via your own sender name or Authentica’s default sender
- Email delivery via your own email or Authentica’s default email
- Multiple templates available
Note: Check Application settings on Authentica dashboard to set default values for OTP options.
POST
/
send-otp
curl --request POST \
--url https://api.authentica.sa/api/v2/send-otp \
--header 'Content-Type: application/json' \
--header 'X-Authorization: <api-key>' \
--data '
{
"method": "sms",
"phone": "+966551234567",
"template_id": 31
}
'{
"success": true,
"data": null,
"message": "OTP send successfully"
}Authorizations
API key for authentication. Get Your API Key
Body
application/json