{"info":{"_postman_id":"c6fa2690-6e6f-4b7e-83f8-91454ad7707a","name":"dev API","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"5289516","collectionId":"c6fa2690-6e6f-4b7e-83f8-91454ad7707a","publishedId":"S17nTAHr","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-03-27T12:40:22.000Z"},"item":[{"name":"Users","item":[{"name":"login","id":"f237046e-8d90-499d-ae70-1cb07c7b1982","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"email","value":"johndoe@gmail.com","description":"<p>email</p>\n","type":"text"},{"key":"password","value":"p*******","description":"<p>password</p>\n","type":"text"}]},"url":"api.tizeti.com:5000/developers/v1/wificall/signin","description":"<p>Login</p>\n","urlObject":{"port":"5000","path":["developers","v1","wificall","signin"],"host":["api","tizeti","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f237046e-8d90-499d-ae70-1cb07c7b1982"},{"name":"register","id":"24271ea1-a90b-468c-941e-95de0ec6f130","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"firstName","value":"john","description":"<p>first name</p>\n","type":"text"},{"key":"lastName","value":"doe","description":"<p>last name</p>\n","type":"text"},{"key":"email","value":"john.doe2@gmail.com","description":"<p>email</p>\n","type":"text"},{"key":"address","value":"lagos","description":"<p>address</p>\n","type":"text"},{"key":"gender","value":"Male","description":"<p>gender</p>\n","type":"text"},{"key":"phoneNumber","value":"081232323234","description":"<p>phonenumber</p>\n","type":"text"},{"key":"plan_id","value":"6","description":"<p>subscription plan</p>\n","type":"text"},{"key":"password","value":"password","description":"<p>password</p>\n","type":"text"}]},"url":"api.tizeti.com/developers/v1/wificall/users1.0","urlObject":{"path":["developers","v1","wificall","users1.0"],"host":["api","tizeti","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"24271ea1-a90b-468c-941e-95de0ec6f130"},{"name":"get details of the logged on user","id":"0491b567-9d43-4b2b-945a-4411d7fbf343","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Authorization","value":"Bearer TOKEN"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"api.tizeti.com/developers/v1/wificall/activeUserDetails","description":"<p>This API returns all the details of the currently signed on user.</p>\n","urlObject":{"path":["developers","v1","wificall","activeUserDetails"],"host":["api","tizeti","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0491b567-9d43-4b2b-945a-4411d7fbf343"}],"id":"fbe3acf1-857c-4ed2-869b-cf2462141cae","_postman_id":"fbe3acf1-857c-4ed2-869b-cf2462141cae","description":""},{"name":"plans","item":[{"name":"subscription plan list","id":"d6cc8418-f790-4e1b-9cf1-b705b200044e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"}],"url":"api.tizeti.com/developers/v1/planlist","urlObject":{"path":["developers","v1","planlist"],"host":["api","tizeti","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d6cc8418-f790-4e1b-9cf1-b705b200044e"}],"id":"2f917a9e-324a-4bf8-903b-11b1b663026d","description":"<p>ENDPOINT FOLDER FOR THE LIST OF CALL PLANS</p>\n","event":[{"listen":"prerequest","script":{"id":"72b4485e-c79f-4686-85b6-0eb0f3d260df","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"24e22809-8ad4-4b6a-9d82-5d3be899b558","type":"text/javascript","exec":[""]}}],"_postman_id":"2f917a9e-324a-4bf8-903b-11b1b663026d"},{"name":"phoneCall","item":[{"name":"make phone call","id":"c6ee446f-0d61-49d8-8672-1c11fb9a9ff0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"},{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImYwMmJkY2NhLWFkOGQtNGFlZi04YWZmLTNjNDgyMjM2ZjFmMiIsImlhdCI6MTU3OTg3MTI4N30.Bzst2zodR6mYz1MSH213-DVzsp8Gay3IJmdevujpc9A","type":"text","description":"<p>USER TOKEN CAN BE GOTTEN FROM THE LOGIN API</p>\n"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"called","value":"08163*****","description":"<p>caller's phone number</p>\n","type":"text"},{"key":"calling","value":"090*******","description":"<p>receiver's phone number</p>\n","type":"text"},{"key":"callerid","value":"0122*******","description":"<p>your WIFICALL assigned phone number</p>\n","type":"text","disabled":true}]},"url":"https://api.tizeti.com/developers/v1/dev_call","description":"<p>endpoint to initiate phone calls.</p>\n","urlObject":{"protocol":"https","path":["developers","v1","dev_call"],"host":["api","tizeti","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c6ee446f-0d61-49d8-8672-1c11fb9a9ff0"},{"name":"get list of recent calls made","id":"01516d37-8a37-4d00-896a-641fe1f294cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Authorization","value":"Bearer TOKEN"}],"url":"api.tizeti.com/developers/v1/wificall/recentCalls/:page","urlObject":{"path":["developers","v1","wificall","recentCalls",":page"],"host":["api","tizeti","com"],"query":[],"variable":[{"type":"string","value":"1","key":"page"}]}},"response":[],"_postman_id":"01516d37-8a37-4d00-896a-641fe1f294cd"},{"name":"filter call history by date and page number","id":"d8e42787-59dd-47c7-8af1-2e10c9ddee25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Authorization","value":"Bearer TOKEN"}],"url":"api.tizeti.com/developers/v1/wificall/recentCalls/0?from=2019-02-27&to=2019-07-30","urlObject":{"path":["developers","v1","wificall","recentCalls","0"],"host":["api","tizeti","com"],"query":[{"key":"from","value":"2019-02-27"},{"key":"to","value":"2019-07-30"}],"variable":[]}},"response":[],"_postman_id":"d8e42787-59dd-47c7-8af1-2e10c9ddee25"}],"id":"7d7d0dba-63f6-4b6f-a245-6ca0278770bd","description":"<p>ENDPOINT FOLDER FOR EVERYTHING CALL RELATED.</p>\n","_postman_id":"7d7d0dba-63f6-4b6f-a245-6ca0278770bd"},{"name":"Payment","item":[{"name":"initialize payment","id":"495dccb8-472c-4358-aa05-ca983a92319e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/x-www-form-urlencoded"},{"key":"Authorization","value":"Bearer token"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"amount","value":"5000","type":"text","description":"<p>amount to recharge</p>\n"},{"key":"email","value":"john.doe@gmail.com","type":"text","description":"<p>email tied to the account you intend recharging</p>\n"},{"key":"cardid","value":"1**","type":"text","description":"<p>user's card id</p>\n"}]},"url":"api.tizeti.com/developers/v1/initialize","description":"<p>initialize payment to pay via paystack</p>\n","urlObject":{"path":["developers","v1","initialize"],"host":["api","tizeti","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"495dccb8-472c-4358-aa05-ca983a92319e"}],"id":"cb139ce0-55c1-4cf2-b514-dffc795a3ef9","_postman_id":"cb139ce0-55c1-4cf2-b514-dffc795a3ef9","description":""},{"name":"FILES","item":[{"name":"GET USER UPLOADED FILES","id":"1869990d-0009-4cf7-89d9-dc7842bc0389","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIU******************","description":"<p>USER TOKEN GOTEN FROM THE LOGIN API</p>\n","type":"text"}],"url":"https://api.tizeti.com/developers/v1/wificall/getupload/:cardid","urlObject":{"protocol":"https","path":["developers","v1","wificall","getupload",":cardid"],"host":["api","tizeti","com"],"query":[],"variable":[{"description":{"content":"<p>USER CARD ID. can be gotten from the get logged in user API</p>\n","type":"text/plain"},"type":"string","value":"1**","key":"cardid"}]}},"response":[],"_postman_id":"1869990d-0009-4cf7-89d9-dc7842bc0389"},{"name":"UPLOAD FILE","id":"c28e4938-1eb1-49c0-b592-b8ec376b119d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer TOKEN","description":"<p>TOKEN is the _token value gotten from the login API</p>\n"}],"body":{"mode":"formdata","formdata":[{"key":"file","description":"<p>file to be uploaded</p>\n","type":"file","value":null},{"key":"card_id","value":"103","description":"<p>card id</p>\n","type":"text"},{"key":"filebucket_type","value":"ivr","description":"<p>file bucket type..  s3 bucket folder name</p>\n","type":"text"},{"key":"filebucket_permission","value":"public","description":"<p>file bucket permission. should be set to public</p>\n","type":"text"},{"key":"workgroup_name","value":"TESTAPI","description":"<p>workgroup the user belongs to.</p>\n","type":"text"}]},"url":"https://api.tizeti.com/developers/v1/wificall/addupload","urlObject":{"protocol":"https","path":["developers","v1","wificall","addupload"],"host":["api","tizeti","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c28e4938-1eb1-49c0-b592-b8ec376b119d"},{"name":"DELETE UPLOADED FILE","id":"94b3e9f5-b54d-45e0-83b5-02399beb6e88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI***********************"}],"body":{"mode":"raw","raw":"{\n    \"filebucket_number\": \"59531******\",\n    \"filebucket_type\": \"queue\",\n    \"filebucket_extension\": \"wav\",\n    \"card_id\": 390,\n    \"workgroup_name\": \"ajiato\"\n}"},"url":"https://api.tizeti.com/developers/v1/wificall/deleteUpload","urlObject":{"protocol":"https","path":["developers","v1","wificall","deleteUpload"],"host":["api","tizeti","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"94b3e9f5-b54d-45e0-83b5-02399beb6e88"}],"id":"0ab2b155-3a36-4282-a87a-b2c05cd3c140","description":"<p>API ENDPOINTS FOR EVERYTHING INCLUDING FILES UPLOAD</p>\n","_postman_id":"0ab2b155-3a36-4282-a87a-b2c05cd3c140"},{"name":"PHONE NUMBER VERIFICATION","item":[{"name":"GET CALL VERIFICATION STATUS","id":"171ab908-6e25-46be-b35d-673ea544b8ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer TOKEN","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"code","value":"7231","type":"text"}]},"url":"https://api.tizeti.com/developers/v1/wificall/verifyLoginCode?call_id=2268227","urlObject":{"protocol":"https","path":["developers","v1","wificall","verifyLoginCode"],"host":["api","tizeti","com"],"query":[{"description":{"content":"<p>This is the result field from the OTP API</p>\n","type":"text/plain"},"key":"call_id","value":"2268227"}],"variable":[]}},"response":[],"_postman_id":"171ab908-6e25-46be-b35d-673ea544b8ae"},{"name":"OTP","id":"43697d5d-aa6f-4c78-adea-9e384eaf3ec2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer TOKEN","type":"text","description":"<p>The TOKEN is the response from the login API.</p>\n"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[{"key":"phoneNumber","value":"08163608148","type":"text","description":"<p>The number awaiting verification</p>\n"},{"key":"code","value":"1111","description":"<p>OTP to be sent (not required)</p>\n","type":"text"},{"key":"id","value":"1212","type":"text"}]},"url":"https://api.tizeti.com/developers/v1/wificall/otp2","urlObject":{"protocol":"https","path":["developers","v1","wificall","otp2"],"host":["api","tizeti","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"43697d5d-aa6f-4c78-adea-9e384eaf3ec2"}],"id":"4f1b989e-6aca-4883-b8df-a977a59ad3de","_postman_id":"4f1b989e-6aca-4883-b8df-a977a59ad3de","description":""}]}