1. OTP Validation API
DICE
  • DICE
  • Authorization
    • Get Token
      GET
  • Communications
    • SMS
      • Overseas
        • OTP
        • Overseas - KYC Applicant
        • Overseas - KYC - Co Applicant
        • Overseas - 24 Hours Follow up on incomplete journey - Applicant
        • Overseas - 48 Hours Follow up on incomplete journey - Applicant
        • Overseas - 72 Hours Follow up on incomplete journey - Applicant
        • Overseas - 24 Hours Follow up on incomplete journey - Co Applicant
        • Overseas - 48 Hours Follow up on incomplete journey - Co Applicant
        • Overseas - 72 Hours Follow up on incomplete journey - Co Applicant
        • Overseas - Journey Completed - Applicant Copy
        • Overseas - Journey Completed - Co Applicant
      • Emi Reminder
      • Verify Mobile Number v1
      • Verify Mobile Number v2
      • KMS
      • Emi Overdue Reminder
    • Email
      • Overseas
        • Overseas OTP
        • Overseas Sign-Up Confirmation
        • Overseas - KYC Applicant
        • Overseas - KYC CoApplicant
        • 24 Hours Follow up on incomplete journey - Applicant
        • 48 Hours Follow up on incomplete journey - Applicant
        • 72 Hours Follow up on incomplete journey - Applicant
        • 24 Hours Follow up on incomplete journey - Co Applicant
        • 48 Hours Follow up on incomplete journey - Co Applicant
        • 72 Hours Follow up on incomplete journey - Co Applicant
        • Journey Applicant
        • Journey Completed - Co Applicant
        • Co Applicant Nomination Email
        • Co Applicant Nomination Rejection
        • Journey Completed and Assigned to CEM
        • Journey Completed - Both
      • Auxilo Thank You
    • Whatsapp
      • Overseas
        • Send OTP
        • Sign-Up Confirmation
        • KYC - Applicant
      • Akbar Travels
      • Lead Verify Mobile Number
      • Application Verify Mobile Number
  • OTP Validation API
    • Send OTP
      POST
    • Validate OTP
      POST
  • Logs
    • API Logs
      POST
  • Bulk
    • Batch Send
      POST
    • Batch Analytics
      GET
  1. OTP Validation API

Send OTP

POST
https://martechuat.auxilo.com/api/send-otp
ParameterTypeRequiredExampleDescription
mobile_nostring✅ (except email-only)9876543210User's mobile number (8–10 digits). Required when channel includes sms or whatsapp.
emailstring✅ (email channel only)user@example.comRecipient's email address. Required when channel includes email.
email_from_namestring✅ (email channel only)GilchristSender display name shown in the email. Required when channel includes email.
email_subjectstring✅ (email channel only)Your OTP CodeSubject line of the OTP email. Required when channel includes email.
email_template_idstring✅ (email channel only)overseas_otpUnique identifier of the email template to use. Required when channel includes email.
email_template_attributesobject❌{"name": "Gilchrist"}Key-value pairs to replace {{variables}} in the email template (excluding {{otp}}, which is auto-injected).
channelstring✅sms / whatsapp / email / sms|whatsapp / allDelivery channel(s) for the OTP. Accepts a single value, pipe-separated combination (e.g. sms|whatsapp|email), or all to target every channel at once.
sourcestring✅user_signupSource or context of the OTP request (e.g., salesforce, LMS_PENNANT).
typestring✅simple_otpType of OTP message. Currently supports simple_otp only.
otp_code_lengthinteger❌6Length of the auto-generated OTP (default: 6, min: 1, max: 10). Ignored if otp_code is provided.
otp_code_typestring❌NUMERICFormat of the auto-generated OTP. Options: NUMERIC (default), ALPHABETIC, ALPHANUMERIC. Ignored if otp_code is provided.
otp_codestring❌123456Custom OTP to send. If omitted, the system auto-generates one based on otp_code_length and otp_code_type. Max 10 characters.

Request

Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Body

🟠422Invalid Payload
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location --request POST 'https://martechuat.auxilo.com/api/send-otp' \
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIzIiwianRpIjoiNDE1OTIwMzNlNTYyNWY4NTlmMzc1YjliY2RjN2QxNmFjYjk3ZWNhNTgzZGMxN2JjZDFmODM0OTg3MWJhNTU3NWU4MzY1NjA1ZDBkYTc5YTgiLCJpYXQiOjE3NjIxNTA3NzYuNzU5Mzg1LCJuYmYiOjE3NjIxNTA3NzYuNzU5Mzg4LCJleHAiOjE3OTM2ODY3NzYuNzU0NjU5LCJzdWIiOiIxIiwic2NvcGVzIjpbXX0.ledOkVn_yPKzwTKoyA89sFuOlCxCDe8XbI2cvorbFipn8ciVEC-hgmlHmmbgp-p5cwPhzFRhAFDBn5GFJbbzf6h8svRdMdMymsuqxti1y_H1kLbcGV-bzcSTn3R2pRrYnUVPU_RRQtdsW7ZNOypSqP9toj12BO8DLxBDHSH6s5mxlJfZibQR33f2S8tr0Ft27_cyT019Wi_hwy3dMvB_YWat6SpkZ7nMvRXDll9qWYt5QVBMScEpl0Cob6RUFS0CURe1bP4ECxUgVNvO1-4lpdj7fv_Etc6DbMA9uEq-xJrboFOvaf4bM_lxIm203qDLPUcwaj1gjv7S6oRe5RUlIAzqFCOs2a12jpKjWECRaPKmklVfjxWbLMZkM_2XaVLxyrndvf9qfWrSiDoc9bJfpX0YU2IwFbg9C1deTkZVQE8u93z-SS5TGASGA_PoBJYyx6aXH3P65ziHJ9fnKb5CDQ3TP7MlfUsqJsrex0__mhHrUrYWiRuJ2S4LwEq5eBsY-6Xgc73W_n33Q6z4chTaZCZmsVUKveGi8g3lOMezmMTPC45A3ALIPuf2pkYakXj73RsW9HQsUBDOetfsYCJ0z4CZDPsT_9mfJOKah7uuQQG1zgHgMjH3WquR8POkQ4v0vKdf_8dzTpKpTLGFBl7YPFKVVWqYP8hGDAWX1phndac' \
--header 'Content-Type: application/json' \
--data-raw '{
    "mobile_no": "7977251637",
    "channel": "sms",
    "source": "impactx",
    "type": "simple_otp",
    "otp_code_length": 4,
    "otp_code_type": "NUMERIC"
}'
Response Response Example
200 - Success
{
    "status": false,
    "message": "Invalid Payload",
    "errors": {
        "otp_code_length": [
            "The otp code length field must be at least 4."
        ]
    }
}
Modified at 2026-03-14 13:24:56
Previous
Application Verify Mobile Number
Next
Validate OTP
Built with