{"info":{"_postman_id":"735983d7-ff9a-4471-b6b4-cce05306fa0f","name":"OTP API Documentation","description":"<html><head></head><body><p>Make your users feel secure with a one-time password. Generate a one-time password within 2 seconds to verify customer identity and transactions using SMS and Voice. Verifying users' identity is essential in preventing fraud and securing accounts from compromise.</p>\n<p><strong>Status Codes</strong></p>\n<p>500 = Internal error<br>1000 = Successful, Message delivered<br>1002 = Message must contain a slot for otp code, like %otp_code%<br>1003 = This Sender ID have Blocked By Administrator<br>1004 = Invalid API key<br>1005 = invalid Phone Number<br>1006 = OTP is not allowed in your Country<br>1007 = Message scheduled for later delivery<br>1008 = Empty Message<br>1009 = You can not send more than 500 characters using voice medium<br>1011 = Internal error</p>\n<p><strong>Generate OTP</strong></p>\n<p>This operation generates and sends a code to the receiver through the specified medium. The type and medium parameters have to be specified in the request.</p>\n<h3 id=\"https-post-api\">HTTPS POST API:</h3>\n<ul>\n<li>JSON REQUEST PARAMETERS</li>\n</ul>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>public_key</td>\n<td>Yes</td>\n<td>Specifies unique public key generated on Quick SMS dashborad</td>\n</tr>\n<tr>\n<td>sender</td>\n<td>Yes</td>\n<td>Alpha-numeric special characters combination with minimum length of eleven (11) characters including whitespace.</td>\n</tr>\n<tr>\n<td>number</td>\n<td>Yes</td>\n<td>Phone number of the recipient.</td>\n</tr>\n<tr>\n<td>message</td>\n<td>Yes</td>\n<td>The OTP Message</td>\n</tr>\n<tr>\n<td>type</td>\n<td>Yes</td>\n<td>Specify OTP type (numer</td>\n</tr>\n<tr>\n<td>medium</td>\n<td>Yes</td>\n<td>Specifty OTP medium (sms</td>\n</tr>\n<tr>\n<td>expiry</td>\n<td>Yes</td>\n<td>Specifies how long OTP will last in minutes (1 - 10)</td>\n</tr>\n<tr>\n<td>length</td>\n<td>Yes</td>\n<td>Specifies the length of the generated code (6 - 15)</td>\n</tr>\n</tbody>\n</table>\n</div></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"6975808","collectionId":"735983d7-ff9a-4471-b6b4-cce05306fa0f","publishedId":"2sB3QJNApQ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-11-27T01:21:29.000Z"},"item":[{"name":"OTP API","item":[{"name":"otpapi","id":"f52a5e0a-9bf1-4f7e-bd89-c0eae9c04600","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://linksengineering.net/apisms/api/otp_generate?public_key=t56f8c99eefac145df&sender=QuickSMS&message=Your Quick SMS OTP is %otp_code%&number=233247058668&type=numeric&expiry=8&medium=sms&length=6","urlObject":{"protocol":"https","path":["apisms","api","otp_generate"],"host":["linksengineering","net"],"query":[{"key":"public_key","value":"t56f8c99eefac145df"},{"key":"sender","value":"QuickSMS"},{"key":"message","value":"Your Quick SMS OTP is %otp_code%"},{"key":"number","value":"233247058668"},{"key":"type","value":"numeric"},{"key":"expiry","value":"8"},{"key":"medium","value":"sms"},{"key":"length","value":"6"}],"variable":[]}},"response":[{"id":"03b45c06-7269-4aeb-8fb4-858bbc0745b9","name":"otp_resp","originalRequest":{"method":"GET","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":{"raw":"https://linksengineering.net/apisms/api/otp_generate?public_key=e2ffc99ccdac1df5&sender=quicksms&message=Your Quick SMS OTP is %otp_code%&number=233247058668&type=numeric&expiry=8&medium=sms&length=6","protocol":"https","host":["linksengineering","net"],"path":["apisms","api","otp_generate"],"query":[{"key":"public_key","value":"e2ffc99ccdac1df5"},{"key":"sender","value":"quicksms"},{"key":"message","value":"Your Quick SMS OTP is %otp_code%"},{"key":"number","value":"233247058668"},{"key":"type","value":"numeric"},{"key":"expiry","value":"8"},{"key":"medium","value":"sms"},{"key":"length","value":"6"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Connection","value":"Keep-Alive"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"content-type","value":"text/html; charset=UTF-8"},{"key":"content-length","value":"84"},{"key":"content-encoding","value":"br"},{"key":"vary","value":"Accept-Encoding"},{"key":"date","value":"Tue, 07 Oct 2025 00:28:30 GMT"},{"key":"alt-svc","value":"h3=\":443\"; ma=2592000, h3-29=\":443\"; ma=2592000, h3-Q050=\":443\"; ma=2592000, h3-Q046=\":443\"; ma=2592000, h3-Q043=\":443\"; ma=2592000, quic=\":443\"; ma=2592000; v=\"43,46\""}],"cookie":[],"responseTime":null,"body":"{\"status\":\"1000\",\"status_message\":\"success\",\"message\":\"Successful, OTP is being processed for delivery.\"}"}],"_postman_id":"f52a5e0a-9bf1-4f7e-bd89-c0eae9c04600"}],"id":"af70b206-fa34-445e-9508-2b1b9b43f9c1","description":"<p>The <code>/collections</code> endpoints let you manage your <a href=\"https://learning.postman.com/docs/sending-requests/intro-to-collections/\">collections</a>.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"id":"ef97ec0b-d692-457d-9d2f-b1bbe0db5bb0","type":"text/javascript","packages":{},"requests":{},"exec":[""]}},{"listen":"test","script":{"id":"d7b7a926-a39a-415f-9894-7535332a9f21","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}],"_postman_id":"af70b206-fa34-445e-9508-2b1b9b43f9c1"}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"X-API-Key"},{"key":"value","value":"{{token}}"}]}},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}],"variable":[{"id":"ee7eea7e-5492-47da-b8c5-0190d07fa8c8","key":"baseUrl","value":"https://farming-simulator.pstmn.io"}]}