DICE
  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
  1. OTP Validation API

Send OTP

POST
https://ddubtjkzyfpv3qqsk6t47253l40nwwiy.lambda-url.ap-south-1.on.aws/send-otp
This API is used to send a One-Time Password (OTP) to a user’s mobile number via SMS, WhatsApp, or both.
It supports configurable OTP length, type (numeric/alphabetic/alphanumeric).
ParameterTypeRequiredExampleDescription
mobile_nostring✅9876543210User’s mobile number (10 digits).
channelstring✅sms / whatsapp / bothDetermines through which medium the OTP will be sent.
sourcestring✅user_signupSource or context of the OTP request (e.g., salesforce etc).
typestring✅simple_otpType of OTP (currently supports only simple_otp).
otp_code_lengthinteger❌6Defines the OTP length (default 6, minimum 4, maximum 10).
otp_code_typestring❌NUMERIC / ALPHABETIC / ALPHANUMERICOTP format type (default: NUMERIC).
otp_codestring❌123456Custom OTP. If not provided, system auto-generates one.

Request

Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Body

🟠422Invalid Payload
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://ddubtjkzyfpv3qqsk6t47253l40nwwiy.lambda-url.ap-south-1.on.aws/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 - Example 1
{
    "status": true,
    "message": "string",
    "reference_id": "string",
    "results": {
        "reference_id": "string",
        "sms": {
            "status": "string",
            "message": "string"
        },
        "whatsapp": null
    }
}
Modified at 2025-11-06 11:34:57
Previous
Application Verify Mobile Number
Next
Validate OTP
Built with