{"info":{"_postman_id":"540d92ad-510c-4046-976b-306c6f968d61","name":"Two Factor APIS Domestic","description":"# Introduction\nWhat does our API do?\n\nTwo Factor Authentication is an extra layer of security that requires not only a password and username but also something that the user has on them.\n\n# Overview\nThings that the developers should know about ?\n\nThe OTP number is sent via Voice Calls and SMS message using this API.\n\n# Authentication\nWhat is the preferred way of using the API? \n\nYou will need KooKoo API key to use the two factor API's.\n\n\n# Error Responses\nWhat errors responses can a user expect?\n\n{\"status\":\"Error\",\"message\":\"Authentication Error\"}\n\n{\"status\":\"Error\",\"message\":\"API key or Phone Number Missing\"}\n\n{\"status\":\"Error\",\"message\":\"Your Mobile Number OTP code verification failed\"}\n\n# Success Responses\n\n{\"status\":\"queued\",\"message\":\"91XXXXXXX\"} -- Here this response when the call has been placed successfully.\n\n{\"status\":\"success\",\"message\":\"SM8XXXXXXXX\"} -- This indicates the message request has been placed successfully.\n\n{\"status\":\"success\",\"message\":\"Your Mobile Number OTP code is verified!\"}\n\n\n\n\n\n","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json"},"item":[{"name":"CALL OTP","id":"70059fb4-b678-4d8b-934e-fbc101e7a576","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"https://kookoo.in/api/v1/TwoFactor/callotp?api_key=KKXXXXXXXXXXXXX&caller_id=9140XXXXXXX&phone_no=96XXXXXXX","protocol":"https","host":["kookoo","in"],"path":["api","v1","TwoFactor","callotp"],"query":[{"key":"api_key","value":"KKXXXXXXXXXXXXX"},{"key":"caller_id","value":"9140XXXXXXX"},{"key":"phone_no","value":"96XXXXXXX"}]}},"response":[],"_postman_id":"70059fb4-b678-4d8b-934e-fbc101e7a576"},{"name":"SMS OTP","id":"0b52e86c-9306-4ddd-93e5-044887ba50cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"https://kookoo.in/api/v1/TwoFactor/smsotp?phone_no=+919XXXXXX&api_key=KKXXXXXXXXXXXXX&sender_id=OZONTL","protocol":"https","host":["kookoo","in"],"path":["api","v1","TwoFactor","smsotp"],"query":[{"key":"phone_no","value":"+919XXXXXX"},{"key":"api_key","value":"KKXXXXXXXXXXXXX"},{"key":"sender_id","value":"OZONTL"}]}},"response":[],"_postman_id":"0b52e86c-9306-4ddd-93e5-044887ba50cf"},{"name":"VERIFY OTP","id":"0593e8f3-6875-4fa2-b0dd-d9c4b6585dbb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":{"raw":"https://kookoo.in/api/v1/TwoFactor/verifyotp?phone_no=+919XXXXXX&otp=240326&api_key=KKXXXXXXXXXXXXX","protocol":"https","host":["kookoo","in"],"path":["api","v1","TwoFactor","verifyotp"],"query":[{"key":"phone_no","value":"+919XXXXXX"},{"key":"otp","value":"240326"},{"key":"api_key","value":"KKXXXXXXXXXXXXX"}]}},"response":[],"_postman_id":"0593e8f3-6875-4fa2-b0dd-d9c4b6585dbb"}],"event":[{"listen":"prerequest","script":{"id":"dd7bd923-613a-4cdb-86c4-478e4a867962","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"f3da2fdc-d0b1-43a0-b596-3a98f6353609","type":"text/javascript","exec":[""]}}]}