SlideShare a Scribd company logo
Route Mobile Limited © 2019. All rights reserved 1
OTP API
Specifications
Version: 2.0
Date: November, 2019
Route Mobile Limited © 2019. All rights reserved 2
Document Information and Version History
Document Information
Document Name OTP API Specifications
Document Description
This document describes the parameters and responses used to
send and verify one-time-password (OTP) messages.
Creation Date December 07, 2016
Initial Version 1.0.0
Author Jyotsna
Document Change Log
Modification
Date
Version
Number
Change Summary Author
January 12,
2018
1.0.1 Reformatted and reviewed document for language.
Hrudeep
Goregaonkar
November
26, 2019
2.0 Reviewed – No changes
Hrudeep
Goregaonkar
Document Approval Log
Approval Date Approver Designation
February 13, 2018 Sachin Kanojia Head – Support
November 26, 2019 Ramesh Helaiya AVP - Technology
Route Mobile Limited © 2019. All rights reserved 3
OTP API
 The below URL shows the API used to send an OTP message.
http://<ipaddress>:<port>/OtpApi/otpgenerate?username=XXXX&password=XXXX&msisdn=XXXX
XXXXXXX&msg=XXXXX&source=XXXX&otplen=XX&tagname=XXX&exptime=XXX
Request Parameters
Sr. No. Parameter Description
1 username Name of the user.
2 password Password of the user.
3 msisdn Mobile number to which OTP has to be sent.
4 exptime OTP validity time in seconds.
5 msg
Message template with %m escape character which will be
replaced by generated OTP. Message has to be URL
encoded.
6 source Sender assigned for user.
7 otplen Length of the OTP.
8 tagname Identifier name for given batch (optional).
Response
Sr. No. Error Code Description
1 1701|MSISDN:MessageID Message sent successfully.
2 1702 One of the parameter is missing or OTP is not numeric.
3 1703 Authentication failed.
4 1706 Invalid destination.
5 1705 Message does not contain %m.
6 1707 Invalid source.
7 1710 Some error occurred.
8 1715 Response time out.
9 1025 Insufficient user credit.
10 1032 DND destination.
11 1033 Source template mismatch.
12 1035 User opt out.
13 1042 Explicit DND reject.
Route Mobile Limited © 2019. All rights reserved 4
 The below URL shows the API used to validate the received OTP.
http://<ipaddress>:<port>/OtpApi/checkotp?username=XXXXXX&password=XXXXXX&msisdn=XX
XXX&otp=XXXX
Request Parameters
Sr. No. Parameter Description
1 username Name of the user.
2 password Password of the user.
3 msisdn Mobile number to which the OTP was sent.
4 otp Received OTP which needs to be verified.
Response
Sr. No. Error Code Description
1 101 OTP validated successfully.
2 102 OTP has expired.
3 103 Entry for OTP not found.
4 104 MSISDN not found.
5 1702 One of the parameter missing or OTP is not numeric.
6 1703 Authentication failed.
7 1706 Given destination is invalid.

More Related Content

PDF
Hlr lookup specification
PPTX
How to check pnr status
DOCX
PDF
Daily agri report by epic research limited of 02 march 2017
PDF
SmsPlus_BulkHttp.pdf
PPTX
Access management
PPTX
Standard Based API Security, Access Control and AI Based Attack - API Days Pa...
PPTX
How to build Simple yet powerful API.pptx
Hlr lookup specification
How to check pnr status
Daily agri report by epic research limited of 02 march 2017
SmsPlus_BulkHttp.pdf
Access management
Standard Based API Security, Access Control and AI Based Attack - API Days Pa...
How to build Simple yet powerful API.pptx

Similar to Otp api specifications (20)

