{"info":{"_postman_id":"f1067427-04e7-4525-acf9-06659b630c56","name":"The Markter Developer Documentation","description":"<html><head></head><body><h2 id=\"markter-whatsapp-api-documentation\"><strong>Markter WhatsApp API Documentation</strong></h2>\n<h3 id=\"general-description\"><strong>General Description</strong></h3>\n<p>The <strong>Markter API</strong> enables businesses, schools, NGOs, and platforms to send automated WhatsApp messages directly from their own software or systems. Whether you're sending a welcome message to new users, confirming orders, or sharing updates, Markter provides a reliable, fast, and secure way to reach your audience via WhatsApp.</p>\n<p>Developers can integrate the API into their apps using a <code>userId</code> and <code>apiToken</code> obtained after connecting a WhatsApp number via the Markter platform.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"23895567","collectionId":"f1067427-04e7-4525-acf9-06659b630c56","publishedId":"2sB2cX8g3j","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"6EBC44"},"publishDate":"2025-04-14T11:42:37.000Z"},"item":[{"name":"WhatsApp Endpoints","item":[{"name":"Send WhatsApp Message Text","event":[{"listen":"test","script":{"id":"1d3b6040-86d5-4ede-a2cf-f76fc66138a6","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"a88a7108-86c4-45ab-8414-0dcb67888272","request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"message\": \"Israel postman test\",\r\n    \"contact\": \"256750388826\",\r\n    \"token\": \"apiToken\",\r\n    \"userId\": \"userId\"\r\n    // \"partnerUserId\": \"\" //add only if you are a partner\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.themarkter.com/send-message/text","description":"<p>Gets information about the authenticated user.</p>\n","urlObject":{"path":["send-message","text"],"host":["https://api.themarkter.com"],"query":[],"variable":[]}},"response":[{"id":"72ecfec7-0d1d-4a43-89d6-ed757dd64bf7","name":"Successful Response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"message\": \"<string>\",\r\n    \"contact\": \"+256750388826\",\r\n    \"token\": \"apiToken\",\r\n    \"userId\": \"userId\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.themarkter.com/send-message/text"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":{"content":"","type":"text/plain"}}],"cookie":[],"responseTime":null,"body":"{ \"success\": true, \"message\": \"WhatsApp Message Sent Successfully\", \"status\": \"200\" }"}],"_postman_id":"a88a7108-86c4-45ab-8414-0dcb67888272"},{"name":"Send WhatsApp Message With Document","event":[{"listen":"test","script":{"id":"1d3b6040-86d5-4ede-a2cf-f76fc66138a6","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"c9d7ecf7-adff-477b-b854-ae9f277f6084","request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"message\": \"<string>\",\r\n    \"contact\": \"<contact_international_format>\",\r\n    \"token\": \"apiToken\",\r\n    \"userId\": \"userId\",\r\n    \"media\": \"\" ////a Base64 string(with the MIME type included)\r\n    // \"partnerUserId\": \"\" add only if you are a partner\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.themarkter.com/send-message/document","description":"<p>Gets information about the authenticated user.</p>\n","urlObject":{"path":["send-message","document"],"host":["https://api.themarkter.com"],"query":[],"variable":[]}},"response":[{"id":"79545137-f434-4d84-8bb5-d6aa06f8c35a","name":"Successful Response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"message\": \"<string>\",\r\n    \"contact\": \"+<contact_international_format>\",\r\n    \"token\": apiToken,\r\n    \"userId\": userId,\r\n    \"media\": \"\" ////a Base64 string(with the MIME type included)\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.themarkter.com/send-message/document"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":{"content":"","type":"text/plain"}}],"cookie":[],"responseTime":null,"body":"{ \"success\": true, \"message\": \"WhatsApp Message Sent Successfully\", \"status\": \"200\" }"}],"_postman_id":"c9d7ecf7-adff-477b-b854-ae9f277f6084"},{"name":"Send WhatsApp Message With Image","event":[{"listen":"test","script":{"id":"1d3b6040-86d5-4ede-a2cf-f76fc66138a6","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"9f4b5a91-cc18-43c4-8e16-a7d3aeded458","request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"message\": \"<string>\",\r\n    \"contact\": \"<contact_international_format>\",\r\n    \"token\": \"apiToken\",\r\n    \"userId\": \"userId\",\r\n    \"media\": \"\" //a Base64 string(with the MIME type included, like data:image/png;base64,...)\r\n    // \"partnerUserId\": \"\" add only if you are a partner\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.themarkter.com/send-message/image","description":"<p>Gets information about the authenticated user.</p>\n","urlObject":{"path":["send-message","image"],"host":["https://api.themarkter.com"],"query":[],"variable":[]}},"response":[{"id":"78c5b035-8330-425d-a2b7-74a6def2a7b7","name":"Successful Response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"message\": \"<string>\",\r\n    \"contact\": \"+<contact_international_format>\",\r\n    \"token\": apiToken,\r\n    \"userId\": userId,\r\n    \"media\": \"\" //a Base64 string(with the MIME type included, like data:image/png;base64,...)\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.themarkter.com/send-message/image"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":{"content":"","type":"text/plain"}}],"cookie":[],"responseTime":null,"body":"{ \"success\": true, \"message\": \"WhatsApp Message Sent Successfully\", \"status\": \"200\" }"}],"_postman_id":"9f4b5a91-cc18-43c4-8e16-a7d3aeded458"},{"name":"Get Chats","event":[{"listen":"test","script":{"id":"1d3b6040-86d5-4ede-a2cf-f76fc66138a6","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"2b652337-b21b-4804-860e-d6f70840fa77","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.themarkter.com/chats?token=apiToken&userId=userId","description":"<p>Get all whatsapp conversations<br />If a partner, add partnerUserId in the params</p>\n","urlObject":{"path":["chats"],"host":["https://api.themarkter.com"],"query":[{"key":"token","value":"apiToken"},{"key":"userId","value":"userId"}],"variable":[]}},"response":[{"id":"21c63c07-c13c-430f-96bb-552b48fd40a4","name":"Successful Response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.themarkter.com/chats?token=apiToken&userId=userId","host":["https://api.themarkter.com"],"path":["chats"],"query":[{"key":"token","value":"apiToken"},{"key":"userId","value":"userId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":{"content":"","type":"text/plain"}}],"cookie":[],"responseTime":null,"body":"{\r\n    \"success\": true,\r\n    \"status\": \"200\",\r\n    \"chats\": [\r\n        {\r\n            \"id\": \"status@broadcast\",\r\n            \"type\": \"broadcast\",\r\n            \"timestamp\": 1744305946,\r\n            \"unread\": 85,\r\n            \"not_spam\": true,\r\n            \"last_message\": {\r\n                \"id\": \"Og9qcCHnD710bg-hCAA\",\r\n                \"from_me\": false,\r\n                \"type\": \"story\",\r\n                \"chat_id\": \"stories\",\r\n                \"timestamp\": 1744305991,\r\n                \"source\": \"system\",\r\n                \"action\": {\r\n                    \"target\": \"Ot5HyjT7Q9ucEg-hPsA\",\r\n                    \"type\": \"delete\"\r\n                },\r\n                \"from\": \"256751897775\",\r\n                \"from_name\": \"Cyklass Fashions\"\r\n            }\r\n        },\r\n        {\r\n            \"id\": \"256786447406@s.whatsapp.net\",\r\n            \"type\": \"contact\",\r\n            \"timestamp\": 1744304016,\r\n            \"unread\": 1,\r\n            \"not_spam\": true,\r\n            \"last_message\": {\r\n                \"id\": \"wt8aAgDvQPpNBQ0iFSTbRQ-gHg7yao8Lg\",\r\n                \"from_me\": false,\r\n                \"type\": \"image\",\r\n                \"chat_id\": \"256786447406@s.whatsapp.net\",\r\n                \"timestamp\": 1744304016,\r\n                \"source\": \"mobile\",\r\n                \"image\": {\r\n                    \"id\": \"jpeg-c2df1a0200ef40fa4d050d221524db45-80783bc9aa3c2e\",\r\n                    \"mime_type\": \"image/jpeg\",\r\n                    \"file_size\": 59230,\r\n                    \"sha256\": \"1u3FNtbInIzLj7C2mtf9UYPWm1VPaMTfymh+KndQ6TA=\",\r\n                    \"width\": 483,\r\n                    \"height\": 1080,\r\n                    \"preview\": \"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEABsbGxscGx4hIR4qLSgtKj04MzM4PV1CR0JHQl2NWGdYWGdYjX2Xe3N7l33gsJycsOD/2c7Z//////////////8BGxsbGxwbHiEhHiotKC0qPTgzMzg9XUJHQkdCXY1YZ1hYZ1iNfZd7c3uXfeCwnJyw4P/Zztn////////////////CABEIAEgAHwMBIgACEQEDEQH/xAAuAAADAQEBAAAAAAAAAAAAAAAAAgMBBAUBAQEBAQAAAAAAAAAAAAAAAAEAAgP/2gAMAwEAAhADEAAAAPfaL1XAqTbMrCkLKuZyrroZKkl2sbg+B06bzgZ//8QAIxABAAIBAwQCAwAAAAAAAAAAAQACEQMSMRMhIlEyQUJSYf/aAAgBAQABPwB1b9Tbt7e5lE5lrcQdr9uWU1K6xbCmHENNfymwxHMa4exATieUZZwStwc7cTqzdmXO0driG2ojKo8S6mMTy9k8v2JXnkmqcTye2IUWUptmr9Tdk5cwLnuUf4zC8hF0h8sDC1LfFGa3XLGwn//EABcRAAMBAAAAAAAAAAAAAAAAAAABEBH/2gAIAQIBAT8Ammocdw//xAAZEQEAAwEBAAAAAAAAAAAAAAABABARMQL/2gAIAQMBAT8ApSaT12ntppP/2Q==\"\r\n                },\r\n                \"from\": \"256786447406\",\r\n                \"from_name\": \"Kawareness\"\r\n            },\r\n            \"name\": \"Reagan Busobozi\"\r\n        },\r\n        {\r\n            \"id\": \"256752229730@s.whatsapp.net\",\r\n            \"type\": \"contact\",\r\n            \"timestamp\": 1744293999,\r\n            \"unread\": 2,\r\n            \"not_spam\": true,\r\n            \"last_message\": {\r\n                \"id\": \"PrDiYO7OVhJ3reU-gA87x6AdYg\",\r\n                \"from_me\": false,\r\n                \"type\": \"text\",\r\n                \"chat_id\": \"256752229730@s.whatsapp.net\",\r\n                \"timestamp\": 1744293999,\r\n                \"source\": \"web\",\r\n                \"device_id\": 41,\r\n                \"text\": {\r\n                    \"body\": \"Also redo the the video to 59 seconds or less\"\r\n                },\r\n                \"from\": \"256752229730\",\r\n                \"from_name\": \"MyMedikoz\"\r\n            },\r\n            \"name\": \"MyMedikoz\"\r\n        },\r\n        {\r\n            \"id\": \"256756618950@s.whatsapp.net\",\r\n            \"type\": \"contact\",\r\n            \"timestamp\": 1744227762,\r\n            \"not_spam\": true,\r\n            \"last_message\": {\r\n                \"id\": \"yqJMWb5uLRui6dI-wLM7x.MWxg\",\r\n                \"from_me\": true,\r\n                \"type\": \"document\",\r\n                \"chat_id\": \"256756618950@s.whatsapp.net\",\r\n                \"timestamp\": 1744227762,\r\n                \"source\": \"api\",\r\n                \"device_id\": 38,\r\n                \"status\": \"read\",\r\n                \"document\": {\r\n                    \"id\": \"pdf-caa24c59be6e2d1ba2e9d2-c0b33bc7e316c6\",\r\n                    \"mime_type\": \"application/pdf\",\r\n                    \"file_size\": 9863594,\r\n                    \"sha256\": \"WOAS8p9fa/LoD0Piao4BUZ65Ul8s+B/aMXDzKpNqU1E=\",\r\n                    \"file_name\": \"file\",\r\n                    \"caption\": \"sales proposal\",\r\n                    \"filename\": \"file\"\r\n                },\r\n                \"from\": \"256750388826\"\r\n            },\r\n            \"name\": \"Reagan Busobozi\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"2b652337-b21b-4804-860e-d6f70840fa77"},{"name":"Get Chat Details","event":[{"listen":"test","script":{"id":"1d3b6040-86d5-4ede-a2cf-f76fc66138a6","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"df8ccbae-902c-4b73-8394-3da34d69c733","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://api.themarkter.com/chats/chatId?token=apiToken&userId=userId","description":"<p>Get all messages in a single conversation or chat</p>\n<p>If a partner, add partnerUserId in the params</p>\n","urlObject":{"path":["chats","chatId"],"host":["https://api.themarkter.com"],"query":[{"key":"token","value":"apiToken"},{"key":"userId","value":"userId"}],"variable":[]}},"response":[{"id":"27b0174e-9060-4dcf-8e36-81fe8725d280","name":"Successful Response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.themarkter.com/chats/chatId?token=apiToken&userId=userId","host":["https://api.themarkter.com"],"path":["chats","chatId"],"query":[{"key":"token","value":"apiToken"},{"key":"userId","value":"userId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":{"content":"","type":"text/plain"}}],"cookie":[],"responseTime":null,"body":"{\r\n    \"success\": true,\r\n    \"status\": \"200\",\r\n    \"messages\": [\r\n        {\r\n            \"id\": \"wt8aAgDvQPpNBQ0iFSTbRQ-gHg7yao8Lg\",\r\n            \"from_me\": false,\r\n            \"type\": \"image\",\r\n            \"chat_id\": \"256786447406@s.whatsapp.net\",\r\n            \"timestamp\": 1744304016,\r\n            \"source\": \"mobile\",\r\n            \"image\": {\r\n                \"id\": \"jpeg-c2df1a0200ef40fa4d050d221524db45-80783bc9aa3c2e\",\r\n                \"mime_type\": \"image/jpeg\",\r\n                \"file_size\": 59230,\r\n                \"sha256\": \"1u3FNtbInIzLj7C2mtf9UYPWm1VPaMTfymh+KndQ6TA=\",\r\n                \"width\": 483,\r\n                \"height\": 1080,\r\n                \"preview\": \"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEABsbGxscGx4hIR4qLSgtKj04MzM4PV1CR0JHQl2NWGdYWGdYjX2Xe3N7l33gsJycsOD/2c7Z//////////////8BGxsbGxwbHiEhHiotKC0qPTgzMzg9XUJHQkdCXY1YZ1hYZ1iNfZd7c3uXfeCwnJyw4P/Zztn////////////////CABEIAEgAHwMBIgACEQEDEQH/xAAuAAADAQEBAAAAAAAAAAAAAAAAAgMBBAUBAQEBAQAAAAAAAAAAAAAAAAEAAgP/2gAMAwEAAhADEAAAAPfaL1XAqTbMrCkLKuZyrroZKkl2sbg+B06bzgZ//8QAIxABAAIBAwQCAwAAAAAAAAAAAQACEQMSMRMhIlEyQUJSYf/aAAgBAQABPwB1b9Tbt7e5lE5lrcQdr9uWU1K6xbCmHENNfymwxHMa4exATieUZZwStwc7cTqzdmXO0driG2ojKo8S6mMTy9k8v2JXnkmqcTye2IUWUptmr9Tdk5cwLnuUf4zC8hF0h8sDC1LfFGa3XLGwn//EABcRAAMBAAAAAAAAAAAAAAAAAAABEBH/2gAIAQIBAT8Ammocdw//xAAZEQEAAwEBAAAAAAAAAAAAAAABABARMQL/2gAIAQMBAT8ApSaT12ntppP/2Q==\"\r\n            },\r\n            \"from\": \"256786447406\",\r\n            \"from_name\": \"Kawareness\"\r\n        },\r\n        {\r\n            \"id\": \"LGrVgMbo8954a6P0zFymgg-gAg7yao8Lg\",\r\n            \"from_me\": false,\r\n            \"type\": \"document\",\r\n            \"chat_id\": \"256786447406@s.whatsapp.net\",\r\n            \"timestamp\": 1744289623,\r\n            \"source\": \"mobile\",\r\n            \"document\": {\r\n                \"id\": \"pptx-2c6ad580c6e8f3de786ba3f4cc5ca682-80083bc9aa3c2e\",\r\n                \"mime_type\": \"application/vnd.openxmlformats-officedocument.presentationml.presentation\",\r\n                \"file_size\": 7095963,\r\n                \"sha256\": \"sF/tWSHe8G9ymyWREKecOBBVko4MUN7uNVrigAeA8cY=\",\r\n                \"file_name\": \"Wain Synergy Consults Ltd Pitch Deck.pptx\",\r\n                \"filename\": \"Wain Synergy Consults Ltd Pitch Deck.pptx\",\r\n                \"page_count\": 13\r\n            },\r\n            \"context\": {\r\n                \"forwarded\": true,\r\n                \"forwarding_score\": 2\r\n            },\r\n            \"from\": \"256786447406\",\r\n            \"from_name\": \"Kawareness\"\r\n        },\r\n        {\r\n            \"id\": \"OlRXlDjGCcpJpw-wLQ7yao8Lg\",\r\n            \"from_me\": true,\r\n            \"type\": \"text\",\r\n            \"chat_id\": \"256786447406@s.whatsapp.net\",\r\n            \"timestamp\": 1744284488,\r\n            \"source\": \"mobile\",\r\n            \"status\": \"read\",\r\n            \"text\": {\r\n                \"body\": \"Thanks man…\"\r\n            },\r\n            \"from\": \"256750388826\",\r\n            \"from_name\": \"Alpha\"\r\n        }\r\n    ]\r\n}"}],"_postman_id":"df8ccbae-902c-4b73-8394-3da34d69c733"}],"id":"60cda36c-57d9-437a-ae67-3a901681554e","description":"<h4 id=\"authentication\"><strong>Authentication</strong></h4>\n<p>All endpoints require the following in the body:</p>\n<ul>\n<li><p><code>userId</code>: Your unique user ID from Markter/ Your reseller user id for partners</p>\n</li>\n<li><p><code>token</code>: Your API access token</p>\n</li>\n</ul>\n<h4 id=\"1-send-whatsapp-message-text\">1. <strong>Send WhatsApp Message Text</strong></h4>\n<p><strong>POST</strong> <code>/send-message/text</code></p>\n<p><strong>Description</strong>: Sends a plain text message to a provided whatsapp contact(must be in international format).</p>\n<h4 id=\"2-send-whatsapp-message-with-document\">2. <strong>Send WhatsApp Message With Document</strong></h4>\n<p><strong>POST</strong> <code>/send-message/document</code></p>\n<p><strong>Description</strong>: Sends a message with a document to a provided whatsapp contact(must be in international format).</p>\n<h4 id=\"3-send-whatsapp-message-image\">3. <strong>Send WhatsApp Message Image</strong></h4>\n<p><strong>POST</strong> <code>/send-message/image</code></p>\n<p><strong>Description</strong>: Sends a message with an image to a provided whatsapp contact(must be in international format).</p>\n<h4 id=\"4-get-chats\">4. Get Chats</h4>\n<p>GET <code>/chats?token=:token&amp;userId=:userId</code></p>\n<p><strong>Description</strong>: Get all whatsapp conversations</p>\n<h4 id=\"5-get-chat-details\">5. Get Chat Details</h4>\n<p>GET <code>/chats/:chatId?token=:token&amp;userId=:userId</code></p>\n<p><strong>Description</strong>: Get all messages in a single conversation or chat</p>\n","_postman_id":"60cda36c-57d9-437a-ae67-3a901681554e"},{"name":"Partner/Reseller Endpoints","item":[{"name":"Create User","id":"3890047d-46ac-4d7f-a7f8-3bfba3ea04c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Alpha\",\r\n    \"phone\": \"256747788562\",\r\n    \"partnerUserId\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.themarkter.com/create-user","description":"<p>You can get your partner user id from the markter dashboard</p>\n","urlObject":{"path":["create-user"],"host":["https://api.themarkter.com"],"query":[],"variable":[]}},"response":[{"id":"f50b6b58-a821-424a-9b96-d0b5372de84b","name":"Create User","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Alpha\",\r\n    \"phone\": \"256747788562\",\r\n    \"partnerUserId\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.themarkter.com/create-user"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"144"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Etag","value":"W/\"90-KHEuKdzKwUHjuuVHfssGbsRE78g\""},{"key":"Function-Execution-Id","value":"h7qybqr97jvb"},{"key":"Server","value":"Google Frontend"},{"key":"Strict-Transport-Security","value":"max-age=31556926"},{"key":"X-Cloud-Trace-Context","value":"44a7625ade8233d9fb78cc3cf60987f9;o=1"},{"key":"X-Country-Code","value":"UG"},{"key":"X-Powered-By","value":"Express"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Tue, 17 Feb 2026 14:07:58 GMT"},{"key":"X-Served-By","value":"cache-jnb7022-JNB"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"X-Timer","value":"S1771337276.446444,VS0,VE1935"},{"key":"Vary","value":"cookie,need-authorization, x-fh-requested-host, accept-encoding"},{"key":"alt-svc","value":"h3=\":443\";ma=86400,h3-29=\":443\";ma=86400,h3-27=\":443\";ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Partner User Created Successfully\",\n    \"userId\": \"DEADPL-WZGBN\",\n    \"token\": \"S1Ql0DFJ8FuoOZ0MOyeBXhBlJPvvORY1\",\n    \"status\": \"200\"\n}"}],"_postman_id":"3890047d-46ac-4d7f-a7f8-3bfba3ea04c7"},{"name":"Allocate Days To A User","id":"2cf4c431-b92b-40a8-8386-dfe837d8cc19","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"days\": 1,\r\n    \"userId\": \"STARLD-LGXEN\",\r\n    \"partnerUserId\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.themarkter.com/allocate-days","description":"<p>The user id is returned when the user is created</p>\n","urlObject":{"path":["allocate-days"],"host":["https://api.themarkter.com"],"query":[],"variable":[]}},"response":[{"id":"f531eb2e-bf6d-4b4a-8903-536385b97de8","name":"Allocate Days To A User","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"days\": 1,\r\n    \"userId\": \"DEADPL-WZGBN\",\r\n    \"partnerUserId\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.themarkter.com/allocate-days"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"87"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Etag","value":"W/\"57-d44LXKae2uCDG8DVoqY6fa/W8xw\""},{"key":"Function-Execution-Id","value":"fqrhuvifl3z2"},{"key":"Server","value":"Google Frontend"},{"key":"Strict-Transport-Security","value":"max-age=31556926"},{"key":"X-Cloud-Trace-Context","value":"32d5caef85cf4d4ab8b29439ce90f1b1"},{"key":"X-Country-Code","value":"UG"},{"key":"X-Powered-By","value":"Express"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Tue, 17 Feb 2026 14:08:44 GMT"},{"key":"X-Served-By","value":"cache-jnb7022-JNB"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"X-Timer","value":"S1771337323.685617,VS0,VE1426"},{"key":"Vary","value":"cookie,need-authorization, x-fh-requested-host, accept-encoding"},{"key":"alt-svc","value":"h3=\":443\";ma=86400,h3-29=\":443\";ma=86400,h3-27=\":443\";ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"1 allocated to user\",\n    \"userId\": \"DEADPL-WZGBN\",\n    \"status\": \"200\"\n}"}],"_postman_id":"2cf4c431-b92b-40a8-8386-dfe837d8cc19"},{"name":"Generate QR Code","id":"ebef13e7-8a8f-40be-a454-f7a04741e050","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.themarkter.com/generate-qr-code/:token/:userId","urlObject":{"path":["generate-qr-code",":token",":userId"],"host":["https://api.themarkter.com"],"query":[],"variable":[{"description":{"content":"<p>This is the token that is returned when you create the user using the Create User Endpoint</p>\n","type":"text/plain"},"type":"any","value":"YgwTdc6LEDGpSQC5IlTejHaIYoxOTUbJ","key":"token"},{"type":"any","value":"ROCKET-4WQQ8","key":"userId"}]}},"response":[],"_postman_id":"ebef13e7-8a8f-40be-a454-f7a04741e050"},{"name":"Generate WhatsApp Login Code","id":"9ef6db5f-b5e1-42c2-8605-4782ef97a17c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.themarkter.com/generate-whatsapp-otp/:token/:phoneNumber/:partnerUserId","urlObject":{"path":["generate-whatsapp-otp",":token",":phoneNumber",":partnerUserId"],"host":["https://api.themarkter.com"],"query":[],"variable":[{"description":{"content":"<p>This is the token that is returned when you create the user using the Create User Endpoint</p>\n","type":"text/plain"},"type":"any","value":"R77AsdWHEBeGBHTYZyUcyRPhEcvGRUa7","key":"token"},{"description":{"content":"<p>Reseller's Customer's Contact</p>\n","type":"text/plain"},"type":"any","value":"256747788562","key":"phoneNumber"},{"type":"any","value":"","key":"partnerUserId"}]}},"response":[{"id":"d5ebc14f-d470-49ab-acc5-93533ae6c346","name":"Generate WhatsApp Login Code","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.themarkter.com/generate-whatsapp-otp/:token/:phoneNumber/:partnerUserId","host":["https://api.themarkter.com"],"path":["generate-whatsapp-otp",":token",":phoneNumber",":partnerUserId"],"variable":[{"key":"token","value":"S1Ql0DFJ8FuoOZ0MOyeBXhBlJPvvORY1","description":"This is the token that is returned when you create the user using the Create User Endpoint"},{"key":"phoneNumber","value":"256747788562","description":"Reseller's Customer's Contact"},{"key":"partnerUserId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"97"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Etag","value":"W/\"61-H9s7+JDaAcc817SszIS96LulO0E\""},{"key":"Function-Execution-Id","value":"ihua38cy3ggf"},{"key":"Server","value":"Google Frontend"},{"key":"Strict-Transport-Security","value":"max-age=31556926"},{"key":"X-Cloud-Trace-Context","value":"96b7d799e594310976c86701712d63ab;o=1"},{"key":"X-Country-Code","value":"UG"},{"key":"X-Powered-By","value":"Express"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Tue, 17 Feb 2026 14:10:14 GMT"},{"key":"X-Served-By","value":"cache-jnb7022-JNB"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"X-Timer","value":"S1771337411.506227,VS0,VE4417"},{"key":"Vary","value":"cookie,need-authorization, x-fh-requested-host, accept-encoding"},{"key":"alt-svc","value":"h3=\":443\";ma=86400,h3-29=\":443\";ma=86400,h3-27=\":443\";ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"WhatsApp OTP Generated Successfully\",\n    \"otp\": \"A4NE-692P\",\n    \"status\": \"200\"\n}"}],"_postman_id":"9ef6db5f-b5e1-42c2-8605-4782ef97a17c"},{"name":"Confirm WhatsApp Connection","id":"f4da5433-8251-43cf-964e-86cf61f38248","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.themarkter.com/confirm-connection/:token/:userId/:partnerUserId","urlObject":{"path":["confirm-connection",":token",":userId",":partnerUserId"],"host":["https://api.themarkter.com"],"query":[],"variable":[{"description":{"content":"<p>This is the token that is returned when you create the user using the Create User Endpoint</p>\n","type":"text/plain"},"type":"any","value":"S1Ql0DFJ8FuoOZ0MOyeBXhBlJPvvORY1","key":"token"},{"description":{"content":"<p>This user id is returned when after using the Create User endpoint</p>\n","type":"text/plain"},"type":"any","value":"DEADPL-WZGBN","key":"userId"},{"type":"any","value":"06o0frAesgTDJlguP8aoc5vXRKs1","key":"partnerUserId"}]}},"response":[{"id":"e85bc368-69d0-4657-9638-91b8352395e7","name":"Confirm WhatsApp Connection","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.themarkter.com/confirm-connection/:token/:userId/:partnerUserId","host":["https://api.themarkter.com"],"path":["confirm-connection",":token",":userId",":partnerUserId"],"variable":[{"key":"token","value":"S1Ql0DFJ8FuoOZ0MOyeBXhBlJPvvORY1","description":"This is the token that is returned when you create the user using the Create User Endpoint"},{"key":"userId","value":"DEADPL-WZGBN","description":"This user id is returned when after using the Create User endpoint"},{"key":"partnerUserId","value":"06o0frAesgTDJlguP8aoc5vXRKs1"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"103"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Etag","value":"W/\"67-ChkHm35E4XiGEkfP59nS5FdkFts\""},{"key":"Function-Execution-Id","value":"85brdzo51t06"},{"key":"Server","value":"Google Frontend"},{"key":"Strict-Transport-Security","value":"max-age=31556926"},{"key":"X-Cloud-Trace-Context","value":"b57fd5f3ab1e570ade65640f92580218"},{"key":"X-Country-Code","value":"UG"},{"key":"X-Powered-By","value":"Express"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Tue, 17 Feb 2026 14:12:10 GMT"},{"key":"X-Served-By","value":"cache-jnb7026-JNB"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"X-Timer","value":"S1771337530.625067,VS0,VE1173"},{"key":"Vary","value":"cookie,need-authorization, x-fh-requested-host, accept-encoding"},{"key":"alt-svc","value":"h3=\":443\";ma=86400,h3-29=\":443\";ma=86400,h3-27=\":443\";ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Connection Confirmed\",\n    \"name\": \"PinnKET\",\n    \"image\": \"\",\n    \"phone\": \"\",\n    \"status\": \"200\"\n}"}],"_postman_id":"f4da5433-8251-43cf-964e-86cf61f38248"},{"name":"Delete User","id":"989410fa-1363-46c1-bb74-3c107f25ab9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.themarkter.com/delete-user/:userId/:token/:partnerUserId","urlObject":{"path":["delete-user",":userId",":token",":partnerUserId"],"host":["https://api.themarkter.com"],"query":[],"variable":[{"description":{"content":"<p>This user id is returned when after using the Create User endpoint</p>\n","type":"text/plain"},"type":"any","value":"IRONMN-JTQSN","key":"userId"},{"description":{"content":"<p>This is the token that is returned when you create the user using the Create User Endpoint</p>\n","type":"text/plain"},"type":"any","value":"Fd2W19NCAce34x01joKrZbX8WHU3wGUF","key":"token"},{"type":"any","value":"","key":"partnerUserId"}]}},"response":[{"id":"1556dad3-70e6-4a6c-a1fe-59de662e2c76","name":"Delete User","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://api.themarkter.com/delete-user/:userId/:token/:partnerUserId","host":["https://api.themarkter.com"],"path":["delete-user",":userId",":token",":partnerUserId"],"variable":[{"key":"userId","value":"DEADPL-WZGBN","description":"This user id is returned when after using the Create User endpoint"},{"key":"token","value":"S1Ql0DFJ8FuoOZ0MOyeBXhBlJPvvORY1","description":"This is the token that is returned when you create the user using the Create User Endpoint"},{"key":"partnerUserId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"123"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Etag","value":"W/\"7b-F2tvBmMtFSAD4SUCQMJzEP7UEkQ\""},{"key":"Function-Execution-Id","value":"7jebw0bvhy9x"},{"key":"Server","value":"Google Frontend"},{"key":"Strict-Transport-Security","value":"max-age=31556926"},{"key":"X-Cloud-Trace-Context","value":"063d1e0274dcfd5830160f20bd9e236a;o=1"},{"key":"X-Country-Code","value":"UG"},{"key":"X-Powered-By","value":"Express"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Tue, 17 Feb 2026 14:19:42 GMT"},{"key":"X-Served-By","value":"cache-jnb7025-JNB"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"X-Timer","value":"S1771337975.314639,VS0,VE7144"},{"key":"Vary","value":"cookie,need-authorization, x-fh-requested-host, accept-encoding"},{"key":"alt-svc","value":"h3=\":443\";ma=86400,h3-29=\":443\";ma=86400,h3-27=\":443\";ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"message\": \"Partner user deleted successfully\",\n    \"reallocatedChannels\": 1,\n    \"channelsRemaining\": 3,\n    \"status\": \"200\"\n}"}],"_postman_id":"989410fa-1363-46c1-bb74-3c107f25ab9e"},{"name":"Get Partner Info","id":"cfce728e-c964-456a-b6b6-03ea06d3c019","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.themarkter.com/get-partner?partnerUserId=","urlObject":{"path":["get-partner"],"host":["https://api.themarkter.com"],"query":[{"key":"partnerUserId","value":""}],"variable":[]}},"response":[],"_postman_id":"cfce728e-c964-456a-b6b6-03ea06d3c019"},{"name":"Get Partner Users","id":"1a7f163b-9a6c-43b8-a3d8-6d59e2090c0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.themarkter.com/get-users?partnerUserId=","urlObject":{"path":["get-users"],"host":["https://api.themarkter.com"],"query":[{"key":"partnerUserId","value":""}],"variable":[]}},"response":[{"id":"193aacbb-92ef-464a-9b8d-739bd21523ec","name":"Get Partner Users","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.themarkter.com/get-users?partnerUserId=","host":["https://api.themarkter.com"],"path":["get-users"],"query":[{"key":"partnerUserId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Connection","value":"keep-alive"},{"key":"Content-Length","value":"461"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"private"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Etag","value":"W/\"1cd-MRzWo859hCwwsvG1XgWlVSKElVo\""},{"key":"Function-Execution-Id","value":"fl3d9a9ceb8z"},{"key":"Server","value":"Google Frontend"},{"key":"Strict-Transport-Security","value":"max-age=31556926"},{"key":"X-Cloud-Trace-Context","value":"776983768aaff79e57b6830c9a4e3330;o=1"},{"key":"X-Country-Code","value":"UG"},{"key":"X-Powered-By","value":"Express"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Date","value":"Tue, 17 Feb 2026 14:23:14 GMT"},{"key":"X-Served-By","value":"cache-jnb7021-JNB"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"X-Timer","value":"S1771338190.019207,VS0,VE4166"},{"key":"Vary","value":"cookie,need-authorization, x-fh-requested-host, accept-encoding"},{"key":"alt-svc","value":"h3=\":443\";ma=86400,h3-29=\":443\";ma=86400,h3-27=\":443\";ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"users\": [\n        {\n            \"id\": \"DRAXTH-VTBKV\",\n            \"token\": \"97Bd6OvpSv3AhA9vnUscfGLgg79AhxhA\",\n            \"name\": \"pinnket\",\n            \"phone\": \"256747788562\",\n            \"dateCreated\": {\n                \"_seconds\": 1771338062,\n                \"_nanoseconds\": 103000000\n            },\n            \"connected\": false,\n            \"days\": 0\n        },\n        {\n            \"id\": \"ROCKET-4WQQ8\",\n            \"token\": \"YgwTdc6LEDGpSQC5IlTejHaIYoxOTUbJ\",\n            \"name\": \"pinnn\",\n            \"phone\": \"256747788562\",\n            \"dateCreated\": {\n                \"_seconds\": 1771338168,\n                \"_nanoseconds\": 877000000\n            },\n            \"connected\": false,\n            \"days\": 0\n        }\n    ],\n    \"total\": 2,\n    \"channelsRemaining\": 1,\n    \"status\": \"200\"\n}"}],"_postman_id":"1a7f163b-9a6c-43b8-a3d8-6d59e2090c0b"}],"id":"114cd1d8-2b1f-4447-89c8-fb3dff6c54ac","description":"<h2 id=\"markter-reseller-onboarding-api\">Markter Reseller Onboarding API</h2>\n<p><strong>Base URL</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{{base_url}}   https://api.themarkter.com\n\n</code></pre><p><strong>Common Headers</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Key</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Content‑Type</td>\n<td>application/json</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"⚙️-step-1-create-a-reseller-user\">⚙️ Step 1: Create a Reseller User</h3>\n<blockquote>\n</blockquote>\n<p><strong>Endpoint</strong><br /><code>PUT /create-user</code></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>name</td>\n<td>String</td>\n<td>The display name for this WhatsApp channel or your clients name</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>String</td>\n<td>International‑format phone number (e.g. <code>+256700123456</code>)</td>\n</tr>\n<tr>\n<td>partnerUserId</td>\n<td>String</td>\n<td>Your partner user ID</td>\n</tr>\n</tbody>\n</table>\n</div><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"name\": \"Acme Corp Ops\",\n  \"phone\": \"+256700123456\",\n  \"partnerUserId\": \"{{PARTNER_USER_ID}}\"\n}\n\n</code></pre>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"message\": \"Partner User Created Successfully\",\n  \"userId\": \"5f8d0c9a6b1e8a0017c0a123\",\n  \"token\": \"eyJhbGciOiJIUzI1...\",\n  \"status\": \"200\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"⚡-step-2-option-a-generate-a-qr-code-for-login\">⚡ Step 2 (option A): Generate a QR Code for Login</h3>\n<blockquote>\n</blockquote>\n<p><strong>Endpoint</strong><br /><code>GET /generate-qr-code/:token/:partnerUserId</code></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>URL Param</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>token</td>\n<td>The <code>token</code> returned by <strong>Step 1</strong></td>\n</tr>\n<tr>\n<td>partnerUserId</td>\n<td>Your internal reseller ID</td>\n</tr>\n</tbody>\n</table>\n</div><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET {{base_url}}/generate-qr-code/{{STEP1_TOKEN}}/{{PARTNER_USER_ID}}\n\n</code></pre><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"message\": \"QR Code Generated Successfully\",\n  \"qrCode\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgA...\",\n  \"status\": \"200\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"⚡-step-2-option-b-generate-a-whatsapp-otp-for-login\">⚡ Step 2 (option B): Generate a WhatsApp OTP for Login</h3>\n<blockquote>\n</blockquote>\n<p><strong>Endpoint</strong><br /><code>GET /generate-whatsapp-otp/:token/:phone/:partnerUserId</code></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>URL Param</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>token</td>\n<td>The <code>token</code> returned by <strong>Step 1</strong></td>\n</tr>\n<tr>\n<td>phone</td>\n<td>The same phone number you registered (no <code>+</code>)</td>\n</tr>\n<tr>\n<td>partnerUserId</td>\n<td>Your internal reseller ID</td>\n</tr>\n</tbody>\n</table>\n</div><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET {{base_url}}/generate-whatsapp-otp/{{STEP1_TOKEN}}/256700123456/{{PARTNER_USER_ID}}\n\n</code></pre><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"message\": \"WhatsApp OTP Generated Successfully\",\n  \"otp\": \"123456\",\n  \"status\": \"200\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"🔗-step-3-confirm-connection--retrieve-profile\">🔗 Step 3: Confirm Connection &amp; Retrieve Profile</h3>\n<blockquote>\n</blockquote>\n<p><strong>Endpoint</strong><br /><code>GET /confirm-connection/:token/:userId/:partnerUserId</code></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>URL Param</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>token</td>\n<td>The <code>token</code> returned by <strong>Step 1</strong></td>\n</tr>\n<tr>\n<td>userId</td>\n<td>The <code>userId</code> returned by <strong>Step 1</strong></td>\n</tr>\n<tr>\n<td>partnerUserId</td>\n<td>Your internal reseller ID</td>\n</tr>\n</tbody>\n</table>\n</div><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET {{base_url}}/confirm-connection/{{STEP1_TOKEN}}/{{STEP1_USERID}}/{{PARTNER_USER_ID}}\n\n</code></pre><pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"message\": \"Connection Confirmed\",\n  \"name\": \"Acme Corp Ops\",\n  \"image\": \"https://...\",\n  \"phone\": \"256700123456\",\n  \"status\": \"200\"\n}\n\n</code></pre>\n<hr />\n<blockquote>\n</blockquote>\n<p><strong>Next Steps</strong>  </p>\n<p>• Store the returned channel token and userId for your own workflows.  </p>\n<p>• You can now send messages on behalf of this user via the normal Markter APIs.  </p>\n<p>• To remove a channel and reclaim quota, use the <code>DELETE /delete-user/:userId/:token/:partnerUserId</code> endpoint.</p>\n","_postman_id":"114cd1d8-2b1f-4447-89c8-fb3dff6c54ac"},{"name":"General","item":[{"name":"Check if contact(s) is/are on whatsapp","id":"bab50c93-a54d-4761-af7e-eed3dad72902","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"token\": \"{{whatsAppToken}}\",\r\n    \"userId\": \"userId\",\r\n    \"contacts\": [\r\n        \"256750388826\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://api.themarkter.com/check-contacts","urlObject":{"path":["check-contacts"],"host":["https://api.themarkter.com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bab50c93-a54d-4761-af7e-eed3dad72902"}],"id":"4cd003d3-b0ad-477a-a4ea-df2324dd00bb","_postman_id":"4cd003d3-b0ad-477a-a4ea-df2324dd00bb","description":""}],"event":[{"listen":"prerequest","script":{"id":"5f742e25-ba10-42db-8f3a-668210811a61","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b242cf81-7a1f-4874-8bea-6b84a3cd11ad","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://api.themarkter.com"},{"key":"apiToken","value":"apiToken","type":"string"},{"key":"userId","value":"userId","type":"string"},{"key":"chatId","value":"chatId","type":"string"},{"key":"partnerUserId","value":"","type":"default"}]}