{"info":{"_postman_id":"b4d3dfc0-da92-4f83-8012-b25a8dc33039","name":"cbwq-client","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"1673752","collectionId":"b4d3dfc0-da92-4f83-8012-b25a8dc33039","publishedId":"TVYNXEuu","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-11-03T12:21:36.000Z"},"item":[{"name":"Send File using Local Disk Path","id":"9b326719-2626-4c78-add0-7cc4707e4b24","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"user-agent":true,"accept":true,"accept-encoding":true,"connection":true}},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"data","type":"file","value":null},{"key":"key","value":"<your-api-key>","type":"text"},{"key":"number","value":"91702XXXXXX0","description":"<p>start with country code, if multiple numbers use \",\" as separator</p>\n","type":"text"},{"key":"caption","value":"this is test caption","type":"text"}]},"url":"https://api.whatsdesk.in/v4/filefromdisk.php","urlObject":{"protocol":"https","path":["v4","filefromdisk.php"],"host":["api","whatsdesk","in"],"query":[],"variable":[]}},"response":[],"_postman_id":"9b326719-2626-4c78-add0-7cc4707e4b24"},{"name":"get Credit Balance","id":"b25939c8-1f11-4c74-8f36-e0d80ec42903","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true,"accept-encoding":true,"connection":true,"user-agent":true}},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"key","type":"text","value":"<your-api-key>"}]},"url":"https://api.whatsdesk.in/v4/getavailablecredits.php","urlObject":{"protocol":"https","path":["v4","getavailablecredits.php"],"host":["api","whatsdesk","in"],"query":[],"variable":[]}},"response":[],"_postman_id":"b25939c8-1f11-4c74-8f36-e0d80ec42903"},{"name":"Send Text","id":"88c3faf5-aa17-4df7-aae5-ec52d9bf0010","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"connection":true,"accept-encoding":true,"accept":true,"user-agent":true}},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"message","value":"test","type":"text"},{"key":"key","value":"<your-api-key>","type":"text"},{"key":"number","value":"91702XXXXXX0","type":"text","description":"<p>this is target whatsapp numer with country code, you need to replace it with your clients mobile no.</p>\n"}]},"url":"https://api.whatsdesk.in/v4/text.php","urlObject":{"protocol":"https","path":["v4","text.php"],"host":["api","whatsdesk","in"],"query":[],"variable":[]}},"response":[],"_postman_id":"88c3faf5-aa17-4df7-aae5-ec52d9bf0010"},{"name":"Get Message Status","id":"d7699f4f-4361-4258-bfd5-8faf29cffe5e","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true,"accept-encoding":true,"connection":true,"user-agent":true}},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"key","type":"text","value":"<your-api-key>"},{"key":"message_id","value":"<message-id>","description":"<p>you get this as api response when you send text or file</p>\n","type":"text"}]},"url":"https://api.whatsdesk.in/v4/getstatus.php","urlObject":{"protocol":"https","path":["v4","getstatus.php"],"host":["api","whatsdesk","in"],"query":[],"variable":[]}},"response":[],"_postman_id":"d7699f4f-4361-4258-bfd5-8faf29cffe5e"},{"name":"Send Text","id":"4079c00d-ddd5-4201-8af8-a0731988736e","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"connection":true,"accept-encoding":true,"accept":true,"user-agent":true}},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://api.whatsdesk.in/v4/sendtext.php?message=test cb message&key=<your-api-key>&number=91702XXXXXX0","urlObject":{"protocol":"https","path":["v4","sendtext.php"],"host":["api","whatsdesk","in"],"query":[{"key":"message","value":"test cb message"},{"key":"key","value":"<your-api-key>"},{"key":"number","value":"91702XXXXXX0"}],"variable":[]}},"response":[],"_postman_id":"4079c00d-ddd5-4201-8af8-a0731988736e"},{"name":"get QR status","id":"c3d70ef2-0f73-490b-a0e2-f6f5acfc28e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"key","value":"<your-api-key>","type":"text"}]},"url":"https://api.whatsdesk.in/v4/getQRstatus.php","urlObject":{"protocol":"https","path":["v4","getQRstatus.php"],"host":["api","whatsdesk","in"],"query":[],"variable":[]}},"response":[],"_postman_id":"c3d70ef2-0f73-490b-a0e2-f6f5acfc28e5"},{"name":"Clear Pending Queue","id":"05a8224c-fc7b-4fb2-b671-a29915b967aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"key","value":"<api-key>","type":"text"}]},"url":"https://api.whatsdesk.in/v4/clearpending.php","description":"<p><strong>request paratmeters</strong></p>\n<p>api key</p>\n<p><strong>response</strong></p>\n<p>1. <strong>connected</strong></p>\n<p>returns connected if qr session is live and running</p>\n<p>2. <strong>qrSessionDisconnected</strong></p>\n<p>returns qrSessionDisconnected if qr session is disconnected, it is required to scan qr again if session is disconnected</p>\n","urlObject":{"protocol":"https","path":["v4","clearpending.php"],"host":["api","whatsdesk","in"],"query":[],"variable":[]}},"response":[],"_postman_id":"05a8224c-fc7b-4fb2-b671-a29915b967aa"},{"name":"Text to Multiple numbers","id":"69b45ef7-1968-4231-bd21-aea4cc792946","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"connection":true,"accept-encoding":true,"accept":true,"user-agent":true}},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://api.whatsdesk.in/v4/multinumbersText.php?message=test message&key=<your-api-key>&number=91702XXXXXX0,91702XXXXXX1","urlObject":{"protocol":"https","path":["v4","multinumbersText.php"],"host":["api","whatsdesk","in"],"query":[{"key":"message","value":"test message"},{"key":"key","value":"<your-api-key>"},{"key":"number","value":"91702XXXXXX0,91702XXXXXX1"}],"variable":[]}},"response":[],"_postman_id":"69b45ef7-1968-4231-bd21-aea4cc792946"},{"name":"getQRCode in Iframe tag - using url below","id":"5a58f9c5-7bb1-455a-9277-302a9bea8df4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://chat.wabapi.com/v4/reseller/sgetqr.html?apikey=<your-api-key>","description":"<p>You need to pass api key as a parameter, use resulting url in iframe in your web app, to display and scan qr for given apikey</p>\n","urlObject":{"protocol":"https","path":["v4","reseller","sgetqr.html"],"host":["chat","wabapi","com"],"query":[{"key":"apikey","value":"<your-api-key>"}],"variable":[]}},"response":[],"_postman_id":"5a58f9c5-7bb1-455a-9277-302a9bea8df4"},{"name":"getAvailableCredits","id":"9cc5622b-32c6-4983-a321-e15f96cfa661","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true,"accept-encoding":true,"connection":true,"user-agent":true}},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://api.whatsdesk.in/v4/checkavailablecredits.php?key=<your-api-key>","urlObject":{"protocol":"https","path":["v4","checkavailablecredits.php"],"host":["api","whatsdesk","in"],"query":[{"key":"key","value":"<your-api-key>"}],"variable":[]}},"response":[],"_postman_id":"9cc5622b-32c6-4983-a321-e15f96cfa661"},{"name":"get QR status","id":"366de16d-2bf9-4bfd-9763-8bd483240947","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://api.whatsdesk.in/v4/getQRstatusGM.php?key=<your-api-key>","description":"<p><strong>request paratmeters</strong></p>\n<p>api key</p>\n<p><strong>response</strong></p>\n<p>1. <strong>connected</strong></p>\n<p>returns connected if qr session is live and running</p>\n<p>2. <strong>qrSessionDisconnected</strong></p>\n<p>returns qrSessionDisconnected if qr session is disconnected, it is required to scan qr again if session is disconnected</p>\n","urlObject":{"protocol":"https","path":["v4","getQRstatusGM.php"],"host":["api","whatsdesk","in"],"query":[{"key":"key","value":"<your-api-key>"}],"variable":[]}},"response":[],"_postman_id":"366de16d-2bf9-4bfd-9763-8bd483240947"},{"name":"Send File Using URL","id":"6f7414a5-593e-4349-b1ce-92409ba429a0","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true,"accept-encoding":true,"connection":true,"user-agent":true}},"request":{"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"key","value":"<your-api-key>","type":"text"},{"key":"number","value":"91702XXXXXX0","type":"text","description":"<p>if multiple numbers use comma as separator. i.e. number1,number2,number3</p>\n"},{"key":"url","value":"<file url>","type":"text"},{"key":"caption","value":"test caption","type":"text"},{"key":"filename","value":"mytestfile.pdf","type":"text","disabled":true}]},"url":"https://api.whatsdesk.in/v4/filewithurl.php","urlObject":{"protocol":"https","path":["v4","filewithurl.php"],"host":["api","whatsdesk","in"],"query":[],"variable":[]}},"response":[],"_postman_id":"6f7414a5-593e-4349-b1ce-92409ba429a0"},{"name":"Send File Using URL","id":"f6655e85-deb8-4d08-bf3e-1f56a4512995","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true,"accept-encoding":true,"connection":true,"user-agent":true}},"request":{"method":"GET","header":[],"url":"https://api.whatsdesk.in/v4/sendfilewithurl.php?key=<your-api-key>&number=91702XXXXXX0&url=<file url>&caption=this is with caption filewithurl&filename=mytesttest.pdf","urlObject":{"protocol":"https","path":["v4","sendfilewithurl.php"],"host":["api","whatsdesk","in"],"query":[{"key":"key","value":"<your-api-key>"},{"key":"number","value":"91702XXXXXX0"},{"key":"url","value":"<file url>"},{"description":{"content":"<p>optional</p>\n","type":"text/plain"},"key":"caption","value":"this is with caption filewithurl"},{"description":{"content":"<p>optional - use only with google drive links</p>\n","type":"text/plain"},"key":"filename","value":"mytesttest.pdf"}],"variable":[]}},"response":[],"_postman_id":"f6655e85-deb8-4d08-bf3e-1f56a4512995"}]}