PPTX
Configuring Single Sign-On (SSO) via Identity Management | MuleSoft Mysore Me...
PPTX
Smartphone Native Application OP
PPTX
JWT SSO Inbound Authenticator
PPT
Digital Signature
PDF
Implementing Open Banking with ForgeRock
PPTX
Technical Considerations for Deploying FIDO Authentication
PDF
Consideration on Holder-of-Key Bound Token < from Financial-grade API (FAPI) ...
PDF
IRJET- Implementation of Handling Android Application using SMS(Short Mes...
PDF
FIDO UAF 1.0 Specs: Overview and Insights
PDF
API Security Best Practices and Guidelines
PDF
Keyrock and API Umbrella for Data Spaces
PDF
WSO2 Telco MCX
PDF
Android Application for Mobile Attendance using NFC
PDF
Bg24375379
PDF
Passwordless Mobile Banking.pdf
PDF
Liferay as a headless platform
PPTX
kicking your enterprise security up a notch with adaptive authentication sa...
PPTX
Process to obtain Digital Signature with explanations of classes of DS
PPT
Street conf overview
PPT
Introduction To SIP
Configuring Single Sign-On (SSO) via Identity Management | MuleSoft Mysore Me...
Smartphone Native Application OP
JWT SSO Inbound Authenticator
Digital Signature
Implementing Open Banking with ForgeRock
Technical Considerations for Deploying FIDO Authentication
Consideration on Holder-of-Key Bound Token < from Financial-grade API (FAPI) ...
IRJET- Implementation of Handling Android Application using SMS(Short Mes...
FIDO UAF 1.0 Specs: Overview and Insights
API Security Best Practices and Guidelines
Keyrock and API Umbrella for Data Spaces
WSO2 Telco MCX
Android Application for Mobile Attendance using NFC
Bg24375379
Passwordless Mobile Banking.pdf
Liferay as a headless platform
kicking your enterprise security up a notch with adaptive authentication sa...
Process to obtain Digital Signature with explanations of classes of DS
Street conf overview
Introduction To SIP
Ad

More from RouteMob (8)

PDF
Customer Engagement with Route Mobile SMS for Freshworks - Route Mobile
PDF
Route Mobile SMS for Freshworks
PDF
Whatsapp Business API Solution
PDF
Steps to add bulk SMS
PPTX
Ivr banking solution
PDF
Viber product-brochure
PDF
RouteMobile – Mobile Client Manual for Android
PDF
Route Mobile - Case Study
Customer Engagement with Route Mobile SMS for Freshworks - Route Mobile
Route Mobile SMS for Freshworks
Whatsapp Business API Solution
Steps to add bulk SMS
Ivr banking solution
Viber product-brochure
RouteMobile – Mobile Client Manual for Android
Route Mobile - Case Study
Ad

Recently uploaded (20)

PPTX
Machine Learning_overview_presentation.pptx
PPTX
Cloud computing and distributed systems.
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
cuic standard and advanced reporting.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPT
Teaching material agriculture food technology
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Approach and Philosophy of On baking technology
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Machine Learning_overview_presentation.pptx
Cloud computing and distributed systems.
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Advanced methodologies resolving dimensionality complications for autism neur...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Encapsulation_ Review paper, used for researhc scholars
cuic standard and advanced reporting.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
“AI and Expert System Decision Support & Business Intelligence Systems”
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
The Rise and Fall of 3GPP – Time for a Sabbatical?
Review of recent advances in non-invasive hemoglobin estimation
Per capita expenditure prediction using model stacking based on satellite ima...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Building Integrated photovoltaic BIPV_UPV.pdf
Teaching material agriculture food technology
Dropbox Q2 2025 Financial Results & Investor Presentation
Approach and Philosophy of On baking technology
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf

Otp api specifications

  • 1. Route Mobile Limited © 2019. All rights reserved 1 OTP API Specifications Version: 2.0 Date: November, 2019
  • 2. Route Mobile Limited © 2019. All rights reserved 2 Document Information and Version History Document Information Document Name OTP API Specifications Document Description This document describes the parameters and responses used to send and verify one-time-password (OTP) messages. Creation Date December 07, 2016 Initial Version 1.0.0 Author Jyotsna Document Change Log Modification Date Version Number Change Summary Author January 12, 2018 1.0.1 Reformatted and reviewed document for language. Hrudeep Goregaonkar November 26, 2019 2.0 Reviewed – No changes Hrudeep Goregaonkar Document Approval Log Approval Date Approver Designation February 13, 2018 Sachin Kanojia Head – Support November 26, 2019 Ramesh Helaiya AVP - Technology
  • 3. Route Mobile Limited © 2019. All rights reserved 3 OTP API  The below URL shows the API used to send an OTP message. http://<ipaddress>:<port>/OtpApi/otpgenerate?username=XXXX&password=XXXX&msisdn=XXXX XXXXXXX&msg=XXXXX&source=XXXX&otplen=XX&tagname=XXX&exptime=XXX Request Parameters Sr. No. Parameter Description 1 username Name of the user. 2 password Password of the user. 3 msisdn Mobile number to which OTP has to be sent. 4 exptime OTP validity time in seconds. 5 msg Message template with %m escape character which will be replaced by generated OTP. Message has to be URL encoded. 6 source Sender assigned for user. 7 otplen Length of the OTP. 8 tagname Identifier name for given batch (optional). Response Sr. No. Error Code Description 1 1701|MSISDN:MessageID Message sent successfully. 2 1702 One of the parameter is missing or OTP is not numeric. 3 1703 Authentication failed. 4 1706 Invalid destination. 5 1705 Message does not contain %m. 6 1707 Invalid source. 7 1710 Some error occurred. 8 1715 Response time out. 9 1025 Insufficient user credit. 10 1032 DND destination. 11 1033 Source template mismatch. 12 1035 User opt out. 13 1042 Explicit DND reject.
  • 4. Route Mobile Limited © 2019. All rights reserved 4  The below URL shows the API used to validate the received OTP. http://<ipaddress>:<port>/OtpApi/checkotp?username=XXXXXX&password=XXXXXX&msisdn=XX XXX&otp=XXXX Request Parameters Sr. No. Parameter Description 1 username Name of the user. 2 password Password of the user. 3 msisdn Mobile number to which the OTP was sent. 4 otp Received OTP which needs to be verified. Response Sr. No. Error Code Description 1 101 OTP validated successfully. 2 102 OTP has expired. 3 103 Entry for OTP not found. 4 104 MSISDN not found. 5 1702 One of the parameter missing or OTP is not numeric. 6 1703 Authentication failed. 7 1706 Given destination is invalid.