{"info":{"_postman_id":"c1f7b931-253e-4b24-8fde-c5217272b816","name":"OTP","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"7504391","collectionId":"c1f7b931-253e-4b24-8fde-c5217272b816","publishedId":"SVYnSgYR","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-07-31T20:05:39.000Z"},"item":[{"name":"Send Otp","id":"44d8b2d3-7804-4501-a634-149114c083fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"number","value":"917015288806","description":"<p>Mobile no at which OTP is going send</p>\n","type":"text"},{"key":"","value":"","type":"text","disabled":true}]},"url":"http://localhost:3000/api/phone/sendOtp","description":"<p>TO generate Otp and send it to mobile no</p>\n","urlObject":{"protocol":"http","port":"3000","path":["api","phone","sendOtp"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"44d8b2d3-7804-4501-a634-149114c083fb"},{"name":"Verify Pin/OTP","id":"72869a3e-3e9b-426c-bc36-ead7438b844a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"number","value":"917015288806","description":"<p>mobile number which get OTP</p>\n","type":"text"},{"key":"pin","value":"1234","description":"<p>OTP/pin  to verify</p>\n","type":"text"}]},"url":"http://localhost:3000/api/phone/verify","description":"<p>To verify pin/OTP</p>\n","urlObject":{"protocol":"http","port":"3000","path":["api","phone","verify"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"72869a3e-3e9b-426c-bc36-ead7438b844a"},{"name":"List of unique phone no.","id":"400cb8a7-7972-4bb7-964a-6aa31807afe3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/admin/listUniqueNo","description":"<p>Get the array of unique no</p>\n","urlObject":{"protocol":"http","port":"3000","path":["api","admin","listUniqueNo"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"400cb8a7-7972-4bb7-964a-6aa31807afe3"},{"name":"Count of total sms","id":"3320318a-ba37-4e05-8e07-68038a661b8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/admin/countTotalSms","description":"<p>Get the count of total sms send till now.</p>\n","urlObject":{"protocol":"http","port":"3000","path":["api","admin","countTotalSms"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"3320318a-ba37-4e05-8e07-68038a661b8b"},{"name":"List of Phone no","id":"7801fb80-6d63-437d-a442-93ae938d53ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/admin/list","description":"<p>Get the list of phone no with count of sms send and is phone no verified</p>\n","urlObject":{"protocol":"http","port":"3000","path":["api","admin","list"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"7801fb80-6d63-437d-a442-93ae938d53ee"},{"name":"Count of Unique No","id":"3f749777-7109-44b2-ba33-181088745207","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/api/admin/countUniqueNo","description":"<p>Get the count of unique phone no</p>\n","urlObject":{"protocol":"http","port":"3000","path":["api","admin","countUniqueNo"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"3f749777-7109-44b2-ba33-181088745207"},{"name":"Admin login","id":"73c6d6d2-358a-4148-af63-d5ed321fb136","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"username","value":"admin","type":"text"},{"key":"password","value":"admin","type":"text"}]},"url":"http://localhost:3000/api/admin/login","description":"<p>Admin default username:-admin &amp; password :- admin</p>\n","urlObject":{"protocol":"http","port":"3000","path":["api","admin","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"73c6d6d2-358a-4148-af63-d5ed321fb136"}]}