{"items":[{"type":"link","label":"eCommunicate Omnichannel Integration API","link":"/apis/omnichannel","routeSlug":"/apis/omnichannel","content":{"contentType":"overview","meta":{"name":"eCommunicate Omnichannel Integration API"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"omnichannel.json","url":"/_bundle/apis/omnichannel.json?download"},{"kind":"download","label":"omnichannel.yaml","url":"/_bundle/apis/omnichannel.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[{"kind":"externallink","title":"URL","titleTranslationKey":"info.contact.url","label":"https://www.ecommunicate.co.za/","url":"https://www.ecommunicate.co.za/"},{"kind":"email","title":"E-mail","titleTranslationKey":"info.contact.name","email":"support@ecommunicate.co.za","label":"support@ecommunicate.co.za","withCopyButton":true,"copyContent":"support@ecommunicate.co.za"},{"kind":"externallink","title":"License","titleTranslationKey":"info.license","label":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"python","title":"Python","lang":"Python"},{"key":"java","title":"Java","lang":"Java"},{"key":"csharp","title":"C#","lang":"C#"},{"key":"php","title":"PHP","lang":"PHP"},{"key":"go","title":"Go","lang":"Go"},{"key":"ruby","title":"Ruby","lang":"Ruby"},{"key":"r","title":"R","lang":"R"},{"key":"payload","title":"Payload","lang":"Payload"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"eCommunicate Omnichannel Integration API (3.0.0)","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[]}],"sectionId":"/"}],"sectionId":"/"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":1,"id":"section/overview"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Overview"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The eCommunicate Omnichannel Integration API lets you send and receive messages across "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"WhatsApp Cloud"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"WhatsApp Lite"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"SMS"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" from a single platform. Use it to send template notifications, handle live customer conversations, manage contacts, track delivery, and download reports."},"children":[],"type":"text"}],"type":"paragraph"}]}],"sectionId":"/section/overview"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":2,"id":"section/overview/quick-start"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Quick start"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Get your API key"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — call "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your email, password, and client reference. No existing key required."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Send a message"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /v2/messages"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your template and recipient. The response returns a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"requestId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for tracking."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Track delivery"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — configure a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"#tag/Webhook-Configuration"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"webhook"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or poll "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /message/status/gstid"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]}],"sectionId":"/section/overview/quick-start"}],"sectionId":"/section/overview/quick-start"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":2,"id":"section/overview/authentication"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Every request requires your "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Developer Key"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (a UUID) in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header. No "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix — pass the key directly."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"content":"Authorization: a1b2c3d4-e5f6-7890-abcd-ef1234567890\n"},"children":[{"$$mdtype":"Node","attributes":{"content":"Authorization: a1b2c3d4-e5f6-7890-abcd-ef1234567890\n"},"children":[],"type":"text"}],"type":"fence"}]}],"sectionId":"/section/overview/authentication"}],"sectionId":"/section/overview/authentication"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":2,"id":"section/overview/platform-comparison"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Platform comparison"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Capability"},"children":[],"type":"text"}],"type":"th"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"WhatsApp Cloud"},"children":[],"type":"text"}],"type":"th"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"WhatsApp Lite"},"children":[],"type":"text"}],"type":"th"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"SMS"},"children":[],"type":"text"}],"type":"th"}],"type":"tr"}],"type":"thead"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Template messages"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Yes"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Yes"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"—"},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Session (chat) messages"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Yes (24-hour window)"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Yes (any time)"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"—"},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"SMS fallback"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Yes"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Yes"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"—"},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"QR code connection"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"—"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Yes"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"—"},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Groups"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"—"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Yes"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"—"},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Contacts sync"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"—"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Yes"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"—"},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Direct SMS"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"—"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"—"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Yes"},"children":[],"type":"text"}],"type":"td"}],"type":"tr"}],"type":"tbody"}],"type":"table"}]}],"sectionId":"/section/overview/platform-comparison"}],"sectionId":"/section/overview/platform-comparison"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":2,"id":"section/overview/messaging-rules"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Messaging rules"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Notification messages"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" require "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"templateName"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"templateId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Templates must be approved by Meta before use."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Body parameters"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — if your template body contains "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"{{1}}"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"{{2}}"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", etc., include a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"body"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" component with matching parameters."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Media templates"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" require a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"header"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" component specifying the format ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"IMAGE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"VIDEO"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"DOCUMENT"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") and a media URL."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Button templates"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" require a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"button"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" component with the button index and parameter values."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Carousel templates"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" require a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"carousel"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" component containing a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"cards"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" array, each with its own header, body, and buttons."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Chat messages"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"messageType: CHAT"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") can only be sent within the 24-hour customer service window on WhatsApp Cloud. WhatsApp Lite has no window restriction."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]}],"sectionId":"/section/overview/messaging-rules"}],"sectionId":"/section/overview/messaging-rules"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":2,"id":"section/overview/sms-encoding"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"SMS encoding"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Encoding"},"children":[],"type":"text"}],"type":"th"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Flag"},"children":[],"type":"text"}],"type":"th"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Chars per part"},"children":[],"type":"text"}],"type":"th"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Multipart chars"},"children":[],"type":"text"}],"type":"th"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Best for"},"children":[],"type":"text"}],"type":"th"}],"type":"tr"}],"type":"thead"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"GSM 7-bit"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"unicode: false"},"children":[],"type":"code"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"160"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"153"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"English, basic Latin"},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Unicode"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"unicode: true"},"children":[],"type":"code"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"70"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"67"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Emoji, non-Latin scripts"},"children":[],"type":"text"}],"type":"td"}],"type":"tr"}],"type":"tbody"}],"type":"table"}]}],"sectionId":"/section/overview/sms-encoding"}],"sectionId":"/section/overview/sms-encoding"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":2,"id":"section/overview/webhooks"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Webhooks"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Configure webhook URLs to receive real-time events:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Incoming messages"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"incomingMessageURL"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") — customer messages with text, media, location, buttons, reactions, or contacts."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Status updates"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"statusUpdateURL"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") — delivery receipts tracking the lifecycle: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ACCEPTED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" → "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SENT"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" → "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"DELIVERED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" → "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"READ"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" → "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"PLAYED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FAILED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Session status"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sessionStatusURL"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") — WhatsApp Lite connection state changes."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Platform events"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"eventWebhookURL"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") — template approvals/rejections, quality rating changes, user preferences, number migrations."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Chatbot conversations"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"chatbotWebhookURL"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") — chatbot conversation events with chat participant context (participant id, conversation status, agent assignment). Optionally include outgoing bot replies and/or stop emitting once a chat is assigned to a human agent."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Each configuration applies at one of two scopes: a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"client default"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"whatsAppNumberId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" omitted) covering every WhatsApp number under your client, or a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"per-number override"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"whatsAppNumberId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" set) targeting one specific number. The platform resolves overrides first and falls back to the default at dispatch time."},"children":[],"type":"text"}],"type":"paragraph"}]}],"sectionId":"/section/overview/webhooks"}],"sectionId":"/section/overview/webhooks"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":2,"id":"section/overview/whatsapp-account-and-number-health"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"WhatsApp account and number health"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Applies to: WhatsApp Cloud API only."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" WhatsApp Lite numbers are not subject to Meta's quality rating system, messaging tiers, or template review process."},"children":[],"type":"text"}],"type":"paragraph"}],"type":"blockquote"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Maintaining good account health is critical for reliable message delivery. Meta monitors how recipients interact with your messages and assigns quality ratings that directly affect your sending capacity."},"children":[],"type":"text"}],"type":"paragraph"}]}],"sectionId":"/section/overview/whatsapp-account-and-number-health"}],"sectionId":"/section/overview/whatsapp-account-and-number-health"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":3,"id":"section/overview/summary-of-proactive-steps-to-prevent-your-marketing-whatsapp-number-from-being-blocked"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Summary of proactive steps to prevent your marketing WhatsApp number from being blocked"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Take these steps to protect your WhatsApp number's sending ability:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Set up quick replies for opt-out"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — Configure a quick reply that allows recipients to indicate they want to stop receiving marketing messages. When you receive an opt-out request, immediately remove the recipient's WhatsApp number from the marketing campaign. The goal is to handle opt-outs before the recipient clicks \"Block\" or reports the message to Meta, which could result in Meta restricting or blocking your WhatsApp number from sending messages."},"children":[],"type":"text"}],"type":"paragraph"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"user_preferences"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" webhook"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — Continuously check the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"user_preferences"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" webhook for changes to the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"PREFERENCE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" field. Possible values:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"stop"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — The WhatsApp user has opted to stop receiving marketing messages from you."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"resume"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — The WhatsApp user has opted to resume receiving marketing messages from you."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"stop"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" preference is received, immediately remove the recipient from all active marketing campaigns. See Meta reference: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://developers.facebook.com/documentation/business-messaging/whatsapp/webhooks/reference/user_preferences"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"user_preferences webhook reference"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"phone_number_quality_update"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" webhook"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — Track quality updates for your WhatsApp marketing number. You may receive downgrades where "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"MAX_DAILY_MESSAGES_LIMIT"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" drops as low as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"TIER_50"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (a messaging limit of 50 recipients). After a downgrade, quality can recover and upgrade to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"TIER_100K"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (100,000 recipients) or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"TIER_UNLIMITED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". If you receive a downgrade, urgently verify that all recipients who have indicated they do not want to receive WhatsApp messages have been removed from your campaigns. See Meta reference: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://developers.facebook.com/documentation/business-messaging/whatsapp/webhooks/reference/phone_number_quality_update"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"phone_number_quality_update webhook reference"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"type":"item"}],"type":"list"}]}],"sectionId":"/section/overview/summary-of-proactive-steps-to-prevent-your-marketing-whatsapp-number-from-being-blocked"}],"sectionId":"/section/overview/summary-of-proactive-steps-to-prevent-your-marketing-whatsapp-number-from-being-blocked"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":3,"id":"section/overview/quality-ratings"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Quality ratings"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Each WhatsApp number has a quality rating based on recipient feedback:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Rating"},"children":[],"type":"text"}],"type":"th"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Meaning"},"children":[],"type":"text"}],"type":"th"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Impact"},"children":[],"type":"text"}],"type":"th"}],"type":"tr"}],"type":"thead"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"High"},"children":[],"type":"text"}],"type":"strong"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Little to no recipient dissatisfaction"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Full sending capacity"},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Medium"},"children":[],"type":"text"}],"type":"strong"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Some recipient dissatisfaction detected"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitor and adjust content"},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Low"},"children":[],"type":"text"}],"type":"strong"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"High recipient dissatisfaction"},"children":[],"type":"text"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Flagged status — limited ability to start new conversations"},"children":[],"type":"text"}],"type":"td"}],"type":"tr"}],"type":"tbody"}],"type":"table"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When a number drops to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Low"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" quality, it enters a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Flagged"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" status. If quality improves within 7 days, the status resets to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Connected"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Continued poor quality may result in further restrictions or suspension."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Quality ratings and messaging limits are applied "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"per phone number"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", but policy violations on any number affect the entire WhatsApp Business Account (WABA)."},"children":[],"type":"text"}],"type":"paragraph"}]}],"sectionId":"/section/overview/quality-ratings"}],"sectionId":"/section/overview/quality-ratings"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":3,"id":"section/overview/messaging-limit-tiers"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Messaging limit tiers"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Your messaging limit determines how many unique customers you can message within a 24-hour period:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Tier"},"children":[],"type":"text"}],"type":"th"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Unique customers per 24 hours"},"children":[],"type":"text"}],"type":"th"}],"type":"tr"}],"type":"thead"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"TIER_1K"},"children":[],"type":"code"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"1,000"},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"TIER_10K"},"children":[],"type":"code"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"10,000"},"children":[],"type":"text"}],"type":"td"}],"type":"tr"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"TIER_100K"},"children":[],"type":"code"}],"type":"td"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"100,000"},"children":[],"type":"text"}],"type":"td"}],"type":"tr"}],"type":"tbody"}],"type":"table"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Meta automatically increases your tier when you consistently send high-quality messages. Conversely, poor quality ratings can reduce your tier."},"children":[],"type":"text"}],"type":"paragraph"}]}],"sectionId":"/section/overview/messaging-limit-tiers"}],"sectionId":"/section/overview/messaging-limit-tiers"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":3,"id":"section/overview/monitoring-health"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Monitoring health"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Use the following to monitor your number and template health:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Number Health"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /payless4messaging-service/WhatsApp/WhatsAppClientNumbers/getForCurrentLoginUser"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"qualityRating"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"messagingLimitTier"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"lastQualityUpdateTime"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for each number."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Template health"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /whatsapp-api-service/whatsAppTemplates/getWhatsAppClientTemplates"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" returns the quality status for each template per number."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Webhooks"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — configure an "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"eventWebhookURL"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to receive real-time "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"phone_number_quality_update"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"message_template_status_update"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" events."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Meta Business Manager"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — check the Phone Number Quality and Template Quality columns directly in the WhatsApp Manager."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]}],"sectionId":"/section/overview/monitoring-health"}],"sectionId":"/section/overview/monitoring-health"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":3,"id":"section/overview/template-quality-best-practices"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Template quality best practices"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Meta reviews every template before approval. To maintain high template quality:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Be explicit"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — the recipient must have opted in to receive the message."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Be timely"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — send shortly after user engagement, not weeks later."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Be relevant"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — personalise content, keep it useful, and include a clear call to action."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Use descriptive names"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — name templates like "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"order_confirmation"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"appointment_reminder"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", not "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"template_01"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Avoid common rejection reasons"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — vague content, incorrect language tags, overuse of emojis or excessive promotional tone, and malformed parameters ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"{{1}}"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"{{2}}"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Choose the correct category"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — do not mix marketing and utility content in a single template."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]}],"sectionId":"/section/overview/template-quality-best-practices"}],"sectionId":"/section/overview/template-quality-best-practices"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":3,"id":"section/overview/opt-out-compliance-for-marketing-templates"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Opt-out compliance for marketing templates"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Marketing templates "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"must"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" include an opt-out mechanism. This is a Meta policy requirement that directly impacts your account health."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Requirements:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Include a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"quick-reply opt-out button"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (e.g. \"Stop promotions\") in your marketing templates, especially for:"},"children":[],"type":"text"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The first message of a new campaign"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Messages sent after a long gap in marketing communication"},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Messages sent to inactive or re-engaged users"},"children":[],"type":"text"}],"type":"item"}],"type":"list"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Honour opt-out requests immediately"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" across all numbers on your account."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Recognised opt-out keywords:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" When a recipient replies with any of the following words, eCommunicate automatically treats it as an opt-out: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"STOP"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"END"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"CANCEL"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"UNSUBSCRIBE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"QUIT"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"How eCommunicate handles opt-outs:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When a recipient opts out, eCommunicate "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"automatically blocks that number"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — no further marketing messages will be sent to it."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"You can query blocked numbers via "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /payless4messaging-service/WhatsApp/WhatsAppBlockedNumber/getForCurrentLoginUser"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to see all opt-out blocks."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If a recipient opts back in, remove them from the blocked list to resume messaging."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Why this matters:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Reduces block rate"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — recipients who can opt out gracefully are far less likely to block or report your number, which is the primary signal Meta uses to downgrade quality ratings."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Prevents campaigns from being flagged or paused by Meta."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Enables faster messaging limit tier upgrades."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Ensures compliance with Meta's messaging policies."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]}],"sectionId":"/section/overview/opt-out-compliance-for-marketing-templates"}],"sectionId":"/section/overview/opt-out-compliance-for-marketing-templates"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":3,"id":"section/overview/account-ownership"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Account ownership"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The WABA must be owned by the business sending the messages. Do not add unrelated businesses to your Meta Business Portfolio. Violations result in account restriction or suspension."},"children":[],"type":"text"}],"type":"paragraph"}]}],"sectionId":"/section/overview/account-ownership"}],"sectionId":"/section/overview/account-ownership"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":2,"id":"section/overview/rate-limits-and-pagination"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Rate limits & pagination"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API rate limits return "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"429 Too Many Requests"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — implement exponential backoff. All list endpoints use page-based pagination with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"page"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (zero-based) and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"size"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" parameters. See the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/rate-limits"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Rate Limits guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for details."},"children":[],"type":"text"}],"type":"paragraph"}]}],"sectionId":"/section/overview/rate-limits-and-pagination"}],"sectionId":"/section/overview/rate-limits-and-pagination"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":2,"id":"section/overview/support"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Support"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Contact "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"mailto:support@ecommunicate.co.za"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"support@ecommunicate.co.za"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for account issues, rate limit increases, or integration help. Always include the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"requestId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" from API responses when reporting issues."},"children":[],"type":"text"}],"type":"paragraph"}]}],"sectionId":"/section/overview/support"}],"sectionId":"/section/overview/support"}]}]}},{"type":"group","label":"Overview","link":"/apis/omnichannel/section/overview","routeSlug":"/apis/omnichannel/section/overview","items":[{"type":"link","label":"Quick start","link":"/apis/omnichannel/section/overview/quick-start","routeSlug":"/apis/omnichannel/section/overview/quick-start","content":null},{"type":"link","label":"Authentication","link":"/apis/omnichannel/section/overview/authentication","routeSlug":"/apis/omnichannel/section/overview/authentication","content":null},{"type":"link","label":"Platform comparison","link":"/apis/omnichannel/section/overview/platform-comparison","routeSlug":"/apis/omnichannel/section/overview/platform-comparison","content":null},{"type":"link","label":"Messaging rules","link":"/apis/omnichannel/section/overview/messaging-rules","routeSlug":"/apis/omnichannel/section/overview/messaging-rules","content":null},{"type":"link","label":"SMS encoding","link":"/apis/omnichannel/section/overview/sms-encoding","routeSlug":"/apis/omnichannel/section/overview/sms-encoding","content":null},{"type":"link","label":"Webhooks","link":"/apis/omnichannel/section/overview/webhooks","routeSlug":"/apis/omnichannel/section/overview/webhooks","content":null},{"type":"link","label":"WhatsApp account and number health","link":"/apis/omnichannel/section/overview/whatsapp-account-and-number-health","routeSlug":"/apis/omnichannel/section/overview/whatsapp-account-and-number-health","content":null},{"type":"link","label":"Summary of proactive steps to prevent your marketing WhatsApp number from being blocked","link":"/apis/omnichannel/section/overview/summary-of-proactive-steps-to-prevent-your-marketing-whatsapp-number-from-being-blocked","routeSlug":"/apis/omnichannel/section/overview/summary-of-proactive-steps-to-prevent-your-marketing-whatsapp-number-from-being-blocked","content":null},{"type":"link","label":"Quality ratings","link":"/apis/omnichannel/section/overview/quality-ratings","routeSlug":"/apis/omnichannel/section/overview/quality-ratings","content":null},{"type":"link","label":"Messaging limit tiers","link":"/apis/omnichannel/section/overview/messaging-limit-tiers","routeSlug":"/apis/omnichannel/section/overview/messaging-limit-tiers","content":null},{"type":"link","label":"Monitoring health","link":"/apis/omnichannel/section/overview/monitoring-health","routeSlug":"/apis/omnichannel/section/overview/monitoring-health","content":null},{"type":"link","label":"Template quality best practices","link":"/apis/omnichannel/section/overview/template-quality-best-practices","routeSlug":"/apis/omnichannel/section/overview/template-quality-best-practices","content":null},{"type":"link","label":"Opt-out compliance for marketing templates","link":"/apis/omnichannel/section/overview/opt-out-compliance-for-marketing-templates","routeSlug":"/apis/omnichannel/section/overview/opt-out-compliance-for-marketing-templates","content":null},{"type":"link","label":"Account ownership","link":"/apis/omnichannel/section/overview/account-ownership","routeSlug":"/apis/omnichannel/section/overview/account-ownership","content":null},{"type":"link","label":"Rate limits & pagination","link":"/apis/omnichannel/section/overview/rate-limits-and-pagination","routeSlug":"/apis/omnichannel/section/overview/rate-limits-and-pagination","content":null},{"type":"link","label":"Support","link":"/apis/omnichannel/section/overview/support","routeSlug":"/apis/omnichannel/section/overview/support","content":null}],"content":null},{"type":"separator","label":"Getting Started","content":null},{"type":"group","label":"Client Management","link":"/apis/omnichannel/client-management","routeSlug":"/apis/omnichannel/client-management","items":[{"label":"Get my client","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/client-management/getmyclient","routeSlug":"/apis/omnichannel/client-management/getmyclient","metadata":{"seo":{"title":"Get my client","description":"Returns the authenticated caller's own client as a ClientResponse — reference, display name, balances, country, and feature flags, with no credentials. The SMS gateway password is never returned. The client is taken from your authentication context."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getMyClient","name":"Get my client","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1me/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get my client","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Returns the authenticated caller's own client as a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ClientResponse"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — reference, display name, balances, country, and feature flags, with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"no credentials"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". The SMS gateway password is never returned. The client is taken from your authentication context."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/api/v1/clients/me","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/api/v1/clients/me","href":"client-management/getmyclient","openApiOperationId":"getMyClient","summary":"Get my client"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The authenticated caller's client (no credentials)","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ClientResponse"}},"schemaId":"components/schemas/ClientResponse"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1me/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ClientResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ClientResponse"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/client-management/getmyclient"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/v1/clients/me"},{"label":"List child clients (v1)","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/client-management/listchildren","routeSlug":"/apis/omnichannel/client-management/listchildren","metadata":{"seo":{"title":"List child clients (v1)","description":"Returns a paginated list of the child clients belonging to the given parent, as credential-free ClientResponse records. Use searchString to filter by client reference or email."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listChildren","name":"List child clients (v1)","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1{clientRef}~1children/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List child clients (v1)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Returns a paginated list of the child clients belonging to the given parent, as credential-free "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ClientResponse"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" records. Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"searchString"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to filter by client reference or email."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"clientRef","in":"path","schemaId":"schema_1","description":"The parent client reference to list children for.","required":true}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1{clientRef}~1children/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page","in":"query","schemaId":"schema_2","description":"Page number (zero-based).","required":true},{"name":"size","in":"query","schemaId":"schema_3","description":"Number of items per page.","required":true},{"name":"searchString","in":"query","schemaId":"schema_4","description":"Filter results by client reference or email (partial match)."}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1{clientRef}~1children/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/api/v1/clients/{clientRef}/children","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"clientRef","in":"path","required":true,"example":"Growthpoint","schemaId":"schema_1"}],"query":[{"name":"page","in":"query","required":true,"example":0,"schemaId":"schema_2"},{"name":"size","in":"query","required":true,"example":10,"schemaId":"schema_3"},{"name":"searchString","in":"query","example":"acme","schemaId":"schema_4"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401","404"],"pointer":"/payless4messaging-service/WhatsApp/api/v1/clients/{clientRef}/children","href":"client-management/listchildren","openApiOperationId":"listChildren","summary":"List child clients (v1)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Paginated list of child clients","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/PaginatedResponse"}},"schemaId":"components/schemas/PaginatedResponse"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1{clientRef}~1children/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/PaginatedResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/PaginatedResponse"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/client-management/listchildren"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/v1/clients/{clientRef}/children"},{"label":"Create a child client (v1)","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/client-management/createchild","routeSlug":"/apis/omnichannel/client-management/createchild","metadata":{"seo":{"title":"Create a child client (v1)","description":"Creates a client under the parent named in the path. Anything the request leaves blank is inherited from the parent — account type, pricing model, country, timezone, and opening balances."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createChild","name":"Create a child client (v1)","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1{clientRef}~1children/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a child client (v1)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Creates a client under the parent named in the path. Anything the request leaves blank is inherited from the parent — account type, pricing model, country, timezone, and opening balances."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"clientRef","in":"path","schemaId":"schema_1","description":"The parent client reference.","required":true}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1{clientRef}~1children/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateChildClientRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1{clientRef}~1children/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/CreateChildClientRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1{clientRef}~1children/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1{clientRef}~1children/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payless4messaging-service/WhatsApp/api/v1/clients/{clientRef}/children","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"clientRef","in":"path","required":true,"example":"Growthpoint","schemaId":"schema_1"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/CreateChildClientRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1{clientRef}~1children/post/requestBody/content/application~1json/example"]}},"responseCodes":["201","400","401","404"],"pointer":"/payless4messaging-service/WhatsApp/api/v1/clients/{clientRef}/children","href":"client-management/createchild","openApiOperationId":"createChild","summary":"Create a child client (v1)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/CreateChildClientRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1{clientRef}~1children/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateChildClientRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1{clientRef}~1children/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Child client created","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ClientResponse"}},"schemaId":"components/schemas/ClientResponse"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1{clientRef}~1children/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"201","schemaId":"components/schemas/ClientResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ClientResponse"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/client-management/createchild"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/v1/clients/{clientRef}/children"},{"label":"Configure SMS fallback (v1)","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/client-management/setsmsfallback","routeSlug":"/apis/omnichannel/client-management/setsmsfallback","metadata":{"seo":{"title":"Configure SMS fallback (v1)","description":"Configures SMS fallback for the given client. When enabled, an SMS is sent automatically if the recipient is not on WhatsApp or WhatsApp delivery fails.The gateway password is write-only: it is never returned by any endpoint, so leave smsPassword out (or blank) to keep the stored one, and supply it only to change it."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"setSmsFallback","name":"Configure SMS fallback (v1)","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1{clientRef}~1sms-fallback/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Configure SMS fallback (v1)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Configures SMS fallback for the given client. When enabled, an SMS is sent automatically if the recipient is not on WhatsApp or WhatsApp delivery fails."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"The gateway password is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"write-only"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": it is never returned by any endpoint, so leave "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"smsPassword"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" out (or blank) to keep the stored one, and supply it only to change it."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"clientRef","in":"path","schemaId":"schema_1","description":"The client reference to configure.","required":true}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1{clientRef}~1sms-fallback/put/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UpdateSmsFallbackRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1{clientRef}~1sms-fallback/put/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/UpdateSmsFallbackRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1{clientRef}~1sms-fallback/put/requestBody/content/application~1json/example"],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1{clientRef}~1sms-fallback/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/payless4messaging-service/WhatsApp/api/v1/clients/{clientRef}/sms-fallback","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"clientRef","in":"path","required":true,"example":"Growthpoint","schemaId":"schema_1"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/UpdateSmsFallbackRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1{clientRef}~1sms-fallback/put/requestBody/content/application~1json/example"]}},"responseCodes":["200","401","404"],"pointer":"/payless4messaging-service/WhatsApp/api/v1/clients/{clientRef}/sms-fallback","href":"client-management/setsmsfallback","openApiOperationId":"setSmsFallback","summary":"Configure SMS fallback (v1)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/UpdateSmsFallbackRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1{clientRef}~1sms-fallback/put/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UpdateSmsFallbackRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1{clientRef}~1sms-fallback/put/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Updated client (no credentials)","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ClientResponse"}},"schemaId":"components/schemas/ClientResponse"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1{clientRef}~1sms-fallback/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ClientResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ClientResponse"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/client-management/setsmsfallback"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/v1/clients/{clientRef}/sms-fallback"},{"label":"Set POPIA compliance (v1)","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/client-management/setpopiacompliance","routeSlug":"/apis/omnichannel/client-management/setpopiacompliance","metadata":{"seo":{"title":"Set POPIA compliance (v1)","description":"Enables or disables POPIA (Protection of Personal Information Act) compliance for your own account. When enabled, the platform enforces South African data protection requirements on message handling and contact storage."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"setPopiaCompliance","name":"Set POPIA compliance (v1)","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1me~1popia-compliance/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Set POPIA compliance (v1)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Enables or disables POPIA (Protection of Personal Information Act) compliance for your own account. When enabled, the platform enforces South African data protection requirements on message handling and contact storage."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UpdatePopiaComplianceRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1me~1popia-compliance/put/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/UpdatePopiaComplianceRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1me~1popia-compliance/put/requestBody/content/application~1json/example"],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1me~1popia-compliance/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/payless4messaging-service/WhatsApp/api/v1/clients/me/popia-compliance","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/UpdatePopiaComplianceRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1me~1popia-compliance/put/requestBody/content/application~1json/example"]}},"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/api/v1/clients/me/popia-compliance","href":"client-management/setpopiacompliance","openApiOperationId":"setPopiaCompliance","summary":"Set POPIA compliance (v1)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/UpdatePopiaComplianceRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1me~1popia-compliance/put/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UpdatePopiaComplianceRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1me~1popia-compliance/put/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Updated client (no credentials)","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ClientResponse"}},"schemaId":"components/schemas/ClientResponse"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1me~1popia-compliance/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ClientResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ClientResponse"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/client-management/setpopiacompliance"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/v1/clients/me/popia-compliance"},{"label":"Get current client profile","deprecated":true,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/client-management/getcurrentclient","routeSlug":"/apis/omnichannel/client-management/getcurrentclient","metadata":{"seo":{"title":"Get current client profile","description":"Deprecated. Returns the full client record, including the SMS gateway password. Use Get my client (GET /api/v1/clients/me), which returns a ClientResponse carrying no credentials."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getCurrentClient","name":"Get current client profile","deprecated":true,"isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Client~1getForCurrentLoginUser/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get current client profile","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Returns the full client record, including the SMS gateway password. Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/client-management/getmyclient"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Get my client"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /api/v1/clients/me"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"), which returns a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ClientResponse"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" carrying no credentials."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/Client/getForCurrentLoginUser","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/Client/getForCurrentLoginUser","href":"client-management/getcurrentclient","openApiOperationId":"getCurrentClient","summary":"Get current client profile"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The authenticated client's profile object.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_7"}},"schemaId":"schema_7"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Client~1getForCurrentLoginUser/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_7","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_7"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/client-management/getcurrentclient"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/Client/getForCurrentLoginUser"},{"label":"Create a child client","deprecated":true,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/client-management/createchildclient","routeSlug":"/apis/omnichannel/client-management/createchildclient","metadata":{"seo":{"title":"Create a child client","description":"Deprecated. Takes the parent in the request body. Use Create a child client (v1) (POST /api/v1/clients/{clientRef}/children), which takes the parent from the path and returns a ClientResponse."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createChildClient","name":"Create a child client","deprecated":true,"isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Client~1createChildClient/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a child client","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Takes the parent in the request body. Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/client-management/createchild"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Create a child client (v1)"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /api/v1/clients/{clientRef}/children"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"), which takes the parent from the path and returns a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ClientResponse"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateChildClientReq","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1Client~1createChildClient/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/CreateChildClientReq","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1Client~1createChildClient/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Client~1createChildClient/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payless4messaging-service/WhatsApp/Client/createChildClient","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/CreateChildClientReq","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1Client~1createChildClient/post/requestBody/content/application~1json/example"]}},"responseCodes":["200","400","401"],"pointer":"/payless4messaging-service/WhatsApp/Client/createChildClient","href":"client-management/createchildclient","openApiOperationId":"createChildClient","summary":"Create a child client"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/CreateChildClientReq","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1Client~1createChildClient/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateChildClientReq","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1Client~1createChildClient/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Child client created","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_7"}},"schemaId":"schema_7"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Client~1createChildClient/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_7","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_7"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/client-management/createchildclient"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/Client/createChildClient"},{"label":"Get child clients","deprecated":true,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/client-management/getchildclients","routeSlug":"/apis/omnichannel/client-management/getchildclients","metadata":{"seo":{"title":"Get child clients","description":"Deprecated. Takes the parent as a query parameter and returns full client records. Use List child clients (v1) (GET /api/v1/clients/{clientRef}/children), which takes the parent from the path and returns credential-free ClientResponse records."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getChildClients","name":"Get child clients","deprecated":true,"isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Client~1getChildClient/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get child clients","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Takes the parent as a query parameter and returns full client records. Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/client-management/listchildren"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"List child clients (v1)"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /api/v1/clients/{clientRef}/children"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"), which takes the parent from the path and returns credential-free "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ClientResponse"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" records."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page","in":"query","schemaId":"schema_2","description":"Page number (zero-based)."},{"name":"size","in":"query","schemaId":"schema_3","description":"Number of items per page."},{"name":"searchString","in":"query","schemaId":"schema_8","description":"Filter results by client reference or name (partial match)."},{"name":"clientRef","in":"query","schemaId":"schema_1","description":"The parent client reference to list children for.","required":true}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Client~1getChildClient/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/Client/getChildClient","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"page","in":"query","example":0,"schemaId":"schema_2"},{"name":"size","in":"query","example":10,"schemaId":"schema_3"},{"name":"searchString","in":"query","example":"john","schemaId":"schema_8"},{"name":"clientRef","in":"query","required":true,"example":"Growthpoint","schemaId":"schema_1"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/Client/getChildClient","href":"client-management/getchildclients","openApiOperationId":"getChildClients","summary":"Get child clients"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Paginated list of child clients.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/PaginatedResponse"}},"schemaId":"components/schemas/PaginatedResponse"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Client~1getChildClient/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/PaginatedResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/PaginatedResponse"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/client-management/getchildclients"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/Client/getChildClient"},{"label":"Enable or disable SMS fallback","deprecated":true,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/client-management/updatesmsfallback","routeSlug":"/apis/omnichannel/client-management/updatesmsfallback","metadata":{"seo":{"title":"Enable or disable SMS fallback","description":"Deprecated. Takes a whole client object, so an omitted smsPassword blanks the stored one. Use Configure SMS fallback (v1) (PUT /api/v1/clients/{clientRef}/sms-fallback), where the password is write-only: leave it out to keep the stored one."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateSMSFallback","name":"Enable or disable SMS fallback","deprecated":true,"isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Client~1updateClientSMSFallback/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Enable or disable SMS fallback","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Takes a whole client object, so an omitted "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"smsPassword"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" blanks the stored one. Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/client-management/setsmsfallback"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Configure SMS fallback (v1)"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"PUT /api/v1/clients/{clientRef}/sms-fallback"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"), where the password is write-only: leave it out to keep the stored one."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Client","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1Client~1updateClientSMSFallback/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/Client","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1Client~1updateClientSMSFallback/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Client~1updateClientSMSFallback/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payless4messaging-service/WhatsApp/Client/updateClientSMSFallback","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/Client","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1Client~1updateClientSMSFallback/post/requestBody/content/application~1json/example"]}},"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/Client/updateClientSMSFallback","href":"client-management/updatesmsfallback","openApiOperationId":"updateSMSFallback","summary":"Enable or disable SMS fallback"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/Client","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1Client~1updateClientSMSFallback/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Client","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1Client~1updateClientSMSFallback/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Updated","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Client"}},"schemaId":"components/schemas/Client"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Client~1updateClientSMSFallback/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/Client","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Client"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/client-management/updatesmsfallback"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/Client/updateClientSMSFallback"},{"label":"Update POPIA compliance setting","deprecated":true,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/client-management/updatepopiacompliance","routeSlug":"/apis/omnichannel/client-management/updatepopiacompliance","metadata":{"seo":{"title":"Update POPIA compliance setting","description":"Deprecated. Accepts a whole client object but only ever updates your own account, whatever client is in the payload. Use Set POPIA compliance (v1) (PUT /api/v1/clients/me/popia-compliance), whose path says so."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updatePopiaCompliance","name":"Update POPIA compliance setting","deprecated":true,"isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Client~1updatePopiaCompliance/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update POPIA compliance setting","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Accepts a whole client object but only ever updates your own account, whatever client is in the payload. Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/client-management/setpopiacompliance"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Set POPIA compliance (v1)"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"PUT /api/v1/clients/me/popia-compliance"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"), whose path says so."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Client","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1Client~1updatePopiaCompliance/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/Client","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1Client~1updatePopiaCompliance/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Client~1updatePopiaCompliance/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payless4messaging-service/WhatsApp/Client/updatePopiaCompliance","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/Client","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1Client~1updatePopiaCompliance/post/requestBody/content/application~1json/example"]}},"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/Client/updatePopiaCompliance","href":"client-management/updatepopiacompliance","openApiOperationId":"updatePopiaCompliance","summary":"Update POPIA compliance setting"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/Client","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1Client~1updatePopiaCompliance/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Client","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1Client~1updatePopiaCompliance/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Updated","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Client"}},"schemaId":"components/schemas/Client"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Client~1updatePopiaCompliance/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/Client","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Client"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/client-management/updatepopiacompliance"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/Client/updatePopiaCompliance"}],"content":{"contentType":"group","meta":{"name":"Client Management"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Client Management","showPageActions":true},{"nodeType":"markdoc","content":"Retrieve your client profile, create child client accounts, and configure account-level settings like SMS fallback and POPIA compliance. Child clients inherit the parent's WhatsApp provider but have independent balances and configurations."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/payless4messaging-service/WhatsApp/api/v1/clients/me","summary":"Get my client","prefix":{"name":"get","color":"get"},"badges":[],"link":"/client-management/getmyclient","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/api/v1/clients/{clientRef}/children","summary":"List child clients (v1)","prefix":{"name":"get","color":"get"},"badges":[],"link":"/client-management/listchildren","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/api/v1/clients/{clientRef}/children","summary":"Create a child client (v1)","prefix":{"name":"post","color":"post"},"badges":[],"link":"/client-management/createchild","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/api/v1/clients/{clientRef}/sms-fallback","summary":"Configure SMS fallback (v1)","prefix":{"name":"put","color":"put"},"badges":[],"link":"/client-management/setsmsfallback","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/api/v1/clients/me/popia-compliance","summary":"Set POPIA compliance (v1)","prefix":{"name":"put","color":"put"},"badges":[],"link":"/client-management/setpopiacompliance","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/Client/getForCurrentLoginUser","summary":"Get current client profile","prefix":{"name":"get","color":"http-deprecated"},"badges":[],"link":"/client-management/getcurrentclient","deprecated":true},{"title":"/payless4messaging-service/WhatsApp/Client/createChildClient","summary":"Create a child client","prefix":{"name":"post","color":"http-deprecated"},"badges":[],"link":"/client-management/createchildclient","deprecated":true},{"title":"/payless4messaging-service/WhatsApp/Client/getChildClient","summary":"Get child clients","prefix":{"name":"get","color":"http-deprecated"},"badges":[],"link":"/client-management/getchildclients","deprecated":true},{"title":"/payless4messaging-service/WhatsApp/Client/updateClientSMSFallback","summary":"Enable or disable SMS fallback","prefix":{"name":"post","color":"http-deprecated"},"badges":[],"link":"/client-management/updatesmsfallback","deprecated":true},{"title":"/payless4messaging-service/WhatsApp/Client/updatePopiaCompliance","summary":"Update POPIA compliance setting","prefix":{"name":"post","color":"http-deprecated"},"badges":[],"link":"/client-management/updatepopiacompliance","deprecated":true}]}]}]}]}},{"type":"group","label":"User Management","link":"/apis/omnichannel/user-management","routeSlug":"/apis/omnichannel/user-management","items":[{"label":"Get my profile","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/user-management/getme","routeSlug":"/apis/omnichannel/user-management/getme","metadata":{"seo":{"title":"Get my profile","description":"Returns the authenticated caller's own profile as a credential-free UserResponse."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getMe","name":"Get my profile","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users~1me/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get my profile","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Returns the authenticated caller's own profile as a credential-free "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"UserResponse"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/api/v1/users/me","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/api/v1/users/me","href":"user-management/getme","openApiOperationId":"getMe","summary":"Get my profile"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The authenticated user's profile (no credentials)","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserResponse"}},"schemaId":"components/schemas/UserResponse"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users~1me/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/UserResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserResponse"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user-management/getme"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/v1/users/me"},{"label":"List your organization's user","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/user-management/listclientusers","routeSlug":"/apis/omnichannel/user-management/listclientusers","metadata":{"seo":{"title":"List your organization's user","description":"Returns every user in the authenticated client's organization as a lean summary — id, name, email, role, live-chat role, avatar, and availability — with no credentials or secrets. Use this to populate transfer/assignment pickers and agent lists. The client is taken from your authentication context."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listClientUsers","name":"List your organization's user","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List your organization's user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Returns every user in the authenticated client's organization as a lean summary — id, name, email, role, live-chat role, avatar, and availability — with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"no credentials or secrets"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Use this to populate transfer/assignment pickers and agent lists. The client is taken from your authentication context."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/api/v1/users","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/api/v1/users","href":"user-management/listclientusers","openApiOperationId":"listClientUsers","summary":"List your organization's user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Lean list of the client's users (no credentials)","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_9"}},"schemaId":"schema_9"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_9","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_9"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user-management/listclientusers"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/v1/users"},{"label":"Create a user","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/user-management/createuser","routeSlug":"/apis/omnichannel/user-management/createuser","metadata":{"seo":{"title":"Create a user","description":"Create an organization user. Takes no password — a one-time temporary password is generated and returned once in the response; the user must set their own password on first login. The client is taken from clientRef, or your auth context when omitted."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createUser","name":"Create a user","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Create an organization user. Takes "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"no password"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — a one-time temporary password is generated and returned once in the response; the user must set their own password on first login. The client is taken from "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"clientRef"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", or your auth context when omitted."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateUserRequest"}},"schemaId":"components/schemas/CreateUserRequest","pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payless4messaging-service/WhatsApp/api/v1/users","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/CreateUserRequest"}},"responseCodes":["201","400","401"],"pointer":"/payless4messaging-service/WhatsApp/api/v1/users","href":"user-management/createuser","openApiOperationId":"createUser","summary":"Create a user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/CreateUserRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateUserRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"User created; includes the one-time temporary password","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CreateUserResponse"}},"schemaId":"components/schemas/CreateUserResponse"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"201","schemaId":"components/schemas/CreateUserResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CreateUserResponse"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user-management/createuser"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/v1/users"},{"label":"Update a user","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/user-management/updateuser","routeSlug":"/apis/omnichannel/user-management/updateuser","metadata":{"seo":{"title":"Update a user","description":"Update an organization user's profile, identified by id. Carries no credentials and returns a credential-free UserResponse."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateUser","name":"Update a user","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update a user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Update an organization user's profile, identified by "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Carries no credentials and returns a credential-free "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"UserResponse"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UpdateUserRequest"}},"schemaId":"components/schemas/UpdateUserRequest","pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/payless4messaging-service/WhatsApp/api/v1/users","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/UpdateUserRequest"}},"responseCodes":["200","401","404"],"pointer":"/payless4messaging-service/WhatsApp/api/v1/users","href":"user-management/updateuser","openApiOperationId":"updateUser","summary":"Update a user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/UpdateUserRequest","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UpdateUserRequest"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The updated user (no credentials)","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserResponse"}},"schemaId":"components/schemas/UserResponse"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/UserResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserResponse"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user-management/updateuser"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/v1/users"},{"label":"Delete a user","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/user-management/deleteuser","routeSlug":"/apis/omnichannel/user-management/deleteuser","metadata":{"seo":{"title":"Delete a user","description":"Soft-deletes an organization user, identified by id: the user is disabled, signed out, and removed from any teams, but the record is retained. Carries no credentials."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"deleteUser","name":"Delete a user","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users~1{id}/delete","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Delete a user","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Soft-deletes an organization user, identified by "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": the user is disabled, signed out, and removed from any teams, but the record is retained. Carries no credentials."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_10","description":"The unique identifier of the user to delete.","required":true}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users~1{id}/delete/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/payless4messaging-service/WhatsApp/api/v1/users/{id}","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"fcc7c809-2765-4aad-a8e7-7444adbdac16","schemaId":"schema_10"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401","404"],"pointer":"/payless4messaging-service/WhatsApp/api/v1/users/{id}","href":"user-management/deleteuser","openApiOperationId":"deleteUser","summary":"Delete a user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The user was soft-deleted","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_11"}},"schemaId":"schema_11"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users~1{id}/delete/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_11","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_11"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user-management/deleteuser"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/v1/users/{id}"},{"label":"List users (paginated)","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/user-management/getuserspage","routeSlug":"/apis/omnichannel/user-management/getuserspage","metadata":{"seo":{"title":"List users (paginated)","description":"Retrieve a paginated list of a client's users as credential-free UserResponse records."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getUsersPage","name":"List users (paginated)","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users~1page/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List users (paginated)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Retrieve a paginated list of a client's users as credential-free "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"UserResponse"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" records."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"clientRef","in":"query","schemaId":"schema_1","description":"Your unique client reference identifier.","required":true},{"name":"page","in":"query","schemaId":"schema_2","description":"Zero-based page index.","required":true},{"name":"size","in":"query","schemaId":"schema_3","description":"Number of records per page.","required":true},{"name":"searchString","in":"query","schemaId":"schema_12","description":"Optional search filter."}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users~1page/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/api/v1/users/page","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"clientRef","in":"query","required":true,"example":"Growthpoint","schemaId":"schema_1"},{"name":"page","in":"query","required":true,"example":0,"schemaId":"schema_2"},{"name":"size","in":"query","required":true,"example":10,"schemaId":"schema_3"},{"name":"searchString","in":"query","required":false,"example":"alice","schemaId":"schema_12"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/api/v1/users/page","href":"user-management/getuserspage","openApiOperationId":"getUsersPage","summary":"List users (paginated)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Paginated list of the client's users (no credentials)","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_13"}},"schemaId":"schema_13"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users~1page/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_13","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_13"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user-management/getuserspage"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/v1/users/page"},{"label":"Change availability","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/user-management/changeavailability","routeSlug":"/apis/omnichannel/user-management/changeavailability","metadata":{"seo":{"title":"Change availability","description":"Toggle the authenticated agent's online/offline status; returns a credential-free UserResponse."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"changeAvailability","name":"Change availability","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users~1availability/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Change availability","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Toggle the authenticated agent's online/offline status; returns a credential-free "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"UserResponse"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_14"}},"schemaId":"schema_14","pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users~1availability/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/payless4messaging-service/WhatsApp/api/v1/users/availability","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_14"}},"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/api/v1/users/availability","href":"user-management/changeavailability","openApiOperationId":"changeAvailability","summary":"Change availability"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"schema_14","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_14"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The updated user with the new availability status (no credentials)","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserResponse"}},"schemaId":"components/schemas/UserResponse"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users~1availability/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/UserResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UserResponse"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user-management/changeavailability"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/v1/users/availability"},{"label":"Set agent chat limit","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/user-management/setagentchatlimit","routeSlug":"/apis/omnichannel/user-management/setagentchatlimit","metadata":{"seo":{"title":"Set agent chat limit","description":"Set the maximum number of concurrent chats an agent can handle for the given client."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"setAgentChatLimit","name":"Set agent chat limit","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users~1agent-chat-limit/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Set agent chat limit","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Set the maximum number of concurrent chats an agent can handle for the given client."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_15"}},"schemaId":"schema_15","pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users~1agent-chat-limit/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/payless4messaging-service/WhatsApp/api/v1/users/agent-chat-limit","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_15"}},"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/api/v1/users/agent-chat-limit","href":"user-management/setagentchatlimit","openApiOperationId":"setAgentChatLimit","summary":"Set agent chat limit"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"schema_15","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_15"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Confirmation that the agent chat limit was updated successfully"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users~1agent-chat-limit/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200"},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user-management/setagentchatlimit"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/v1/users/agent-chat-limit"},{"label":"Change my password","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/user-management/changemypassword","routeSlug":"/apis/omnichannel/user-management/changemypassword","metadata":{"seo":{"title":"Change my password","description":"Change the authenticated caller's own password. Requires old password, new password, and confirmation."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"changeMyPassword","name":"Change my password","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users~1me~1password~1change/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Change my password","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Change the authenticated caller's own password. Requires old password, new password, and confirmation."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/PasswordWrapper","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users~1me~1password~1change/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/PasswordWrapper","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users~1me~1password~1change/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users~1me~1password~1change/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payless4messaging-service/WhatsApp/api/v1/users/me/password/change","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/PasswordWrapper","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users~1me~1password~1change/post/requestBody/content/application~1json/example"]}},"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/api/v1/users/me/password/change","href":"user-management/changemypassword","openApiOperationId":"changeMyPassword","summary":"Change my password"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/PasswordWrapper","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users~1me~1password~1change/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/PasswordWrapper","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users~1me~1password~1change/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Confirmation that the password was changed successfully","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_16"}},"schemaId":"schema_16"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users~1me~1password~1change/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_16","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_16"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user-management/changemypassword"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/v1/users/me/password/change"},{"label":"Get my WhatsApp credits","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/user-management/getmycredits","routeSlug":"/apis/omnichannel/user-management/getmycredits","metadata":{"seo":{"title":"Get my WhatsApp credits","description":"Retrieve the WhatsApp credit balance for the authenticated caller."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getMyCredits","name":"Get my WhatsApp credits","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users~1me~1credits/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get my WhatsApp credits","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve the WhatsApp credit balance for the authenticated caller."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/api/v1/users/me/credits","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/api/v1/users/me/credits","href":"user-management/getmycredits","openApiOperationId":"getMyCredits","summary":"Get my WhatsApp credits"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The current WhatsApp credit balance as a decimal number","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_17"}},"schemaId":"schema_17"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users~1me~1credits/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_17","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_17"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user-management/getmycredits"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/v1/users/me/credits"},{"label":"Create a system user","deprecated":true,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/user-management/createsystemuser","routeSlug":"/apis/omnichannel/user-management/createsystemuser","metadata":{"seo":{"title":"Create a system user","description":"Deprecated. Accepts and returns credential-bearing SystemUser fields. Use Create a user (POST /api/v1/users), which takes no password and returns a one-time temporary password instead."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createSystemUser","name":"Create a system user","deprecated":true,"isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1SystemUsers/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a system user","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Accepts and returns credential-bearing "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SystemUser"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" fields. Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/user-management/createuser"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Create a user"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /api/v1/users"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"), which takes no password and returns a one-time temporary password instead."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/SystemUserRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1SystemUsers/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/SystemUserRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1SystemUsers/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1SystemUsers/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payless4messaging-service/WhatsApp/SystemUsers","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/SystemUserRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1SystemUsers/post/requestBody/content/application~1json/example"]}},"responseCodes":["200","400","401"],"pointer":"/payless4messaging-service/WhatsApp/SystemUsers","href":"user-management/createsystemuser","openApiOperationId":"createSystemUser","summary":"Create a system user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/SystemUserRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1SystemUsers/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/SystemUserRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1SystemUsers/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The newly created system user object","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/SystemUser"}},"schemaId":"components/schemas/SystemUser"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1SystemUsers/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/SystemUser","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/SystemUser"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user-management/createsystemuser"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/SystemUsers"},{"label":"Update a system user","deprecated":true,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/user-management/updatesystemuser","routeSlug":"/apis/omnichannel/user-management/updatesystemuser","metadata":{"seo":{"title":"Update a system user","description":"Deprecated. Accepts and returns credential-bearing SystemUser fields. Use Update a user (PUT /api/v1/users), which is identified by id, carries no credentials, and returns a UserResponse."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateSystemUser","name":"Update a system user","deprecated":true,"isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1SystemUsers/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update a system user","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Accepts and returns credential-bearing "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SystemUser"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" fields. Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/user-management/updateuser"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Update a user"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"PUT /api/v1/users"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"), which is identified by "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", carries no credentials, and returns a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"UserResponse"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/SystemUser","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1SystemUsers/put/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/SystemUser","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1SystemUsers/put/requestBody/content/application~1json/example"],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1SystemUsers/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/payless4messaging-service/WhatsApp/SystemUsers","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/SystemUser","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1SystemUsers/put/requestBody/content/application~1json/example"]}},"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/SystemUsers","href":"user-management/updatesystemuser","openApiOperationId":"updateSystemUser","summary":"Update a system user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/SystemUser","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1SystemUsers/put/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/SystemUser","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1SystemUsers/put/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The updated system user object","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/SystemUser"}},"schemaId":"components/schemas/SystemUser"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1SystemUsers/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/SystemUser","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/SystemUser"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user-management/updatesystemuser"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/SystemUsers"},{"label":"Get current logged-in user","deprecated":true,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/user-management/getcurrentuser","routeSlug":"/apis/omnichannel/user-management/getcurrentuser","metadata":{"seo":{"title":"Get current logged-in user","description":"Deprecated. Returns credential-bearing SystemUser fields. Use Get my profile (GET /api/v1/users/me), which returns a credential-free UserResponse."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getCurrentUser","name":"Get current logged-in user","deprecated":true,"isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1SystemUsers~1getCurrentLoginSystemUser/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get current logged-in user","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Returns credential-bearing "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SystemUser"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" fields. Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/user-management/getme"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Get my profile"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /api/v1/users/me"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"), which returns a credential-free "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"UserResponse"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/SystemUsers/getCurrentLoginSystemUser","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/SystemUsers/getCurrentLoginSystemUser","href":"user-management/getcurrentuser","openApiOperationId":"getCurrentUser","summary":"Get current logged-in user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The authenticated user's profile including role, assigned numbers, and availability status","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/SystemUser"}},"schemaId":"components/schemas/SystemUser"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1SystemUsers~1getCurrentLoginSystemUser/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/SystemUser","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/SystemUser"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user-management/getcurrentuser"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/SystemUsers/getCurrentLoginSystemUser"},{"label":"Get all users in your organization (supervisor-only)","deprecated":true,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/user-management/getclientusers","routeSlug":"/apis/omnichannel/user-management/getclientusers","metadata":{"seo":{"title":"Get all users in your organization (supervisor-only)","description":"Supervisor-only. Returns the full SystemUser records for the client (including credential-bearing fields), so it is restricted to callers with the supervisor role and returns 403 otherwise. For agent-facing user lists use List your organization's users, which returns a lean, credential-free UserSummary[]."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getClientUsers","name":"Get all users in your organization (supervisor-only)","deprecated":true,"isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1SystemUsers~1getCurrentClientUsers/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get all users in your organization (supervisor-only)","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Supervisor-only."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Returns the full "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SystemUser"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" records for the client (including credential-bearing fields), so it is restricted to callers with the supervisor role and returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"403"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" otherwise. For agent-facing user lists use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/user-management/listclientusers"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"List your organization's users"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", which returns a lean, credential-free "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"UserSummary[]"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/SystemUsers/getCurrentClientUsers","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401","403"],"pointer":"/payless4messaging-service/WhatsApp/SystemUsers/getCurrentClientUsers","href":"user-management/getclientusers","openApiOperationId":"getClientUsers","summary":"Get all users in your organization (supervisor-only)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"List of all system users (agents, supervisors, and admins) for the authenticated client","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_18"}},"schemaId":"schema_18"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_19"}},"schemaId":"schema_19"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1SystemUsers~1getCurrentClientUsers/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_18","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_18"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"403","schemaId":"schema_19","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_19"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user-management/getclientusers"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/SystemUsers/getCurrentClientUsers"},{"label":"Get users for a specific client (paginated)","deprecated":true,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/user-management/getusersforclient","routeSlug":"/apis/omnichannel/user-management/getusersforclient","metadata":{"seo":{"title":"Get users for a specific client (paginated)","description":"Deprecated. Returns credential-bearing SystemUser records. Use List users (paginated) (GET /api/v1/users/page), which returns credential-free UserResponse records."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getUsersForClient","name":"Get users for a specific client (paginated)","deprecated":true,"isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1SystemUsers~1getUsersForClient/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get users for a specific client (paginated)","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Returns credential-bearing "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SystemUser"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" records. Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/user-management/getuserspage"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"List users (paginated)"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /api/v1/users/page"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"), which returns credential-free "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"UserResponse"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" records."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"clientRef","in":"query","schemaId":"schema_1","description":"Your unique client reference identifier.","required":true},{"name":"page","in":"query","schemaId":"schema_2","description":"Zero-based page index."},{"name":"size","in":"query","schemaId":"schema_3","description":"Number of records per page."}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1SystemUsers~1getUsersForClient/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/SystemUsers/getUsersForClient","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"clientRef","in":"query","required":true,"example":"Growthpoint","schemaId":"schema_1"},{"name":"page","in":"query","example":0,"schemaId":"schema_2"},{"name":"size","in":"query","example":10,"schemaId":"schema_3"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/SystemUsers/getUsersForClient","href":"user-management/getusersforclient","openApiOperationId":"getUsersForClient","summary":"Get users for a specific client (paginated)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Paginated list of system users for the specified client","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_20"}},"schemaId":"schema_20"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1SystemUsers~1getUsersForClient/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_20","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_20"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user-management/getusersforclient"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/SystemUsers/getUsersForClient"},{"label":"Change agent availability status","deprecated":true,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/user-management/changeavailabilitystatus","routeSlug":"/apis/omnichannel/user-management/changeavailabilitystatus","metadata":{"seo":{"title":"Change agent availability status","description":"Deprecated. Returns credential-bearing SystemUser fields. Use Change availability (PUT /api/v1/users/availability), which returns a credential-free UserResponse."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"changeAvailabilityStatus","name":"Change agent availability status","deprecated":true,"isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1SystemUsers~1changeAvailableStatus/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Change agent availability status","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Returns credential-bearing "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SystemUser"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" fields. Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/user-management/changeavailability"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Change availability"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"PUT /api/v1/users/availability"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"), which returns a credential-free "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"UserResponse"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_14"}},"schemaId":"schema_14","pointer":"/paths/~1payless4messaging-service~1WhatsApp~1SystemUsers~1changeAvailableStatus/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/payless4messaging-service/WhatsApp/SystemUsers/changeAvailableStatus","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_14"}},"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/SystemUsers/changeAvailableStatus","href":"user-management/changeavailabilitystatus","openApiOperationId":"changeAvailabilityStatus","summary":"Change agent availability status"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"schema_14","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_14"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The updated system user object with the new availability status","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/SystemUser"}},"schemaId":"components/schemas/SystemUser"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1SystemUsers~1changeAvailableStatus/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/SystemUser","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/SystemUser"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user-management/changeavailabilitystatus"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/SystemUsers/changeAvailableStatus"},{"label":"Update agent chat limit","deprecated":true,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/user-management/updateagentchatlimit","routeSlug":"/apis/omnichannel/user-management/updateagentchatlimit","metadata":{"seo":{"title":"Update agent chat limit","description":"Deprecated. Use Set agent chat limit (PUT /api/v1/users/agent-chat-limit). Behaviour is identical."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateAgentChatLimit","name":"Update agent chat limit","deprecated":true,"isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1SystemUsers~1updateAgentChatLimit/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update agent chat limit","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/user-management/setagentchatlimit"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Set agent chat limit"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"PUT /api/v1/users/agent-chat-limit"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). Behaviour is identical."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_15"}},"schemaId":"schema_15","pointer":"/paths/~1payless4messaging-service~1WhatsApp~1SystemUsers~1updateAgentChatLimit/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/payless4messaging-service/WhatsApp/SystemUsers/updateAgentChatLimit","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_15"}},"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/SystemUsers/updateAgentChatLimit","href":"user-management/updateagentchatlimit","openApiOperationId":"updateAgentChatLimit","summary":"Update agent chat limit"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"schema_15","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_15"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Confirmation that the agent chat limit was updated successfully"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1SystemUsers~1updateAgentChatLimit/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200"},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user-management/updateagentchatlimit"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/SystemUsers/updateAgentChatLimit"},{"label":"Change password","deprecated":true,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/user-management/changepassword","routeSlug":"/apis/omnichannel/user-management/changepassword","metadata":{"seo":{"title":"Change password","description":"Deprecated. Use Change my password (POST /api/v1/users/me/password/change). Behaviour is identical."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"changePassword","name":"Change password","deprecated":true,"isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1SystemUsers~1changePassword/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Change password","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/user-management/changemypassword"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Change my password"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /api/v1/users/me/password/change"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). Behaviour is identical."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/PasswordWrapper","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1SystemUsers~1changePassword/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/PasswordWrapper","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1SystemUsers~1changePassword/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1SystemUsers~1changePassword/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payless4messaging-service/WhatsApp/SystemUsers/changePassword","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/PasswordWrapper","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1SystemUsers~1changePassword/post/requestBody/content/application~1json/example"]}},"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/SystemUsers/changePassword","href":"user-management/changepassword","openApiOperationId":"changePassword","summary":"Change password"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/PasswordWrapper","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1SystemUsers~1changePassword/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/PasswordWrapper","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1SystemUsers~1changePassword/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Confirmation that the password was changed successfully","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_21"}},"schemaId":"schema_21"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1SystemUsers~1changePassword/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_21","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_21"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user-management/changepassword"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/SystemUsers/changePassword"},{"label":"Get WhatsApp credits for current user","deprecated":true,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/user-management/getwhatsappcreditsforcurrentloginuser","routeSlug":"/apis/omnichannel/user-management/getwhatsappcreditsforcurrentloginuser","metadata":{"seo":{"title":"Get WhatsApp credits for current user","description":"Deprecated. Use Get my WhatsApp credits (GET /api/v1/users/me/credits). Behaviour is identical."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getWhatsAppCreditsForCurrentLoginUser","name":"Get WhatsApp credits for current user","deprecated":true,"isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1SystemUsers~1getWhatsAppCreditsForCurrentLoginUser/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get WhatsApp credits for current user","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/user-management/getmycredits"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Get my WhatsApp credits"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /api/v1/users/me/credits"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). Behaviour is identical."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/SystemUsers/getWhatsAppCreditsForCurrentLoginUser","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/SystemUsers/getWhatsAppCreditsForCurrentLoginUser","href":"user-management/getwhatsappcreditsforcurrentloginuser","openApiOperationId":"getWhatsAppCreditsForCurrentLoginUser","summary":"Get WhatsApp credits for current user"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The current WhatsApp credit balance as a decimal number","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_17"}},"schemaId":"schema_17"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1SystemUsers~1getWhatsAppCreditsForCurrentLoginUser/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_17","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_17"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/user-management/getwhatsappcreditsforcurrentloginuser"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/SystemUsers/getWhatsAppCreditsForCurrentLoginUser"}],"content":{"contentType":"group","meta":{"name":"User Management"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"User Management","showPageActions":true},{"nodeType":"markdoc","content":"Create, update, and manage system users within your organization. Users can be admins, supervisors, or agents. Manage agent availability for live chat assignment, set concurrent chat limits, and handle password changes. Each user belongs to a client and can be assigned to teams."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/payless4messaging-service/WhatsApp/api/v1/users/me","summary":"Get my profile","prefix":{"name":"get","color":"get"},"badges":[],"link":"/user-management/getme","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/api/v1/users","summary":"List your organization's user","prefix":{"name":"get","color":"get"},"badges":[],"link":"/user-management/listclientusers","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/api/v1/users","summary":"Create a user","prefix":{"name":"post","color":"post"},"badges":[],"link":"/user-management/createuser","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/api/v1/users","summary":"Update a user","prefix":{"name":"put","color":"put"},"badges":[],"link":"/user-management/updateuser","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/api/v1/users/{id}","summary":"Delete a user","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/user-management/deleteuser","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/api/v1/users/page","summary":"List users (paginated)","prefix":{"name":"get","color":"get"},"badges":[],"link":"/user-management/getuserspage","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/api/v1/users/availability","summary":"Change availability","prefix":{"name":"put","color":"put"},"badges":[],"link":"/user-management/changeavailability","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/api/v1/users/agent-chat-limit","summary":"Set agent chat limit","prefix":{"name":"put","color":"put"},"badges":[],"link":"/user-management/setagentchatlimit","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/api/v1/users/me/password/change","summary":"Change my password","prefix":{"name":"post","color":"post"},"badges":[],"link":"/user-management/changemypassword","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/api/v1/users/me/credits","summary":"Get my WhatsApp credits","prefix":{"name":"get","color":"get"},"badges":[],"link":"/user-management/getmycredits","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/SystemUsers","summary":"Create a system user","prefix":{"name":"post","color":"http-deprecated"},"badges":[],"link":"/user-management/createsystemuser","deprecated":true},{"title":"/payless4messaging-service/WhatsApp/SystemUsers","summary":"Update a system user","prefix":{"name":"put","color":"http-deprecated"},"badges":[],"link":"/user-management/updatesystemuser","deprecated":true},{"title":"/payless4messaging-service/WhatsApp/SystemUsers/getCurrentLoginSystemUser","summary":"Get current logged-in user","prefix":{"name":"get","color":"http-deprecated"},"badges":[],"link":"/user-management/getcurrentuser","deprecated":true},{"title":"/payless4messaging-service/WhatsApp/SystemUsers/getCurrentClientUsers","summary":"Get all users in your organization (supervisor-only)","prefix":{"name":"get","color":"http-deprecated"},"badges":[],"link":"/user-management/getclientusers","deprecated":true},{"title":"/payless4messaging-service/WhatsApp/SystemUsers/getUsersForClient","summary":"Get users for a specific client (paginated)","prefix":{"name":"get","color":"http-deprecated"},"badges":[],"link":"/user-management/getusersforclient","deprecated":true},{"title":"/payless4messaging-service/WhatsApp/SystemUsers/changeAvailableStatus","summary":"Change agent availability status","prefix":{"name":"put","color":"http-deprecated"},"badges":[],"link":"/user-management/changeavailabilitystatus","deprecated":true},{"title":"/payless4messaging-service/WhatsApp/SystemUsers/updateAgentChatLimit","summary":"Update agent chat limit","prefix":{"name":"put","color":"http-deprecated"},"badges":[],"link":"/user-management/updateagentchatlimit","deprecated":true},{"title":"/payless4messaging-service/WhatsApp/SystemUsers/changePassword","summary":"Change password","prefix":{"name":"post","color":"http-deprecated"},"badges":[],"link":"/user-management/changepassword","deprecated":true},{"title":"/payless4messaging-service/WhatsApp/SystemUsers/getWhatsAppCreditsForCurrentLoginUser","summary":"Get WhatsApp credits for current user","prefix":{"name":"get","color":"http-deprecated"},"badges":[],"link":"/user-management/getwhatsappcreditsforcurrentloginuser","deprecated":true}]}]}]}]}},{"type":"group","label":"API Key Management","link":"/apis/omnichannel/api-key-management","routeSlug":"/apis/omnichannel/api-key-management","items":[{"label":"Retrieve API key with credentials","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/api-key-management/retrieveapikey","routeSlug":"/apis/omnichannel/api-key-management/retrieveapikey","metadata":{"seo":{"title":"Retrieve API key with credentials","description":"Retrieve your Developer API key by authenticating with your account credentials. This is therecommended first step for new integrations — it does not require an existing API key."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"retrieveApiKey","name":"Retrieve API key with credentials","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1authenticate~1retrieveApiKey/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Retrieve API key with credentials","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Retrieve your Developer API key by authenticating with your account credentials. This is the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"recommended first step for new integrations — it does "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"not"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" require an existing API key."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Send your account email, password, and client reference to receive your API key. Use the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"returned key in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header for all subsequent API requests."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_22","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1authenticate~1retrieveApiKey/post/requestBody/content/application~1json/example"]}},"schemaId":"schema_22","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1authenticate~1retrieveApiKey/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1authenticate~1retrieveApiKey/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payless4messaging-service/WhatsApp/authenticate/retrieveApiKey","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"schema_22","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1authenticate~1retrieveApiKey/post/requestBody/content/application~1json/example"]}},"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/authenticate/retrieveApiKey","href":"api-key-management/retrieveapikey","openApiOperationId":"retrieveApiKey","summary":"Retrieve API key with credentials"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"schema_22","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1authenticate~1retrieveApiKey/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_22","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1authenticate~1retrieveApiKey/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication succeeded — returns the Developer API key"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_23","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1authenticate~1retrieveApiKey/post/responses/200/content/application~1json/example"]}},"schemaId":"schema_23","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1authenticate~1retrieveApiKey/post/responses/200/content/application~1json/example"]},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Invalid credentials — check your email, password, and client reference"},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_24","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1authenticate~1retrieveApiKey/post/responses/401/content/application~1json/example"]}},"schemaId":"schema_24","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1authenticate~1retrieveApiKey/post/responses/401/content/application~1json/example"]}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1authenticate~1retrieveApiKey/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_23","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1authenticate~1retrieveApiKey/post/responses/200/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_23","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1authenticate~1retrieveApiKey/post/responses/200/content/application~1json/example"]}}},{"code":"401","schemaId":"schema_24","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1authenticate~1retrieveApiKey/post/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_24","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1authenticate~1retrieveApiKey/post/responses/401/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/api-key-management/retrieveapikey"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},{"label":"Generate a new API key","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/api-key-management/generateapikey","routeSlug":"/apis/omnichannel/api-key-management/generateapikey","metadata":{"seo":{"title":"Generate a new API key","description":"Generates a new Developer API key. Warning: This invalidates the previous key immediately.All integrations using the old key will stop working."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"generateAPIKey","name":"Generate a new API key","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1SystemUsers~1generateAPIKey/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Generate a new API key","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Generates a new Developer API key. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Warning:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" This invalidates the previous key immediately."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"All integrations using the old key will stop working."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payless4messaging-service/WhatsApp/SystemUsers/generateAPIKey","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/SystemUsers/generateAPIKey","href":"api-key-management/generateapikey","openApiOperationId":"generateAPIKey","summary":"Generate a new API key"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The newly generated API key token (previous key is now invalidated)","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_25"}},"schemaId":"schema_25"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1SystemUsers~1generateAPIKey/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_25","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_25"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/api-key-management/generateapikey"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/SystemUsers/generateAPIKey"}],"content":{"contentType":"group","meta":{"name":"API Key Management"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"API Key Management","showPageActions":true},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Retrieve, rotate, or bootstrap your Developer API key. Use the credential-based "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" endpoint to obtain your key without needing an existing one — ideal for first-time setup. The API key is a UUID used in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header for all API requests. Generating a new key immediately invalidates the previous key — update all integrations before regenerating."},"children":[],"type":"text"}],"type":"paragraph"}]}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/payless4messaging-service/WhatsApp/authenticate/retrieveApiKey","summary":"Retrieve API key with credentials","prefix":{"name":"post","color":"post"},"badges":[],"link":"/api-key-management/retrieveapikey","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/SystemUsers/generateAPIKey","summary":"Generate a new API key","prefix":{"name":"post","color":"post"},"badges":[],"link":"/api-key-management/generateapikey","deprecated":false}]}]}]}]}},{"type":"group","label":"Team Management","link":"/apis/omnichannel/team-management","routeSlug":"/apis/omnichannel/team-management","items":[{"label":"Create a team","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/team-management/createteam","routeSlug":"/apis/omnichannel/team-management/createteam","metadata":{"seo":{"title":"Create a team","description":"Create a new team for organizing agents. Specify the team name, supervisor, and client reference."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createTeam","name":"Create a team","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1team~1add/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a team","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Create a new team for organizing agents. Specify the team name, supervisor, and client reference."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/TeamReq","exampleIds":["paths/~1pl4chat-service~1team~1add/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/TeamReq","exampleIds":["paths/~1pl4chat-service~1team~1add/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1pl4chat-service~1team~1add/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/pl4chat-service/team/add","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/TeamReq","exampleIds":["paths/~1pl4chat-service~1team~1add/post/requestBody/content/application~1json/example"]}},"responseCodes":["200","400","401"],"pointer":"/pl4chat-service/team/add","href":"team-management/createteam","openApiOperationId":"createTeam","summary":"Create a team"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/TeamReq","exampleIds":["paths/~1pl4chat-service~1team~1add/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/TeamReq","exampleIds":["paths/~1pl4chat-service~1team~1add/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The newly created team object","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/TeamEntity"}},"schemaId":"components/schemas/TeamEntity"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1team~1add/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/TeamEntity","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/TeamEntity"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/team-management/createteam"}],"panels":[]}]},"httpPath":"/pl4chat-service/team/add"},{"label":"Update a team","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/team-management/updateteam","routeSlug":"/apis/omnichannel/team-management/updateteam","metadata":{"seo":{"title":"Update a team","description":"Update a team's name, supervisor, or other properties."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateTeam","name":"Update a team","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1team~1update/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update a team","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Update a team's name, supervisor, or other properties."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/TeamReq","exampleIds":["paths/~1pl4chat-service~1team~1update/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/TeamReq","exampleIds":["paths/~1pl4chat-service~1team~1update/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1pl4chat-service~1team~1update/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/pl4chat-service/team/update","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/TeamReq","exampleIds":["paths/~1pl4chat-service~1team~1update/post/requestBody/content/application~1json/example"]}},"responseCodes":["200","401"],"pointer":"/pl4chat-service/team/update","href":"team-management/updateteam","openApiOperationId":"updateTeam","summary":"Update a team"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/TeamReq","exampleIds":["paths/~1pl4chat-service~1team~1update/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/TeamReq","exampleIds":["paths/~1pl4chat-service~1team~1update/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The updated team object","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/TeamEntity"}},"schemaId":"components/schemas/TeamEntity"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1team~1update/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/TeamEntity","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/TeamEntity"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/team-management/updateteam"}],"panels":[]}]},"httpPath":"/pl4chat-service/team/update"},{"label":"Remove a team","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/team-management/removeteam","routeSlug":"/apis/omnichannel/team-management/removeteam","metadata":{"seo":{"title":"Remove a team","description":"Permanently delete a team. Members are unassigned but their user accounts are not affected."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"removeTeam","name":"Remove a team","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1team~1remove/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Remove a team","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Permanently delete a team. Members are unassigned but their user accounts are not affected."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_26"}},"schemaId":"schema_26","pointer":"/paths/~1pl4chat-service~1team~1remove/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/pl4chat-service/team/remove","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_26"}},"responseCodes":["200","401"],"pointer":"/pl4chat-service/team/remove","href":"team-management/removeteam","openApiOperationId":"removeTeam","summary":"Remove a team"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"schema_26","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_26"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Confirmation that the team was successfully removed"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1team~1remove/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200"},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/team-management/removeteam"}],"panels":[]}]},"httpPath":"/pl4chat-service/team/remove"},{"label":"Get all teams for a client","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/team-management/getteams","routeSlug":"/apis/omnichannel/team-management/getteams","metadata":{"seo":{"title":"Get all teams for a client","description":"Retrieve all teams for a client reference."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getTeams","name":"Get all teams for a client","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1team~1list~1{clientRef}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get all teams for a client","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve all teams for a client reference."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"clientRef","in":"path","schemaId":"schema_1","description":"Your unique client reference identifier.","required":true}],"pointer":"/paths/~1pl4chat-service~1team~1list~1{clientRef}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/team/list/{clientRef}","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"clientRef","in":"path","required":true,"example":"Growthpoint","schemaId":"schema_1"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/pl4chat-service/team/list/{clientRef}","href":"team-management/getteams","openApiOperationId":"getTeams","summary":"Get all teams for a client"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"List of all teams for the specified client","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_27"}},"schemaId":"schema_27"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1team~1list~1{clientRef}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_27","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_27"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/team-management/getteams"}],"panels":[]}]},"httpPath":"/pl4chat-service/team/list/{clientRef}"},{"label":"Get team by ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/team-management/getteambyid","routeSlug":"/apis/omnichannel/team-management/getteambyid","metadata":{"seo":{"title":"Get team by ID","description":"Retrieve a single team's details by its UUID."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getTeamById","name":"Get team by ID","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1team~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get team by ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve a single team's details by its UUID."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_28","description":"The unique team UUID.","required":true}],"pointer":"/paths/~1pl4chat-service~1team~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/team/{id}","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","schemaId":"schema_28"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","404"],"pointer":"/pl4chat-service/team/{id}","href":"team-management/getteambyid","openApiOperationId":"getTeamById","summary":"Get team by ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The team object with all its details","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/TeamEntity"}},"schemaId":"components/schemas/TeamEntity"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1pl4chat-service~1team~1{id}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/TeamEntity","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/TeamEntity"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/team-management/getteambyid"}],"panels":[]}]},"httpPath":"/pl4chat-service/team/{id}"},{"label":"Get team members","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/team-management/getteammembers","routeSlug":"/apis/omnichannel/team-management/getteammembers","metadata":{"seo":{"title":"Get team members","description":"Retrieve all members assigned to a specific team."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getTeamMembers","name":"Get team members","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1team~1members~1{teamId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get team members","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve all members assigned to a specific team."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"teamId","in":"path","schemaId":"schema_28","description":"The unique team UUID.","required":true}],"pointer":"/paths/~1pl4chat-service~1team~1members~1{teamId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/team/members/{teamId}","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"teamId","in":"path","required":true,"example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","schemaId":"schema_28"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/pl4chat-service/team/members/{teamId}","href":"team-management/getteammembers","openApiOperationId":"getTeamMembers","summary":"Get team members"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"List of system users assigned to the specified team","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_18"}},"schemaId":"schema_18"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1team~1members~1{teamId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_18","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_18"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/team-management/getteammembers"}],"panels":[]}]},"httpPath":"/pl4chat-service/team/members/{teamId}"},{"label":"Get available members (not yet in team)","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/team-management/getfreemembersforteam","routeSlug":"/apis/omnichannel/team-management/getfreemembersforteam","metadata":{"seo":{"title":"Get available members (not yet in team)","description":"List users who are not currently assigned to the specified team. Useful for populating an 'add member' interface."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getFreeMembersForTeam","name":"Get available members (not yet in team)","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1team~1free-members~1{clientRef}~1{teamId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get available members (not yet in team)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"List users who are not currently assigned to the specified team. Useful for populating an 'add member' interface."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"clientRef","in":"path","schemaId":"schema_1","description":"Your unique client reference identifier.","required":true},{"name":"teamId","in":"path","schemaId":"schema_28","description":"The unique team UUID.","required":true}],"pointer":"/paths/~1pl4chat-service~1team~1free-members~1{clientRef}~1{teamId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/team/free-members/{clientRef}/{teamId}","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"clientRef","in":"path","required":true,"example":"Growthpoint","schemaId":"schema_1"},{"name":"teamId","in":"path","required":true,"example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","schemaId":"schema_28"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/pl4chat-service/team/free-members/{clientRef}/{teamId}","href":"team-management/getfreemembersforteam","openApiOperationId":"getFreeMembersForTeam","summary":"Get available members (not yet in team)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"List of system users not currently assigned to the specified team","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_18"}},"schemaId":"schema_18"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1team~1free-members~1{clientRef}~1{teamId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_18","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_18"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/team-management/getfreemembersforteam"}],"panels":[]}]},"httpPath":"/pl4chat-service/team/free-members/{clientRef}/{teamId}"},{"label":"Add member to team","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/team-management/addteammember","routeSlug":"/apis/omnichannel/team-management/addteammember","metadata":{"seo":{"title":"Add member to team","description":"Assign a user to a team."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"addTeamMember","name":"Add member to team","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1team~1add-member/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Add member to team","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Assign a user to a team."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/MemberReq","exampleIds":["paths/~1pl4chat-service~1team~1add-member/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/MemberReq","exampleIds":["paths/~1pl4chat-service~1team~1add-member/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1pl4chat-service~1team~1add-member/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/pl4chat-service/team/add-member","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/MemberReq","exampleIds":["paths/~1pl4chat-service~1team~1add-member/post/requestBody/content/application~1json/example"]}},"responseCodes":["200","400","401"],"pointer":"/pl4chat-service/team/add-member","href":"team-management/addteammember","openApiOperationId":"addTeamMember","summary":"Add member to team"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/MemberReq","exampleIds":["paths/~1pl4chat-service~1team~1add-member/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/MemberReq","exampleIds":["paths/~1pl4chat-service~1team~1add-member/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The system user object of the newly added team member","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/SystemUser"}},"schemaId":"components/schemas/SystemUser"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1team~1add-member/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/SystemUser","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/SystemUser"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/team-management/addteammember"}],"panels":[]}]},"httpPath":"/pl4chat-service/team/add-member"},{"label":"Remove member from team","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/team-management/removeteammember","routeSlug":"/apis/omnichannel/team-management/removeteammember","metadata":{"seo":{"title":"Remove member from team","description":"Remove a user from a team without deleting their account."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"removeTeamMember","name":"Remove member from team","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1team~1remove-member/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Remove member from team","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Remove a user from a team without deleting their account."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/MemberReq","exampleIds":["paths/~1pl4chat-service~1team~1remove-member/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/MemberReq","exampleIds":["paths/~1pl4chat-service~1team~1remove-member/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1pl4chat-service~1team~1remove-member/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/pl4chat-service/team/remove-member","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/MemberReq","exampleIds":["paths/~1pl4chat-service~1team~1remove-member/post/requestBody/content/application~1json/example"]}},"responseCodes":["200","401"],"pointer":"/pl4chat-service/team/remove-member","href":"team-management/removeteammember","openApiOperationId":"removeTeamMember","summary":"Remove member from team"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/MemberReq","exampleIds":["paths/~1pl4chat-service~1team~1remove-member/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/MemberReq","exampleIds":["paths/~1pl4chat-service~1team~1remove-member/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Confirmation that the member was successfully removed from the team"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1team~1remove-member/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200"},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/team-management/removeteammember"}],"panels":[]}]},"httpPath":"/pl4chat-service/team/remove-member"},{"label":"Get team names","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/team-management/getteamnames","routeSlug":"/apis/omnichannel/team-management/getteamnames","metadata":{"seo":{"title":"Get team names","description":"Retrieve a lightweight list of team names for a client. Useful for populating dropdown selectors."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getTeamNames","name":"Get team names","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1team~1names~1{clientRef}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get team names","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve a lightweight list of team names for a client. Useful for populating dropdown selectors."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"clientRef","in":"path","schemaId":"schema_1","description":"Your unique client reference identifier.","required":true}],"pointer":"/paths/~1pl4chat-service~1team~1names~1{clientRef}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/team/names/{clientRef}","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"clientRef","in":"path","required":true,"example":"Growthpoint","schemaId":"schema_1"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/pl4chat-service/team/names/{clientRef}","href":"team-management/getteamnames","openApiOperationId":"getTeamNames","summary":"Get team names"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Array of team name strings for the specified client","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_29"}},"schemaId":"schema_29"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1team~1names~1{clientRef}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_29","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_29"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/team-management/getteamnames"}],"panels":[]}]},"httpPath":"/pl4chat-service/team/names/{clientRef}"},{"label":"Get all supervisors","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/team-management/getsupervisors","routeSlug":"/apis/omnichannel/team-management/getsupervisors","metadata":{"seo":{"title":"Get all supervisors","description":"Retrieve all users with the supervisor role for a client."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getSupervisors","name":"Get all supervisors","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1team~1supervisors~1{clientRef}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get all supervisors","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve all users with the supervisor role for a client."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"clientRef","in":"path","schemaId":"schema_1","description":"Your unique client reference identifier.","required":true}],"pointer":"/paths/~1pl4chat-service~1team~1supervisors~1{clientRef}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/team/supervisors/{clientRef}","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"clientRef","in":"path","required":true,"example":"Growthpoint","schemaId":"schema_1"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/pl4chat-service/team/supervisors/{clientRef}","href":"team-management/getsupervisors","openApiOperationId":"getSupervisors","summary":"Get all supervisors"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"List of all users with the supervisor role for the specified client","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_18"}},"schemaId":"schema_18"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1team~1supervisors~1{clientRef}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_18","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_18"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/team-management/getsupervisors"}],"panels":[]}]},"httpPath":"/pl4chat-service/team/supervisors/{clientRef}"},{"label":"Get all agents","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/team-management/getagents","routeSlug":"/apis/omnichannel/team-management/getagents","metadata":{"seo":{"title":"Get all agents","description":"Retrieve all users with the agent role for a client."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getAgents","name":"Get all agents","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1team~1agents~1{clientRef}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get all agents","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve all users with the agent role for a client."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"clientRef","in":"path","schemaId":"schema_1","description":"Your unique client reference identifier.","required":true}],"pointer":"/paths/~1pl4chat-service~1team~1agents~1{clientRef}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/team/agents/{clientRef}","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"clientRef","in":"path","required":true,"example":"Growthpoint","schemaId":"schema_1"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/pl4chat-service/team/agents/{clientRef}","href":"team-management/getagents","openApiOperationId":"getAgents","summary":"Get all agents"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"List of all users with the agent role for the specified client","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_18"}},"schemaId":"schema_18"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1team~1agents~1{clientRef}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_18","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_18"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/team-management/getagents"}],"panels":[]}]},"httpPath":"/pl4chat-service/team/agents/{clientRef}"}],"content":{"contentType":"group","meta":{"name":"Team Management"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Team Management","showPageActions":true},{"nodeType":"markdoc","content":"Organize agents into teams for live chat routing. Create teams, assign supervisors, add or remove members, and query team composition. Teams control how incoming conversations are distributed across agents and enable supervisor oversight of agent activity."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/pl4chat-service/team/add","summary":"Create a team","prefix":{"name":"post","color":"post"},"badges":[],"link":"/team-management/createteam","deprecated":false},{"title":"/pl4chat-service/team/update","summary":"Update a team","prefix":{"name":"post","color":"post"},"badges":[],"link":"/team-management/updateteam","deprecated":false},{"title":"/pl4chat-service/team/remove","summary":"Remove a team","prefix":{"name":"post","color":"post"},"badges":[],"link":"/team-management/removeteam","deprecated":false},{"title":"/pl4chat-service/team/list/{clientRef}","summary":"Get all teams for a client","prefix":{"name":"get","color":"get"},"badges":[],"link":"/team-management/getteams","deprecated":false},{"title":"/pl4chat-service/team/{id}","summary":"Get team by ID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/team-management/getteambyid","deprecated":false},{"title":"/pl4chat-service/team/members/{teamId}","summary":"Get team members","prefix":{"name":"get","color":"get"},"badges":[],"link":"/team-management/getteammembers","deprecated":false},{"title":"/pl4chat-service/team/free-members/{clientRef}/{teamId}","summary":"Get available members (not yet in team)","prefix":{"name":"get","color":"get"},"badges":[],"link":"/team-management/getfreemembersforteam","deprecated":false},{"title":"/pl4chat-service/team/add-member","summary":"Add member to team","prefix":{"name":"post","color":"post"},"badges":[],"link":"/team-management/addteammember","deprecated":false},{"title":"/pl4chat-service/team/remove-member","summary":"Remove member from team","prefix":{"name":"post","color":"post"},"badges":[],"link":"/team-management/removeteammember","deprecated":false},{"title":"/pl4chat-service/team/names/{clientRef}","summary":"Get team names","prefix":{"name":"get","color":"get"},"badges":[],"link":"/team-management/getteamnames","deprecated":false},{"title":"/pl4chat-service/team/supervisors/{clientRef}","summary":"Get all supervisors","prefix":{"name":"get","color":"get"},"badges":[],"link":"/team-management/getsupervisors","deprecated":false},{"title":"/pl4chat-service/team/agents/{clientRef}","summary":"Get all agents","prefix":{"name":"get","color":"get"},"badges":[],"link":"/team-management/getagents","deprecated":false}]}]}]}]}},{"type":"separator","label":"Balance & Billing","content":null},{"type":"group","label":"Balance & Billing","link":"/apis/omnichannel/balance-and-billing","routeSlug":"/apis/omnichannel/balance-and-billing","items":[{"label":"Get message costs","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/balance-and-billing/getbillingcosts","routeSlug":"/apis/omnichannel/balance-and-billing/getbillingcosts","metadata":{"seo":{"title":"Get message costs","description":"Retrieve the current messaging cost configuration for your account, including per-message rates by channel and message type."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getBillingCosts","name":"Get message costs","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Billing~1getCostForCurrentLoginUser/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get message costs","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve the current messaging cost configuration for your account, including per-message rates by channel and message type."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/Billing/getCostForCurrentLoginUser","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/Billing/getCostForCurrentLoginUser","href":"balance-and-billing/getbillingcosts","openApiOperationId":"getBillingCosts","summary":"Get message costs"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The current messaging cost configuration for your account","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/BillingCostWrapper"}},"schemaId":"components/schemas/BillingCostWrapper"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Billing~1getCostForCurrentLoginUser/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/BillingCostWrapper","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/BillingCostWrapper"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/balance-and-billing/getbillingcosts"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/Billing/getCostForCurrentLoginUser"},{"label":"Check SMS balance","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/balance-and-billing/getsmsbalance","routeSlug":"/apis/omnichannel/balance-and-billing/getsmsbalance","metadata":{"seo":{"title":"Check SMS balance","description":"Check your current SMS credit balance. Use this before sending SMS campaigns to verify sufficient credits are available."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getSMSBalance","name":"Check SMS balance","isWebhook":false,"pointer":"/paths/~1whatsapp-api-service~1SMSBalance~1getClientBalance/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Check SMS balance","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Check your current SMS credit balance. Use this before sending SMS campaigns to verify sufficient credits are available."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/whatsapp-api-service/SMSBalance/getClientBalance","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/whatsapp-api-service/SMSBalance/getClientBalance","href":"balance-and-billing/getsmsbalance","openApiOperationId":"getSMSBalance","summary":"Check SMS balance"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Current SMS credit balance for the authenticated client","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/BalanceResponse"}},"schemaId":"components/schemas/BalanceResponse"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1whatsapp-api-service~1SMSBalance~1getClientBalance/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/BalanceResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/BalanceResponse"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/balance-and-billing/getsmsbalance"}],"panels":[]}]},"httpPath":"/whatsapp-api-service/SMSBalance/getClientBalance"},{"label":"Get balance history","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/balance-and-billing/getbalancehistory","routeSlug":"/apis/omnichannel/balance-and-billing/getbalancehistory","metadata":{"seo":{"title":"Get balance history","description":"Retrieve a paginated history of balance transactions including top-ups, message costs, and adjustments."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getBalanceHistory","name":"Get balance history","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientBalanceHistory~1getForCurrentClient/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get balance history","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve a paginated history of balance transactions including top-ups, message costs, and adjustments."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page","in":"query","schemaId":"schema_2","description":"Zero-based page index."},{"name":"size","in":"query","schemaId":"schema_3","description":"Number of records per page."},{"name":"searchString","in":"query","schemaId":"schema_8","description":"Filter transactions by keyword (e.g., user name or reference)."}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientBalanceHistory~1getForCurrentClient/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/WhatsAppClientBalanceHistory/getForCurrentClient","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"page","in":"query","example":0,"schemaId":"schema_2"},{"name":"size","in":"query","example":10,"schemaId":"schema_3"},{"name":"searchString","in":"query","example":"john","schemaId":"schema_8"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/WhatsAppClientBalanceHistory/getForCurrentClient","href":"balance-and-billing/getbalancehistory","openApiOperationId":"getBalanceHistory","summary":"Get balance history"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Paginated list of balance transactions including top-ups, costs, and adjustments","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_30"}},"schemaId":"schema_30"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientBalanceHistory~1getForCurrentClient/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_30","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_30"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/balance-and-billing/getbalancehistory"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/WhatsAppClientBalanceHistory/getForCurrentClient"}],"content":{"contentType":"group","meta":{"name":"Balance & Billing"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Balance & Billing","showPageActions":true},{"nodeType":"markdoc","content":"Check your current WhatsApp messaging costs, SMS credit balance, and balance transaction history. Use these endpoints to monitor spend, verify credit availability before campaigns, and audit billing records."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/payless4messaging-service/WhatsApp/Billing/getCostForCurrentLoginUser","summary":"Get message costs","prefix":{"name":"get","color":"get"},"badges":[],"link":"/balance-and-billing/getbillingcosts","deprecated":false},{"title":"/whatsapp-api-service/SMSBalance/getClientBalance","summary":"Check SMS balance","prefix":{"name":"get","color":"get"},"badges":[],"link":"/balance-and-billing/getsmsbalance","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/WhatsAppClientBalanceHistory/getForCurrentClient","summary":"Get balance history","prefix":{"name":"get","color":"get"},"badges":[],"link":"/balance-and-billing/getbalancehistory","deprecated":false}]}]}]}]}},{"type":"separator","label":"Messaging","content":null},{"type":"group","label":"Messaging","link":"/apis/omnichannel/messaging","routeSlug":"/apis/omnichannel/messaging","items":[{"label":"Send message (Unified endpoint)","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/messaging/sendunifiedmessage","routeSlug":"/apis/omnichannel/messaging/sendunifiedmessage","metadata":{"seo":{"title":"Send message (Unified endpoint)","description":"The primary messaging endpoint — routes to WhatsApp or SMS based on the channel field in the request body. Set channel to WHATSAPP for template notifications and session messages, or SMS for direct SMS delivery."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"sendUnifiedMessage","name":"Send message (Unified endpoint)","isWebhook":false,"pointer":"/paths/~1whatsapp-api-service~1v2~1messages/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Send message (Unified endpoint)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The primary messaging endpoint — routes to WhatsApp or SMS based on the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"channel"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" field in the request body. Set "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"channel"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"WHATSAPP"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for template notifications and session messages, or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SMS"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for direct SMS delivery."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This is an "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"asynchronous"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" endpoint. A "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"202 Accepted"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" response means the message is queued for processing, not yet delivered. Track delivery via webhooks or the message status endpoints."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"WhatsApp notification messages"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" require an approved template ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"templateName"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" + "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"templateId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Chat messages"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"messageType: CHAT"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") can be sent within the 24-hour customer service window. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"SMS messages"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" are sent immediately through the configured SMS gateway."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Recipient numbers"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"to"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") must be in international format — country code plus subscriber number, with an optional leading "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"+"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (e.g. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"+27821234567"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"27821234567"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for South Africa). Local-format numbers starting with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"0"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (e.g. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"0821234567"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") are not valid."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Idempotency-Key","in":"header","schemaId":"schema_31","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Optional key that makes a send safe to retry. If a request with the same "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Idempotency-Key"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"was already accepted for your account, the original response is replayed and the message is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"not"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" sent or charged again. Supply a unique value (for example a UUID) per distinct send,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"and reuse the same value only when retrying that same send after a network error or timeout."},"children":[],"type":"text"}],"type":"paragraph"}]}],"pointer":"/paths/~1whatsapp-api-service~1v2~1messages/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UnifiedMessageRequest","exampleIds":["paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 1. Text","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 2. Text with Auto Fallback","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 3. Text with Manual Fallback","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 4. Media Header (Document)","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 5. Text Header with Variable","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 5b. Static Text Header (No Variable)","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 6. CTA — Static URL Button","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 7. CTA — Dynamic URL Button","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 8. CTA — Phone Number Button","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 9. CTA — Quick Reply (QR)","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 10. CTA — Mixed Buttons (QR + Static URL + Phone)","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 11. Carousel — Static QR + Static URL Buttons","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 12. Carousel — Dynamic Body + Dynamic URL Button","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 13. Authentication — Copy Code ~1 OTP","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 14. Flow (Flow CTA)","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 15. Coupon Code","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: Text Chat Message","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: Media Chat Message","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/SMS Message"]}},"schemaId":"components/schemas/UnifiedMessageRequest","exampleIds":["paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 1. Text","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 2. Text with Auto Fallback","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 3. Text with Manual Fallback","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 4. Media Header (Document)","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 5. Text Header with Variable","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 5b. Static Text Header (No Variable)","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 6. CTA — Static URL Button","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 7. CTA — Dynamic URL Button","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 8. CTA — Phone Number Button","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 9. CTA — Quick Reply (QR)","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 10. CTA — Mixed Buttons (QR + Static URL + Phone)","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 11. Carousel — Static QR + Static URL Buttons","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 12. Carousel — Dynamic Body + Dynamic URL Button","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 13. Authentication — Copy Code ~1 OTP","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 14. Flow (Flow CTA)","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 15. Coupon Code","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: Text Chat Message","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: Media Chat Message","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/SMS Message"],"pointer":"/paths/~1whatsapp-api-service~1v2~1messages/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/whatsapp-api-service/v2/messages","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Idempotency-Key","in":"header","required":false,"example":"a1b2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d","schemaId":"schema_31"}],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/UnifiedMessageRequest","exampleIds":["paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 1. Text","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 2. Text with Auto Fallback","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 3. Text with Manual Fallback","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 4. Media Header (Document)","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 5. Text Header with Variable","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 5b. Static Text Header (No Variable)","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 6. CTA — Static URL Button","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 7. CTA — Dynamic URL Button","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 8. CTA — Phone Number Button","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 9. CTA — Quick Reply (QR)","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 10. CTA — Mixed Buttons (QR + Static URL + Phone)","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 11. Carousel — Static QR + Static URL Buttons","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 12. Carousel — Dynamic Body + Dynamic URL Button","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 13. Authentication — Copy Code ~1 OTP","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 14. Flow (Flow CTA)","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 15. Coupon Code","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: Text Chat Message","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: Media Chat Message","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/SMS Message"]}},"responseCodes":["202","400","401"],"pointer":"/whatsapp-api-service/v2/messages","href":"messaging/sendunifiedmessage","openApiOperationId":"sendUnifiedMessage","summary":"Send message (Unified endpoint)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/UnifiedMessageRequest","exampleIds":["paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 1. Text","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 2. Text with Auto Fallback","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 3. Text with Manual Fallback","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 4. Media Header (Document)","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 5. Text Header with Variable","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 5b. Static Text Header (No Variable)","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 6. CTA — Static URL Button","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 7. CTA — Dynamic URL Button","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 8. CTA — Phone Number Button","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 9. CTA — Quick Reply (QR)","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 10. CTA — Mixed Buttons (QR + Static URL + Phone)","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 11. Carousel — Static QR + Static URL Buttons","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 12. Carousel — Dynamic Body + Dynamic URL Button","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 13. Authentication — Copy Code ~1 OTP","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 14. Flow (Flow CTA)","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 15. Coupon Code","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: Text Chat Message","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: Media Chat Message","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/SMS Message"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UnifiedMessageRequest","exampleIds":["paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 1. Text","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 2. Text with Auto Fallback","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 3. Text with Manual Fallback","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 4. Media Header (Document)","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 5. Text Header with Variable","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 5b. Static Text Header (No Variable)","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 6. CTA — Static URL Button","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 7. CTA — Dynamic URL Button","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 8. CTA — Phone Number Button","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 9. CTA — Quick Reply (QR)","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 10. CTA — Mixed Buttons (QR + Static URL + Phone)","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 11. Carousel — Static QR + Static URL Buttons","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 12. Carousel — Dynamic Body + Dynamic URL Button","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 13. Authentication — Copy Code ~1 OTP","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 14. Flow (Flow CTA)","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 15. Coupon Code","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: Text Chat Message","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: Media Chat Message","paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/SMS Message"]}},"examples":[{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"202","description":"Accepted","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UnifiedMessageResponse"}},"schemaId":"components/schemas/UnifiedMessageResponse"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1whatsapp-api-service~1v2~1messages/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"202","schemaId":"components/schemas/UnifiedMessageResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/UnifiedMessageResponse"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/messaging/sendunifiedmessage"}],"panels":[]}]},"httpPath":"/whatsapp-api-service/v2/messages"},{"label":"Send WhatsApp messages","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/messaging/sendwhatsapp","routeSlug":"/apis/omnichannel/messaging/sendwhatsapp","metadata":{"seo":{"title":"Send WhatsApp messages","description":"Send WhatsApp template notifications and session (chat) messages directly to the WhatsApp channel. Use this endpoint when you only need WhatsApp delivery without the unified routing layer."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"sendWhatsApp","name":"Send WhatsApp messages","isWebhook":false,"pointer":"/paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Send WhatsApp messages","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Send WhatsApp template notifications and session (chat) messages directly to the WhatsApp channel. Use this endpoint when you only need WhatsApp delivery without the unified routing layer."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Template messages"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"messageType: NOTIFICATION"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") require an approved template with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"templateName"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"templateId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Include "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"body"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"header"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"button"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" components as needed for parameter substitution."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Session messages"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"messageType: CHAT"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") support text and media attachments. On "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"WhatsApp Cloud"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", these can only be sent within the 24-hour customer service window after the customer last messaged you. On "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"WhatsApp Lite"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", session messages can be sent at any time."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Recipient numbers"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"to"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") must be in international format — country code plus subscriber number, with an optional leading "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"+"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (e.g. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"+27821234567"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"27821234567"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for South Africa). Local-format numbers starting with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"0"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (e.g. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"0821234567"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") are not valid."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This is an "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"asynchronous"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" endpoint — "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"202 Accepted"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" means queued, not delivered."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Idempotency-Key","in":"header","schemaId":"schema_31","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Optional key that makes a send safe to retry. If a request with the same "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Idempotency-Key"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"was already accepted for your account, the original response is replayed and the message is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"not"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" sent or charged again. Supply a unique value (for example a UUID) per distinct send,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"and reuse the same value only when retrying that same send after a network error or timeout."},"children":[],"type":"text"}],"type":"paragraph"}]}],"pointer":"/paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/ECommMessageRequestV2","exampleIds":["paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/1. Text","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/2. Text with Auto Fallback","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/3. Text with Manual Fallback","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/4. Media Header (Document)","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/5. Text Header with Variable","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/5b. Static Text Header (No Variable)","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/6. CTA — Static URL Button","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/7. CTA — Dynamic URL Button","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/8. CTA — Phone Number Button","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/9. CTA — Quick Reply (QR)","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/10. CTA — Mixed Buttons (QR + Static URL + Phone)","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/11. Carousel — Static QR + Static URL Buttons","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/12. Carousel — Dynamic Body + Dynamic URL Button","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/13. Authentication — Copy Code ~1 OTP","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/14. Flow (Flow CTA)","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/15. Coupon Code","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/Text Chat","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/Media Chat"]}},"schemaId":"components/schemas/ECommMessageRequestV2","exampleIds":["paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/1. Text","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/2. Text with Auto Fallback","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/3. Text with Manual Fallback","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/4. Media Header (Document)","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/5. Text Header with Variable","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/5b. Static Text Header (No Variable)","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/6. CTA — Static URL Button","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/7. CTA — Dynamic URL Button","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/8. CTA — Phone Number Button","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/9. CTA — Quick Reply (QR)","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/10. CTA — Mixed Buttons (QR + Static URL + Phone)","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/11. Carousel — Static QR + Static URL Buttons","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/12. Carousel — Dynamic Body + Dynamic URL Button","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/13. Authentication — Copy Code ~1 OTP","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/14. Flow (Flow CTA)","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/15. Coupon Code","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/Text Chat","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/Media Chat"],"pointer":"/paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/whatsapp-api-service/v2/channels/whatsapp","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Idempotency-Key","in":"header","required":false,"example":"a1b2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d","schemaId":"schema_31"}],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/ECommMessageRequestV2","exampleIds":["paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/1. Text","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/2. Text with Auto Fallback","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/3. Text with Manual Fallback","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/4. Media Header (Document)","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/5. Text Header with Variable","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/5b. Static Text Header (No Variable)","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/6. CTA — Static URL Button","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/7. CTA — Dynamic URL Button","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/8. CTA — Phone Number Button","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/9. CTA — Quick Reply (QR)","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/10. CTA — Mixed Buttons (QR + Static URL + Phone)","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/11. Carousel — Static QR + Static URL Buttons","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/12. Carousel — Dynamic Body + Dynamic URL Button","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/13. Authentication — Copy Code ~1 OTP","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/14. Flow (Flow CTA)","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/15. Coupon Code","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/Text Chat","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/Media Chat"]}},"responseCodes":["202","400","401"],"pointer":"/whatsapp-api-service/v2/channels/whatsapp","href":"messaging/sendwhatsapp","openApiOperationId":"sendWhatsApp","summary":"Send WhatsApp messages"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/ECommMessageRequestV2","exampleIds":["paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/1. Text","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/2. Text with Auto Fallback","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/3. Text with Manual Fallback","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/4. Media Header (Document)","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/5. Text Header with Variable","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/5b. Static Text Header (No Variable)","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/6. CTA — Static URL Button","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/7. CTA — Dynamic URL Button","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/8. CTA — Phone Number Button","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/9. CTA — Quick Reply (QR)","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/10. CTA — Mixed Buttons (QR + Static URL + Phone)","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/11. Carousel — Static QR + Static URL Buttons","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/12. Carousel — Dynamic Body + Dynamic URL Button","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/13. Authentication — Copy Code ~1 OTP","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/14. Flow (Flow CTA)","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/15. Coupon Code","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/Text Chat","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/Media Chat"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/ECommMessageRequestV2","exampleIds":["paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/1. Text","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/2. Text with Auto Fallback","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/3. Text with Manual Fallback","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/4. Media Header (Document)","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/5. Text Header with Variable","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/5b. Static Text Header (No Variable)","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/6. CTA — Static URL Button","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/7. CTA — Dynamic URL Button","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/8. CTA — Phone Number Button","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/9. CTA — Quick Reply (QR)","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/10. CTA — Mixed Buttons (QR + Static URL + Phone)","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/11. Carousel — Static QR + Static URL Buttons","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/12. Carousel — Dynamic Body + Dynamic URL Button","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/13. Authentication — Copy Code ~1 OTP","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/14. Flow (Flow CTA)","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/15. Coupon Code","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/Text Chat","paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/Media Chat"]}},"examples":[{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"202","description":"Accepted","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Pl4WhatsAppResponse"}},"schemaId":"components/schemas/Pl4WhatsAppResponse"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"202","schemaId":"components/schemas/Pl4WhatsAppResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Pl4WhatsAppResponse"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/messaging/sendwhatsapp"}],"panels":[]}]},"httpPath":"/whatsapp-api-service/v2/channels/whatsapp"},{"label":"Send SMS message","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/messaging/sendsms","routeSlug":"/apis/omnichannel/messaging/sendsms","metadata":{"seo":{"title":"Send SMS message","description":"Send SMS messages directly through the SMS gateway. Each message in the messages array specifies a recipient, text content, and optional tracking ID (ctId). Set unicode: true for messages containing emoji or non-Latin characters."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"sendSMS","name":"Send SMS message","isWebhook":false,"pointer":"/paths/~1whatsapp-api-service~1v2~1channels~1sms/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Send SMS message","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Send SMS messages directly through the SMS gateway. Each message in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"messages"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" array specifies a recipient, text content, and optional tracking ID ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ctId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). Set "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"unicode: true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for messages containing emoji or non-Latin characters."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"This is an "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"asynchronous"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" endpoint — "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"202 Accepted"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" means queued, not delivered."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/SMSRequest","exampleIds":["paths/~1whatsapp-api-service~1v2~1channels~1sms/post/requestBody/content/application~1json/examples/Send SMS"]}},"schemaId":"components/schemas/SMSRequest","exampleIds":["paths/~1whatsapp-api-service~1v2~1channels~1sms/post/requestBody/content/application~1json/examples/Send SMS"],"pointer":"/paths/~1whatsapp-api-service~1v2~1channels~1sms/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/whatsapp-api-service/v2/channels/sms","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/SMSRequest","exampleIds":["paths/~1whatsapp-api-service~1v2~1channels~1sms/post/requestBody/content/application~1json/examples/Send SMS"]}},"responseCodes":["202","400","401"],"pointer":"/whatsapp-api-service/v2/channels/sms","href":"messaging/sendsms","openApiOperationId":"sendSMS","summary":"Send SMS message"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/SMSRequest","exampleIds":["paths/~1whatsapp-api-service~1v2~1channels~1sms/post/requestBody/content/application~1json/examples/Send SMS"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/SMSRequest","exampleIds":["paths/~1whatsapp-api-service~1v2~1channels~1sms/post/requestBody/content/application~1json/examples/Send SMS"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"202","description":"Accepted","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Pl4SMSResponse"}},"schemaId":"components/schemas/Pl4SMSResponse"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1whatsapp-api-service~1v2~1channels~1sms/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"202","schemaId":"components/schemas/Pl4SMSResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Pl4SMSResponse"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/messaging/sendsms"}],"panels":[]}]},"httpPath":"/whatsapp-api-service/v2/channels/sms"}],"content":{"contentType":"group","meta":{"name":"Messaging"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Messaging","showPageActions":true},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Send messages through WhatsApp or SMS. The unified endpoint ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /v2/messages"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") routes based on the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"channel"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" field, or use dedicated channel endpoints for WhatsApp and SMS separately. Supports template notifications, session (chat) messages, media attachments, and SMS fallback. All send operations are asynchronous — a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"202 Accepted"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" response means the message is queued for processing."},"children":[],"type":"text"}],"type":"paragraph"}]}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/whatsapp-api-service/v2/messages","summary":"Send message (Unified endpoint)","prefix":{"name":"post","color":"post"},"badges":[],"link":"/messaging/sendunifiedmessage","deprecated":false},{"title":"/whatsapp-api-service/v2/channels/whatsapp","summary":"Send WhatsApp messages","prefix":{"name":"post","color":"post"},"badges":[],"link":"/messaging/sendwhatsapp","deprecated":false},{"title":"/whatsapp-api-service/v2/channels/sms","summary":"Send SMS message","prefix":{"name":"post","color":"post"},"badges":[],"link":"/messaging/sendsms","deprecated":false}]}]}]}]}},{"type":"group","label":"WhatsApp Number Management","link":"/apis/omnichannel/whatsapp-number-management","routeSlug":"/apis/omnichannel/whatsapp-number-management","items":[{"label":"Get your WhatsApp numbers","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/whatsapp-number-management/getclientnumbers","routeSlug":"/apis/omnichannel/whatsapp-number-management/getclientnumbers","metadata":{"seo":{"title":"Get your WhatsApp numbers","description":"Retrieve a paginated list of WhatsApp numbers assigned to your account. Each number includes its provider type (Cloud or Lite), quality rating, messaging tier, and connection status."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getClientNumbers","name":"Get your WhatsApp numbers","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientNumbers~1getForCurrentLoginUser/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get your WhatsApp numbers","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve a paginated list of WhatsApp numbers assigned to your account. Each number includes its provider type (Cloud or Lite), quality rating, messaging tier, and connection status."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page","in":"query","schemaId":"schema_2","description":"Page number (zero-based)."},{"name":"size","in":"query","schemaId":"schema_3","description":"Number of items per page."},{"name":"searchString","in":"query","schemaId":"schema_8","description":"Filter by phone number (partial match)."}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientNumbers~1getForCurrentLoginUser/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/WhatsAppClientNumbers/getForCurrentLoginUser","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"page","in":"query","example":0,"schemaId":"schema_2"},{"name":"size","in":"query","example":10,"schemaId":"schema_3"},{"name":"searchString","in":"query","example":"john","schemaId":"schema_8"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/WhatsAppClientNumbers/getForCurrentLoginUser","href":"whatsapp-number-management/getclientnumbers","openApiOperationId":"getClientNumbers","summary":"Get your WhatsApp numbers"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Paginated list of WhatsApp numbers with provider and quality details.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_32"}},"schemaId":"schema_32"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientNumbers~1getForCurrentLoginUser/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_32","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_32"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/whatsapp-number-management/getclientnumbers"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/WhatsAppClientNumbers/getForCurrentLoginUser"},{"label":"Get all your WhatsApp numbers (unpaginated)","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/whatsapp-number-management/getallclientnumbers","routeSlug":"/apis/omnichannel/whatsapp-number-management/getallclientnumbers","metadata":{"seo":{"title":"Get all your WhatsApp numbers (unpaginated)","description":"Returns all WhatsApp numbers assigned to your account in a single response without pagination. Useful for populating dropdown selectors or syncing your local number list. For large accounts, prefer the paginated endpoint."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getAllClientNumbers","name":"Get all your WhatsApp numbers (unpaginated)","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientNumbers~1getAllForCurrentLoginUser/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get all your WhatsApp numbers (unpaginated)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Returns all WhatsApp numbers assigned to your account in a single response without pagination. Useful for populating dropdown selectors or syncing your local number list. For large accounts, prefer the paginated endpoint."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/WhatsAppClientNumbers/getAllForCurrentLoginUser","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/WhatsAppClientNumbers/getAllForCurrentLoginUser","href":"whatsapp-number-management/getallclientnumbers","openApiOperationId":"getAllClientNumbers","summary":"Get all your WhatsApp numbers (unpaginated)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Array of all WhatsApp numbers assigned to the authenticated client.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_33"}},"schemaId":"schema_33"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientNumbers~1getAllForCurrentLoginUser/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_33","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_33"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/whatsapp-number-management/getallclientnumbers"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/WhatsAppClientNumbers/getAllForCurrentLoginUser"},{"label":"Register a WhatsApp Lite (WL) number","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/whatsapp-number-management/registerwlnumber","routeSlug":"/apis/omnichannel/whatsapp-number-management/registerwlnumber","metadata":{"seo":{"title":"Register a WhatsApp Lite (WL) number","description":"Register a WhatsApp Lite number and assign it to the authenticated user's client.The provider is set to WL and the billing model to message. If hostingType isomitted, it defaults to WHATSAPP_GO."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"registerWLNumber","name":"Register a WhatsApp Lite (WL) number","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientNumbers~1registerWLNumber/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Register a WhatsApp Lite (WL) number","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Register a WhatsApp Lite number and assign it to the authenticated user's client."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"The provider is set to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"WL"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and the billing model to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"message"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". If "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"hostingType"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"omitted, it defaults to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"WHATSAPP_GO"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"If the number already exists but is not linked to your client, it will be reused and"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"linked. Attempting to register a number that is already assigned to your client returns"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"an error."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/RegisterWLNumberRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientNumbers~1registerWLNumber/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/RegisterWLNumberRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientNumbers~1registerWLNumber/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientNumbers~1registerWLNumber/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payless4messaging-service/WhatsApp/WhatsAppClientNumbers/registerWLNumber","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/RegisterWLNumberRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientNumbers~1registerWLNumber/post/requestBody/content/application~1json/example"]}},"responseCodes":["201","400","401"],"pointer":"/payless4messaging-service/WhatsApp/WhatsAppClientNumbers/registerWLNumber","href":"whatsapp-number-management/registerwlnumber","openApiOperationId":"registerWLNumber","summary":"Register a WhatsApp Lite (WL) number"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/RegisterWLNumberRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientNumbers~1registerWLNumber/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/RegisterWLNumberRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientNumbers~1registerWLNumber/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"201","description":"Number registered and linked to the authenticated client.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppClientNumberResponse"}},"schemaId":"components/schemas/WhatsAppClientNumberResponse"},{"code":"400","description":"Bad request (e.g. missing phone number, or number already registered to this client).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_34"}},"schemaId":"schema_34"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientNumbers~1registerWLNumber/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"201","schemaId":"components/schemas/WhatsAppClientNumberResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppClientNumberResponse"}}},{"code":"400","schemaId":"schema_34","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_34"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/whatsapp-number-management/registerwlnumber"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/WhatsAppClientNumbers/registerWLNumber"}],"content":{"contentType":"group","meta":{"name":"WhatsApp Number Management"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"WhatsApp Number Management","showPageActions":true},{"nodeType":"markdoc","content":"View the WhatsApp numbers assigned to your account. Each number has its own provider configuration, quality rating, and messaging tier. Use these endpoints to list numbers with pagination or retrieve all numbers at once."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/payless4messaging-service/WhatsApp/WhatsAppClientNumbers/getForCurrentLoginUser","summary":"Get your WhatsApp numbers","prefix":{"name":"get","color":"get"},"badges":[],"link":"/whatsapp-number-management/getclientnumbers","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/WhatsAppClientNumbers/getAllForCurrentLoginUser","summary":"Get all your WhatsApp numbers (unpaginated)","prefix":{"name":"get","color":"get"},"badges":[],"link":"/whatsapp-number-management/getallclientnumbers","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/WhatsAppClientNumbers/registerWLNumber","summary":"Register a WhatsApp Lite (WL) number","prefix":{"name":"post","color":"post"},"badges":[],"link":"/whatsapp-number-management/registerwlnumber","deprecated":false}]}]}]}]}},{"type":"group","label":"Template Management","link":"/apis/omnichannel/template-management","routeSlug":"/apis/omnichannel/template-management","items":[{"label":"Create a WhatsApp template","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/template-management/createtemplate","routeSlug":"/apis/omnichannel/template-management/createtemplate","metadata":{"seo":{"title":"Create a WhatsApp template","description":"Submit a new WhatsApp message template for Meta approval. The template is validated locally and forwarded to Meta's template review process. Approval typically takes minutes but can take up to 24 hours."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createTemplate","name":"Create a WhatsApp template","isWebhook":false,"pointer":"/paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a WhatsApp template","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Submit a new WhatsApp message template for Meta approval. The template is validated locally and forwarded to Meta's template review process. Approval typically takes minutes but can take up to 24 hours."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Supports 11 template types — see the request examples for each type. The response includes the template ID and initial status ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"pending"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Marketing templates (Cloud API):"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" If your template category is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"MARKETING"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", you should include a quick-reply opt-out button (e.g. \"Stop promotions\") as part of your template components. This is a Meta policy requirement — marketing templates without an opt-out mechanism risk rejection and can negatively impact your number's quality rating and messaging limits. Including an opt-out button reduces your block rate, which is the primary factor Meta uses to assess number quality."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"WhatsApp Lite:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Only text and media template types are supported. Interactive components (call-to-action buttons, carousel, authentication, flow) are not available on WhatsApp Lite."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateTemplateRequest","exampleIds":["paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Text Only","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Media Header","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Text Header","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Quick-reply Buttons","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Carousel","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Auth: Copy Code","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Auth: One Tap","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Flow","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/URL Button (Static)","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/URL Button (Dynamic)","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Phone Number Button","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Coupon Code Button","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Request Contact Info Button","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Call Permission Request","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Mixed Buttons (QR + URL + Phone)"]}},"schemaId":"components/schemas/CreateTemplateRequest","exampleIds":["paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Text Only","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Media Header","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Text Header","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Quick-reply Buttons","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Carousel","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Auth: Copy Code","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Auth: One Tap","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Flow","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/URL Button (Static)","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/URL Button (Dynamic)","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Phone Number Button","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Coupon Code Button","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Request Contact Info Button","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Call Permission Request","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Mixed Buttons (QR + URL + Phone)"],"pointer":"/paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/whatsapp-api-service/whatsAppTemplates/createTemplate","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/CreateTemplateRequest","exampleIds":["paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Text Only","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Media Header","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Text Header","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Quick-reply Buttons","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Carousel","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Auth: Copy Code","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Auth: One Tap","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Flow","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/URL Button (Static)","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/URL Button (Dynamic)","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Phone Number Button","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Coupon Code Button","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Request Contact Info Button","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Call Permission Request","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Mixed Buttons (QR + URL + Phone)"]}},"responseCodes":["202","400","401","403"],"pointer":"/whatsapp-api-service/whatsAppTemplates/createTemplate","href":"template-management/createtemplate","openApiOperationId":"createTemplate","summary":"Create a WhatsApp template"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/CreateTemplateRequest","exampleIds":["paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Text Only","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Media Header","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Text Header","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Quick-reply Buttons","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Carousel","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Auth: Copy Code","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Auth: One Tap","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Flow","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/URL Button (Static)","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/URL Button (Dynamic)","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Phone Number Button","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Coupon Code Button","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Request Contact Info Button","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Call Permission Request","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Mixed Buttons (QR + URL + Phone)"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CreateTemplateRequest","exampleIds":["paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Text Only","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Media Header","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Text Header","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Quick-reply Buttons","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Carousel","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Auth: Copy Code","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Auth: One Tap","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Flow","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/URL Button (Static)","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/URL Button (Dynamic)","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Phone Number Button","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Coupon Code Button","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Request Contact Info Button","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Call Permission Request","paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Mixed Buttons (QR + URL + Phone)"]}},"examples":[{},{},{},{},{},{},{},{},{},{},{},{},{},{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"202","description":"Template submitted","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/TemplateResponseObject"}},"schemaId":"components/schemas/TemplateResponseObject"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_19"}},"schemaId":"schema_19"}],"pointer":"/paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"202","schemaId":"components/schemas/TemplateResponseObject","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/TemplateResponseObject"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"403","schemaId":"schema_19","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_19"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/template-management/createtemplate"}],"panels":[]}]},"httpPath":"/whatsapp-api-service/whatsAppTemplates/createTemplate"},{"label":"Update a template","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/template-management/updatetemplate","routeSlug":"/apis/omnichannel/template-management/updatetemplate","metadata":{"seo":{"title":"Update a template","description":"Update components of an existing template. The templateRequest field must contain the stringified JSON of the new template structure."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateTemplate","name":"Update a template","isWebhook":false,"pointer":"/paths/~1whatsapp-api-service~1whatsAppTemplates~1updateTemplate/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update a template","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Update components of an existing template. The "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"templateRequest"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" field must contain the stringified JSON of the new template structure."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Important:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" This endpoint performs a full entity save. You must include "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"all"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" fields in the request body. Any omitted fields will be set to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/WhatsAppClientTemplateDto","exampleIds":["paths/~1whatsapp-api-service~1whatsAppTemplates~1updateTemplate/put/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/WhatsAppClientTemplateDto","exampleIds":["paths/~1whatsapp-api-service~1whatsAppTemplates~1updateTemplate/put/requestBody/content/application~1json/example"],"pointer":"/paths/~1whatsapp-api-service~1whatsAppTemplates~1updateTemplate/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/whatsapp-api-service/whatsAppTemplates/updateTemplate","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/WhatsAppClientTemplateDto","exampleIds":["paths/~1whatsapp-api-service~1whatsAppTemplates~1updateTemplate/put/requestBody/content/application~1json/example"]}},"responseCodes":["200","400","401"],"pointer":"/whatsapp-api-service/whatsAppTemplates/updateTemplate","href":"template-management/updatetemplate","openApiOperationId":"updateTemplate","summary":"Update a template"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/WhatsAppClientTemplateDto","exampleIds":["paths/~1whatsapp-api-service~1whatsAppTemplates~1updateTemplate/put/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/WhatsAppClientTemplateDto","exampleIds":["paths/~1whatsapp-api-service~1whatsAppTemplates~1updateTemplate/put/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Template updated","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_35"}},"schemaId":"schema_35"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1whatsapp-api-service~1whatsAppTemplates~1updateTemplate/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_35","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_35"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/template-management/updatetemplate"}],"panels":[]}]},"httpPath":"/whatsapp-api-service/whatsAppTemplates/updateTemplate"},{"label":"Delete a template","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/template-management/deletetemplate","routeSlug":"/apis/omnichannel/template-management/deletetemplate","metadata":{"seo":{"title":"Delete a template","description":"Permanently delete a WhatsApp template by its ID. This removes the template from both eCommunicate and Meta. Deleted templates cannot be recovered — create a new template if needed."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"deleteTemplate","name":"Delete a template","isWebhook":false,"pointer":"/paths/~1whatsapp-api-service~1whatsAppTemplates~1deleteTemplate~1{templateId}/delete","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Delete a template","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Permanently delete a WhatsApp template by its ID. This removes the template from both eCommunicate and Meta. Deleted templates cannot be recovered — create a new template if needed."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"templateId","in":"path","schemaId":"schema_28","required":true}],"pointer":"/paths/~1whatsapp-api-service~1whatsAppTemplates~1deleteTemplate~1{templateId}/delete/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/whatsapp-api-service/whatsAppTemplates/deleteTemplate/{templateId}","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"templateId","in":"path","required":true,"example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","schemaId":"schema_28"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","404"],"pointer":"/whatsapp-api-service/whatsAppTemplates/deleteTemplate/{templateId}","href":"template-management/deletetemplate","openApiOperationId":"deleteTemplate","summary":"Delete a template"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Deleted","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_36"}},"schemaId":"schema_36"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1whatsapp-api-service~1whatsAppTemplates~1deleteTemplate~1{templateId}/delete/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_36","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_36"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/template-management/deletetemplate"}],"panels":[]}]},"httpPath":"/whatsapp-api-service/whatsAppTemplates/deleteTemplate/{templateId}"},{"label":"Get template approval status","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/template-management/gettemplatestatus","routeSlug":"/apis/omnichannel/template-management/gettemplatestatus","metadata":{"seo":{"title":"Get template approval status","description":"Check the current approval status of a template. Returns the template details including status (pending, approved, rejected), rejection reason (if applicable), and the full template structure."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getTemplateStatus","name":"Get template approval status","isWebhook":false,"pointer":"/paths/~1whatsapp-api-service~1whatsAppTemplates~1approvalRequest/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get template approval status","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Check the current approval status of a template. Returns the template details including status ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"pending"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"approved"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"rejected"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"), rejection reason (if applicable), and the full template structure."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"templateId","in":"query","schemaId":"schema_28","required":true}],"pointer":"/paths/~1whatsapp-api-service~1whatsAppTemplates~1approvalRequest/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/whatsapp-api-service/whatsAppTemplates/approvalRequest","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"templateId","in":"query","required":true,"example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","schemaId":"schema_28"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401","404"],"pointer":"/whatsapp-api-service/whatsAppTemplates/approvalRequest","href":"template-management/gettemplatestatus","openApiOperationId":"getTemplateStatus","summary":"Get template approval status"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"OK","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/TemplateResponseObject"}},"schemaId":"components/schemas/TemplateResponseObject"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1whatsapp-api-service~1whatsAppTemplates~1approvalRequest/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/TemplateResponseObject","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/TemplateResponseObject"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/template-management/gettemplatestatus"}],"panels":[]}]},"httpPath":"/whatsapp-api-service/whatsAppTemplates/approvalRequest"},{"label":"Get client templates (paginated)","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/template-management/getclienttemplates","routeSlug":"/apis/omnichannel/template-management/getclienttemplates","metadata":{"seo":{"title":"Get client templates (paginated)","description":"Retrieve a paginated list of all WhatsApp templates for your account. Use searchString to filter by template name, category, language code, or approval status. Results are sorted by sortField (default requestedDate) in the specified direction."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getClientTemplates","name":"Get client templates (paginated)","isWebhook":false,"pointer":"/paths/~1whatsapp-api-service~1whatsAppTemplates~1getWhatsAppClientTemplates/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get client templates (paginated)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve a paginated list of all WhatsApp templates for your account. Use searchString to filter by template name, category, language code, or approval status. Results are sorted by sortField (default requestedDate) in the specified direction."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page","in":"query","schemaId":"schema_2"},{"name":"size","in":"query","schemaId":"schema_3"},{"name":"searchString","in":"query","schemaId":"schema_8","description":"Search by template name, category, language, or status"},{"name":"sortField","in":"query","schemaId":"schema_37"},{"name":"sortDir","in":"query","schemaId":"schema_38"}],"pointer":"/paths/~1whatsapp-api-service~1whatsAppTemplates~1getWhatsAppClientTemplates/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/whatsapp-api-service/whatsAppTemplates/getWhatsAppClientTemplates","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"page","in":"query","example":0,"schemaId":"schema_2"},{"name":"size","in":"query","example":10,"schemaId":"schema_3"},{"name":"searchString","in":"query","example":"john","schemaId":"schema_8"},{"name":"sortField","in":"query","example":"requestedDate","schemaId":"schema_37"},{"name":"sortDir","in":"query","example":"desc","schemaId":"schema_38"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/whatsapp-api-service/whatsAppTemplates/getWhatsAppClientTemplates","href":"template-management/getclienttemplates","openApiOperationId":"getClientTemplates","summary":"Get client templates (paginated)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Success","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppClientTemplatePage"}},"schemaId":"components/schemas/WhatsAppClientTemplatePage"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1whatsapp-api-service~1whatsAppTemplates~1getWhatsAppClientTemplates/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/WhatsAppClientTemplatePage","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppClientTemplatePage"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/template-management/getclienttemplates"}],"panels":[]}]},"httpPath":"/whatsapp-api-service/whatsAppTemplates/getWhatsAppClientTemplates"}],"content":{"contentType":"group","meta":{"name":"Template Management"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Template Management","showPageActions":true},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Create, update, delete, and query WhatsApp message templates (WhatsApp Cloud API). Templates must be submitted to Meta for approval before use. Supports 11 template types including text-only, media header, carousel, call-to-action, authentication, and flow templates. Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"searchString"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to filter by name, category, language, or status."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Call-to-action (CTA) is an umbrella term, not a single template type."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" It covers any template carrying interactive buttons — "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"quick-reply"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"static/dynamic URL"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"phone-number"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"flow"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"OTP"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" buttons — used alone or mixed in one template. The send examples group all of these under the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"CTA — …"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" heading for this reason."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"WhatsApp Lite limitation:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" WhatsApp Lite only supports "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"text"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"media"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" templates. Interactive template types (call-to-action buttons, carousel, authentication, flow) are not supported on WhatsApp Lite."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Marketing templates (Cloud API):"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Meta requires that marketing templates include an opt-out mechanism (e.g. a quick-reply \"Stop\" button). Including an opt-out button significantly reduces your block rate — recipients who can unsubscribe gracefully are far less likely to block your number. Templates without an opt-out option risk rejection or may negatively impact your number's quality rating. See the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"#section/overview/WhatsApp-account-and-number-health"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Account & Number Health"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" section for full details."},"children":[],"type":"text"}],"type":"paragraph"}]}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/whatsapp-api-service/whatsAppTemplates/createTemplate","summary":"Create a WhatsApp template","prefix":{"name":"post","color":"post"},"badges":[],"link":"/template-management/createtemplate","deprecated":false},{"title":"/whatsapp-api-service/whatsAppTemplates/updateTemplate","summary":"Update a template","prefix":{"name":"put","color":"put"},"badges":[],"link":"/template-management/updatetemplate","deprecated":false},{"title":"/whatsapp-api-service/whatsAppTemplates/deleteTemplate/{templateId}","summary":"Delete a template","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/template-management/deletetemplate","deprecated":false},{"title":"/whatsapp-api-service/whatsAppTemplates/approvalRequest","summary":"Get template approval status","prefix":{"name":"get","color":"get"},"badges":[],"link":"/template-management/gettemplatestatus","deprecated":false},{"title":"/whatsapp-api-service/whatsAppTemplates/getWhatsAppClientTemplates","summary":"Get client templates (paginated)","prefix":{"name":"get","color":"get"},"badges":[],"link":"/template-management/getclienttemplates","deprecated":false}]}]}]}]}},{"type":"group","label":"Resend Messages","link":"/apis/omnichannel/resend-messages","routeSlug":"/apis/omnichannel/resend-messages","items":[{"label":"Resend selected messages","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/resend-messages/resendselectedmessages","routeSlug":"/apis/omnichannel/resend-messages/resendselectedmessages","metadata":{"seo":{"title":"Resend selected messages","description":"Resend specific failed messages by their IDs."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"resendSelectedMessages","name":"Resend selected messages","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppSendReceiveMessages~1resendSelectedMessages/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Resend selected messages","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Resend specific failed messages by their IDs."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"senderNumber","in":"query","schemaId":"schema_39","description":"Sender WhatsApp number (optional filter)."}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppSendReceiveMessages~1resendSelectedMessages/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_40","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1WhatsAppSendReceiveMessages~1resendSelectedMessages/post/requestBody/content/application~1json/example"]}},"schemaId":"schema_40","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1WhatsAppSendReceiveMessages~1resendSelectedMessages/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppSendReceiveMessages~1resendSelectedMessages/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/resendSelectedMessages","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"senderNumber","in":"query","example":"+27123456789","schemaId":"schema_39"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_40","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1WhatsAppSendReceiveMessages~1resendSelectedMessages/post/requestBody/content/application~1json/example"]}},"responseCodes":["200","400","401"],"pointer":"/payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/resendSelectedMessages","href":"resend-messages/resendselectedmessages","openApiOperationId":"resendSelectedMessages","summary":"Resend selected messages"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"schema_40","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1WhatsAppSendReceiveMessages~1resendSelectedMessages/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_40","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1WhatsAppSendReceiveMessages~1resendSelectedMessages/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Confirmation that the resend was initiated for the selected messages","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_41"}},"schemaId":"schema_41"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppSendReceiveMessages~1resendSelectedMessages/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_41","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_41"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/resend-messages/resendselectedmessages"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/resendSelectedMessages"},{"label":"Resend all failed messages","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/resend-messages/resendallmessages","routeSlug":"/apis/omnichannel/resend-messages/resendallmessages","metadata":{"seo":{"title":"Resend all failed messages","description":"Resend all failed messages matching the given filters (date range, template, status)."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"resendAllMessages","name":"Resend all failed messages","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppSendReceiveMessages~1resendAllMessages/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Resend all failed messages","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Resend all failed messages matching the given filters (date range, template, status)."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"senderNumber","in":"query","schemaId":"schema_39","description":"Filter by sender WhatsApp number."},{"name":"startDateTime","in":"query","schemaId":"schema_42","description":"Start of the date range (ISO 8601 with timezone offset).","required":true},{"name":"endDateTime","in":"query","schemaId":"schema_43","description":"End of the date range (ISO 8601 with timezone offset).","required":true},{"name":"templateName","in":"query","schemaId":"schema_44","description":"Filter by template name."},{"name":"searchString","in":"query","schemaId":"schema_45","description":"Filter by phone number or message content."},{"name":"clientId","in":"query","schemaId":"schema_28","description":"Filter by client UUID."},{"name":"status","in":"query","schemaId":"schema_46","description":"Filter by message delivery status code."}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppSendReceiveMessages~1resendAllMessages/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/resendAllMessages","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"senderNumber","in":"query","example":"+27123456789","schemaId":"schema_39"},{"name":"startDateTime","in":"query","required":true,"example":"2026-01-01T00:00:00+02:00","schemaId":"schema_42"},{"name":"endDateTime","in":"query","required":true,"example":"2026-01-31T23:59:59+02:00","schemaId":"schema_43"},{"name":"templateName","in":"query","example":"marketing_promo_01","schemaId":"schema_44"},{"name":"searchString","in":"query","example":"john","schemaId":"schema_45"},{"name":"clientId","in":"query","example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","schemaId":"schema_28"},{"name":"status","in":"query","example":1,"schemaId":"schema_46"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401"],"pointer":"/payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/resendAllMessages","href":"resend-messages/resendallmessages","openApiOperationId":"resendAllMessages","summary":"Resend all failed messages"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Confirmation that the resend was initiated for all matching failed messages","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_47"}},"schemaId":"schema_47"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppSendReceiveMessages~1resendAllMessages/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_47","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_47"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/resend-messages/resendallmessages"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/resendAllMessages"}],"content":{"contentType":"group","meta":{"name":"Resend Messages"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Resend Messages","showPageActions":true},{"nodeType":"markdoc","content":"Retry delivery of failed WhatsApp messages. Resend individual messages by ID or bulk-resend all failed messages matching a date range, template, and status filter. Useful for recovering from transient delivery failures or provider outages."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/resendSelectedMessages","summary":"Resend selected messages","prefix":{"name":"post","color":"post"},"badges":[],"link":"/resend-messages/resendselectedmessages","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/resendAllMessages","summary":"Resend all failed messages","prefix":{"name":"post","color":"post"},"badges":[],"link":"/resend-messages/resendallmessages","deprecated":false}]}]}]}]}},{"type":"separator","label":"Live Engagement","content":null},{"type":"group","label":"Live Chat","link":"/apis/omnichannel/live-chat","routeSlug":"/apis/omnichannel/live-chat","items":[{"label":"List chats (v2)","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/live-chat/listchatsv2","routeSlug":"/apis/omnichannel/live-chat/listchatsv2","metadata":{"seo":{"title":"List chats (v2)","description":"Paginated chat list for the authenticated agent, selected by scope. The agent and client are resolved from your API key / session. Returns a lean ChatParticipantResponse page and replaces the deprecated Get chat participants."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listChatsV2","name":"List chats (v2)","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1api~1v2~1chats/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List chats (v2)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Paginated chat list for the authenticated agent, selected by "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"scope"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". The agent and client are resolved from your API key / session. Returns a lean "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ChatParticipantResponse"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" page and replaces the deprecated "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/getchatparticipants"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Get chat participants"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"scope","in":"query","schemaId":"schema_48","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Which list to return: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"my"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (assigned to you), "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"team"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (your team's), "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"unassigned"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"closed"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"my-missed"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"missed-agent"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"missed-after-hours"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"open"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (all open client chats), or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"all"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (open and closed)."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"unassigned"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is scoped by role: supervisors see every queued chat for the client; an agent with the unassigned-inbox permission sees chats queued for a team they belong to (plus chats with no team); an agent without that permission gets "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"403"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Each item in this scope carries "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"team"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"/"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"teamId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"lastMessagePreview"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true},{"name":"page","in":"query","schemaId":"schema_2","description":"Page number (zero-based)."},{"name":"size","in":"query","schemaId":"schema_3","description":"Number of items per page."},{"name":"search","in":"query","schemaId":"schema_49","description":"Optional case-insensitive substring filter on phone number and full name."}],"pointer":"/paths/~1pl4chat-service~1api~1v2~1chats/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/api/v2/chats","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"scope","in":"query","required":true,"example":"my","schemaId":"schema_48"},{"name":"page","in":"query","example":0,"schemaId":"schema_2"},{"name":"size","in":"query","example":10,"schemaId":"schema_3"},{"name":"search","in":"query","example":"27123456789","schemaId":"schema_49"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401","403"],"pointer":"/pl4chat-service/api/v2/chats","href":"live-chat/listchatsv2","openApiOperationId":"listChatsV2","summary":"List chats (v2)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Paginated list of chats for the requested scope","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ChatParticipantResponsePage"}},"schemaId":"components/schemas/ChatParticipantResponsePage"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_19"}},"schemaId":"schema_19"}],"pointer":"/paths/~1pl4chat-service~1api~1v2~1chats/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ChatParticipantResponsePage","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ChatParticipantResponsePage"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"403","schemaId":"schema_19","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_19"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/live-chat/listchatsv2"}],"panels":[]}]},"httpPath":"/pl4chat-service/api/v2/chats"},{"label":"Get a chat (v2)","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/live-chat/getchatv2","routeSlug":"/apis/omnichannel/live-chat/getchatv2","metadata":{"seo":{"title":"Get a chat (v2)","description":"Fetch a single chat as a lean ChatParticipantResponse. Tenant-checked."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getChatV2","name":"Get a chat (v2)","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1api~1v2~1chats~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get a chat (v2)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Fetch a single chat as a lean "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ChatParticipantResponse"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Tenant-checked."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_50","description":"Chat participant id.","required":true}],"pointer":"/paths/~1pl4chat-service~1api~1v2~1chats~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/api/v2/chats/{id}","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"aef65b5a-23a4-462a-a275-9aa2f3e0e56e","schemaId":"schema_50"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401","403","404"],"pointer":"/pl4chat-service/api/v2/chats/{id}","href":"live-chat/getchatv2","openApiOperationId":"getChatV2","summary":"Get a chat (v2)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The chat","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ChatParticipantResponse"}},"schemaId":"components/schemas/ChatParticipantResponse"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_19"}},"schemaId":"schema_19"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1pl4chat-service~1api~1v2~1chats~1{id}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ChatParticipantResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ChatParticipantResponse"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"403","schemaId":"schema_19","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_19"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/live-chat/getchatv2"}],"panels":[]}]},"httpPath":"/pl4chat-service/api/v2/chats/{id}"},{"label":"Terminate a chat (v2)","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/live-chat/terminatechatv2","routeSlug":"/apis/omnichannel/live-chat/terminatechatv2","metadata":{"seo":{"title":"Terminate a chat (v2)","description":"Close the conversation (and trigger the rating widget if configured). Takes only the chat id — the closing agent is resolved from your API key / session. Replaces toggling conversationClosed on the deprecated Terminate or reopen a chat conversation."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"terminateChatV2","name":"Terminate a chat (v2)","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1api~1v2~1chats~1{id}~1terminate/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Terminate a chat (v2)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Close the conversation (and trigger the rating widget if configured). Takes only the chat id — the closing agent is resolved from your API key / session. Replaces toggling "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"conversationClosed"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" on the deprecated "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/terminatechatparticipantchat"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Terminate or reopen a chat conversation"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_50","description":"Chat participant id.","required":true}],"pointer":"/paths/~1pl4chat-service~1api~1v2~1chats~1{id}~1terminate/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/pl4chat-service/api/v2/chats/{id}/terminate","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"aef65b5a-23a4-462a-a275-9aa2f3e0e56e","schemaId":"schema_50"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401","403","404"],"pointer":"/pl4chat-service/api/v2/chats/{id}/terminate","href":"live-chat/terminatechatv2","openApiOperationId":"terminateChatV2","summary":"Terminate a chat (v2)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The closed chat","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ChatParticipantResponse"}},"schemaId":"components/schemas/ChatParticipantResponse"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_19"}},"schemaId":"schema_19"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1pl4chat-service~1api~1v2~1chats~1{id}~1terminate/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ChatParticipantResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ChatParticipantResponse"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"403","schemaId":"schema_19","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_19"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/live-chat/terminatechatv2"}],"panels":[]}]},"httpPath":"/pl4chat-service/api/v2/chats/{id}/terminate"},{"label":"Reopen a chat (v2)","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/live-chat/openchatv2","routeSlug":"/apis/omnichannel/live-chat/openchatv2","metadata":{"seo":{"title":"Reopen a chat (v2)","description":"Reopen a previously closed conversation and assign it to the calling agent (resolved from your API key / session). Replaces toggling conversationClosed=false on the deprecated Terminate or reopen a chat conversation."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"openChatV2","name":"Reopen a chat (v2)","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1api~1v2~1chats~1{id}~1open/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Reopen a chat (v2)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Reopen a previously closed conversation and assign it to the calling agent (resolved from your API key / session). Replaces toggling "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"conversationClosed=false"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" on the deprecated "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/terminatechatparticipantchat"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Terminate or reopen a chat conversation"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_50","description":"Chat participant id.","required":true}],"pointer":"/paths/~1pl4chat-service~1api~1v2~1chats~1{id}~1open/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/pl4chat-service/api/v2/chats/{id}/open","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"aef65b5a-23a4-462a-a275-9aa2f3e0e56e","schemaId":"schema_50"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401","403","404"],"pointer":"/pl4chat-service/api/v2/chats/{id}/open","href":"live-chat/openchatv2","openApiOperationId":"openChatV2","summary":"Reopen a chat (v2)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The reopened chat","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ChatParticipantResponse"}},"schemaId":"components/schemas/ChatParticipantResponse"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_19"}},"schemaId":"schema_19"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1pl4chat-service~1api~1v2~1chats~1{id}~1open/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ChatParticipantResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ChatParticipantResponse"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"403","schemaId":"schema_19","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_19"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/live-chat/openchatv2"}],"panels":[]}]},"httpPath":"/pl4chat-service/api/v2/chats/{id}/open"},{"label":"Take an unassigned chat (v2)","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/live-chat/takechatv2","routeSlug":"/apis/omnichannel/live-chat/takechatv2","metadata":{"seo":{"title":"Take an unassigned chat (v2)","description":"Claim a chat that is waiting in the unassigned inbox and assign it to the calling agent (resolved from your API key / session). The assignment is atomic: if two agents take the same chat at once, one succeeds and the other receives 409. The caller must be a supervisor, or an agent with the unassigned-inbox permission who belongs to the chat's team (any inbox-enabled agent when the chat has no team). On success the usual assignment flow runs — the \"assigned to agent\" message, when enabled, and a push to the agent's chat list. Replying to an unassigned chat still claims it implicitly; this endpoint is the explicit, race-safe version."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"takeChatV2","name":"Take an unassigned chat (v2)","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1api~1v2~1chats~1{id}~1take/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Take an unassigned chat (v2)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Claim a chat that is waiting in the unassigned inbox and assign it to the calling agent (resolved from your API key / session). The assignment is atomic: if two agents take the same chat at once, one succeeds and the other receives "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"409"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". The caller must be a supervisor, or an agent with the unassigned-inbox permission who belongs to the chat's team (any inbox-enabled agent when the chat has no team). On success the usual assignment flow runs — the \"assigned to agent\" message, when enabled, and a push to the agent's chat list. Replying to an unassigned chat still claims it implicitly; this endpoint is the explicit, race-safe version."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_50","description":"Chat participant id.","required":true}],"pointer":"/paths/~1pl4chat-service~1api~1v2~1chats~1{id}~1take/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/pl4chat-service/api/v2/chats/{id}/take","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"aef65b5a-23a4-462a-a275-9aa2f3e0e56e","schemaId":"schema_50"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401","403","404","409"],"pointer":"/pl4chat-service/api/v2/chats/{id}/take","href":"live-chat/takechatv2","openApiOperationId":"takeChatV2","summary":"Take an unassigned chat (v2)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The chat, now assigned to the caller","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ChatParticipantResponse"}},"schemaId":"components/schemas/ChatParticipantResponse"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"403","description":"The caller may not take chats from this team's inbox, or belongs to another client","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_51"}},"schemaId":"schema_51"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"},{"code":"409","description":"The chat is closed, or another agent took it first","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_52"}},"schemaId":"schema_52"}],"pointer":"/paths/~1pl4chat-service~1api~1v2~1chats~1{id}~1take/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ChatParticipantResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ChatParticipantResponse"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"403","schemaId":"schema_51","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_51"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}},{"code":"409","schemaId":"schema_52","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_52"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/live-chat/takechatv2"}],"panels":[]}]},"httpPath":"/pl4chat-service/api/v2/chats/{id}/take"},{"label":"Get global system tracking numbers","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/live-chat/getsystemticketnumbersbydate","routeSlug":"/apis/omnichannel/live-chat/getsystemticketnumbersbydate","metadata":{"seo":{"title":"Get global system tracking numbers","description":"Retrieve global system tracking numbers (gstn) from chat participants created within the specified date range. The client is resolved from the authenticated user's API key or session."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getSystemTicketNumbersByDate","name":"Get global system tracking numbers","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1system~1tickets/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get global system tracking numbers","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve global system tracking numbers (gstn) from chat participants created within the\nspecified date range. The client is resolved from the authenticated user's API key or session.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"startTime","in":"query","schemaId":"schema_42","description":"Start of the date range (ISO 8601 with timezone offset).","required":true},{"name":"endTime","in":"query","schemaId":"schema_43","description":"End of the date range (ISO 8601 with timezone offset).","required":true}],"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1system~1tickets/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/ChatParticipant/system/tickets","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"startTime","in":"query","required":true,"example":"2026-01-01T00:00:00+02:00","schemaId":"schema_42"},{"name":"endTime","in":"query","required":true,"example":"2026-01-31T23:59:59+02:00","schemaId":"schema_43"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/pl4chat-service/ChatParticipant/system/tickets","href":"live-chat/getsystemticketnumbersbydate","openApiOperationId":"getSystemTicketNumbersByDate","summary":"Get global system tracking numbers"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Array of global system tracking number (GSTN) UUIDs for chat participants created within the date range","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_53"}},"schemaId":"schema_53"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1system~1tickets/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_53","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_53"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/live-chat/getsystemticketnumbersbydate"}],"panels":[]}]},"httpPath":"/pl4chat-service/ChatParticipant/system/tickets"},{"label":"Get messages by tracking number (v2)","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/live-chat/getmessagesbytrackingnumberv2","routeSlug":"/apis/omnichannel/live-chat/getmessagesbytrackingnumberv2","metadata":{"seo":{"title":"Get messages by tracking number (v2)","description":"Retrieve the conversation history for a tracking number (GSTN or CTN) as lean MessageResponse objects, scoped to your client. Replaces the deprecated Get chat messages by tracking number."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getMessagesByTrackingNumberV2","name":"Get messages by tracking number (v2)","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1api~1v2~1messages~1tracking~1{trackingNumber}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get messages by tracking number (v2)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Retrieve the conversation history for a tracking number (GSTN or CTN) as lean "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"MessageResponse"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" objects, scoped to your client. Replaces the deprecated "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/getchatmessagesbytrackingnumber"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Get chat messages by tracking number"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"trackingNumber","in":"path","schemaId":"schema_54","description":"The global system tracking number (GSTN) or conversation tracking number (CTN).","required":true}],"pointer":"/paths/~1pl4chat-service~1api~1v2~1messages~1tracking~1{trackingNumber}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/api/v2/messages/tracking/{trackingNumber}","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"trackingNumber","in":"path","required":true,"example":"GSTN-12345","schemaId":"schema_54"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/pl4chat-service/api/v2/messages/tracking/{trackingNumber}","href":"live-chat/getmessagesbytrackingnumberv2","openApiOperationId":"getMessagesByTrackingNumberV2","summary":"Get messages by tracking number (v2)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Messages for the tracking number that belong to your client","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_55"}},"schemaId":"schema_55"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1api~1v2~1messages~1tracking~1{trackingNumber}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_55","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_55"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/live-chat/getmessagesbytrackingnumberv2"}],"panels":[]}]},"httpPath":"/pl4chat-service/api/v2/messages/tracking/{trackingNumber}"},{"label":"Get a message by ctId (v2)","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/live-chat/getmessagebyctidv2","routeSlug":"/apis/omnichannel/live-chat/getmessagebyctidv2","metadata":{"seo":{"title":"Get a message by ctId (v2)","description":"Look up a single message by its custom tracking id (ctId) as a lean MessageResponse. Tenant-checked — returns 404 if the message does not belong to your client."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getMessageByCtIdV2","name":"Get a message by ctId (v2)","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1api~1v2~1messages~1ctid~1{ctId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get a message by ctId (v2)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Look up a single message by its custom tracking id ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ctId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") as a lean "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"MessageResponse"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Tenant-checked — returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"404"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" if the message does not belong to your client."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"ctId","in":"path","schemaId":"schema_56","description":"The custom tracking id set when the message was sent.","required":true}],"pointer":"/paths/~1pl4chat-service~1api~1v2~1messages~1ctid~1{ctId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/api/v2/messages/ctid/{ctId}","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"ctId","in":"path","required":true,"example":"ct-msg-5678","schemaId":"schema_56"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401","404"],"pointer":"/pl4chat-service/api/v2/messages/ctid/{ctId}","href":"live-chat/getmessagebyctidv2","openApiOperationId":"getMessageByCtIdV2","summary":"Get a message by ctId (v2)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The message matching the ctId","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/MessageResponse"}},"schemaId":"components/schemas/MessageResponse"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1pl4chat-service~1api~1v2~1messages~1ctid~1{ctId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/MessageResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/MessageResponse"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/live-chat/getmessagebyctidv2"}],"panels":[]}]},"httpPath":"/pl4chat-service/api/v2/messages/ctid/{ctId}"},{"label":"Get messages for a chat participant (v2)","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/live-chat/getmessagesv2","routeSlug":"/apis/omnichannel/live-chat/getmessagesv2","metadata":{"seo":{"title":"Get messages for a chat participant (v2)","description":"Retrieve the messages for a chat participant as a lean, curated payload (MessageResponse) — only the fields a live-chat UI needs, plus the quoted-reply context (quotedExternalMessageId, quotedText). The agent is resolved from your API key / session and the participant is tenant-checked. Replaces the deprecated Get messages by chat participant."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getMessagesV2","name":"Get messages for a chat participant (v2)","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1api~1v2~1messages/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get messages for a chat participant (v2)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Retrieve the messages for a chat participant as a lean, curated payload ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"MessageResponse"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") — only the fields a live-chat UI needs, plus the quoted-reply context ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"quotedExternalMessageId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"quotedText"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). The agent is resolved from your API key / session and the participant is tenant-checked. Replaces the deprecated "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/getmessagesbychatparticipant"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Get messages by chat participant"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"participantId","in":"query","schemaId":"schema_57","description":"Chat participant ID.","required":true}],"pointer":"/paths/~1pl4chat-service~1api~1v2~1messages/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/api/v2/messages","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"participantId","in":"query","required":true,"example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","schemaId":"schema_57"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401","403","404"],"pointer":"/pl4chat-service/api/v2/messages","href":"live-chat/getmessagesv2","openApiOperationId":"getMessagesV2","summary":"Get messages for a chat participant (v2)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Ordered list of messages for the chat participant","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_55"}},"schemaId":"schema_55"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_19"}},"schemaId":"schema_19"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1pl4chat-service~1api~1v2~1messages/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_55","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_55"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"403","schemaId":"schema_19","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_19"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/live-chat/getmessagesv2"}],"panels":[]}]},"httpPath":"/pl4chat-service/api/v2/messages"},{"label":"Send an agent message (v2)","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/live-chat/sendmessagev2","routeSlug":"/apis/omnichannel/live-chat/sendmessagev2","metadata":{"seo":{"title":"Send an agent message (v2)","description":"Send an agent reply on any channel through a single endpoint. The target channel is set via the channel field (WHATSAPP, WEB, or FACEBOOK) and routing is handled server-side — replacing the per-channel v1 send endpoints. For a text message set text; for media, first upload the file via Upload media for an agent message and send the returned mediaUrl (the content type defaults to MEDIA when a mediaUrl is present). The agent is resolved from your API key / session and the participant is tenant-checked."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"sendMessageV2","name":"Send an agent message (v2)","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1api~1v2~1messages/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Send an agent message (v2)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Send an agent reply on any channel through a single endpoint. The target channel is set via the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"channel"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" field ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"WHATSAPP"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"WEB"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"FACEBOOK"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") and routing is handled server-side — replacing the per-channel v1 send endpoints. For a text message set "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"text"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"; for media, first upload the file via "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/uploadmediav2"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Upload media for an agent message"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and send the returned "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"mediaUrl"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (the content type defaults to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"MEDIA"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" when a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"mediaUrl"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is present). The agent is resolved from your API key / session and the participant is tenant-checked."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/SendMessageRequest","exampleIds":["paths/~1pl4chat-service~1api~1v2~1messages/post/requestBody/content/application~1json/examples/text","paths/~1pl4chat-service~1api~1v2~1messages/post/requestBody/content/application~1json/examples/media"]}},"schemaId":"components/schemas/SendMessageRequest","exampleIds":["paths/~1pl4chat-service~1api~1v2~1messages/post/requestBody/content/application~1json/examples/text","paths/~1pl4chat-service~1api~1v2~1messages/post/requestBody/content/application~1json/examples/media"],"pointer":"/paths/~1pl4chat-service~1api~1v2~1messages/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/pl4chat-service/api/v2/messages","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/SendMessageRequest","exampleIds":["paths/~1pl4chat-service~1api~1v2~1messages/post/requestBody/content/application~1json/examples/text","paths/~1pl4chat-service~1api~1v2~1messages/post/requestBody/content/application~1json/examples/media"]}},"responseCodes":["200","400","401","403","404"],"pointer":"/pl4chat-service/api/v2/messages","href":"live-chat/sendmessagev2","openApiOperationId":"sendMessageV2","summary":"Send an agent message (v2)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/SendMessageRequest","exampleIds":["paths/~1pl4chat-service~1api~1v2~1messages/post/requestBody/content/application~1json/examples/text","paths/~1pl4chat-service~1api~1v2~1messages/post/requestBody/content/application~1json/examples/media"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/SendMessageRequest","exampleIds":["paths/~1pl4chat-service~1api~1v2~1messages/post/requestBody/content/application~1json/examples/text","paths/~1pl4chat-service~1api~1v2~1messages/post/requestBody/content/application~1json/examples/media"]}},"examples":[{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The stored message","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/MessageResponse"}},"schemaId":"components/schemas/MessageResponse"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_19"}},"schemaId":"schema_19"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1pl4chat-service~1api~1v2~1messages/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/MessageResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/MessageResponse"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"403","schemaId":"schema_19","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_19"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/live-chat/sendmessagev2"}],"panels":[]}]},"httpPath":"/pl4chat-service/api/v2/messages"},{"label":"Upload media for an agent message (v2)","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/live-chat/uploadmediav2","routeSlug":"/apis/omnichannel/live-chat/uploadmediav2","metadata":{"seo":{"title":"Upload media for an agent message (v2)","description":"Upload a media file and receive a hosted mediaUrl (plus the detected mediaType) to attach to a Send an agent message call. Channel-agnostic — the same uploaded URL can be sent on WhatsApp, web, or Facebook."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"uploadMediaV2","name":"Upload media for an agent message (v2)","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1api~1v2~1messages~1media/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Upload media for an agent message (v2)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Upload a media file and receive a hosted "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"mediaUrl"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (plus the detected "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"mediaType"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") to attach to a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/sendmessagev2"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Send an agent message"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" call. Channel-agnostic — the same uploaded URL can be sent on WhatsApp, web, or Facebook."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["multipart/form-data"],"mediaTypeSchemas":{"multipart/form-data":{"schemaId":"schema_58","exampleIds":["paths/~1pl4chat-service~1api~1v2~1messages~1media/post/requestBody/content/multipart~1form-data/examples/sample"]}},"schemaId":"schema_58","exampleIds":["paths/~1pl4chat-service~1api~1v2~1messages~1media/post/requestBody/content/multipart~1form-data/examples/sample"],"pointer":"/paths/~1pl4chat-service~1api~1v2~1messages~1media/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/pl4chat-service/api/v2/messages/media","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"multipart/form-data":{"schemaId":"schema_58","exampleIds":["paths/~1pl4chat-service~1api~1v2~1messages~1media/post/requestBody/content/multipart~1form-data/examples/sample"]}},"responseCodes":["200","400","401"],"pointer":"/pl4chat-service/api/v2/messages/media","href":"live-chat/uploadmediav2","openApiOperationId":"uploadMediaV2","summary":"Upload media for an agent message (v2)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"schema_58","exampleIds":["paths/~1pl4chat-service~1api~1v2~1messages~1media/post/requestBody/content/multipart~1form-data/examples/sample"],"mediaTypes":["multipart/form-data"],"mediaTypeSchemas":{"multipart/form-data":{"schemaId":"schema_58","exampleIds":["paths/~1pl4chat-service~1api~1v2~1messages~1media/post/requestBody/content/multipart~1form-data/examples/sample"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The stored media reference","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/MediaUploadResponse"}},"schemaId":"components/schemas/MediaUploadResponse"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1api~1v2~1messages~1media/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/MediaUploadResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/MediaUploadResponse"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/live-chat/uploadmediav2"}],"panels":[]}]},"httpPath":"/pl4chat-service/api/v2/messages/media"},{"label":"Send typing indicator (v2)","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/live-chat/sendtypingindicatorv2","routeSlug":"/apis/omnichannel/live-chat/sendtypingindicatorv2","metadata":{"seo":{"title":"Send typing indicator (v2)","description":"Show a typing indicator to the customer. The sender/recipient are resolved from the participant — you only pass participantId (and optionally the last inbound messageId, which the server otherwise looks up). Replaces the deprecated Send typing indicator (Chat)."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"sendTypingIndicatorV2","name":"Send typing indicator (v2)","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1api~1v2~1messages~1typing/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Send typing indicator (v2)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Show a typing indicator to the customer. The sender/recipient are resolved from the participant — you only pass "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"participantId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (and optionally the last inbound "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"messageId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", which the server otherwise looks up). Replaces the deprecated "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/sendchattypingindicator"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Send typing indicator (Chat)"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"participantId","in":"query","schemaId":"schema_57","description":"Chat participant to show the typing indicator to.","required":true},{"name":"messageId","in":"query","schemaId":"schema_59","description":"Optional last inbound WhatsApp message id; the server looks it up when omitted."}],"pointer":"/paths/~1pl4chat-service~1api~1v2~1messages~1typing/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/pl4chat-service/api/v2/messages/typing","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"participantId","in":"query","required":true,"example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","schemaId":"schema_57"},{"name":"messageId","in":"query","required":false,"example":"wamid.HBgNMjc4MjEyMzQ1Njc4FQIAEhgg","schemaId":"schema_59"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401","403","404"],"pointer":"/pl4chat-service/api/v2/messages/typing","href":"live-chat/sendtypingindicatorv2","openApiOperationId":"sendTypingIndicatorV2","summary":"Send typing indicator (v2)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Typing indicator sent"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_19"}},"schemaId":"schema_19"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1pl4chat-service~1api~1v2~1messages~1typing/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200"},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"403","schemaId":"schema_19","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_19"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/live-chat/sendtypingindicatorv2"}],"panels":[]}]},"httpPath":"/pl4chat-service/api/v2/messages/typing"},{"label":"Mark a conversation as read (v2)","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/live-chat/markasreadv2","routeSlug":"/apis/omnichannel/live-chat/markasreadv2","metadata":{"seo":{"title":"Mark a conversation as read (v2)","description":"Mark the participant's conversation as read — clears the unread badge and sends a read receipt to the customer. Pass participantId (and optionally the last inbound messageId, which the server otherwise looks up)."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"markAsReadV2","name":"Mark a conversation as read (v2)","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1api~1v2~1messages~1read/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Mark a conversation as read (v2)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Mark the participant's conversation as read — clears the unread badge and sends a read receipt to the customer. Pass "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"participantId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (and optionally the last inbound "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"messageId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", which the server otherwise looks up)."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"participantId","in":"query","schemaId":"schema_57","description":"Chat participant whose conversation is being marked read.","required":true},{"name":"messageId","in":"query","schemaId":"schema_59","description":"Optional last inbound WhatsApp message id for the read receipt; looked up when omitted."}],"pointer":"/paths/~1pl4chat-service~1api~1v2~1messages~1read/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/pl4chat-service/api/v2/messages/read","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"participantId","in":"query","required":true,"example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","schemaId":"schema_57"},{"name":"messageId","in":"query","required":false,"example":"wamid.HBgNMjc4MjEyMzQ1Njc4FQIAEhgg","schemaId":"schema_59"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401","403","404"],"pointer":"/pl4chat-service/api/v2/messages/read","href":"live-chat/markasreadv2","openApiOperationId":"markAsReadV2","summary":"Mark a conversation as read (v2)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Conversation marked as read and receipt sent"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_19"}},"schemaId":"schema_19"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1pl4chat-service~1api~1v2~1messages~1read/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200"},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"403","schemaId":"schema_19","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_19"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/live-chat/markasreadv2"}],"panels":[]}]},"httpPath":"/pl4chat-service/api/v2/messages/read"},{"label":"Get chat participants","deprecated":true,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/live-chat/getchatparticipants","routeSlug":"/apis/omnichannel/live-chat/getchatparticipants","metadata":{"seo":{"title":"Get chat participants","description":"Deprecated. Use List chats (v2), which returns a lean ChatParticipantResponse and selects the list with a scope filter (my / team / unassigned / closed / missed / open / all). This endpoint returns the full internal entity and is retained only for existing integrations."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getChatParticipants","name":"Get chat participants","deprecated":true,"isWebhook":false,"pointer":"/paths/~1pl4chat-service~1ChatParticipant/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get chat participants","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/listchatsv2"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"List chats (v2)"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", which returns a lean "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ChatParticipantResponse"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and selects the list with a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"scope"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" filter (my / team / unassigned / closed / missed / open / all). This endpoint returns the full internal entity and is retained only for existing integrations."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Retrieve chat participant details for the authenticated user's client. Returns participant profile information, assignment status, and conversation metadata. Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"searchString"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to filter by phone number or full name, and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"isOpen"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to filter by conversation state."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page","in":"query","schemaId":"schema_2","description":"Page number (zero-based)."},{"name":"size","in":"query","schemaId":"schema_3","description":"Number of items per page."},{"name":"searchString","in":"query","schemaId":"schema_49","description":"Optional case-insensitive substring filter applied to the participant's phone number and full name. Partial matches are supported. Omit to return unfiltered results."},{"name":"isOpen","in":"query","schemaId":"schema_60","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Optional conversation-state filter. Omit (or send no value) to return all chats. Pass "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to return only open conversations ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"conversationClosed = false"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"), or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"false"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to return only closed conversations ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"conversationClosed = true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}]}],"pointer":"/paths/~1pl4chat-service~1ChatParticipant/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/ChatParticipant","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"page","in":"query","example":0,"schemaId":"schema_2"},{"name":"size","in":"query","example":10,"schemaId":"schema_3"},{"name":"searchString","in":"query","example":"27123456789","schemaId":"schema_49"},{"name":"isOpen","in":"query","example":true,"schemaId":"schema_60"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/pl4chat-service/ChatParticipant","href":"live-chat/getchatparticipants","openApiOperationId":"getChatParticipants","summary":"Get chat participants"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Paginated list of chat participants with profile and assignment details","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ChatParticipantPage"}},"schemaId":"components/schemas/ChatParticipantPage"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1ChatParticipant/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ChatParticipantPage","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ChatParticipantPage"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/live-chat/getchatparticipants"}],"panels":[]}]},"httpPath":"/pl4chat-service/ChatParticipant"},{"label":"Get chat messages by tracking number","deprecated":true,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/live-chat/getchatmessagesbytrackingnumber","routeSlug":"/apis/omnichannel/live-chat/getchatmessagesbytrackingnumber","metadata":{"seo":{"title":"Get chat messages by tracking number","description":"Deprecated. Use Get messages by tracking number (v2), which returns the lean MessageResponse. Retained for existing integrations."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getChatMessagesByTrackingNumber","name":"Get chat messages by tracking number","deprecated":true,"isWebhook":false,"pointer":"/paths/~1pl4chat-service~1Message~1trackingNumber~1{trackingNumber}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get chat messages by tracking number","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/getmessagesbytrackingnumberv2"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Get messages by tracking number (v2)"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", which returns the lean "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"MessageResponse"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Retained for existing integrations."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Retrieve the full conversation history for a chat participant matching the given tracking number (GSTN or CTN)."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"trackingNumber","in":"path","schemaId":"schema_54","description":"The global system tracking number (GSTN) or conversation tracking number (CTN).","required":true}],"pointer":"/paths/~1pl4chat-service~1Message~1trackingNumber~1{trackingNumber}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/Message/trackingNumber/{trackingNumber}","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"trackingNumber","in":"path","required":true,"example":"GSTN-12345","schemaId":"schema_54"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","404"],"pointer":"/pl4chat-service/Message/trackingNumber/{trackingNumber}","href":"live-chat/getchatmessagesbytrackingnumber","openApiOperationId":"getChatMessagesByTrackingNumber","summary":"Get chat messages by tracking number"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Complete conversation message history for the specified tracking number","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_61"}},"schemaId":"schema_61"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1pl4chat-service~1Message~1trackingNumber~1{trackingNumber}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_61","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_61"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/live-chat/getchatmessagesbytrackingnumber"}],"panels":[]}]},"httpPath":"/pl4chat-service/Message/trackingNumber/{trackingNumber}"},{"label":"Get messages by chat participant","deprecated":true,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/live-chat/getmessagesbychatparticipant","routeSlug":"/apis/omnichannel/live-chat/getmessagesbychatparticipant","metadata":{"seo":{"title":"Get messages by chat participant","description":"Deprecated. Use Get messages for a chat participant (v2) instead, which returns a leaner curated payload (MessageResponse) and includes the quoted-reply context. This endpoint returns the full internal message entity and is retained only for existing integrations."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getMessagesByChatParticipant","name":"Get messages by chat participant","deprecated":true,"isWebhook":false,"pointer":"/paths/~1pl4chat-service~1Message~1getMessagesByChatParticipant/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get messages by chat participant","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/getmessagesv2"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Get messages for a chat participant (v2)"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" instead, which returns a leaner curated payload ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"MessageResponse"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") and includes the quoted-reply context. This endpoint returns the full internal message entity and is retained only for existing integrations."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Retrieve all messages for a specific chat participant. Accepts participant ID or web session ID."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"participantId","in":"query","schemaId":"schema_57","description":"Chat participant ID or web session ID.","required":true}],"pointer":"/paths/~1pl4chat-service~1Message~1getMessagesByChatParticipant/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/Message/getMessagesByChatParticipant","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"participantId","in":"query","required":true,"example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","schemaId":"schema_57"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401","404"],"pointer":"/pl4chat-service/Message/getMessagesByChatParticipant","href":"live-chat/getmessagesbychatparticipant","openApiOperationId":"getMessagesByChatParticipant","summary":"Get messages by chat participant"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"List of all messages exchanged with the specified chat participant","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_61"}},"schemaId":"schema_61"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1pl4chat-service~1Message~1getMessagesByChatParticipant/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_61","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_61"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/live-chat/getmessagesbychatparticipant"}],"panels":[]}]},"httpPath":"/pl4chat-service/Message/getMessagesByChatParticipant"},{"label":"Get unassigned conversations","deprecated":true,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/live-chat/getunassignedparticipants","routeSlug":"/apis/omnichannel/live-chat/getunassignedparticipants","metadata":{"seo":{"title":"Get unassigned conversations","description":"Deprecated. Use List chats (v2) with scope=unassigned. Retained for existing integrations."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getUnassignedParticipants","name":"Get unassigned conversations","deprecated":true,"isWebhook":false,"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1getUnAssignedParticipants/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get unassigned conversations","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/listchatsv2"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"List chats (v2)"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"scope=unassigned"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Retained for existing integrations."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page","in":"query","schemaId":"schema_2","description":"Zero-based page index."},{"name":"size","in":"query","schemaId":"schema_3","description":"Number of records per page."},{"name":"searchString","in":"query","schemaId":"schema_8","description":"Filter by customer name or phone number."},{"name":"clientRef","in":"query","schemaId":"schema_1","description":"Your unique client reference identifier."}],"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1getUnAssignedParticipants/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/ChatParticipant/getUnAssignedParticipants","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"page","in":"query","example":0,"schemaId":"schema_2"},{"name":"size","in":"query","example":10,"schemaId":"schema_3"},{"name":"searchString","in":"query","example":"john","schemaId":"schema_8"},{"name":"clientRef","in":"query","example":"Growthpoint","schemaId":"schema_1"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/pl4chat-service/ChatParticipant/getUnAssignedParticipants","href":"live-chat/getunassignedparticipants","openApiOperationId":"getUnassignedParticipants","summary":"Get unassigned conversations"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Paginated list of unassigned conversations waiting to be picked up","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_62"}},"schemaId":"schema_62"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1getUnAssignedParticipants/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_62","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_62"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/live-chat/getunassignedparticipants"}],"panels":[]}]},"httpPath":"/pl4chat-service/ChatParticipant/getUnAssignedParticipants"},{"label":"Get my assigned conversations","deprecated":true,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/live-chat/getmyparticipants","routeSlug":"/apis/omnichannel/live-chat/getmyparticipants","metadata":{"seo":{"title":"Get my assigned conversations","description":"Deprecated. Use List chats (v2) with scope=my. Retained for existing integrations."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getMyParticipants","name":"Get my assigned conversations","deprecated":true,"isWebhook":false,"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1getMyParticipants/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get my assigned conversations","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/listchatsv2"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"List chats (v2)"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"scope=my"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Retained for existing integrations."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page","in":"query","schemaId":"schema_2","description":"Zero-based page index."},{"name":"size","in":"query","schemaId":"schema_3","description":"Number of records per page."},{"name":"searchString","in":"query","schemaId":"schema_8","description":"Filter by customer name or phone number."}],"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1getMyParticipants/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/ChatParticipant/getMyParticipants","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"page","in":"query","example":0,"schemaId":"schema_2"},{"name":"size","in":"query","example":10,"schemaId":"schema_3"},{"name":"searchString","in":"query","example":"john","schemaId":"schema_8"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/pl4chat-service/ChatParticipant/getMyParticipants","href":"live-chat/getmyparticipants","openApiOperationId":"getMyParticipants","summary":"Get my assigned conversations"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Paginated list of conversations assigned to the authenticated agent","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_63"}},"schemaId":"schema_63"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1getMyParticipants/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_63","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_63"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/live-chat/getmyparticipants"}],"panels":[]}]},"httpPath":"/pl4chat-service/ChatParticipant/getMyParticipants"},{"label":"Get team conversations","deprecated":true,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/live-chat/getteamparticipants","routeSlug":"/apis/omnichannel/live-chat/getteamparticipants","metadata":{"seo":{"title":"Get team conversations","description":"Deprecated. Use List chats (v2) with scope=team. Retained for existing integrations."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getTeamParticipants","name":"Get team conversations","deprecated":true,"isWebhook":false,"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1getTeamParticipants/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get team conversations","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/listchatsv2"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"List chats (v2)"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"scope=team"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Retained for existing integrations."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page","in":"query","schemaId":"schema_2","description":"Zero-based page index."},{"name":"size","in":"query","schemaId":"schema_3","description":"Number of records per page."},{"name":"searchString","in":"query","schemaId":"schema_8","description":"Filter by customer name or phone number."}],"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1getTeamParticipants/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/ChatParticipant/getTeamParticipants","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"page","in":"query","example":0,"schemaId":"schema_2"},{"name":"size","in":"query","example":10,"schemaId":"schema_3"},{"name":"searchString","in":"query","example":"john","schemaId":"schema_8"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/pl4chat-service/ChatParticipant/getTeamParticipants","href":"live-chat/getteamparticipants","openApiOperationId":"getTeamParticipants","summary":"Get team conversations"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Paginated list of conversations assigned to the current user's team members","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_63"}},"schemaId":"schema_63"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1getTeamParticipants/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_63","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_63"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/live-chat/getteamparticipants"}],"panels":[]}]},"httpPath":"/pl4chat-service/ChatParticipant/getTeamParticipants"},{"label":"Get closed conversations","deprecated":true,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/live-chat/getclosedparticipants","routeSlug":"/apis/omnichannel/live-chat/getclosedparticipants","metadata":{"seo":{"title":"Get closed conversations","description":"Deprecated. Use List chats (v2) with scope=closed. Retained for existing integrations."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getClosedParticipants","name":"Get closed conversations","deprecated":true,"isWebhook":false,"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1getClosedParticipants/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get closed conversations","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/listchatsv2"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"List chats (v2)"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"scope=closed"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Retained for existing integrations."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Retrieve conversations that have been terminated by an agent. Results are paginated and can be filtered by search string and client reference."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page","in":"query","schemaId":"schema_2","description":"Zero-based page index."},{"name":"size","in":"query","schemaId":"schema_3","description":"Number of records per page."},{"name":"searchString","in":"query","schemaId":"schema_8","description":"Filter by customer name or phone number."},{"name":"clientRef","in":"query","schemaId":"schema_1","description":"Your unique client reference identifier."}],"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1getClosedParticipants/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/ChatParticipant/getClosedParticipants","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"page","in":"query","example":0,"schemaId":"schema_2"},{"name":"size","in":"query","example":10,"schemaId":"schema_3"},{"name":"searchString","in":"query","example":"john","schemaId":"schema_8"},{"name":"clientRef","in":"query","example":"Growthpoint","schemaId":"schema_1"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/pl4chat-service/ChatParticipant/getClosedParticipants","href":"live-chat/getclosedparticipants","openApiOperationId":"getClosedParticipants","summary":"Get closed conversations"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Paginated list of closed conversations","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_63"}},"schemaId":"schema_63"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1getClosedParticipants/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_63","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_63"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/live-chat/getclosedparticipants"}],"panels":[]}]},"httpPath":"/pl4chat-service/ChatParticipant/getClosedParticipants"},{"label":"Get missed conversations","deprecated":true,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/live-chat/getmissedparticipants","routeSlug":"/apis/omnichannel/live-chat/getmissedparticipants","metadata":{"seo":{"title":"Get missed conversations","description":"Deprecated. Use List chats (v2) with scope=missed-agent. Retained for existing integrations."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getMissedParticipants","name":"Get missed conversations","deprecated":true,"isWebhook":false,"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1getMissedParticipants/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get missed conversations","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/listchatsv2"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"List chats (v2)"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"scope=missed-agent"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Retained for existing integrations."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Retrieve conversations where the customer disconnected before an agent could respond. Includes pagination and search."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page","in":"query","schemaId":"schema_2","description":"Zero-based page index."},{"name":"size","in":"query","schemaId":"schema_3","description":"Number of records per page."},{"name":"searchString","in":"query","schemaId":"schema_8","description":"Filter by customer name or phone number."},{"name":"clientRef","in":"query","schemaId":"schema_1","description":"Your unique client reference identifier."}],"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1getMissedParticipants/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/ChatParticipant/getMissedParticipants","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"page","in":"query","example":0,"schemaId":"schema_2"},{"name":"size","in":"query","example":10,"schemaId":"schema_3"},{"name":"searchString","in":"query","example":"john","schemaId":"schema_8"},{"name":"clientRef","in":"query","example":"Growthpoint","schemaId":"schema_1"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/pl4chat-service/ChatParticipant/getMissedParticipants","href":"live-chat/getmissedparticipants","openApiOperationId":"getMissedParticipants","summary":"Get missed conversations"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Paginated list of missed conversations","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_63"}},"schemaId":"schema_63"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1getMissedParticipants/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_63","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_63"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/live-chat/getmissedparticipants"}],"panels":[]}]},"httpPath":"/pl4chat-service/ChatParticipant/getMissedParticipants"},{"label":"Get after-hours missed conversations","deprecated":true,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/live-chat/getmissedafterhoursparticipants","routeSlug":"/apis/omnichannel/live-chat/getmissedafterhoursparticipants","metadata":{"seo":{"title":"Get after-hours missed conversations","description":"Deprecated. Use List chats (v2) with scope=missed-after-hours. Retained for existing integrations."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getMissedAfterHoursParticipants","name":"Get after-hours missed conversations","deprecated":true,"isWebhook":false,"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1getMissedAfterHoursParticipants/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get after-hours missed conversations","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/listchatsv2"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"List chats (v2)"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"scope=missed-after-hours"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Retained for existing integrations."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page","in":"query","schemaId":"schema_2","description":"Zero-based page index."},{"name":"size","in":"query","schemaId":"schema_3","description":"Number of records per page."},{"name":"searchString","in":"query","schemaId":"schema_8","description":"Filter by customer name or phone number."},{"name":"clientRef","in":"query","schemaId":"schema_1","description":"Your unique client reference identifier."}],"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1getMissedAfterHoursParticipants/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/ChatParticipant/getMissedAfterHoursParticipants","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"page","in":"query","example":0,"schemaId":"schema_2"},{"name":"size","in":"query","example":10,"schemaId":"schema_3"},{"name":"searchString","in":"query","example":"john","schemaId":"schema_8"},{"name":"clientRef","in":"query","example":"Growthpoint","schemaId":"schema_1"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/pl4chat-service/ChatParticipant/getMissedAfterHoursParticipants","href":"live-chat/getmissedafterhoursparticipants","openApiOperationId":"getMissedAfterHoursParticipants","summary":"Get after-hours missed conversations"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Paginated list of after-hours missed conversations","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_63"}},"schemaId":"schema_63"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1getMissedAfterHoursParticipants/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_63","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_63"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/live-chat/getmissedafterhoursparticipants"}],"panels":[]}]},"httpPath":"/pl4chat-service/ChatParticipant/getMissedAfterHoursParticipants"},{"label":"Get my missed conversations","deprecated":true,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/live-chat/getmymissedparticipants","routeSlug":"/apis/omnichannel/live-chat/getmymissedparticipants","metadata":{"seo":{"title":"Get my missed conversations","description":"Deprecated. Use List chats (v2) with scope=my-missed. Retained for existing integrations."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getMyMissedParticipants","name":"Get my missed conversations","deprecated":true,"isWebhook":false,"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1getMyMissedParticipants/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get my missed conversations","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/listchatsv2"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"List chats (v2)"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"scope=my-missed"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Retained for existing integrations."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page","in":"query","schemaId":"schema_2","description":"Zero-based page index."},{"name":"size","in":"query","schemaId":"schema_3","description":"Number of records per page."},{"name":"searchString","in":"query","schemaId":"schema_8","description":"Filter by customer name or phone number."}],"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1getMyMissedParticipants/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/ChatParticipant/getMyMissedParticipants","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"page","in":"query","example":0,"schemaId":"schema_2"},{"name":"size","in":"query","example":10,"schemaId":"schema_3"},{"name":"searchString","in":"query","example":"john","schemaId":"schema_8"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/pl4chat-service/ChatParticipant/getMyMissedParticipants","href":"live-chat/getmymissedparticipants","openApiOperationId":"getMyMissedParticipants","summary":"Get my missed conversations"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Paginated list of conversations missed by the authenticated agent","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_63"}},"schemaId":"schema_63"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1getMyMissedParticipants/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_63","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_63"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/live-chat/getmymissedparticipants"}],"panels":[]}]},"httpPath":"/pl4chat-service/ChatParticipant/getMyMissedParticipants"},{"label":"Get conversations assigned to a specific agent","deprecated":true,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/live-chat/getparticipantsbyassignedto","routeSlug":"/apis/omnichannel/live-chat/getparticipantsbyassignedto","metadata":{"seo":{"title":"Get conversations assigned to a specific agent","description":"Deprecated. Use List chats (v2) with scope=my. v2 resolves the agent from your API key / session, so it returns your assigned chats — you can no longer query an arbitrary agent by id. Retained for existing integrations."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getParticipantsByAssignedTo","name":"Get conversations assigned to a specific agent","deprecated":true,"isWebhook":false,"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1getChatParticipantsByAssignedTo/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get conversations assigned to a specific agent","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/listchatsv2"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"List chats (v2)"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"scope=my"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". v2 resolves the agent from your API key / session, so it returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"your"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" assigned chats — you can no longer query an arbitrary agent by id. Retained for existing integrations."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Retrieve all active conversations assigned to a specific agent by their user ID."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"assignedTo","in":"query","schemaId":"schema_28","description":"System user ID of the agent.","required":true}],"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1getChatParticipantsByAssignedTo/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/ChatParticipant/getChatParticipantsByAssignedTo","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"assignedTo","in":"query","required":true,"example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","schemaId":"schema_28"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/pl4chat-service/ChatParticipant/getChatParticipantsByAssignedTo","href":"live-chat/getparticipantsbyassignedto","openApiOperationId":"getParticipantsByAssignedTo","summary":"Get conversations assigned to a specific agent"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"List of active conversations assigned to the specified agent","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_64"}},"schemaId":"schema_64"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1getChatParticipantsByAssignedTo/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_64","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_64"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/live-chat/getparticipantsbyassignedto"}],"panels":[]}]},"httpPath":"/pl4chat-service/ChatParticipant/getChatParticipantsByAssignedTo"},{"label":"Terminate or reopen a chat conversation","deprecated":true,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/live-chat/terminatechatparticipantchat","routeSlug":"/apis/omnichannel/live-chat/terminatechatparticipantchat","metadata":{"seo":{"title":"Terminate or reopen a chat conversation","description":"Deprecated. Use Terminate a chat (v2)or Reopen a chat (v2) — they takeonly the chat id (the actor is resolved from your API key / session) and avoid the full-objectmerge pitfalls below. Retained for existing integrations."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"terminateChatParticipantChat","name":"Terminate or reopen a chat conversation","deprecated":true,"isWebhook":false,"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1terminateChatParticipantChat/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Terminate or reopen a chat conversation","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/terminatechatv2"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Terminate a chat (v2)"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/openchatv2"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Reopen a chat (v2)"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — they take"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"only the chat id (the actor is resolved from your API key / session) and avoid the full-object"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"merge pitfalls below. Retained for existing integrations."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Terminates or reopens a chat by toggling the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"conversationClosed"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" field on the ChatParticipant object."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Set "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"conversationClosed"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to terminate the chat (triggers the rating widget if configured),"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"or set it to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"false"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to reopen a previously closed chat."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Important — send the full object."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" The safest approach is to fetch the participant with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /pl4chat-service/ChatParticipant"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and send the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"complete object"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" back with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"conversationClosed"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" toggled. The endpoint merges non-null string and object fields (so most omitted fields are preserved), but two categories behave differently and can silently reset state:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"assignedTo"},"children":[],"type":"code"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — if omitted or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", the agent assignment is cleared."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Boolean flags"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"conversationClosed"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"missedConversation"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"afterHoursConversation"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sendRatingWidget"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"chatBotConversation"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" are always copied from the request. Omitting any of them resets it to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"false"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Note that when terminating with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sendRatingWidget=true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", the server also moves "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"assignedTo"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"lastAssignedAgent"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", sets "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"expectingRating=true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", and triggers the rating widget."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/ChatParticipant","exampleIds":["paths/~1pl4chat-service~1ChatParticipant~1terminateChatParticipantChat/put/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/ChatParticipant","exampleIds":["paths/~1pl4chat-service~1ChatParticipant~1terminateChatParticipantChat/put/requestBody/content/application~1json/example"],"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1terminateChatParticipantChat/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/pl4chat-service/ChatParticipant/terminateChatParticipantChat","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/ChatParticipant","exampleIds":["paths/~1pl4chat-service~1ChatParticipant~1terminateChatParticipantChat/put/requestBody/content/application~1json/example"]}},"responseCodes":["200","401"],"pointer":"/pl4chat-service/ChatParticipant/terminateChatParticipantChat","href":"live-chat/terminatechatparticipantchat","openApiOperationId":"terminateChatParticipantChat","summary":"Terminate or reopen a chat conversation"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/ChatParticipant","exampleIds":["paths/~1pl4chat-service~1ChatParticipant~1terminateChatParticipantChat/put/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/ChatParticipant","exampleIds":["paths/~1pl4chat-service~1ChatParticipant~1terminateChatParticipantChat/put/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The updated chat participant object reflecting the new conversation state","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ChatParticipant"}},"schemaId":"components/schemas/ChatParticipant"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1ChatParticipant~1terminateChatParticipantChat/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ChatParticipant","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ChatParticipant"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/live-chat/terminatechatparticipantchat"}],"panels":[]}]},"httpPath":"/pl4chat-service/ChatParticipant/terminateChatParticipantChat"},{"label":"Send WhatsApp agent reply","deprecated":true,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/live-chat/sendagentmessagewhatsapp","routeSlug":"/apis/omnichannel/live-chat/sendagentmessagewhatsapp","metadata":{"seo":{"title":"Send WhatsApp agent reply","description":"Deprecated. Use the unified Send an agent message (v2) with channel: WHATSAPP — one endpoint covers all channels, takes a lean request, and returns a lean MessageResponse. This endpoint takes the full internal message entity and is retained only for existing integrations."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"sendAgentMessageWhatsapp","name":"Send WhatsApp agent reply","deprecated":true,"isWebhook":false,"pointer":"/paths/~1pl4chat-service~1Message~1sendMessageWhatsapp/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Send WhatsApp agent reply","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Use the unified "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/sendmessagev2"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Send an agent message (v2)"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"channel: WHATSAPP"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — one endpoint covers all channels, takes a lean request, and returns a lean "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"MessageResponse"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". This endpoint takes the full internal message entity and is retained only for existing integrations."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Send a WhatsApp message from an agent to a customer (routes via WhatsApp API)."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Message","exampleIds":["paths/~1pl4chat-service~1Message~1sendMessageWhatsapp/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/Message","exampleIds":["paths/~1pl4chat-service~1Message~1sendMessageWhatsapp/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1pl4chat-service~1Message~1sendMessageWhatsapp/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/pl4chat-service/Message/sendMessageWhatsapp","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/Message","exampleIds":["paths/~1pl4chat-service~1Message~1sendMessageWhatsapp/post/requestBody/content/application~1json/example"]}},"responseCodes":["200","401"],"pointer":"/pl4chat-service/Message/sendMessageWhatsapp","href":"live-chat/sendagentmessagewhatsapp","openApiOperationId":"sendAgentMessageWhatsapp","summary":"Send WhatsApp agent reply"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/Message","exampleIds":["paths/~1pl4chat-service~1Message~1sendMessageWhatsapp/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Message","exampleIds":["paths/~1pl4chat-service~1Message~1sendMessageWhatsapp/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The sent message object including delivery metadata","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Message"}},"schemaId":"components/schemas/Message"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1Message~1sendMessageWhatsapp/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/Message","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Message"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/live-chat/sendagentmessagewhatsapp"}],"panels":[]}]},"httpPath":"/pl4chat-service/Message/sendMessageWhatsapp"},{"label":"Send agent reply with attachment","deprecated":true,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/live-chat/sendagentmessagewithattachment","routeSlug":"/apis/omnichannel/live-chat/sendagentmessagewithattachment","metadata":{"seo":{"title":"Send agent reply with attachment","description":"Deprecated. Upload media via Upload media for an agent message (v2) then send the returned mediaUrl with Send an agent message (v2). The two-step flow is channel-agnostic and replaces this WhatsApp-oriented multipart endpoint, which is retained only for existing integrations."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"sendAgentMessageWithAttachment","name":"Send agent reply with attachment","deprecated":true,"isWebhook":false,"pointer":"/paths/~1pl4chat-service~1Message~1sendMessageWithAttachment/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Send agent reply with attachment","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Upload media via "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/uploadmediav2"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Upload media for an agent message (v2)"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" then send the returned "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"mediaUrl"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/sendmessagev2"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Send an agent message (v2)"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". The two-step flow is channel-agnostic and replaces this WhatsApp-oriented multipart endpoint, which is retained only for existing integrations."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Send a message with a file attachment (image, document, video) from an agent."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["multipart/form-data"],"mediaTypeSchemas":{"multipart/form-data":{"schemaId":"schema_65","exampleIds":["paths/~1pl4chat-service~1Message~1sendMessageWithAttachment/post/requestBody/content/multipart~1form-data/examples/sample"]}},"schemaId":"schema_65","exampleIds":["paths/~1pl4chat-service~1Message~1sendMessageWithAttachment/post/requestBody/content/multipart~1form-data/examples/sample"],"pointer":"/paths/~1pl4chat-service~1Message~1sendMessageWithAttachment/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/pl4chat-service/Message/sendMessageWithAttachment","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"multipart/form-data":{"schemaId":"schema_65","exampleIds":["paths/~1pl4chat-service~1Message~1sendMessageWithAttachment/post/requestBody/content/multipart~1form-data/examples/sample"],"encoding":{"message":{"contentType":"application/json"}}}},"responseCodes":["200","401"],"pointer":"/pl4chat-service/Message/sendMessageWithAttachment","href":"live-chat/sendagentmessagewithattachment","openApiOperationId":"sendAgentMessageWithAttachment","summary":"Send agent reply with attachment"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"schema_65","exampleIds":["paths/~1pl4chat-service~1Message~1sendMessageWithAttachment/post/requestBody/content/multipart~1form-data/examples/sample"],"mediaTypes":["multipart/form-data"],"mediaTypeSchemas":{"multipart/form-data":{"schemaId":"schema_65","exampleIds":["paths/~1pl4chat-service~1Message~1sendMessageWithAttachment/post/requestBody/content/multipart~1form-data/examples/sample"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The sent message object with attachment metadata","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Message"}},"schemaId":"components/schemas/Message"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1Message~1sendMessageWithAttachment/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/Message","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Message"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/live-chat/sendagentmessagewithattachment"}],"panels":[]}]},"httpPath":"/pl4chat-service/Message/sendMessageWithAttachment"},{"label":"Send typing indicator (Chat)","deprecated":true,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/live-chat/sendchattypingindicator","routeSlug":"/apis/omnichannel/live-chat/sendchattypingindicator","metadata":{"seo":{"title":"Send typing indicator (Chat)","description":"Deprecated. Use Send typing indicator (v2), which resolves sender/recipient from the participant (you pass only participantId). Retained only for existing integrations."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"sendChatTypingIndicator","name":"Send typing indicator (Chat)","deprecated":true,"isWebhook":false,"pointer":"/paths/~1pl4chat-service~1Message~1sendTypingIndicator/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Send typing indicator (Chat)","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/sendtypingindicatorv2"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Send typing indicator (v2)"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", which resolves sender/recipient from the participant (you pass only "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"participantId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). Retained only for existing integrations."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Show a typing indicator to the customer from the chat agent."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/TypingIndicatorRequest","exampleIds":["paths/~1pl4chat-service~1Message~1sendTypingIndicator/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/TypingIndicatorRequest","exampleIds":["paths/~1pl4chat-service~1Message~1sendTypingIndicator/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1pl4chat-service~1Message~1sendTypingIndicator/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/pl4chat-service/Message/sendTypingIndicator","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/TypingIndicatorRequest","exampleIds":["paths/~1pl4chat-service~1Message~1sendTypingIndicator/post/requestBody/content/application~1json/example"]}},"responseCodes":["200","401"],"pointer":"/pl4chat-service/Message/sendTypingIndicator","href":"live-chat/sendchattypingindicator","openApiOperationId":"sendChatTypingIndicator","summary":"Send typing indicator (Chat)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/TypingIndicatorRequest","exampleIds":["paths/~1pl4chat-service~1Message~1sendTypingIndicator/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/TypingIndicatorRequest","exampleIds":["paths/~1pl4chat-service~1Message~1sendTypingIndicator/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Confirmation that the typing indicator was sent to the customer"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1Message~1sendTypingIndicator/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200"},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/live-chat/sendchattypingindicator"}],"panels":[]}]},"httpPath":"/pl4chat-service/Message/sendTypingIndicator"},{"label":"Mark message as read by agent","deprecated":true,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/live-chat/markreadbyagent","routeSlug":"/apis/omnichannel/live-chat/markreadbyagent","metadata":{"seo":{"title":"Mark message as read by agent","description":"Deprecated. Use Mark a conversation as read (v2), which clears the unread badge and sends the read receipt for the participant in one call. Retained for existing integrations."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"markReadByAgent","name":"Mark message as read by agent","deprecated":true,"isWebhook":false,"pointer":"/paths/~1pl4chat-service~1Message~1markReadByAgent/post","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Mark message as read by agent","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/markasreadv2"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Mark a conversation as read (v2)"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", which clears the unread badge and sends the read receipt for the participant in one call. Retained for existing integrations."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Mark a specific message as read by the agent (sends read receipt to customer)."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"messageId","in":"query","schemaId":"schema_28","description":"The ID of the message to mark as read.","required":true}],"pointer":"/paths/~1pl4chat-service~1Message~1markReadByAgent/post/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/pl4chat-service/Message/markReadByAgent","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"messageId","in":"query","required":true,"example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","schemaId":"schema_28"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/pl4chat-service/Message/markReadByAgent","href":"live-chat/markreadbyagent","openApiOperationId":"markReadByAgent","summary":"Mark message as read by agent"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Confirmation that the message was marked as read and a read receipt was sent"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1Message~1markReadByAgent/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200"},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/live-chat/markreadbyagent"}],"panels":[]}]},"httpPath":"/pl4chat-service/Message/markReadByAgent"}],"content":{"contentType":"group","meta":{"name":"Live Chat"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Live Chat","showPageActions":true},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Manage real-time customer conversations through agent queues. View unassigned, assigned, team, closed, and missed conversations. Send text and media replies to customers, show typing indicators, and mark messages as read. Supports pagination and search across all queue types."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"For retrieving conversation history, see the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/live-chat#chatbot-conversation-flow"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Chatbot conversation flow"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" guide — it covers receiving webhooks, looking up chat participants, and fetching messages."},"children":[],"type":"text"}],"type":"paragraph"}]}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/pl4chat-service/api/v2/chats","summary":"List chats (v2)","prefix":{"name":"get","color":"get"},"badges":[],"link":"/live-chat/listchatsv2","deprecated":false},{"title":"/pl4chat-service/api/v2/chats/{id}","summary":"Get a chat (v2)","prefix":{"name":"get","color":"get"},"badges":[],"link":"/live-chat/getchatv2","deprecated":false},{"title":"/pl4chat-service/api/v2/chats/{id}/terminate","summary":"Terminate a chat (v2)","prefix":{"name":"post","color":"post"},"badges":[],"link":"/live-chat/terminatechatv2","deprecated":false},{"title":"/pl4chat-service/api/v2/chats/{id}/open","summary":"Reopen a chat (v2)","prefix":{"name":"post","color":"post"},"badges":[],"link":"/live-chat/openchatv2","deprecated":false},{"title":"/pl4chat-service/api/v2/chats/{id}/take","summary":"Take an unassigned chat (v2)","prefix":{"name":"post","color":"post"},"badges":[],"link":"/live-chat/takechatv2","deprecated":false},{"title":"/pl4chat-service/ChatParticipant/system/tickets","summary":"Get global system tracking numbers","prefix":{"name":"get","color":"get"},"badges":[],"link":"/live-chat/getsystemticketnumbersbydate","deprecated":false},{"title":"/pl4chat-service/api/v2/messages/tracking/{trackingNumber}","summary":"Get messages by tracking number (v2)","prefix":{"name":"get","color":"get"},"badges":[],"link":"/live-chat/getmessagesbytrackingnumberv2","deprecated":false},{"title":"/pl4chat-service/api/v2/messages/ctid/{ctId}","summary":"Get a message by ctId (v2)","prefix":{"name":"get","color":"get"},"badges":[],"link":"/live-chat/getmessagebyctidv2","deprecated":false},{"title":"/pl4chat-service/api/v2/messages","summary":"Get messages for a chat participant (v2)","prefix":{"name":"get","color":"get"},"badges":[],"link":"/live-chat/getmessagesv2","deprecated":false},{"title":"/pl4chat-service/api/v2/messages","summary":"Send an agent message (v2)","prefix":{"name":"post","color":"post"},"badges":[],"link":"/live-chat/sendmessagev2","deprecated":false},{"title":"/pl4chat-service/api/v2/messages/media","summary":"Upload media for an agent message (v2)","prefix":{"name":"post","color":"post"},"badges":[],"link":"/live-chat/uploadmediav2","deprecated":false},{"title":"/pl4chat-service/api/v2/messages/typing","summary":"Send typing indicator (v2)","prefix":{"name":"post","color":"post"},"badges":[],"link":"/live-chat/sendtypingindicatorv2","deprecated":false},{"title":"/pl4chat-service/api/v2/messages/read","summary":"Mark a conversation as read (v2)","prefix":{"name":"post","color":"post"},"badges":[],"link":"/live-chat/markasreadv2","deprecated":false},{"title":"/pl4chat-service/ChatParticipant","summary":"Get chat participants","prefix":{"name":"get","color":"http-deprecated"},"badges":[],"link":"/live-chat/getchatparticipants","deprecated":true},{"title":"/pl4chat-service/Message/trackingNumber/{trackingNumber}","summary":"Get chat messages by tracking number","prefix":{"name":"get","color":"http-deprecated"},"badges":[],"link":"/live-chat/getchatmessagesbytrackingnumber","deprecated":true},{"title":"/pl4chat-service/Message/getMessagesByChatParticipant","summary":"Get messages by chat participant","prefix":{"name":"get","color":"http-deprecated"},"badges":[],"link":"/live-chat/getmessagesbychatparticipant","deprecated":true},{"title":"/pl4chat-service/ChatParticipant/getUnAssignedParticipants","summary":"Get unassigned conversations","prefix":{"name":"get","color":"http-deprecated"},"badges":[],"link":"/live-chat/getunassignedparticipants","deprecated":true},{"title":"/pl4chat-service/ChatParticipant/getMyParticipants","summary":"Get my assigned conversations","prefix":{"name":"get","color":"http-deprecated"},"badges":[],"link":"/live-chat/getmyparticipants","deprecated":true},{"title":"/pl4chat-service/ChatParticipant/getTeamParticipants","summary":"Get team conversations","prefix":{"name":"get","color":"http-deprecated"},"badges":[],"link":"/live-chat/getteamparticipants","deprecated":true},{"title":"/pl4chat-service/ChatParticipant/getClosedParticipants","summary":"Get closed conversations","prefix":{"name":"get","color":"http-deprecated"},"badges":[],"link":"/live-chat/getclosedparticipants","deprecated":true},{"title":"/pl4chat-service/ChatParticipant/getMissedParticipants","summary":"Get missed conversations","prefix":{"name":"get","color":"http-deprecated"},"badges":[],"link":"/live-chat/getmissedparticipants","deprecated":true},{"title":"/pl4chat-service/ChatParticipant/getMissedAfterHoursParticipants","summary":"Get after-hours missed conversations","prefix":{"name":"get","color":"http-deprecated"},"badges":[],"link":"/live-chat/getmissedafterhoursparticipants","deprecated":true},{"title":"/pl4chat-service/ChatParticipant/getMyMissedParticipants","summary":"Get my missed conversations","prefix":{"name":"get","color":"http-deprecated"},"badges":[],"link":"/live-chat/getmymissedparticipants","deprecated":true},{"title":"/pl4chat-service/ChatParticipant/getChatParticipantsByAssignedTo","summary":"Get conversations assigned to a specific agent","prefix":{"name":"get","color":"http-deprecated"},"badges":[],"link":"/live-chat/getparticipantsbyassignedto","deprecated":true},{"title":"/pl4chat-service/ChatParticipant/terminateChatParticipantChat","summary":"Terminate or reopen a chat conversation","prefix":{"name":"put","color":"http-deprecated"},"badges":[],"link":"/live-chat/terminatechatparticipantchat","deprecated":true},{"title":"/pl4chat-service/Message/sendMessageWhatsapp","summary":"Send WhatsApp agent reply","prefix":{"name":"post","color":"http-deprecated"},"badges":[],"link":"/live-chat/sendagentmessagewhatsapp","deprecated":true},{"title":"/pl4chat-service/Message/sendMessageWithAttachment","summary":"Send agent reply with attachment","prefix":{"name":"post","color":"http-deprecated"},"badges":[],"link":"/live-chat/sendagentmessagewithattachment","deprecated":true},{"title":"/pl4chat-service/Message/sendTypingIndicator","summary":"Send typing indicator (Chat)","prefix":{"name":"post","color":"http-deprecated"},"badges":[],"link":"/live-chat/sendchattypingindicator","deprecated":true},{"title":"/pl4chat-service/Message/markReadByAgent","summary":"Mark message as read by agent","prefix":{"name":"post","color":"http-deprecated"},"badges":[],"link":"/live-chat/markreadbyagent","deprecated":true}]}]}]}]}},{"type":"group","label":"Tickets","link":"/apis/omnichannel/tickets","routeSlug":"/apis/omnichannel/tickets","items":[{"label":"Get tickets by client ref","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/tickets/getticketsbyclientref","routeSlug":"/apis/omnichannel/tickets/getticketsbyclientref","metadata":{"seo":{"title":"Get tickets by client ref","description":"Retrieve all tickets for a given client reference, including rating information."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getTicketsByClientRef","name":"Get tickets by client ref","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1ticket~1client~1{clientRef}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get tickets by client ref","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve all tickets for a given client reference, including rating information."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"clientRef","in":"path","schemaId":"schema_1","description":"Your unique client reference identifier.","required":true}],"pointer":"/paths/~1pl4chat-service~1ticket~1client~1{clientRef}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/ticket/client/{clientRef}","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"clientRef","in":"path","required":true,"example":"Growthpoint","schemaId":"schema_1"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401","404"],"pointer":"/pl4chat-service/ticket/client/{clientRef}","href":"tickets/getticketsbyclientref","openApiOperationId":"getTicketsByClientRef","summary":"Get tickets by client ref"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"List of tickets with rating information for the specified client","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_66"}},"schemaId":"schema_66"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1pl4chat-service~1ticket~1client~1{clientRef}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_66","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_66"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/tickets/getticketsbyclientref"}],"panels":[]}]},"httpPath":"/pl4chat-service/ticket/client/{clientRef}"},{"label":"Get ticket by ticket number","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/tickets/getticketbyticketnumber","routeSlug":"/apis/omnichannel/tickets/getticketbyticketnumber","metadata":{"seo":{"title":"Get ticket by ticket number","description":"Retrieve a single ticket by its ticket number."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getTicketByTicketNumber","name":"Get ticket by ticket number","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1ticket~1by-ticket-number/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get ticket by ticket number","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve a single ticket by its ticket number."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"ticketNumber","in":"query","schemaId":"schema_67","description":"The unique ticket number to look up.","required":true}],"pointer":"/paths/~1pl4chat-service~1ticket~1by-ticket-number/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/ticket/by-ticket-number","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"ticketNumber","in":"query","required":true,"example":"TICKET-12345","schemaId":"schema_67"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401","404"],"pointer":"/pl4chat-service/ticket/by-ticket-number","href":"tickets/getticketbyticketnumber","openApiOperationId":"getTicketByTicketNumber","summary":"Get ticket by ticket number"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The ticket object matching the specified ticket number","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/TicketEmailDto"}},"schemaId":"components/schemas/TicketEmailDto"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1pl4chat-service~1ticket~1by-ticket-number/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/TicketEmailDto","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/TicketEmailDto"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/tickets/getticketbyticketnumber"}],"panels":[]}]},"httpPath":"/pl4chat-service/ticket/by-ticket-number"},{"label":"Search tickets with filters","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/tickets/filterticketsbycriteria","routeSlug":"/apis/omnichannel/tickets/filterticketsbycriteria","metadata":{"seo":{"title":"Search tickets with filters","description":"Search and filter tickets with pagination. Supports filtering by date range, WhatsApp number, rating, ticket number, agent, client ref, and status."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"filterTicketsByCriteria","name":"Search tickets with filters","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1ticket~1search/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Search tickets with filters","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Search and filter tickets with pagination. Supports filtering by date range,\nWhatsApp number, rating, ticket number, agent, client ref, and status.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page","in":"query","schemaId":"schema_68","description":"Zero-based page index.","required":true},{"name":"size","in":"query","schemaId":"schema_69","description":"Number of records per page.","required":true},{"name":"startDateTime","in":"query","schemaId":"schema_42","description":"Start of the date range (ISO 8601 with timezone offset).","required":true},{"name":"endDateTime","in":"query","schemaId":"schema_43","description":"End of the date range (ISO 8601 with timezone offset).","required":true},{"name":"clientRef","in":"query","schemaId":"schema_1","description":"Your unique client reference identifier.","required":true},{"name":"whatsAppNumber","in":"query","schemaId":"schema_70","description":"Filter by the customer's WhatsApp phone number."},{"name":"rating","in":"query","schemaId":"schema_71","description":"Filter by ticket satisfaction rating."},{"name":"ticketNumber","in":"query","schemaId":"schema_67","description":"Filter by a specific ticket number."},{"name":"agentId","in":"query","schemaId":"schema_72","description":"Filter by the assigned agent's ID."},{"name":"selectedStatus","in":"query","schemaId":"schema_73","description":"Filter by ticket status."}],"pointer":"/paths/~1pl4chat-service~1ticket~1search/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/ticket/search","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"page","in":"query","required":true,"example":0,"schemaId":"schema_68"},{"name":"size","in":"query","required":true,"example":10,"schemaId":"schema_69"},{"name":"startDateTime","in":"query","required":true,"example":"2026-01-01T00:00:00+02:00","schemaId":"schema_42"},{"name":"endDateTime","in":"query","required":true,"example":"2026-01-31T23:59:59+02:00","schemaId":"schema_43"},{"name":"clientRef","in":"query","required":true,"example":"Growthpoint","schemaId":"schema_1"},{"name":"whatsAppNumber","in":"query","required":false,"example":"+27821234567","schemaId":"schema_70"},{"name":"rating","in":"query","required":false,"example":"excellent","schemaId":"schema_71"},{"name":"ticketNumber","in":"query","required":false,"example":"TICKET-12345","schemaId":"schema_67"},{"name":"agentId","in":"query","required":false,"example":"agent-001","schemaId":"schema_72"},{"name":"selectedStatus","in":"query","required":false,"example":"open","schemaId":"schema_73"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401"],"pointer":"/pl4chat-service/ticket/search","href":"tickets/filterticketsbycriteria","openApiOperationId":"filterTicketsByCriteria","summary":"Search tickets with filters"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Paginated list of tickets matching the specified filter criteria","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/TicketEmailDtoPage"}},"schemaId":"components/schemas/TicketEmailDtoPage"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1ticket~1search/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/TicketEmailDtoPage","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/TicketEmailDtoPage"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/tickets/filterticketsbycriteria"}],"panels":[]}]},"httpPath":"/pl4chat-service/ticket/search"},{"label":"Update ticket status","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/tickets/updateticketstatus","routeSlug":"/apis/omnichannel/tickets/updateticketstatus","metadata":{"seo":{"title":"Update ticket status","description":"Update the status of an existing ticket."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateTicketStatus","name":"Update ticket status","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1ticket~1{ticketId}~1status/put","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update ticket status","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Update the status of an existing ticket."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"ticketId","in":"path","schemaId":"schema_74","description":"The unique ID of the ticket to update.","required":true}],"pointer":"/paths/~1pl4chat-service~1ticket~1{ticketId}~1status/put/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"newStatus","in":"query","schemaId":"schema_75","description":"The new status to set on the ticket.","required":true}],"pointer":"/paths/~1pl4chat-service~1ticket~1{ticketId}~1status/put/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/pl4chat-service/ticket/{ticketId}/status","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"ticketId","in":"path","required":true,"example":"64a1b2c3d4e5f67890abcdef","schemaId":"schema_74"}],"query":[{"name":"newStatus","in":"query","required":true,"example":"CLOSED","schemaId":"schema_75"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401","404"],"pointer":"/pl4chat-service/ticket/{ticketId}/status","href":"tickets/updateticketstatus","openApiOperationId":"updateTicketStatus","summary":"Update ticket status"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The updated ticket object with the new status","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/TicketEmailDto"}},"schemaId":"components/schemas/TicketEmailDto"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1pl4chat-service~1ticket~1{ticketId}~1status/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/TicketEmailDto","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/TicketEmailDto"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/tickets/updateticketstatus"}],"panels":[]}]},"httpPath":"/pl4chat-service/ticket/{ticketId}/status"},{"label":"Get tickets by customer and client WhatsApp numbers","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/tickets/getticketsbycustomerandclientwhatsappnumber","routeSlug":"/apis/omnichannel/tickets/getticketsbycustomerandclientwhatsappnumber","metadata":{"seo":{"title":"Get tickets by customer and client WhatsApp numbers","description":"Retrieve all ticket entities matching both the customer's and the client's WhatsApp numbers."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getTicketsByCustomerAndClientWhatsappNumber","name":"Get tickets by customer and client WhatsApp numbers","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1ticket~1getTicketEmailEntitiesByCustomerWhatsappNumberAndClientWhatsappNumber/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get tickets by customer and client WhatsApp numbers","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve all ticket entities matching both the customer's and the client's WhatsApp numbers."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"customerNumber","in":"query","schemaId":"schema_76","description":"The customer's WhatsApp phone number.","required":true},{"name":"clientNumber","in":"query","schemaId":"schema_77","description":"Your business WhatsApp phone number.","required":true}],"pointer":"/paths/~1pl4chat-service~1ticket~1getTicketEmailEntitiesByCustomerWhatsappNumberAndClientWhatsappNumber/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/ticket/getTicketEmailEntitiesByCustomerWhatsappNumberAndClientWhatsappNumber","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"customerNumber","in":"query","required":true,"example":"27821234567","schemaId":"schema_76"},{"name":"clientNumber","in":"query","required":true,"example":"+27123456789","schemaId":"schema_77"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/pl4chat-service/ticket/getTicketEmailEntitiesByCustomerWhatsappNumberAndClientWhatsappNumber","href":"tickets/getticketsbycustomerandclientwhatsappnumber","openApiOperationId":"getTicketsByCustomerAndClientWhatsappNumber","summary":"Get tickets by customer and client WhatsApp numbers"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"List of ticket entities matching both phone numbers","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_78"}},"schemaId":"schema_78"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1ticket~1getTicketEmailEntitiesByCustomerWhatsappNumberAndClientWhatsappNumber/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_78","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_78"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/tickets/getticketsbycustomerandclientwhatsappnumber"}],"panels":[]}]},"httpPath":"/pl4chat-service/ticket/getTicketEmailEntitiesByCustomerWhatsappNumberAndClientWhatsappNumber"},{"label":"Get ticket by chat participant ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/tickets/getticketbychatparticipantid","routeSlug":"/apis/omnichannel/tickets/getticketbychatparticipantid","metadata":{"seo":{"title":"Get ticket by chat participant ID","description":"Retrieve the ticket entity associated with a specific chat participant."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getTicketByChatParticipantId","name":"Get ticket by chat participant ID","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1ticket~1getTicketEntityByChatParticipantId/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get ticket by chat participant ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve the ticket entity associated with a specific chat participant."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"participantId","in":"query","schemaId":"schema_79","description":"The unique chat participant ID.","required":true}],"pointer":"/paths/~1pl4chat-service~1ticket~1getTicketEntityByChatParticipantId/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/ticket/getTicketEntityByChatParticipantId","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"participantId","in":"query","required":true,"example":"cp-a1b2c3d4","schemaId":"schema_79"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/pl4chat-service/ticket/getTicketEntityByChatParticipantId","href":"tickets/getticketbychatparticipantid","openApiOperationId":"getTicketByChatParticipantId","summary":"Get ticket by chat participant ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The ticket entity associated with the specified chat participant","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/TicketEmailEntity"}},"schemaId":"components/schemas/TicketEmailEntity"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1ticket~1getTicketEntityByChatParticipantId/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/TicketEmailEntity","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/TicketEmailEntity"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/tickets/getticketbychatparticipantid"}],"panels":[]}]},"httpPath":"/pl4chat-service/ticket/getTicketEntityByChatParticipantId"},{"label":"Get tickets by customer WhatsApp number and client ref","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/tickets/getticketsbycustomerwhatsappnumberandclientref","routeSlug":"/apis/omnichannel/tickets/getticketsbycustomerwhatsappnumberandclientref","metadata":{"seo":{"title":"Get tickets by customer WhatsApp number and client ref","description":"Retrieve all ticket entities matching a customer's WhatsApp number and client reference (case-insensitive)."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getTicketsByCustomerWhatsappNumberAndClientRef","name":"Get tickets by customer WhatsApp number and client ref","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1ticket~1getTicketEmailEntitiesByCustomerWhatsappNumberAndClientRef/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get tickets by customer WhatsApp number and client ref","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve all ticket entities matching a customer's WhatsApp number and client reference (case-insensitive)."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"customerWhatsAppNumber","in":"query","schemaId":"schema_76","description":"The customer's WhatsApp phone number.","required":true},{"name":"clientRef","in":"query","schemaId":"schema_1","description":"Your unique client reference identifier.","required":true}],"pointer":"/paths/~1pl4chat-service~1ticket~1getTicketEmailEntitiesByCustomerWhatsappNumberAndClientRef/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/ticket/getTicketEmailEntitiesByCustomerWhatsappNumberAndClientRef","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"customerWhatsAppNumber","in":"query","required":true,"example":"27821234567","schemaId":"schema_76"},{"name":"clientRef","in":"query","required":true,"example":"Growthpoint","schemaId":"schema_1"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/pl4chat-service/ticket/getTicketEmailEntitiesByCustomerWhatsappNumberAndClientRef","href":"tickets/getticketsbycustomerwhatsappnumberandclientref","openApiOperationId":"getTicketsByCustomerWhatsappNumberAndClientRef","summary":"Get tickets by customer WhatsApp number and client ref"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"List of ticket entities matching the customer number and client reference","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_78"}},"schemaId":"schema_78"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1ticket~1getTicketEmailEntitiesByCustomerWhatsappNumberAndClientRef/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_78","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_78"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/tickets/getticketsbycustomerwhatsappnumberandclientref"}],"panels":[]}]},"httpPath":"/pl4chat-service/ticket/getTicketEmailEntitiesByCustomerWhatsappNumberAndClientRef"},{"label":"Get opened and closed tickets","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/tickets/getopenedandclosedtickets","routeSlug":"/apis/omnichannel/tickets/getopenedandclosedtickets","metadata":{"seo":{"title":"Get opened and closed tickets","description":"Retrieve all tickets for a client within a date range, including both opened and closed tickets."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getOpenedAndClosedTickets","name":"Get opened and closed tickets","isWebhook":false,"pointer":"/paths/~1pl4chat-service~1ticket~1getOpenedAndClosedTickets~1{clientRef}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get opened and closed tickets","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve all tickets for a client within a date range, including both opened and closed tickets."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"clientRef","in":"path","schemaId":"schema_1","description":"Your unique client reference identifier.","required":true}],"pointer":"/paths/~1pl4chat-service~1ticket~1getOpenedAndClosedTickets~1{clientRef}/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"startDateTime","in":"query","schemaId":"schema_42","description":"Start of the date range (ISO 8601 with timezone offset).","required":true},{"name":"endDateTime","in":"query","schemaId":"schema_43","description":"End of the date range (ISO 8601 with timezone offset).","required":true}],"pointer":"/paths/~1pl4chat-service~1ticket~1getOpenedAndClosedTickets~1{clientRef}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/pl4chat-service/ticket/getOpenedAndClosedTickets/{clientRef}","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"clientRef","in":"path","required":true,"example":"Growthpoint","schemaId":"schema_1"}],"query":[{"name":"startDateTime","in":"query","required":true,"example":"2026-01-01T00:00:00+02:00","schemaId":"schema_42"},{"name":"endDateTime","in":"query","required":true,"example":"2026-01-31T23:59:59+02:00","schemaId":"schema_43"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/pl4chat-service/ticket/getOpenedAndClosedTickets/{clientRef}","href":"tickets/getopenedandclosedtickets","openApiOperationId":"getOpenedAndClosedTickets","summary":"Get opened and closed tickets"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"List of opened and closed tickets within the specified date range","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_66"}},"schemaId":"schema_66"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1pl4chat-service~1ticket~1getOpenedAndClosedTickets~1{clientRef}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_66","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_66"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/tickets/getopenedandclosedtickets"}],"panels":[]}]},"httpPath":"/pl4chat-service/ticket/getOpenedAndClosedTickets/{clientRef}"}],"content":{"contentType":"group","meta":{"name":"Tickets"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Tickets","showPageActions":true},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Manage support tickets created from live chat conversations. Search and filter tickets by date range, status, agent, rating, and ticket number. Update ticket status through the lifecycle: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"OPEN"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" → "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"AWAITING_AGENT"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" → "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"AWAITING_CUSTOMER"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" → "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"RESOLVED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" → "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"CLOSED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Retrieve ticket details by ticket number, chat participant, or customer WhatsApp number."},"children":[],"type":"text"}],"type":"paragraph"}]}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/pl4chat-service/ticket/client/{clientRef}","summary":"Get tickets by client ref","prefix":{"name":"get","color":"get"},"badges":[],"link":"/tickets/getticketsbyclientref","deprecated":false},{"title":"/pl4chat-service/ticket/by-ticket-number","summary":"Get ticket by ticket number","prefix":{"name":"get","color":"get"},"badges":[],"link":"/tickets/getticketbyticketnumber","deprecated":false},{"title":"/pl4chat-service/ticket/search","summary":"Search tickets with filters","prefix":{"name":"get","color":"get"},"badges":[],"link":"/tickets/filterticketsbycriteria","deprecated":false},{"title":"/pl4chat-service/ticket/{ticketId}/status","summary":"Update ticket status","prefix":{"name":"put","color":"put"},"badges":[],"link":"/tickets/updateticketstatus","deprecated":false},{"title":"/pl4chat-service/ticket/getTicketEmailEntitiesByCustomerWhatsappNumberAndClientWhatsappNumber","summary":"Get tickets by customer and client WhatsApp numbers","prefix":{"name":"get","color":"get"},"badges":[],"link":"/tickets/getticketsbycustomerandclientwhatsappnumber","deprecated":false},{"title":"/pl4chat-service/ticket/getTicketEntityByChatParticipantId","summary":"Get ticket by chat participant ID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/tickets/getticketbychatparticipantid","deprecated":false},{"title":"/pl4chat-service/ticket/getTicketEmailEntitiesByCustomerWhatsappNumberAndClientRef","summary":"Get tickets by customer WhatsApp number and client ref","prefix":{"name":"get","color":"get"},"badges":[],"link":"/tickets/getticketsbycustomerwhatsappnumberandclientref","deprecated":false},{"title":"/pl4chat-service/ticket/getOpenedAndClosedTickets/{clientRef}","summary":"Get opened and closed tickets","prefix":{"name":"get","color":"get"},"badges":[],"link":"/tickets/getopenedandclosedtickets","deprecated":false}]}]}]}]}},{"type":"group","label":"Contacts","link":"/apis/omnichannel/contacts","routeSlug":"/apis/omnichannel/contacts","items":[{"label":"Get all contacts","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/contacts/getcontacts_inbox","routeSlug":"/apis/omnichannel/contacts/getcontacts_inbox","metadata":{"seo":{"title":"Get all contacts","description":"Retrieve a paginated list of customer contacts stored in your account."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getContacts_inbox","name":"Get all contacts","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1contacts/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get all contacts","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve a paginated list of customer contacts stored in your account."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/contacts","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/contacts","href":"contacts/getcontacts_inbox","openApiOperationId":"getContacts_inbox","summary":"Get all contacts"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"List of all customer contacts for the authenticated client","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_80"}},"schemaId":"schema_80"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1contacts/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_80","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_80"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/contacts/getcontacts_inbox"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/contacts"},{"label":"Create a contact","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/contacts/createcontact","routeSlug":"/apis/omnichannel/contacts/createcontact","metadata":{"seo":{"title":"Create a contact","description":"Add a new customer contact with phone number and name. The contact is associated with the authenticated client."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createContact","name":"Create a contact","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1contacts/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a contact","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Add a new customer contact with phone number and name. The contact is associated with the authenticated client."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Contact","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1contacts/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/Contact","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1contacts/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1contacts/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payless4messaging-service/WhatsApp/contacts","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/Contact","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1contacts/post/requestBody/content/application~1json/example"]}},"responseCodes":["200","400","401"],"pointer":"/payless4messaging-service/WhatsApp/contacts","href":"contacts/createcontact","openApiOperationId":"createContact","summary":"Create a contact"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/Contact","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1contacts/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Contact","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1contacts/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The newly created contact object","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Contact"}},"schemaId":"components/schemas/Contact"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1contacts/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/Contact","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Contact"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/contacts/createcontact"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/contacts"},{"label":"Update a contact","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/contacts/updatecontact","routeSlug":"/apis/omnichannel/contacts/updatecontact","metadata":{"seo":{"title":"Update a contact","description":"Currently only the fullName field can be updated."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateContact","name":"Update a contact","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1contacts~1{id}/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update a contact","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Currently only the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fullName"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" field can be updated."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_28","description":"The unique contact UUID.","required":true}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1contacts~1{id}/put/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Contact","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1contacts~1{id}/put/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/Contact","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1contacts~1{id}/put/requestBody/content/application~1json/example"],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1contacts~1{id}/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/payless4messaging-service/WhatsApp/contacts/{id}","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","schemaId":"schema_28"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/Contact","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1contacts~1{id}/put/requestBody/content/application~1json/example"]}},"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/contacts/{id}","href":"contacts/updatecontact","openApiOperationId":"updateContact","summary":"Update a contact"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/Contact","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1contacts~1{id}/put/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Contact","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1contacts~1{id}/put/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The updated contact object","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Contact"}},"schemaId":"components/schemas/Contact"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1contacts~1{id}/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/Contact","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Contact"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/contacts/updatecontact"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/contacts/{id}"},{"label":"Delete a contact","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/contacts/deletecontact","routeSlug":"/apis/omnichannel/contacts/deletecontact","metadata":{"seo":{"title":"Delete a contact","description":"Permanently delete a contact by its ID."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"deleteContact","name":"Delete a contact","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1contacts~1{id}/delete","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Delete a contact","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Permanently delete a contact by its ID."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_28","description":"The unique contact UUID.","required":true}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1contacts~1{id}/delete/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/payless4messaging-service/WhatsApp/contacts/{id}","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","schemaId":"schema_28"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["204","401","404"],"pointer":"/payless4messaging-service/WhatsApp/contacts/{id}","href":"contacts/deletecontact","openApiOperationId":"deleteContact","summary":"Delete a contact"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"Confirmation of successful contact deletion"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1contacts~1{id}/delete/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/contacts/deletecontact"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/contacts/{id}"}],"content":{"contentType":"group","meta":{"name":"Contacts"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Contacts","showPageActions":true},{"nodeType":"markdoc","content":"Manage your customer contact database. Create, update, and delete contact records with phone numbers, names, and metadata. Contacts are used for recipient management and can be queried with pagination."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/payless4messaging-service/WhatsApp/contacts","summary":"Get all contacts","prefix":{"name":"get","color":"get"},"badges":[],"link":"/contacts/getcontacts_inbox","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/contacts","summary":"Create a contact","prefix":{"name":"post","color":"post"},"badges":[],"link":"/contacts/createcontact","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/contacts/{id}","summary":"Update a contact","prefix":{"name":"put","color":"put"},"badges":[],"link":"/contacts/updatecontact","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/contacts/{id}","summary":"Delete a contact","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/contacts/deletecontact","deprecated":false}]}]}]}]}},{"type":"separator","label":"Insights & Reporting","content":null},{"type":"group","label":"Analytics","link":"/apis/omnichannel/analytics","routeSlug":"/apis/omnichannel/analytics","items":[{"label":"Get notification summary","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/analytics/getnotificationsummary","routeSlug":"/apis/omnichannel/analytics/getnotificationsummary","metadata":{"seo":{"title":"Get notification summary","description":"Aggregated delivery statistics for your notification (template) messages over a date range, optionally filtered by content type and direction. Each message is counted once, under its latest status: a read message counts as read only, not also as sent and delivered. The client is taken from your authentication context."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getNotificationSummary","name":"Get notification summary","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1whatsapp-analytics~1notifications/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get notification summary","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Aggregated delivery statistics for your notification (template) messages over a date range, optionally filtered by content type and direction. Each message is counted once, under its latest status: a read message counts as read only, not also as sent and delivered. The client is taken from your authentication context."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"startDate","in":"query","schemaId":"schema_81","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"First day of the range ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"yyyy-MM-dd"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"), from 00:00:00."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true},{"name":"endDate","in":"query","schemaId":"schema_82","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Last day of the range ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"yyyy-MM-dd"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"), up to 23:59:59.999. Must not be before "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"startDate"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true},{"name":"messageContentType","in":"query","schemaId":"schema_83","description":"Count only messages of this content type."},{"name":"direction","in":"query","schemaId":"schema_84","description":"Count only messages in this direction."}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1whatsapp-analytics~1notifications/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/api/v1/whatsapp-analytics/notifications","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"startDate","in":"query","required":true,"example":"2026-10-02","schemaId":"schema_81"},{"name":"endDate","in":"query","required":true,"example":"2026-10-09","schemaId":"schema_82"},{"name":"messageContentType","in":"query","example":"ALL","schemaId":"schema_83"},{"name":"direction","in":"query","example":"ALL","schemaId":"schema_84"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401"],"pointer":"/payless4messaging-service/WhatsApp/api/v1/whatsapp-analytics/notifications","href":"analytics/getnotificationsummary","openApiOperationId":"getNotificationSummary","summary":"Get notification summary"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Notification counts per status and per failure reason","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/NotificationAnalyticsResponse"}},"schemaId":"components/schemas/NotificationAnalyticsResponse"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1whatsapp-analytics~1notifications/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/NotificationAnalyticsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/NotificationAnalyticsResponse"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/analytics/getnotificationsummary"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/v1/whatsapp-analytics/notifications"},{"label":"Get interaction summary","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/analytics/getinteractionsummary","routeSlug":"/apis/omnichannel/analytics/getinteractionsummary","metadata":{"seo":{"title":"Get interaction summary","description":"Aggregated delivery statistics for your interaction (24-hour session) messages over a date range, optionally filtered by content type and direction. Each message is counted once, under its latest status. Incoming messages count as read. The client is taken from your authentication context."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getInteractionSummary","name":"Get interaction summary","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1whatsapp-analytics~1interactions/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get interaction summary","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Aggregated delivery statistics for your interaction (24-hour session) messages over a date range, optionally filtered by content type and direction. Each message is counted once, under its latest status. Incoming messages count as read. The client is taken from your authentication context."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"startDate","in":"query","schemaId":"schema_81","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"First day of the range ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"yyyy-MM-dd"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"), from 00:00:00."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true},{"name":"endDate","in":"query","schemaId":"schema_82","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Last day of the range ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"yyyy-MM-dd"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"), up to 23:59:59.999. Must not be before "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"startDate"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true},{"name":"messageContentType","in":"query","schemaId":"schema_83","description":"Count only messages of this content type."},{"name":"direction","in":"query","schemaId":"schema_84","description":"Count only messages in this direction."}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1whatsapp-analytics~1interactions/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/api/v1/whatsapp-analytics/interactions","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"startDate","in":"query","required":true,"example":"2026-10-02","schemaId":"schema_81"},{"name":"endDate","in":"query","required":true,"example":"2026-10-09","schemaId":"schema_82"},{"name":"messageContentType","in":"query","example":"ALL","schemaId":"schema_83"},{"name":"direction","in":"query","example":"ALL","schemaId":"schema_84"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401"],"pointer":"/payless4messaging-service/WhatsApp/api/v1/whatsapp-analytics/interactions","href":"analytics/getinteractionsummary","openApiOperationId":"getInteractionSummary","summary":"Get interaction summary"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Interaction counts per status","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/MessageStatusAnalyticsResponse"}},"schemaId":"components/schemas/MessageStatusAnalyticsResponse"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1whatsapp-analytics~1interactions/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/MessageStatusAnalyticsResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/MessageStatusAnalyticsResponse"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/analytics/getinteractionsummary"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/v1/whatsapp-analytics/interactions"},{"label":"Get notification analytics","deprecated":true,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/analytics/getnotificationanalytics","routeSlug":"/apis/omnichannel/analytics/getnotificationanalytics","metadata":{"seo":{"title":"Get notification analytics","description":"Deprecated. Ignores content-type and direction filters. Use Get notification summary (GET /api/v1/whatsapp-analytics/notifications). Returns counts for submitted, sent, delivered, read, and failed notification messages within a date range; each message is counted once, under its latest status."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getNotificationAnalytics","name":"Get notification analytics","deprecated":true,"isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppAnalytics~1getNotificationAnalyticsForCurrentLoginUser/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get notification analytics","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Ignores content-type and direction filters. Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/analytics/getnotificationsummary"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Get notification summary"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /api/v1/whatsapp-analytics/notifications"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). Returns counts for submitted, sent, delivered, read, and failed notification messages within a date range; each message is counted once, under its latest status."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"startDate","in":"query","schemaId":"schema_85","description":"Start of the date range (format \"yyyy-MM-dd HH:mm:ss\").","required":true},{"name":"endDate","in":"query","schemaId":"schema_86","description":"End of the date range (format \"yyyy-MM-dd HH:mm:ss\").","required":true},{"name":"messageType","in":"query","schemaId":"schema_87","description":"Filter by message type category."}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppAnalytics~1getNotificationAnalyticsForCurrentLoginUser/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/WhatsAppAnalytics/getNotificationAnalyticsForCurrentLoginUser","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"startDate","in":"query","required":true,"example":"2026-01-01 00:00:00","schemaId":"schema_85"},{"name":"endDate","in":"query","required":true,"example":"2026-01-31 23:59:59","schemaId":"schema_86"},{"name":"messageType","in":"query","example":"NOTIFICATION","schemaId":"schema_87"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/WhatsAppAnalytics/getNotificationAnalyticsForCurrentLoginUser","href":"analytics/getnotificationanalytics","openApiOperationId":"getNotificationAnalytics","summary":"Get notification analytics"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Aggregated notification delivery statistics including submitted, sent, delivered, read, and failed counts","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppNotificationAnalytics"}},"schemaId":"components/schemas/WhatsAppNotificationAnalytics"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppAnalytics~1getNotificationAnalyticsForCurrentLoginUser/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/WhatsAppNotificationAnalytics","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppNotificationAnalytics"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/analytics/getnotificationanalytics"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/WhatsAppAnalytics/getNotificationAnalyticsForCurrentLoginUser"},{"label":"Get interaction analytics","deprecated":true,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/analytics/getinteractionanalytics","routeSlug":"/apis/omnichannel/analytics/getinteractionanalytics","metadata":{"seo":{"title":"Get interaction analytics","description":"Deprecated. Ignores content-type and direction filters. Use Get interaction summary (GET /api/v1/whatsapp-analytics/interactions). Aggregated delivery stats for interaction (session) messages; each message is counted once, under its latest status."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getInteractionAnalytics","name":"Get interaction analytics","deprecated":true,"isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppAnalytics~1getInteractionAnalyticsForCurrentLoginUser/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get interaction analytics","isWebhook":false,"deprecated":true,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecated."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Ignores content-type and direction filters. Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/analytics/getinteractionsummary"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Get interaction summary"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /api/v1/whatsapp-analytics/interactions"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). Aggregated delivery stats for interaction (session) messages; each message is counted once, under its latest status."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"startDate","in":"query","schemaId":"schema_88","description":"Start of the date range (format \"yyyy-MM-dd HH:mm:ss\").","required":true},{"name":"endDate","in":"query","schemaId":"schema_86","description":"End of the date range (format \"yyyy-MM-dd HH:mm:ss\").","required":true},{"name":"messageType","in":"query","schemaId":"schema_89","description":"Filter by message type category."}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppAnalytics~1getInteractionAnalyticsForCurrentLoginUser/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/WhatsAppAnalytics/getInteractionAnalyticsForCurrentLoginUser","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"startDate","in":"query","required":true,"example":"2026-01-0 T00:00:00","schemaId":"schema_88"},{"name":"endDate","in":"query","required":true,"example":"2026-01-31 23:59:59","schemaId":"schema_86"},{"name":"messageType","in":"query","example":"SESSION24HOUR","schemaId":"schema_89"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/WhatsAppAnalytics/getInteractionAnalyticsForCurrentLoginUser","href":"analytics/getinteractionanalytics","openApiOperationId":"getInteractionAnalytics","summary":"Get interaction analytics"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Aggregated interaction delivery statistics including submitted, sent, delivered, read, and failed counts","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppInteractionAnalytics"}},"schemaId":"components/schemas/WhatsAppInteractionAnalytics"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppAnalytics~1getInteractionAnalyticsForCurrentLoginUser/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/WhatsAppInteractionAnalytics","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppInteractionAnalytics"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/analytics/getinteractionanalytics"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/WhatsAppAnalytics/getInteractionAnalyticsForCurrentLoginUser"}],"content":{"contentType":"group","meta":{"name":"Analytics"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Analytics","showPageActions":true},{"nodeType":"markdoc","content":"Retrieve aggregated delivery statistics for notification and interaction messages. Analytics include submitted, sent, delivered, read, and failed counts, filtered by date range. Use these endpoints to monitor messaging performance and identify delivery issues."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/payless4messaging-service/WhatsApp/api/v1/whatsapp-analytics/notifications","summary":"Get notification summary","prefix":{"name":"get","color":"get"},"badges":[],"link":"/analytics/getnotificationsummary","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/api/v1/whatsapp-analytics/interactions","summary":"Get interaction summary","prefix":{"name":"get","color":"get"},"badges":[],"link":"/analytics/getinteractionsummary","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/WhatsAppAnalytics/getNotificationAnalyticsForCurrentLoginUser","summary":"Get notification analytics","prefix":{"name":"get","color":"http-deprecated"},"badges":[],"link":"/analytics/getnotificationanalytics","deprecated":true},{"title":"/payless4messaging-service/WhatsApp/WhatsAppAnalytics/getInteractionAnalyticsForCurrentLoginUser","summary":"Get interaction analytics","prefix":{"name":"get","color":"http-deprecated"},"badges":[],"link":"/analytics/getinteractionanalytics","deprecated":true}]}]}]}]}},{"type":"group","label":"Message Reports","link":"/apis/omnichannel/message-reports","routeSlug":"/apis/omnichannel/message-reports","items":[{"label":"Get message status by GSTID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/message-reports/getstatusbygstid","routeSlug":"/apis/omnichannel/message-reports/getstatusbygstid","metadata":{"seo":{"title":"Get message status by GSTID","description":"Look up the current delivery status of a single message using its Global System Tracking ID (GSTID). Returns the latest status, timestamps for each lifecycle stage, and failure details if applicable."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getStatusByGstId","name":"Get message status by GSTID","isWebhook":false,"pointer":"/paths/~1whatsapp-api-service~1message~1status~1gstid/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get message status by GSTID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Look up the current delivery status of a single message using its Global System Tracking ID (GSTID). Returns the latest status, timestamps for each lifecycle stage, and failure details if applicable."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"gstId","in":"query","schemaId":"schema_90","description":"The Global System Tracking ID returned when the message was sent.","required":true}],"pointer":"/paths/~1whatsapp-api-service~1message~1status~1gstid/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/whatsapp-api-service/message/status/gstid","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"gstId","in":"query","required":true,"example":"gst-a1b2c3d4","schemaId":"schema_90"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","404"],"pointer":"/whatsapp-api-service/message/status/gstid","href":"message-reports/getstatusbygstid","openApiOperationId":"getStatusByGstId","summary":"Get message status by GSTID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Message status with delivery timestamps and failure details (if any).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppMessageStatusDto"}},"schemaId":"components/schemas/WhatsAppMessageStatusDto"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1whatsapp-api-service~1message~1status~1gstid/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/WhatsAppMessageStatusDto","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppMessageStatusDto"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/message-reports/getstatusbygstid"}],"panels":[]}]},"httpPath":"/whatsapp-api-service/message/status/gstid"},{"label":"Get message statuses by CTID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/message-reports/getstatusbyctid","routeSlug":"/apis/omnichannel/message-reports/getstatusbyctid","metadata":{"seo":{"title":"Get message statuses by CTID","description":"Look up delivery statuses for all messages matching your custom tracking ID (CTID) within a date range. Useful when you assigned the same ctId to a batch of messages and want to check their collective delivery status."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getStatusByCtId","name":"Get message statuses by CTID","isWebhook":false,"pointer":"/paths/~1whatsapp-api-service~1message~1status~1ctid/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get message statuses by CTID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Look up delivery statuses for all messages matching your custom tracking ID (CTID) within a date range. Useful when you assigned the same "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ctId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to a batch of messages and want to check their collective delivery status."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"ctId","in":"query","schemaId":"schema_91","description":"Your custom tracking ID assigned when the message was sent.","required":true},{"name":"startDateTime","in":"query","schemaId":"schema_92","description":"Start of the date range filter (ISO 8601 with timezone).","required":true},{"name":"endDateTime","in":"query","schemaId":"schema_93","description":"End of the date range filter (ISO 8601 with timezone).","required":true},{"name":"page","in":"query","schemaId":"schema_2","description":"Page number (zero-based)."},{"name":"size","in":"query","schemaId":"schema_94","description":"Number of items per page."}],"pointer":"/paths/~1whatsapp-api-service~1message~1status~1ctid/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/whatsapp-api-service/message/status/ctid","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"ctId","in":"query","required":true,"example":"ct-order-9876","schemaId":"schema_91"},{"name":"startDateTime","in":"query","required":true,"example":"2023-10-01T12:00:00+02:00","schemaId":"schema_92"},{"name":"endDateTime","in":"query","required":true,"example":"2023-10-02T12:00:00+02:00","schemaId":"schema_93"},{"name":"page","in":"query","example":0,"schemaId":"schema_2"},{"name":"size","in":"query","example":10,"schemaId":"schema_94"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401"],"pointer":"/whatsapp-api-service/message/status/ctid","href":"message-reports/getstatusbyctid","openApiOperationId":"getStatusByCtId","summary":"Get message statuses by CTID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Paginated list of message statuses matching the CTID.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppMessageStatusPage"}},"schemaId":"components/schemas/WhatsAppMessageStatusPage"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1whatsapp-api-service~1message~1status~1ctid/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/WhatsAppMessageStatusPage","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppMessageStatusPage"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/message-reports/getstatusbyctid"}],"panels":[]}]},"httpPath":"/whatsapp-api-service/message/status/ctid"},{"label":"Get filtered WhatsApp messages","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/message-reports/getfilteredmessages","routeSlug":"/apis/omnichannel/message-reports/getfilteredmessages","metadata":{"seo":{"title":"Get filtered WhatsApp messages","description":"Retrieve a paginated, filterable list of all sent and received WhatsApp messages. Filter by date range, template name, message type, and phone number. Use this for message history, delivery auditing, and debugging."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getFilteredMessages","name":"Get filtered WhatsApp messages","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppSendReceiveMessages~1filter/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get filtered WhatsApp messages","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve a paginated, filterable list of all sent and received WhatsApp messages. Filter by date range, template name, message type, and phone number. Use this for message history, delivery auditing, and debugging."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"startDateTime","in":"query","schemaId":"schema_42","description":"Start of the date range filter (ISO 8601 with timezone).","required":true},{"name":"endDateTime","in":"query","schemaId":"schema_43","description":"End of the date range filter (ISO 8601 with timezone).","required":true},{"name":"templateName","in":"query","schemaId":"schema_95","description":"Filter by template name (exact match)."},{"name":"messageType","in":"query","schemaId":"schema_96","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Filter by message type. Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ALL"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to include all types."},"children":[],"type":"text"}],"type":"paragraph"}]},{"name":"searchString","in":"query","schemaId":"schema_8","description":"Search by phone number or message content (partial match)."},{"name":"page","in":"query","schemaId":"schema_2","description":"Page number (zero-based)."},{"name":"size","in":"query","schemaId":"schema_97","description":"Number of items per page."},{"name":"orderByDesc","in":"query","schemaId":"schema_98","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Sort by date descending ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or ascending ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"false"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}]}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppSendReceiveMessages~1filter/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/filter","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"startDateTime","in":"query","required":true,"example":"2026-01-01T00:00:00+02:00","schemaId":"schema_42"},{"name":"endDateTime","in":"query","required":true,"example":"2026-01-31T23:59:59+02:00","schemaId":"schema_43"},{"name":"templateName","in":"query","example":"marketing_promo_01","schemaId":"schema_95"},{"name":"messageType","in":"query","example":"NOTIFICATION","schemaId":"schema_96"},{"name":"searchString","in":"query","example":"john","schemaId":"schema_8"},{"name":"page","in":"query","example":0,"schemaId":"schema_2"},{"name":"size","in":"query","example":20,"schemaId":"schema_97"},{"name":"orderByDesc","in":"query","example":false,"schemaId":"schema_98"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401"],"pointer":"/payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/filter","href":"message-reports/getfilteredmessages","openApiOperationId":"getFilteredMessages","summary":"Get filtered WhatsApp messages"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Paginated list of messages matching the filters.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_99"}},"schemaId":"schema_99"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppSendReceiveMessages~1filter/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_99","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_99"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/message-reports/getfilteredmessages"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/filter"},{"label":"Get template replies","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/message-reports/getincomingreplies","routeSlug":"/apis/omnichannel/message-reports/getincomingreplies","metadata":{"seo":{"title":"Get template replies","description":"Retrieve incoming customer replies to your template messages. Filter by date range, phone number, and template name. Useful for tracking customer engagement with specific campaigns."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getIncomingReplies","name":"Get template replies","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppSendReceiveMessages~1reply/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get template replies","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve incoming customer replies to your template messages. Filter by date range, phone number, and template name. Useful for tracking customer engagement with specific campaigns."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"startDateTime","in":"query","schemaId":"schema_42","description":"Start of the date range (ISO 8601 with timezone offset).","required":true},{"name":"endDateTime","in":"query","schemaId":"schema_43","description":"End of the date range (ISO 8601 with timezone offset).","required":true},{"name":"searchString","in":"query","schemaId":"schema_49","description":"Filter replies by customer phone number or message content."},{"name":"templateName","in":"query","schemaId":"schema_95","description":"Filter replies to a specific template by name."},{"name":"replyWindowHours","in":"query","schemaId":"schema_100","description":"Number of hours after template delivery within which a reply is considered a response. Defaults to 48."}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppSendReceiveMessages~1reply/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/reply","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"startDateTime","in":"query","required":true,"example":"2026-01-01T00:00:00+02:00","schemaId":"schema_42"},{"name":"endDateTime","in":"query","required":true,"example":"2026-01-31T23:59:59+02:00","schemaId":"schema_43"},{"name":"searchString","in":"query","example":"27123456789","schemaId":"schema_49"},{"name":"templateName","in":"query","example":"marketing_promo_01","schemaId":"schema_95"},{"name":"replyWindowHours","in":"query","example":48,"schemaId":"schema_100"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401"],"pointer":"/payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/reply","href":"message-reports/getincomingreplies","openApiOperationId":"getIncomingReplies","summary":"Get template replies"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"List of customer replies matching the specified filters","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_101"}},"schemaId":"schema_101"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppSendReceiveMessages~1reply/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_101","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_101"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/message-reports/getincomingreplies"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/reply"},{"label":"Get message timeline","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/message-reports/getmessagetimeline","routeSlug":"/apis/omnichannel/message-reports/getmessagetimeline","metadata":{"seo":{"title":"Get message timeline","description":"Paginated timeline of successful WhatsApp messages filtered by date range and phone numbers."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getMessageTimeline","name":"Get message timeline","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppSendReceiveMessages~1timeline/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get message timeline","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Paginated timeline of successful WhatsApp messages filtered by date range and phone numbers."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"startDateTime","in":"query","schemaId":"schema_42","description":"Start of the date range (ISO 8601 with timezone offset).","required":true},{"name":"endDateTime","in":"query","schemaId":"schema_43","description":"End of the date range (ISO 8601 with timezone offset).","required":true},{"name":"page","in":"query","schemaId":"schema_2","description":"Zero-based page index.","required":true},{"name":"size","in":"query","schemaId":"schema_97","description":"Number of records per page.","required":true},{"name":"clientWhatsAppNumber","in":"query","schemaId":"schema_77","description":"Filter by your business WhatsApp number (sender)."},{"name":"customerWhatsAppNumber","in":"query","schemaId":"schema_70","description":"Filter by the customer's WhatsApp number (recipient)."}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppSendReceiveMessages~1timeline/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/timeline","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"startDateTime","in":"query","required":true,"example":"2026-01-01T00:00:00+02:00","schemaId":"schema_42"},{"name":"endDateTime","in":"query","required":true,"example":"2026-01-31T23:59:59+02:00","schemaId":"schema_43"},{"name":"page","in":"query","required":true,"example":0,"schemaId":"schema_2"},{"name":"size","in":"query","required":true,"example":20,"schemaId":"schema_97"},{"name":"clientWhatsAppNumber","in":"query","example":"+27123456789","schemaId":"schema_77"},{"name":"customerWhatsAppNumber","in":"query","example":"+27821234567","schemaId":"schema_70"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401"],"pointer":"/payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/timeline","href":"message-reports/getmessagetimeline","openApiOperationId":"getMessageTimeline","summary":"Get message timeline"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Paginated list of WhatsApp messages ordered chronologically","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_99"}},"schemaId":"schema_99"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppSendReceiveMessages~1timeline/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_99","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_99"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/message-reports/getmessagetimeline"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/timeline"},{"label":"Get message audit report","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/message-reports/getmessageauditreport","routeSlug":"/apis/omnichannel/message-reports/getmessageauditreport","metadata":{"seo":{"title":"Get message audit report","description":"Retrieve a paginated audit report of WhatsApp conversations. Includes conversation category, cost, and message counts. Filter by client reference, conversation category, and date range."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getMessageAuditReport","name":"Get message audit report","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppSendReceiveMessages~1getMessageAuditReport/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get message audit report","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve a paginated audit report of WhatsApp conversations. Includes conversation category, cost, and message counts. Filter by client reference, conversation category, and date range."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page","in":"query","schemaId":"schema_2","description":"Zero-based page index."},{"name":"size","in":"query","schemaId":"schema_3","description":"Number of records per page."},{"name":"searchString","in":"query","schemaId":"schema_45","description":"Filter by phone number or message content."},{"name":"clientRef","in":"query","schemaId":"schema_1","description":"Your unique client reference identifier."},{"name":"category","in":"query","schemaId":"schema_102","description":"Filter by conversation billing category."},{"name":"startDate","in":"query","schemaId":"schema_103","description":"Start date for the report (format \"yyyy-MM-dd\")."},{"name":"endDate","in":"query","schemaId":"schema_104","description":"End date for the report (format \"yyyy-MM-dd\")."}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppSendReceiveMessages~1getMessageAuditReport/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/getMessageAuditReport","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"page","in":"query","example":0,"schemaId":"schema_2"},{"name":"size","in":"query","example":10,"schemaId":"schema_3"},{"name":"searchString","in":"query","example":"john","schemaId":"schema_45"},{"name":"clientRef","in":"query","example":"Growthpoint","schemaId":"schema_1"},{"name":"category","in":"query","example":"MARKETING","schemaId":"schema_102"},{"name":"startDate","in":"query","example":"2026-01-01","schemaId":"schema_103"},{"name":"endDate","in":"query","example":"2026-01-31","schemaId":"schema_104"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/getMessageAuditReport","href":"message-reports/getmessageauditreport","openApiOperationId":"getMessageAuditReport","summary":"Get message audit report"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Paginated audit report with conversation category, cost, and message counts","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/PaginatedResponse"}},"schemaId":"components/schemas/PaginatedResponse"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppSendReceiveMessages~1getMessageAuditReport/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/PaginatedResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/PaginatedResponse"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/message-reports/getmessageauditreport"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/getMessageAuditReport"}],"content":{"contentType":"group","meta":{"name":"Message Reports"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Message Reports","showPageActions":true},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Query message delivery status, filter message history, view template replies, and retrieve message timelines. Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"gstId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (system tracking ID) or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ctId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (your custom tracking ID) to look up individual messages. Paginated endpoints support date range filtering and phone number search."},"children":[],"type":"text"}],"type":"paragraph"}]}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/whatsapp-api-service/message/status/gstid","summary":"Get message status by GSTID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/message-reports/getstatusbygstid","deprecated":false},{"title":"/whatsapp-api-service/message/status/ctid","summary":"Get message statuses by CTID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/message-reports/getstatusbyctid","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/filter","summary":"Get filtered WhatsApp messages","prefix":{"name":"get","color":"get"},"badges":[],"link":"/message-reports/getfilteredmessages","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/reply","summary":"Get template replies","prefix":{"name":"get","color":"get"},"badges":[],"link":"/message-reports/getincomingreplies","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/timeline","summary":"Get message timeline","prefix":{"name":"get","color":"get"},"badges":[],"link":"/message-reports/getmessagetimeline","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/getMessageAuditReport","summary":"Get message audit report","prefix":{"name":"get","color":"get"},"badges":[],"link":"/message-reports/getmessageauditreport","deprecated":false}]}]}]}]}},{"type":"group","label":"SMS Reports","link":"/apis/omnichannel/sms-reports","routeSlug":"/apis/omnichannel/sms-reports","items":[{"label":"Get SMS messages","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/sms-reports/getsmsmessages","routeSlug":"/apis/omnichannel/sms-reports/getsmsmessages","metadata":{"seo":{"title":"Get SMS messages","description":"Retrieve a paginated list of sent and received SMS messages. Filter by direction, sending mode, and search string."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getSMSMessages","name":"Get SMS messages","isWebhook":false,"pointer":"/paths/~1whatsapp-api-service~1SMSSendReceiveMessages~1getSMSSendReceiveMessagesForCurrentLoginUser/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get SMS messages","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve a paginated list of sent and received SMS messages. Filter by direction, sending mode, and search string."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page","in":"query","schemaId":"schema_2","description":"Zero-based page index."},{"name":"size","in":"query","schemaId":"schema_97","description":"Number of records per page."},{"name":"searchString","in":"query","schemaId":"schema_45","description":"Filter by phone number or message content."},{"name":"direction","in":"query","schemaId":"schema_105","description":"Filter by message direction (OUTGOING or INCOMING)."},{"name":"mode","in":"query","schemaId":"schema_106","description":"Filter by sending mode (DIRECT for standalone SMS, FALLBACK for WhatsApp-to-SMS fallback)."}],"pointer":"/paths/~1whatsapp-api-service~1SMSSendReceiveMessages~1getSMSSendReceiveMessagesForCurrentLoginUser/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/whatsapp-api-service/SMSSendReceiveMessages/getSMSSendReceiveMessagesForCurrentLoginUser","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"page","in":"query","example":0,"schemaId":"schema_2"},{"name":"size","in":"query","example":20,"schemaId":"schema_97"},{"name":"searchString","in":"query","example":"john","schemaId":"schema_45"},{"name":"direction","in":"query","example":"OUTGOING","schemaId":"schema_105"},{"name":"mode","in":"query","example":"DIRECT","schemaId":"schema_106"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/whatsapp-api-service/SMSSendReceiveMessages/getSMSSendReceiveMessagesForCurrentLoginUser","href":"sms-reports/getsmsmessages","openApiOperationId":"getSMSMessages","summary":"Get SMS messages"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Paginated list of SMS messages matching the specified filters","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_107"}},"schemaId":"schema_107"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1whatsapp-api-service~1SMSSendReceiveMessages~1getSMSSendReceiveMessagesForCurrentLoginUser/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_107","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_107"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/sms-reports/getsmsmessages"}],"panels":[]}]},"httpPath":"/whatsapp-api-service/SMSSendReceiveMessages/getSMSSendReceiveMessagesForCurrentLoginUser"}],"content":{"contentType":"group","meta":{"name":"SMS Reports"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"SMS Reports","showPageActions":true},{"nodeType":"markdoc","content":"Retrieve paginated SMS message history including both sent and received messages. Filter by direction (inbound/outbound), sending mode, and search string. Results include message content, delivery status, cost, and timestamps."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/whatsapp-api-service/SMSSendReceiveMessages/getSMSSendReceiveMessagesForCurrentLoginUser","summary":"Get SMS messages","prefix":{"name":"get","color":"get"},"badges":[],"link":"/sms-reports/getsmsmessages","deprecated":false}]}]}]}]}},{"type":"group","label":"Report Downloads","link":"/apis/omnichannel/report-downloads","routeSlug":"/apis/omnichannel/report-downloads","items":[{"label":"Download notification report (XLSX)","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/report-downloads/downloadnotificationreportxlsx","routeSlug":"/apis/omnichannel/report-downloads/downloadnotificationreportxlsx","metadata":{"seo":{"title":"Download notification report (XLSX)","description":"Download a notification (template) message report as an Excel spreadsheet. Filter by date range, search string, template name, and delivery status."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"downloadNotificationReportXlsx","name":"Download notification report (XLSX)","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Excel~1getXlsxReportFor~1notification-report.xlsx/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Download notification report (XLSX)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Download a notification (template) message report as an Excel spreadsheet. Filter by date range, search string, template name, and delivery status."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"searchString","in":"query","schemaId":"schema_45","description":"Filter by phone number or message content."},{"name":"templateName","in":"query","schemaId":"schema_44","description":"Filter by template name."},{"name":"startDateTime","in":"query","schemaId":"schema_42","description":"Start of the date range (ISO 8601 with timezone offset).","required":true},{"name":"endDateTime","in":"query","schemaId":"schema_43","description":"End of the date range (ISO 8601 with timezone offset).","required":true},{"name":"status","in":"query","schemaId":"schema_108","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Integer status code to filter by. -100 = All, -1 = Accepted, 0 = Sent, 4 = Invalid, 22 = Blacklisted, 23 = Blocked, 46 = Queued, 47 = Delivered, 48 = Read, 54 = None WhatsApp Number, 56 = Failed, 58 = Duplicate, 59 = Sender Not Connected, 60 = WhatsApp Lite Server not available, 62 = Scheduled, 130429 = Rate Limit Hit, 131026 = Message Undeliverable."},"children":[],"type":"text"}],"type":"paragraph"}]}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Excel~1getXlsxReportFor~1notification-report.xlsx/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/Excel/getXlsxReportFor/notification-report.xlsx","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"searchString","in":"query","example":"john","schemaId":"schema_45"},{"name":"templateName","in":"query","example":"marketing_promo_01","schemaId":"schema_44"},{"name":"startDateTime","in":"query","required":true,"example":"2026-01-01T00:00:00+02:00","schemaId":"schema_42"},{"name":"endDateTime","in":"query","required":true,"example":"2026-01-31T23:59:59+02:00","schemaId":"schema_43"},{"name":"status","in":"query","example":47,"schemaId":"schema_108"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/Excel/getXlsxReportFor/notification-report.xlsx","href":"report-downloads/downloadnotificationreportxlsx","openApiOperationId":"downloadNotificationReportXlsx","summary":"Download notification report (XLSX)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Notification report as an Excel (XLSX) file download","mediaType":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","mediaTypes":["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],"mediaTypeContent":{"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"schemaId":"schema_109"}},"schemaId":"schema_109"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Excel~1getXlsxReportFor~1notification-report.xlsx/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_109","mediaTypes":["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],"mediaTypeContent":{"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"schemaId":"schema_109"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/report-downloads/downloadnotificationreportxlsx"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/Excel/getXlsxReportFor/notification-report.xlsx"},{"label":"Download notification report (CSV)","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/report-downloads/downloadnotificationreportcsv","routeSlug":"/apis/omnichannel/report-downloads/downloadnotificationreportcsv","metadata":{"seo":{"title":"Download notification report (CSV)","description":"Download a notification (template) message report as a CSV file. Filter by date range, search string, template name, and delivery status."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"downloadNotificationReportCsv","name":"Download notification report (CSV)","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Excel~1getCsvReportFor~1notification-report.csv/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Download notification report (CSV)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Download a notification (template) message report as a CSV file. Filter by date range, search string, template name, and delivery status."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"searchString","in":"query","schemaId":"schema_45","description":"Filter by phone number or message content."},{"name":"templateName","in":"query","schemaId":"schema_44","description":"Filter by template name."},{"name":"startDateTime","in":"query","schemaId":"schema_42","description":"Start of the date range (ISO 8601 with timezone offset).","required":true},{"name":"endDateTime","in":"query","schemaId":"schema_43","description":"End of the date range (ISO 8601 with timezone offset).","required":true},{"name":"status","in":"query","schemaId":"schema_108","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Integer status code to filter by. -100 = All, -1 = Accepted, 0 = Sent, 4 = Invalid, 22 = Blacklisted, 23 = Blocked, 46 = Queued, 47 = Delivered, 48 = Read, 54 = None WhatsApp Number, 56 = Failed, 58 = Duplicate, 59 = Sender Not Connected, 60 = WhatsApp Lite Server not available, 62 = Scheduled, 130429 = Rate Limit Hit, 131026 = Message Undeliverable."},"children":[],"type":"text"}],"type":"paragraph"}]}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Excel~1getCsvReportFor~1notification-report.csv/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/Excel/getCsvReportFor/notification-report.csv","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"searchString","in":"query","example":"john","schemaId":"schema_45"},{"name":"templateName","in":"query","example":"marketing_promo_01","schemaId":"schema_44"},{"name":"startDateTime","in":"query","required":true,"example":"2026-01-01T00:00:00+02:00","schemaId":"schema_42"},{"name":"endDateTime","in":"query","required":true,"example":"2026-01-31T23:59:59+02:00","schemaId":"schema_43"},{"name":"status","in":"query","example":47,"schemaId":"schema_108"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/Excel/getCsvReportFor/notification-report.csv","href":"report-downloads/downloadnotificationreportcsv","openApiOperationId":"downloadNotificationReportCsv","summary":"Download notification report (CSV)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Notification report as a CSV file download","mediaType":"text/csv","mediaTypes":["text/csv"],"mediaTypeContent":{"text/csv":{"schemaId":"schema_109"}},"schemaId":"schema_109"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Excel~1getCsvReportFor~1notification-report.csv/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_109","mediaTypes":["text/csv"],"mediaTypeContent":{"text/csv":{"schemaId":"schema_109"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/report-downloads/downloadnotificationreportcsv"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/Excel/getCsvReportFor/notification-report.csv"},{"label":"Email notification report","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/report-downloads/emailnotificationreport","routeSlug":"/apis/omnichannel/report-downloads/emailnotificationreport","metadata":{"seo":{"title":"Email notification report","description":"Generate a notification report and send it as an XLSX email attachment to the specified email address. Filter by date range, search string, template name, and delivery status."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"emailNotificationReport","name":"Email notification report","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Excel~1sendXlsxReportByEmail~1notification-report.xlsx/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Email notification report","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Generate a notification report and send it as an XLSX email attachment to the specified email address. Filter by date range, search string, template name, and delivery status."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"searchString","in":"query","schemaId":"schema_45","description":"Filter by phone number or message content."},{"name":"templateName","in":"query","schemaId":"schema_44","description":"Filter by template name."},{"name":"startDateTime","in":"query","schemaId":"schema_42","description":"Start of the date range (ISO 8601 with timezone offset).","required":true},{"name":"endDateTime","in":"query","schemaId":"schema_43","description":"End of the date range (ISO 8601 with timezone offset).","required":true},{"name":"status","in":"query","schemaId":"schema_108","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Integer status code to filter by. -100 = All, -1 = Accepted, 0 = Sent, 4 = Invalid, 22 = Blacklisted, 23 = Blocked, 46 = Queued, 47 = Delivered, 48 = Read, 54 = None WhatsApp Number, 56 = Failed, 58 = Duplicate, 59 = Sender Not Connected, 60 = WhatsApp Lite Server not available, 62 = Scheduled, 130429 = Rate Limit Hit, 131026 = Message Undeliverable."},"children":[],"type":"text"}],"type":"paragraph"}]}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Excel~1sendXlsxReportByEmail~1notification-report.xlsx/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_110"}},"schemaId":"schema_110","pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Excel~1sendXlsxReportByEmail~1notification-report.xlsx/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payless4messaging-service/WhatsApp/Excel/sendXlsxReportByEmail/notification-report.xlsx","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"searchString","in":"query","example":"john","schemaId":"schema_45"},{"name":"templateName","in":"query","example":"marketing_promo_01","schemaId":"schema_44"},{"name":"startDateTime","in":"query","required":true,"example":"2026-01-01T00:00:00+02:00","schemaId":"schema_42"},{"name":"endDateTime","in":"query","required":true,"example":"2026-01-31T23:59:59+02:00","schemaId":"schema_43"},{"name":"status","in":"query","example":47,"schemaId":"schema_108"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_110"}},"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/Excel/sendXlsxReportByEmail/notification-report.xlsx","href":"report-downloads/emailnotificationreport","openApiOperationId":"emailNotificationReport","summary":"Email notification report"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"schema_110","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_110"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Confirmation that the notification report was emailed successfully","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_111"}},"schemaId":"schema_111"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Excel~1sendXlsxReportByEmail~1notification-report.xlsx/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_111","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_111"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/report-downloads/emailnotificationreport"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/Excel/sendXlsxReportByEmail/notification-report.xlsx"},{"label":"Download interaction report (XLSX)","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/report-downloads/downloadinteractionreport","routeSlug":"/apis/omnichannel/report-downloads/downloadinteractionreport","metadata":{"seo":{"title":"Download interaction report (XLSX)","description":"Download an interaction (session) message report as an Excel spreadsheet. Filter by date range and search string."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"downloadInteractionReport","name":"Download interaction report (XLSX)","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Excel~1getXlsReportFor~1interaction-report.xlsx/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Download interaction report (XLSX)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Download an interaction (session) message report as an Excel spreadsheet. Filter by date range and search string."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"searchString","in":"query","schemaId":"schema_45","description":"Filter by phone number or message content."},{"name":"startDateTime","in":"query","schemaId":"schema_42","description":"Start of the date range (ISO 8601 with timezone offset)."},{"name":"endDateTime","in":"query","schemaId":"schema_43","description":"End of the date range (ISO 8601 with timezone offset)."}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Excel~1getXlsReportFor~1interaction-report.xlsx/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/Excel/getXlsReportFor/interaction-report.xlsx","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"searchString","in":"query","example":"john","schemaId":"schema_45"},{"name":"startDateTime","in":"query","example":"2026-01-01T00:00:00+02:00","schemaId":"schema_42"},{"name":"endDateTime","in":"query","example":"2026-01-31T23:59:59+02:00","schemaId":"schema_43"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/Excel/getXlsReportFor/interaction-report.xlsx","href":"report-downloads/downloadinteractionreport","openApiOperationId":"downloadInteractionReport","summary":"Download interaction report (XLSX)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Interaction report as an Excel (XLSX) file download","mediaType":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","mediaTypes":["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],"mediaTypeContent":{"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"schemaId":"schema_109"}},"schemaId":"schema_109"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Excel~1getXlsReportFor~1interaction-report.xlsx/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_109","mediaTypes":["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],"mediaTypeContent":{"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"schemaId":"schema_109"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/report-downloads/downloadinteractionreport"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/Excel/getXlsReportFor/interaction-report.xlsx"},{"label":"Download MAU summary report","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/report-downloads/downloadmausummaryreport","routeSlug":"/apis/omnichannel/report-downloads/downloadmausummaryreport","metadata":{"seo":{"title":"Download MAU summary report","description":"Download a Monthly Active Users (MAU) summary report as an Excel spreadsheet. Shows conversation counts and costs aggregated by month."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"downloadMAUSummaryReport","name":"Download MAU summary report","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Excel~1getXlsReportFor~1summary-mau-report.xlsx/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Download MAU summary report","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Download a Monthly Active Users (MAU) summary report as an Excel spreadsheet. Shows conversation counts and costs aggregated by month."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"startDateTime","in":"query","schemaId":"schema_42","description":"Start of the date range (ISO 8601 with timezone offset).","required":true},{"name":"endDateTime","in":"query","schemaId":"schema_43","description":"End of the date range (ISO 8601 with timezone offset).","required":true}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Excel~1getXlsReportFor~1summary-mau-report.xlsx/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/Excel/getXlsReportFor/summary-mau-report.xlsx","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"startDateTime","in":"query","required":true,"example":"2026-01-01T00:00:00+02:00","schemaId":"schema_42"},{"name":"endDateTime","in":"query","required":true,"example":"2026-01-31T23:59:59+02:00","schemaId":"schema_43"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/Excel/getXlsReportFor/summary-mau-report.xlsx","href":"report-downloads/downloadmausummaryreport","openApiOperationId":"downloadMAUSummaryReport","summary":"Download MAU summary report"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"MAU summary report as an Excel (XLSX) file download","mediaType":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","mediaTypes":["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],"mediaTypeContent":{"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"schemaId":"schema_109"}},"schemaId":"schema_109"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Excel~1getXlsReportFor~1summary-mau-report.xlsx/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_109","mediaTypes":["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],"mediaTypeContent":{"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"schemaId":"schema_109"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/report-downloads/downloadmausummaryreport"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/Excel/getXlsReportFor/summary-mau-report.xlsx"},{"label":"Download client MAU summary report","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/report-downloads/downloadclientmausummaryreport","routeSlug":"/apis/omnichannel/report-downloads/downloadclientmausummaryreport","metadata":{"seo":{"title":"Download client MAU summary report","description":"Download a Monthly Active Users (MAU) summary report for a specific client as an Excel spreadsheet. Optionally filter by client reference."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"downloadClientMAUSummaryReport","name":"Download client MAU summary report","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Excel~1getXlsReportFor~1client-summary-mau-report.xlsx/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Download client MAU summary report","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Download a Monthly Active Users (MAU) summary report for a specific client as an Excel spreadsheet. Optionally filter by client reference."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"clientRef","in":"query","schemaId":"schema_28","description":"Filter by client reference identifier."},{"name":"startDateTime","in":"query","schemaId":"schema_42","description":"Start of the date range (ISO 8601 with timezone offset).","required":true},{"name":"endDateTime","in":"query","schemaId":"schema_43","description":"End of the date range (ISO 8601 with timezone offset).","required":true}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Excel~1getXlsReportFor~1client-summary-mau-report.xlsx/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/Excel/getXlsReportFor/client-summary-mau-report.xlsx","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"clientRef","in":"query","example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","schemaId":"schema_28"},{"name":"startDateTime","in":"query","required":true,"example":"2026-01-01T00:00:00+02:00","schemaId":"schema_42"},{"name":"endDateTime","in":"query","required":true,"example":"2026-01-31T23:59:59+02:00","schemaId":"schema_43"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/Excel/getXlsReportFor/client-summary-mau-report.xlsx","href":"report-downloads/downloadclientmausummaryreport","openApiOperationId":"downloadClientMAUSummaryReport","summary":"Download client MAU summary report"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Client MAU summary report as an Excel (XLSX) file download","mediaType":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","mediaTypes":["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],"mediaTypeContent":{"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"schemaId":"schema_109"}},"schemaId":"schema_109"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Excel~1getXlsReportFor~1client-summary-mau-report.xlsx/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_109","mediaTypes":["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],"mediaTypeContent":{"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"schemaId":"schema_109"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/report-downloads/downloadclientmausummaryreport"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/Excel/getXlsReportFor/client-summary-mau-report.xlsx"},{"label":"Download detailed MAU report","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/report-downloads/downloaddetailedmaureport","routeSlug":"/apis/omnichannel/report-downloads/downloaddetailedmaureport","metadata":{"seo":{"title":"Download detailed MAU report","description":"Download a detailed Monthly Active Users (MAU) report as an Excel spreadsheet. Includes per-conversation breakdown with costs. Optionally filter by client reference and WhatsApp number."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"downloadDetailedMAUReport","name":"Download detailed MAU report","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Excel~1getXlsReportFor~1detailed-mau-report.xlsx/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Download detailed MAU report","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Download a detailed Monthly Active Users (MAU) report as an Excel spreadsheet. Includes per-conversation breakdown with costs. Optionally filter by client reference and WhatsApp number."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"clientRef","in":"query","schemaId":"schema_28","description":"Filter by client reference identifier."},{"name":"clientWhatsAppNumber","in":"query","schemaId":"schema_77","description":"Filter by your business WhatsApp number."},{"name":"startDateTime","in":"query","schemaId":"schema_42","description":"Start of the date range (ISO 8601 with timezone offset).","required":true},{"name":"endDateTime","in":"query","schemaId":"schema_43","description":"End of the date range (ISO 8601 with timezone offset).","required":true}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Excel~1getXlsReportFor~1detailed-mau-report.xlsx/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/Excel/getXlsReportFor/detailed-mau-report.xlsx","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"clientRef","in":"query","example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","schemaId":"schema_28"},{"name":"clientWhatsAppNumber","in":"query","example":"+27123456789","schemaId":"schema_77"},{"name":"startDateTime","in":"query","required":true,"example":"2026-01-01T00:00:00+02:00","schemaId":"schema_42"},{"name":"endDateTime","in":"query","required":true,"example":"2026-01-31T23:59:59+02:00","schemaId":"schema_43"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/Excel/getXlsReportFor/detailed-mau-report.xlsx","href":"report-downloads/downloaddetailedmaureport","openApiOperationId":"downloadDetailedMAUReport","summary":"Download detailed MAU report"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Detailed MAU report as an Excel (XLSX) file download","mediaType":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","mediaTypes":["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],"mediaTypeContent":{"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"schemaId":"schema_109"}},"schemaId":"schema_109"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1Excel~1getXlsReportFor~1detailed-mau-report.xlsx/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_109","mediaTypes":["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],"mediaTypeContent":{"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"schemaId":"schema_109"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/report-downloads/downloaddetailedmaureport"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/Excel/getXlsReportFor/detailed-mau-report.xlsx"},{"label":"Download message audit report (XLSX)","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/report-downloads/downloadmessageauditreport","routeSlug":"/apis/omnichannel/report-downloads/downloadmessageauditreport","metadata":{"seo":{"title":"Download message audit report (XLSX)","description":"Download the message audit report as an Excel spreadsheet. Includes conversation category, cost, and message counts for the specified date range."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"downloadMessageAuditReport","name":"Download message audit report (XLSX)","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppSendReceiveMessages~1downloadMessageAuditReport/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Download message audit report (XLSX)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Download the message audit report as an Excel spreadsheet. Includes conversation category, cost, and message counts for the specified date range."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"startDate","in":"query","schemaId":"schema_103","description":"Start date for the report (format \"yyyy-MM-dd\")."},{"name":"endDate","in":"query","schemaId":"schema_104","description":"End date for the report (format \"yyyy-MM-dd\")."}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppSendReceiveMessages~1downloadMessageAuditReport/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/downloadMessageAuditReport","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"startDate","in":"query","example":"2026-01-01","schemaId":"schema_103"},{"name":"endDate","in":"query","example":"2026-01-31","schemaId":"schema_104"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/downloadMessageAuditReport","href":"report-downloads/downloadmessageauditreport","openApiOperationId":"downloadMessageAuditReport","summary":"Download message audit report (XLSX)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Message audit report as an Excel (XLSX) file download","mediaType":"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","mediaTypes":["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],"mediaTypeContent":{"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"schemaId":"schema_109"}},"schemaId":"schema_109"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppSendReceiveMessages~1downloadMessageAuditReport/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_109","mediaTypes":["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],"mediaTypeContent":{"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"schemaId":"schema_109"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/report-downloads/downloadmessageauditreport"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/downloadMessageAuditReport"}],"content":{"contentType":"group","meta":{"name":"Report Downloads"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Report Downloads","showPageActions":true},{"nodeType":"markdoc","content":"Export message reports as downloadable Excel (XLSX) or CSV files. Available reports include notification delivery reports, interaction reports, and Monthly Active User (MAU) summary and detail reports. Reports can be filtered by date range and optionally emailed directly."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/payless4messaging-service/WhatsApp/Excel/getXlsxReportFor/notification-report.xlsx","summary":"Download notification report (XLSX)","prefix":{"name":"get","color":"get"},"badges":[],"link":"/report-downloads/downloadnotificationreportxlsx","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/Excel/getCsvReportFor/notification-report.csv","summary":"Download notification report (CSV)","prefix":{"name":"get","color":"get"},"badges":[],"link":"/report-downloads/downloadnotificationreportcsv","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/Excel/sendXlsxReportByEmail/notification-report.xlsx","summary":"Email notification report","prefix":{"name":"post","color":"post"},"badges":[],"link":"/report-downloads/emailnotificationreport","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/Excel/getXlsReportFor/interaction-report.xlsx","summary":"Download interaction report (XLSX)","prefix":{"name":"get","color":"get"},"badges":[],"link":"/report-downloads/downloadinteractionreport","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/Excel/getXlsReportFor/summary-mau-report.xlsx","summary":"Download MAU summary report","prefix":{"name":"get","color":"get"},"badges":[],"link":"/report-downloads/downloadmausummaryreport","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/Excel/getXlsReportFor/client-summary-mau-report.xlsx","summary":"Download client MAU summary report","prefix":{"name":"get","color":"get"},"badges":[],"link":"/report-downloads/downloadclientmausummaryreport","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/Excel/getXlsReportFor/detailed-mau-report.xlsx","summary":"Download detailed MAU report","prefix":{"name":"get","color":"get"},"badges":[],"link":"/report-downloads/downloaddetailedmaureport","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/WhatsAppSendReceiveMessages/downloadMessageAuditReport","summary":"Download message audit report (XLSX)","prefix":{"name":"get","color":"get"},"badges":[],"link":"/report-downloads/downloadmessageauditreport","deprecated":false}]}]}]}]}},{"type":"separator","label":"Configuration","content":null},{"type":"group","label":"Webhook Configuration","link":"/apis/omnichannel/webhook-configuration","routeSlug":"/apis/omnichannel/webhook-configuration","items":[{"label":"Create webhook configuration","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/webhook-configuration/createwebhook","routeSlug":"/apis/omnichannel/webhook-configuration/createwebhook","metadata":{"seo":{"title":"Create webhook configuration","description":"Register webhook URLs to receive:"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createWebhook","name":"Create webhook configuration","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create webhook configuration","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Register webhook URLs to receive:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Incoming Messages"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — customer messages to your number."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Status Updates"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — delivery receipts (sent, delivered, read, failed)."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Session Status"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — connection status changes (WhatsApp Lite only)."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Event"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" - user preferences, template status changes, and quality updates."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Chatbot Conversations"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — chatbot conversation events with chat participant context. Two flags control behavior: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"chatbotIncludeOutgoing"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (also emit bot replies, default "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"false"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"chatbotStopOnAgentAssignment"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (stop emitting once a human agent is assigned, default "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"false"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). Coexists with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"incomingMessageURL"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — both fire independently."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{"level":3,"id":"webhook-configuration/createwebhook/request/scope","deepLinkHash":"/webhook-configuration/createwebhook#webhook-configuration/createwebhook/request/scope"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Scope"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Each configuration applies at one of two scopes, controlled by the optional "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"whatsAppNumberId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" field:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Client default"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"whatsAppNumberId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" omitted) — applies to every WhatsApp number under your client that doesn't have an override."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Per-number override"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"whatsAppNumberId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" set) — applies only to events tied to that specific number."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"At dispatch time the platform looks up an override for the event's WhatsApp number first, and falls back to the client default when no override exists. Only one default per client and one override per "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"(client, number)"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" pair are allowed; duplicates return "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"409 Conflict"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Number ids must be linked to your client; cross-tenant ids return "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"403 Forbidden"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/WhatsAppClientWebHookRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Client Default (All Webhooks)","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Per-Number Override","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Incoming Messages Only","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Status Updates Only","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Chatbot — Auto-Stop on Handover","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Chatbot — Always On (Incoming Only)","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Chatbot — v2 Enriched Payload","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/WhatsApp Lite (with Session Status)"]}},"schemaId":"components/schemas/WhatsAppClientWebHookRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Client Default (All Webhooks)","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Per-Number Override","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Incoming Messages Only","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Status Updates Only","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Chatbot — Auto-Stop on Handover","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Chatbot — Always On (Incoming Only)","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Chatbot — v2 Enriched Payload","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/WhatsApp Lite (with Session Status)"],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payless4messaging-service/WhatsApp/WhatsAppClientWebHook","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/WhatsAppClientWebHookRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Client Default (All Webhooks)","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Per-Number Override","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Incoming Messages Only","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Status Updates Only","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Chatbot — Auto-Stop on Handover","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Chatbot — Always On (Incoming Only)","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Chatbot — v2 Enriched Payload","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/WhatsApp Lite (with Session Status)"]}},"responseCodes":["200","400","401","403","409"],"pointer":"/payless4messaging-service/WhatsApp/WhatsAppClientWebHook","href":"webhook-configuration/createwebhook","openApiOperationId":"createWebhook","summary":"Create webhook configuration"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/WhatsAppClientWebHookRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Client Default (All Webhooks)","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Per-Number Override","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Incoming Messages Only","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Status Updates Only","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Chatbot — Auto-Stop on Handover","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Chatbot — Always On (Incoming Only)","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Chatbot — v2 Enriched Payload","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/WhatsApp Lite (with Session Status)"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/WhatsAppClientWebHookRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Client Default (All Webhooks)","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Per-Number Override","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Incoming Messages Only","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Status Updates Only","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Chatbot — Auto-Stop on Handover","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Chatbot — Always On (Incoming Only)","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Chatbot — v2 Enriched Payload","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/WhatsApp Lite (with Session Status)"]}},"examples":[{},{},{},{},{},{},{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Webhook created","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppClientWebHook"}},"schemaId":"components/schemas/WhatsAppClientWebHook"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"403","description":"Forbidden","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_19"}},"schemaId":"schema_19"},{"code":"409","description":"Conflict","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_112"}},"schemaId":"schema_112"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/WhatsAppClientWebHook","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppClientWebHook"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"403","schemaId":"schema_19","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_19"}}},{"code":"409","schemaId":"schema_112","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_112"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/webhook-configuration/createwebhook"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/WhatsAppClientWebHook"},{"label":"Update webhook configuration","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/webhook-configuration/updatewebhook","routeSlug":"/apis/omnichannel/webhook-configuration/updatewebhook","metadata":{"seo":{"title":"Update webhook configuration","description":"Update an existing webhook configuration. Include the id of the row to update. Set any URL to an empty string (\"\") to disable that webhook type while keeping others active."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateWebhook","name":"Update webhook configuration","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update webhook configuration","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Update an existing webhook configuration. Include the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" of the row to update. Set any URL to an empty string ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"\"\""},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") to disable that webhook type while keeping others active."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Scope is locked once a configuration has been created — "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"whatsAppNumberId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" on the request body is ignored. To convert a client default into a per-number override (or vice-versa), "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"DELETE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" the existing row and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" a new one."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/WhatsAppClientWebHook","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/put/requestBody/content/application~1json/examples/Update All URLs","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/put/requestBody/content/application~1json/examples/Disable a Webhook Type","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/put/requestBody/content/application~1json/examples/Toggle Chatbot Flags"]}},"schemaId":"components/schemas/WhatsAppClientWebHook","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/put/requestBody/content/application~1json/examples/Update All URLs","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/put/requestBody/content/application~1json/examples/Disable a Webhook Type","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/put/requestBody/content/application~1json/examples/Toggle Chatbot Flags"],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/payless4messaging-service/WhatsApp/WhatsAppClientWebHook","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/WhatsAppClientWebHook","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/put/requestBody/content/application~1json/examples/Update All URLs","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/put/requestBody/content/application~1json/examples/Disable a Webhook Type","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/put/requestBody/content/application~1json/examples/Toggle Chatbot Flags"]}},"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/WhatsAppClientWebHook","href":"webhook-configuration/updatewebhook","openApiOperationId":"updateWebhook","summary":"Update webhook configuration"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/WhatsAppClientWebHook","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/put/requestBody/content/application~1json/examples/Update All URLs","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/put/requestBody/content/application~1json/examples/Disable a Webhook Type","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/put/requestBody/content/application~1json/examples/Toggle Chatbot Flags"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/WhatsAppClientWebHook","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/put/requestBody/content/application~1json/examples/Update All URLs","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/put/requestBody/content/application~1json/examples/Disable a Webhook Type","paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/put/requestBody/content/application~1json/examples/Toggle Chatbot Flags"]}},"examples":[{},{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Webhook updated","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppClientWebHook"}},"schemaId":"components/schemas/WhatsAppClientWebHook"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/WhatsAppClientWebHook","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppClientWebHook"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/webhook-configuration/updatewebhook"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/WhatsAppClientWebHook"},{"label":"Delete webhook configuration","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/webhook-configuration/deletewebhook","routeSlug":"/apis/omnichannel/webhook-configuration/deletewebhook","metadata":{"seo":{"title":"Delete webhook configuration","description":"Delete a single configuration by id. Removing an override re-exposes that number to the client default; removing the client default leaves any per-number overrides in place but stops events for numbers without an override."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"deleteWebhook","name":"Delete webhook configuration","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook~1{id}/delete","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Delete webhook configuration","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Delete a single configuration by id. Removing an override re-exposes that number to the client default; removing the client default leaves any per-number overrides in place but stops events for numbers without an override.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_113","description":"Id of the webhook configuration to delete.","required":true}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook~1{id}/delete/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/payless4messaging-service/WhatsApp/WhatsAppClientWebHook/{id}","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"schemaId":"schema_113"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","400","401"],"pointer":"/payless4messaging-service/WhatsApp/WhatsAppClientWebHook/{id}","href":"webhook-configuration/deletewebhook","openApiOperationId":"deleteWebhook","summary":"Delete webhook configuration"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Deleted","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_60"}},"schemaId":"schema_60"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook~1{id}/delete/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_60","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_60"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/webhook-configuration/deletewebhook"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/WhatsAppClientWebHook/{id}"},{"label":"Get default webhook configuration","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/webhook-configuration/getwebhook","routeSlug":"/apis/omnichannel/webhook-configuration/getwebhook","metadata":{"seo":{"title":"Get default webhook configuration","description":"Returns the client default webhook configuration for the authenticated user. Returns an empty body when no default has been created. Use the /list endpoint to also retrieve per-number overrides."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getWebhook","name":"Get default webhook configuration","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook~1getForCurrentLoginUser/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get default webhook configuration","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Returns the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"client default"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" webhook configuration for the authenticated user. Returns an empty body when no default has been created. Use the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"/list"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" endpoint to also retrieve per-number overrides."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/WhatsAppClientWebHook/getForCurrentLoginUser","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/WhatsAppClientWebHook/getForCurrentLoginUser","href":"webhook-configuration/getwebhook","openApiOperationId":"getWebhook","summary":"Get default webhook configuration"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The client default webhook configuration.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppClientWebHook"}},"schemaId":"components/schemas/WhatsAppClientWebHook"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook~1getForCurrentLoginUser/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/WhatsAppClientWebHook","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppClientWebHook"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/webhook-configuration/getwebhook"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/WhatsAppClientWebHook/getForCurrentLoginUser"},{"label":"List all webhook configurations","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/webhook-configuration/listwebhooks","routeSlug":"/apis/omnichannel/webhook-configuration/listwebhooks","metadata":{"seo":{"title":"List all webhook configurations","description":"Returns a paginated list of every webhook configuration belonging to the authenticated user's client — the client default (if set) and every per-number override. The client default sorts first; overrides follow, ordered by MSISDN."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listWebhooks","name":"List all webhook configurations","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook~1list/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List all webhook configurations","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Returns a paginated list of every webhook configuration belonging to the authenticated user's client — the client default (if set) and every per-number override. The client default sorts first; overrides follow, ordered by MSISDN."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page","in":"query","schemaId":"schema_114","description":"Zero-based page index."},{"name":"size","in":"query","schemaId":"schema_115","description":"Page size."}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook~1list/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/WhatsAppClientWebHook/list","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"page","in":"query","required":false,"schemaId":"schema_114"},{"name":"size","in":"query","required":false,"schemaId":"schema_115"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/WhatsAppClientWebHook/list","href":"webhook-configuration/listwebhooks","openApiOperationId":"listWebhooks","summary":"List all webhook configurations"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Paginated list of webhook configurations.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppClientWebHookPage"}},"schemaId":"components/schemas/WhatsAppClientWebHookPage"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook~1list/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/WhatsAppClientWebHookPage","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppClientWebHookPage"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/webhook-configuration/listwebhooks"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/WhatsAppClientWebHook/list"}],"content":{"contentType":"group","meta":{"name":"Webhook Configuration"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Webhook Configuration","showPageActions":true},{"nodeType":"markdoc","content":"Register, update, and manage webhook URLs that receive real-time notifications. You can configure separate URLs for incoming messages, delivery status updates, session status changes (WhatsApp Lite), and platform events (template approvals, quality changes, user preferences)."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/payless4messaging-service/WhatsApp/WhatsAppClientWebHook","summary":"Create webhook configuration","prefix":{"name":"post","color":"post"},"badges":[],"link":"/webhook-configuration/createwebhook","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/WhatsAppClientWebHook","summary":"Update webhook configuration","prefix":{"name":"put","color":"put"},"badges":[],"link":"/webhook-configuration/updatewebhook","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/WhatsAppClientWebHook/{id}","summary":"Delete webhook configuration","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/webhook-configuration/deletewebhook","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/WhatsAppClientWebHook/getForCurrentLoginUser","summary":"Get default webhook configuration","prefix":{"name":"get","color":"get"},"badges":[],"link":"/webhook-configuration/getwebhook","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/WhatsAppClientWebHook/list","summary":"List all webhook configurations","prefix":{"name":"get","color":"get"},"badges":[],"link":"/webhook-configuration/listwebhooks","deprecated":false}]}]}]}]}},{"type":"group","label":"Webhook Payloads","link":"/apis/omnichannel/webhook-payloads","routeSlug":"/apis/omnichannel/webhook-payloads","items":[],"content":{"contentType":"group","meta":{"name":"Webhook Payloads"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Webhook Payloads","showPageActions":true},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Reference documentation for the payloads delivered to your webhook URLs."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"These are "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"not callable endpoints"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — they describe what your server will receive."},"children":[],"type":"text"}],"type":"paragraph"}]}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/webhook-payloads"}],"panels":[]}]}},{"type":"group","label":"Message Processing Config","link":"/apis/omnichannel/message-processing-config","routeSlug":"/apis/omnichannel/message-processing-config","items":[{"label":"Get all message processing configs","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/message-processing-config/getmessageprocessingconfigs","routeSlug":"/apis/omnichannel/message-processing-config/getmessageprocessingconfigs","metadata":{"seo":{"title":"Get all message processing configs","description":"Retrieve message processing configurations for all WhatsApp numbers. Each config includes throughput limits, throttle delays, and daily send schedules."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getMessageProcessingConfigs","name":"Get all message processing configs","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1configs/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get all message processing configs","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve message processing configurations for all WhatsApp numbers. Each config includes throughput limits, throttle delays, and daily send schedules."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page","in":"query","schemaId":"schema_2","description":"Zero-based page index."},{"name":"size","in":"query","schemaId":"schema_3","description":"Number of records per page."},{"name":"searchTerm","in":"query","schemaId":"schema_8","description":"Filter configs by client number or client reference."}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1configs/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/api/configs","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"page","in":"query","example":0,"schemaId":"schema_2"},{"name":"size","in":"query","example":10,"schemaId":"schema_3"},{"name":"searchTerm","in":"query","example":"john","schemaId":"schema_8"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/api/configs","href":"message-processing-config/getmessageprocessingconfigs","openApiOperationId":"getMessageProcessingConfigs","summary":"Get all message processing configs"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Paginated list of message processing configurations","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_116"}},"schemaId":"schema_116"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1configs/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_116","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_116"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/message-processing-config/getmessageprocessingconfigs"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/configs"},{"label":"Create message processing config","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/message-processing-config/createmessageprocessingconfig","routeSlug":"/apis/omnichannel/message-processing-config/createmessageprocessingconfig","metadata":{"seo":{"title":"Create message processing config","description":"Configure batch send schedules and throttling for a WhatsApp number.The dailySchedules map defines when messages can be sent for each day of the week."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createMessageProcessingConfig","name":"Create message processing config","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1configs/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create message processing config","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Configure batch send schedules and throttling for a WhatsApp number."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"The "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"dailySchedules"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" map defines when messages can be sent for each day of the week."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Note:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" The "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"minMsgDelaySeconds"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"maxMsgDelaySeconds"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"batchSize"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"minBatchDelayMinutes"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"maxBatchDelayMinutes"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"batchSuccessLimit"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" fields"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"apply to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"WhatsApp Lite only"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Cloud API rate limiting is managed by Meta."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/MessageProcessingConfig","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1configs/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/MessageProcessingConfig","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1configs/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1configs/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payless4messaging-service/WhatsApp/api/configs","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/MessageProcessingConfig","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1configs/post/requestBody/content/application~1json/example"]}},"responseCodes":["200","400","401"],"pointer":"/payless4messaging-service/WhatsApp/api/configs","href":"message-processing-config/createmessageprocessingconfig","openApiOperationId":"createMessageProcessingConfig","summary":"Create message processing config"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/MessageProcessingConfig","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1configs/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/MessageProcessingConfig","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1configs/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The newly created message processing configuration","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/MessageProcessingConfig"}},"schemaId":"components/schemas/MessageProcessingConfig"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1configs/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/MessageProcessingConfig","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/MessageProcessingConfig"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/message-processing-config/createmessageprocessingconfig"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/configs"},{"label":"Get config by client number","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/message-processing-config/getmessageprocessingconfigbynumber","routeSlug":"/apis/omnichannel/message-processing-config/getmessageprocessingconfigbynumber","metadata":{"seo":{"title":"Get config by client number","description":"Retrieve the message processing configuration for a specific WhatsApp number."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getMessageProcessingConfigByNumber","name":"Get config by client number","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1configs~1{clientNumber}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get config by client number","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve the message processing configuration for a specific WhatsApp number."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"clientNumber","in":"path","schemaId":"schema_77","description":"The WhatsApp number whose configuration to retrieve.","required":true}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1configs~1{clientNumber}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/api/configs/{clientNumber}","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"clientNumber","in":"path","required":true,"example":"+27123456789","schemaId":"schema_77"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","404"],"pointer":"/payless4messaging-service/WhatsApp/api/configs/{clientNumber}","href":"message-processing-config/getmessageprocessingconfigbynumber","openApiOperationId":"getMessageProcessingConfigByNumber","summary":"Get config by client number"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The message processing configuration for the specified WhatsApp number","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/MessageProcessingConfig"}},"schemaId":"components/schemas/MessageProcessingConfig"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1configs~1{clientNumber}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/MessageProcessingConfig","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/MessageProcessingConfig"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/message-processing-config/getmessageprocessingconfigbynumber"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/configs/{clientNumber}"},{"label":"Update config by client number","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/message-processing-config/updatemessageprocessingconfig","routeSlug":"/apis/omnichannel/message-processing-config/updatemessageprocessingconfig","metadata":{"seo":{"title":"Update config by client number","description":"Update the message processing configuration for a specific WhatsApp number. This is a full replacement -- include all fields in the request body."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateMessageProcessingConfig","name":"Update config by client number","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1configs~1{clientNumber}/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update config by client number","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Update the message processing configuration for a specific WhatsApp number. This is a full replacement -- include all fields in the request body."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"clientNumber","in":"path","schemaId":"schema_77","description":"The WhatsApp number whose configuration to update.","required":true}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1configs~1{clientNumber}/put/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/MessageProcessingConfig","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1configs~1{clientNumber}/put/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/MessageProcessingConfig","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1configs~1{clientNumber}/put/requestBody/content/application~1json/example"],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1configs~1{clientNumber}/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/payless4messaging-service/WhatsApp/api/configs/{clientNumber}","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"clientNumber","in":"path","required":true,"example":"+27123456789","schemaId":"schema_77"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/MessageProcessingConfig","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1configs~1{clientNumber}/put/requestBody/content/application~1json/example"]}},"responseCodes":["200","400","404"],"pointer":"/payless4messaging-service/WhatsApp/api/configs/{clientNumber}","href":"message-processing-config/updatemessageprocessingconfig","openApiOperationId":"updateMessageProcessingConfig","summary":"Update config by client number"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/MessageProcessingConfig","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1configs~1{clientNumber}/put/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/MessageProcessingConfig","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1configs~1{clientNumber}/put/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The updated message processing configuration","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/MessageProcessingConfig"}},"schemaId":"components/schemas/MessageProcessingConfig"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1configs~1{clientNumber}/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/MessageProcessingConfig","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/MessageProcessingConfig"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/message-processing-config/updatemessageprocessingconfig"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/configs/{clientNumber}"},{"label":"Delete config by client number","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/message-processing-config/deletemessageprocessingconfig","routeSlug":"/apis/omnichannel/message-processing-config/deletemessageprocessingconfig","metadata":{"seo":{"title":"Delete config by client number","description":"Delete the message processing configuration for a specific WhatsApp number, reverting to default platform settings."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"deleteMessageProcessingConfig","name":"Delete config by client number","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1configs~1{clientNumber}/delete","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Delete config by client number","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Delete the message processing configuration for a specific WhatsApp number, reverting to default platform settings."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"clientNumber","in":"path","schemaId":"schema_77","description":"The WhatsApp number whose configuration to delete.","required":true}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1configs~1{clientNumber}/delete/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/payless4messaging-service/WhatsApp/api/configs/{clientNumber}","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"clientNumber","in":"path","required":true,"example":"+27123456789","schemaId":"schema_77"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["204","404"],"pointer":"/payless4messaging-service/WhatsApp/api/configs/{clientNumber}","href":"message-processing-config/deletemessageprocessingconfig","openApiOperationId":"deleteMessageProcessingConfig","summary":"Delete config by client number"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"Configuration successfully deleted; the number reverts to default platform settings"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1configs~1{clientNumber}/delete/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/message-processing-config/deletemessageprocessingconfig"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/configs/{clientNumber}"}],"content":{"contentType":"group","meta":{"name":"Message Processing Config"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Message Processing Config","showPageActions":true},{"nodeType":"markdoc","content":"Configure per-number message processing settings including throughput limits, throttle delays, batch sizes, and daily send schedules. Use these settings to control when and how fast messages are sent, balancing throughput with connection stability. WhatsApp Lite numbers support additional fine-grained controls for delay and batch windowing."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/payless4messaging-service/WhatsApp/api/configs","summary":"Get all message processing configs","prefix":{"name":"get","color":"get"},"badges":[],"link":"/message-processing-config/getmessageprocessingconfigs","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/api/configs","summary":"Create message processing config","prefix":{"name":"post","color":"post"},"badges":[],"link":"/message-processing-config/createmessageprocessingconfig","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/api/configs/{clientNumber}","summary":"Get config by client number","prefix":{"name":"get","color":"get"},"badges":[],"link":"/message-processing-config/getmessageprocessingconfigbynumber","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/api/configs/{clientNumber}","summary":"Update config by client number","prefix":{"name":"put","color":"put"},"badges":[],"link":"/message-processing-config/updatemessageprocessingconfig","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/api/configs/{clientNumber}","summary":"Delete config by client number","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/message-processing-config/deletemessageprocessingconfig","deprecated":false}]}]}]}]}},{"type":"group","label":"Block & Blacklist","link":"/apis/omnichannel/block-and-blacklist","routeSlug":"/apis/omnichannel/block-and-blacklist","items":[{"label":"Get blocked numbers","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/block-and-blacklist/getblockednumbers","routeSlug":"/apis/omnichannel/block-and-blacklist/getblockednumbers","metadata":{"seo":{"title":"Get blocked numbers","description":"Numbers blocked by the system (e.g. due to delivery failures or user opt-out)."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getBlockedNumbers","name":"Get blocked numbers","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppBlockedNumber~1getForCurrentLoginUser/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get blocked numbers","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Numbers blocked by the system (e.g. due to delivery failures or user opt-out)."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page","in":"query","schemaId":"schema_2","description":"Zero-based page index."},{"name":"size","in":"query","schemaId":"schema_3","description":"Number of records per page."},{"name":"startDateTime","in":"query","schemaId":"schema_42","description":"Start of the date range (ISO 8601 with timezone offset)."},{"name":"endDateTime","in":"query","schemaId":"schema_43","description":"End of the date range (ISO 8601 with timezone offset)."},{"name":"searchString","in":"query","schemaId":"schema_8","description":"Filter by phone number."}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppBlockedNumber~1getForCurrentLoginUser/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/WhatsAppBlockedNumber/getForCurrentLoginUser","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"page","in":"query","example":0,"schemaId":"schema_2"},{"name":"size","in":"query","example":10,"schemaId":"schema_3"},{"name":"startDateTime","in":"query","example":"2026-01-01T00:00:00+02:00","schemaId":"schema_42"},{"name":"endDateTime","in":"query","example":"2026-01-31T23:59:59+02:00","schemaId":"schema_43"},{"name":"searchString","in":"query","example":"john","schemaId":"schema_8"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/WhatsAppBlockedNumber/getForCurrentLoginUser","href":"block-and-blacklist/getblockednumbers","openApiOperationId":"getBlockedNumbers","summary":"Get blocked numbers"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Paginated list of system-blocked phone numbers","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_117"}},"schemaId":"schema_117"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppBlockedNumber~1getForCurrentLoginUser/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_117","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_117"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/block-and-blacklist/getblockednumbers"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/WhatsAppBlockedNumber/getForCurrentLoginUser"},{"label":"Unblock a number","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/block-and-blacklist/unblocknumber","routeSlug":"/apis/omnichannel/block-and-blacklist/unblocknumber","metadata":{"seo":{"title":"Unblock a number","description":"Remove a number from the blocked list, allowing messages to be sent to it again."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"unblockNumber","name":"Unblock a number","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppBlockedNumber~1unblockNumber~1{whatsAppBlockedNumber}/delete","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Unblock a number","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Remove a number from the blocked list, allowing messages to be sent to it again."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"whatsAppBlockedNumber","in":"path","schemaId":"schema_70","description":"The phone number to unblock","required":true}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppBlockedNumber~1unblockNumber~1{whatsAppBlockedNumber}/delete/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/payless4messaging-service/WhatsApp/WhatsAppBlockedNumber/unblockNumber/{whatsAppBlockedNumber}","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"whatsAppBlockedNumber","in":"path","required":true,"example":"+27821234567","schemaId":"schema_70"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["204","401","404"],"pointer":"/payless4messaging-service/WhatsApp/WhatsAppBlockedNumber/unblockNumber/{whatsAppBlockedNumber}","href":"block-and-blacklist/unblocknumber","openApiOperationId":"unblockNumber","summary":"Unblock a number"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"Confirmation that the number was successfully unblocked"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppBlockedNumber~1unblockNumber~1{whatsAppBlockedNumber}/delete/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/block-and-blacklist/unblocknumber"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/WhatsAppBlockedNumber/unblockNumber/{whatsAppBlockedNumber}"},{"label":"Get blacklisted numbers","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/block-and-blacklist/getblacklistednumbers","routeSlug":"/apis/omnichannel/block-and-blacklist/getblacklistednumbers","metadata":{"seo":{"title":"Get blacklisted numbers","description":"Numbers manually blacklisted by the client. Messages will not be sent to these numbers."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getBlacklistedNumbers","name":"Get blacklisted numbers","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppBlacklistNumber~1getForCurrentLoginUser/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get blacklisted numbers","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Numbers manually blacklisted by the client. Messages will not be sent to these numbers."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page","in":"query","schemaId":"schema_2","description":"Zero-based page index."},{"name":"size","in":"query","schemaId":"schema_3","description":"Number of records per page."},{"name":"startDateTime","in":"query","schemaId":"schema_42","description":"Start of the date range (ISO 8601 with timezone offset)."},{"name":"endDateTime","in":"query","schemaId":"schema_43","description":"End of the date range (ISO 8601 with timezone offset)."},{"name":"searchString","in":"query","schemaId":"schema_8","description":"Filter by phone number."}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppBlacklistNumber~1getForCurrentLoginUser/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/WhatsAppBlacklistNumber/getForCurrentLoginUser","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"page","in":"query","example":0,"schemaId":"schema_2"},{"name":"size","in":"query","example":10,"schemaId":"schema_3"},{"name":"startDateTime","in":"query","example":"2026-01-01T00:00:00+02:00","schemaId":"schema_42"},{"name":"endDateTime","in":"query","example":"2026-01-31T23:59:59+02:00","schemaId":"schema_43"},{"name":"searchString","in":"query","example":"john","schemaId":"schema_8"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401"],"pointer":"/payless4messaging-service/WhatsApp/WhatsAppBlacklistNumber/getForCurrentLoginUser","href":"block-and-blacklist/getblacklistednumbers","openApiOperationId":"getBlacklistedNumbers","summary":"Get blacklisted numbers"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Paginated list of client-blacklisted phone numbers","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_118"}},"schemaId":"schema_118"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppBlacklistNumber~1getForCurrentLoginUser/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_118","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_118"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/block-and-blacklist/getblacklistednumbers"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/WhatsAppBlacklistNumber/getForCurrentLoginUser"},{"label":"Blacklist a number","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/block-and-blacklist/blacklistnumber","routeSlug":"/apis/omnichannel/block-and-blacklist/blacklistnumber","metadata":{"seo":{"title":"Blacklist a number","description":"Add a phone number to the blacklist. No messages will be sent to this number."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"blacklistNumber","name":"Blacklist a number","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppBlacklistNumber/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Blacklist a number","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Add a phone number to the blacklist. No messages will be sent to this number."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/BlacklistRequestDto","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1WhatsAppBlacklistNumber/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/BlacklistRequestDto","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1WhatsAppBlacklistNumber/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppBlacklistNumber/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payless4messaging-service/WhatsApp/WhatsAppBlacklistNumber","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/BlacklistRequestDto","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1WhatsAppBlacklistNumber/post/requestBody/content/application~1json/example"]}},"responseCodes":["200","400","401"],"pointer":"/payless4messaging-service/WhatsApp/WhatsAppBlacklistNumber","href":"block-and-blacklist/blacklistnumber","openApiOperationId":"blacklistNumber","summary":"Blacklist a number"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/BlacklistRequestDto","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1WhatsAppBlacklistNumber/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/BlacklistRequestDto","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1WhatsAppBlacklistNumber/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Confirmation that the number was added to the blacklist"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppBlacklistNumber/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200"},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/block-and-blacklist/blacklistnumber"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/WhatsAppBlacklistNumber"},{"label":"Blacklist numbers from file","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/block-and-blacklist/blacklistnumbersupload","routeSlug":"/apis/omnichannel/block-and-blacklist/blacklistnumbersupload","metadata":{"seo":{"title":"Blacklist numbers from file","description":"Upload a CSV or text file containing phone numbers to blacklist in bulk."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"blacklistNumbersUpload","name":"Blacklist numbers from file","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppBlacklistNumber~1upload/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Blacklist numbers from file","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Upload a CSV or text file containing phone numbers to blacklist in bulk."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["multipart/form-data"],"mediaTypeSchemas":{"multipart/form-data":{"schemaId":"schema_119"}},"schemaId":"schema_119","pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppBlacklistNumber~1upload/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payless4messaging-service/WhatsApp/WhatsAppBlacklistNumber/upload","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"multipart/form-data":{"schemaId":"schema_119"}},"responseCodes":["200","400","401"],"pointer":"/payless4messaging-service/WhatsApp/WhatsAppBlacklistNumber/upload","href":"block-and-blacklist/blacklistnumbersupload","openApiOperationId":"blacklistNumbersUpload","summary":"Blacklist numbers from file"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"schema_119","mediaTypes":["multipart/form-data"],"mediaTypeSchemas":{"multipart/form-data":{"schemaId":"schema_119"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Summary of the bulk blacklist import showing processed, blacklisted, and skipped counts","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_120"}},"schemaId":"schema_120"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppBlacklistNumber~1upload/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_120","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_120"}}},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/block-and-blacklist/blacklistnumbersupload"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/WhatsAppBlacklistNumber/upload"},{"label":"Remove from blacklist","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/block-and-blacklist/removefromblacklist","routeSlug":"/apis/omnichannel/block-and-blacklist/removefromblacklist","metadata":{"seo":{"title":"Remove from blacklist","description":"Remove a phone number from the client-managed blacklist by its record ID."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"removeFromBlacklist","name":"Remove from blacklist","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppBlacklistNumber~1{id}/delete","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Remove from blacklist","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Remove a phone number from the client-managed blacklist by its record ID."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_28","description":"The unique blacklist record UUID.","required":true}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppBlacklistNumber~1{id}/delete/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/payless4messaging-service/WhatsApp/WhatsAppBlacklistNumber/{id}","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","schemaId":"schema_28"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["204","401","404"],"pointer":"/payless4messaging-service/WhatsApp/WhatsAppBlacklistNumber/{id}","href":"block-and-blacklist/removefromblacklist","openApiOperationId":"removeFromBlacklist","summary":"Remove from blacklist"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"204","description":"Confirmation that the number was successfully removed from the blacklist"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1WhatsAppBlacklistNumber~1{id}/delete/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"204"},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/block-and-blacklist/removefromblacklist"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/WhatsAppBlacklistNumber/{id}"}],"content":{"contentType":"group","meta":{"name":"Block & Blacklist"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Block & Blacklist","showPageActions":true},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Manage blocked and blacklisted phone numbers. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Blocked numbers"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" are system-managed — numbers automatically blocked due to delivery failures or user opt-outs. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Blacklisted numbers"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" are client-managed — numbers you explicitly add to prevent sending. Blacklist entries can be added individually or uploaded in bulk via CSV."},"children":[],"type":"text"}],"type":"paragraph"}]}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/payless4messaging-service/WhatsApp/WhatsAppBlockedNumber/getForCurrentLoginUser","summary":"Get blocked numbers","prefix":{"name":"get","color":"get"},"badges":[],"link":"/block-and-blacklist/getblockednumbers","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/WhatsAppBlockedNumber/unblockNumber/{whatsAppBlockedNumber}","summary":"Unblock a number","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/block-and-blacklist/unblocknumber","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/WhatsAppBlacklistNumber/getForCurrentLoginUser","summary":"Get blacklisted numbers","prefix":{"name":"get","color":"get"},"badges":[],"link":"/block-and-blacklist/getblacklistednumbers","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/WhatsAppBlacklistNumber","summary":"Blacklist a number","prefix":{"name":"post","color":"post"},"badges":[],"link":"/block-and-blacklist/blacklistnumber","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/WhatsAppBlacklistNumber/upload","summary":"Blacklist numbers from file","prefix":{"name":"post","color":"post"},"badges":[],"link":"/block-and-blacklist/blacklistnumbersupload","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/WhatsAppBlacklistNumber/{id}","summary":"Remove from blacklist","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/block-and-blacklist/removefromblacklist","deprecated":false}]}]}]}]}},{"type":"group","label":"Batches","link":"/apis/omnichannel/batches","routeSlug":"/apis/omnichannel/batches","items":[{"label":"Control batch execution","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/batches/controlbatch","routeSlug":"/apis/omnichannel/batches/controlbatch","metadata":{"seo":{"title":"Control batch execution","description":"Pause, resume, or cancel batch message execution."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"controlBatch","name":"Control batch execution","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1batches~1control/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Control batch execution","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Pause, resume, or cancel batch message execution."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Scope Resolution (Priority Order):"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":true,"marker":"."},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"batchId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" provided → applies to that batch only."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"senderId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" provided → applies to all active batches for that sender."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Neither → applies to all active batches for the authenticated client."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Rules:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Batches can only be paused/resumed while ACTIVE or PAUSED."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"CANCELLED batches cannot be resumed."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Batch messages are retained for 7 days. After that, the batch cannot be resumed."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/BatchExecutionControlRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1batches~1control/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/BatchExecutionControlRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1batches~1control/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1batches~1control/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payless4messaging-service/WhatsApp/api/batches/control","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/BatchExecutionControlRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1batches~1control/post/requestBody/content/application~1json/example"]}},"responseCodes":["200","400","401","404","409"],"pointer":"/payless4messaging-service/WhatsApp/api/batches/control","href":"batches/controlbatch","openApiOperationId":"controlBatch","summary":"Control batch execution"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/BatchExecutionControlRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1batches~1control/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/BatchExecutionControlRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1batches~1control/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Confirmation that the batch control action was successfully applied"},{"code":"400","description":"Bad Request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}},"schemaId":"schema_6"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"},{"code":"409","description":"Conflict (e.g. resuming a cancelled batch)"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1batches~1control/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200"},{"code":"400","schemaId":"schema_6","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_6"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}},{"code":"409"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/batches/controlbatch"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/batches/control"}],"content":{"contentType":"group","meta":{"name":"Batches"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Batches","showPageActions":true},{"nodeType":"markdoc","content":"Control the execution of batch message jobs. Pause a running batch to temporarily halt sending, resume a paused batch to continue, or cancel a batch to stop it permanently. Batch jobs are created automatically when sending to multiple recipients."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/payless4messaging-service/WhatsApp/api/batches/control","summary":"Control batch execution","prefix":{"name":"post","color":"post"},"badges":[],"link":"/batches/controlbatch","deprecated":false}]}]}]}]}},{"type":"separator","label":"WhatsApp Lite","content":null},{"type":"group","label":"(WhatsApp Lite) Connection","link":"/apis/omnichannel/(whatsapp-lite)-connection","routeSlug":"/apis/omnichannel/(whatsapp-lite)-connection","items":[{"label":"WebSocket Connection (QR Stream)","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/(whatsapp-lite)-connection/connectwebsocket","routeSlug":"/apis/omnichannel/(whatsapp-lite)-connection/connectwebsocket","metadata":{"seo":{"title":"WebSocket Connection (QR Stream)","description":"Protocol: WSS (WebSocket Secure)"}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"connectWebSocket","name":"WebSocket Connection (QR Stream)","isWebhook":false,"pointer":"/paths/~1/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"WebSocket Connection (QR Stream)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Protocol:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"WSS"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (WebSocket Secure)"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Establish a WebSocket connection to receive real-time QR code updates."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Incoming Message Format (Regex):"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"content":"/userId=(.+?), sessionStatus=(.+?), status=(.+?)(?:, qrCode=(.+?))?(?:\\))/\n"},"children":[{"$$mdtype":"Node","attributes":{"content":"/userId=(.+?), sessionStatus=(.+?), status=(.+?)(?:, qrCode=(.+?))?(?:\\))/\n"},"children":[],"type":"text"}],"type":"fence"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"States:"},"children":[],"type":"text"}],"type":"strong"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"newQrCode"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"qrCode"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" contains Base64 image."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"success"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — Phone connected."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"timeout"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — QR code expired."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"userId","in":"query","schemaId":"schema_121","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Composite key: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"{clientId}-{phoneNumber}"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (remove "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"+"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" from phone)."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"wss://api.payless4messaging.com","description":"Live WebSocket"}],"parameters":{"path":[],"query":[{"name":"userId","in":"query","required":true,"example":"dbdb8809-6fd0-27665359699","schemaId":"schema_121"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["101"],"pointer":"/","href":"(whatsapp-lite)-connection/connectwebsocket","openApiOperationId":"connectWebSocket","summary":"WebSocket Connection (QR Stream)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"wss://api.payless4messaging.com","description":"Live WebSocket"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"101","description":"Connection established","mediaType":"text/plain","mediaTypes":["text/plain"],"mediaTypeContent":{"text/plain":{"schemaId":"schema_122"}},"schemaId":"schema_122"}],"pointer":"/paths/~1/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"101","schemaId":"schema_122","mediaTypes":["text/plain"],"mediaTypeContent":{"text/plain":{"schemaId":"schema_122"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/(whatsapp-lite)-connection/connectwebsocket"}],"panels":[]}]},"httpPath":"/"},{"label":"Initialize session","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/(whatsapp-lite)-connection/connectsession","routeSlug":"/apis/omnichannel/(whatsapp-lite)-connection/connectsession","metadata":{"seo":{"title":"Initialize session","description":"Initializes a WhatsApp session. After calling this, connect to the WebSocket to receive the QR code."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"connectSession","name":"Initialize session","isWebhook":false,"pointer":"/paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1connect/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Initialize session","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Initializes a WhatsApp session. After calling this, connect to the WebSocket to receive the QR code.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/SessionRequest","exampleIds":["paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1connect/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/SessionRequest","exampleIds":["paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1connect/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1connect/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/whatsapp-api-service/api/whatsapp-go/session/connect","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/SessionRequest","exampleIds":["paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1connect/post/requestBody/content/application~1json/example"]}},"responseCodes":["200"],"pointer":"/whatsapp-api-service/api/whatsapp-go/session/connect","href":"(whatsapp-lite)-connection/connectsession","openApiOperationId":"connectSession","summary":"Initialize session"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/SessionRequest","exampleIds":["paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1connect/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/SessionRequest","exampleIds":["paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1connect/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Confirmation that the session was initialized; connect to WebSocket for QR code","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppGoResponse"}},"schemaId":"components/schemas/WhatsAppGoResponse"}],"pointer":"/paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1connect/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/WhatsAppGoResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppGoResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/(whatsapp-lite)-connection/connectsession"}],"panels":[]}]},"httpPath":"/whatsapp-api-service/api/whatsapp-go/session/connect"},{"label":"Set webhook (WhatsApp Lite)","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/(whatsapp-lite)-connection/setlitewebhook","routeSlug":"/apis/omnichannel/(whatsapp-lite)-connection/setlitewebhook","metadata":{"seo":{"title":"Set webhook (WhatsApp Lite)","description":"Register a webhook URL to receive incoming messages and events for a WhatsApp Lite number."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"setLiteWebhook","name":"Set webhook (WhatsApp Lite)","isWebhook":false,"pointer":"/paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1webhook/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Set webhook (WhatsApp Lite)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Register a webhook URL to receive incoming messages and events for a WhatsApp Lite number."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/WebhookReq","exampleIds":["paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1webhook/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/WebhookReq","exampleIds":["paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1webhook/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1webhook/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/whatsapp-api-service/api/whatsapp-go/session/webhook","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/WebhookReq","exampleIds":["paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1webhook/post/requestBody/content/application~1json/example"]}},"responseCodes":["200"],"pointer":"/whatsapp-api-service/api/whatsapp-go/session/webhook","href":"(whatsapp-lite)-connection/setlitewebhook","openApiOperationId":"setLiteWebhook","summary":"Set webhook (WhatsApp Lite)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/WebhookReq","exampleIds":["paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1webhook/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/WebhookReq","exampleIds":["paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1webhook/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Confirmation that the webhook URL was registered for the WhatsApp Lite number","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppGoResponse"}},"schemaId":"components/schemas/WhatsAppGoResponse"}],"pointer":"/paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1webhook/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/WhatsAppGoResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppGoResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/(whatsapp-lite)-connection/setlitewebhook"}],"panels":[]}]},"httpPath":"/whatsapp-api-service/api/whatsapp-go/session/webhook"},{"label":"Get QR code (static)","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/(whatsapp-lite)-connection/getqrcode","routeSlug":"/apis/omnichannel/(whatsapp-lite)-connection/getqrcode","metadata":{"seo":{"title":"Get QR code (static)","description":"Retrieve the current QR code as a Base64 string if WebSocket method is not used."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getQRCode","name":"Get QR code (static)","isWebhook":false,"pointer":"/paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1qr/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get QR code (static)","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve the current QR code as a Base64 string if WebSocket method is not used."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"whatsAppNumber","in":"query","schemaId":"schema_123","required":true}],"pointer":"/paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1qr/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/whatsapp-api-service/api/whatsapp-go/session/qr","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"whatsAppNumber","in":"query","required":true,"example":"+27665359699","schemaId":"schema_123"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/whatsapp-api-service/api/whatsapp-go/session/qr","href":"(whatsapp-lite)-connection/getqrcode","openApiOperationId":"getQRCode","summary":"Get QR code (static)"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The current QR code as a Base64-encoded image string","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppGoResponse"}},"schemaId":"components/schemas/WhatsAppGoResponse"}],"pointer":"/paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1qr/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/WhatsAppGoResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppGoResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/(whatsapp-lite)-connection/getqrcode"}],"panels":[]}]},"httpPath":"/whatsapp-api-service/api/whatsapp-go/session/qr"},{"label":"Request pairing code","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/(whatsapp-lite)-connection/requestpairingcode","routeSlug":"/apis/omnichannel/(whatsapp-lite)-connection/requestpairingcode","metadata":{"seo":{"title":"Request pairing code","description":"Generates an 8-character linking code for the \"Link with phone number\" option."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"requestPairingCode","name":"Request pairing code","isWebhook":false,"pointer":"/paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1pairing-code/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Request pairing code","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Generates an 8-character linking code for the \"Link with phone number\" option."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["text/plain"],"mediaTypeSchemas":{"text/plain":{"schemaId":"schema_123"}},"schemaId":"schema_123","pointer":"/paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1pairing-code/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/whatsapp-api-service/api/whatsapp-go/session/pairing-code","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"text/plain":{"schemaId":"schema_123"}},"responseCodes":["200"],"pointer":"/whatsapp-api-service/api/whatsapp-go/session/pairing-code","href":"(whatsapp-lite)-connection/requestpairingcode","openApiOperationId":"requestPairingCode","summary":"Request pairing code"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"schema_123","mediaTypes":["text/plain"],"mediaTypeSchemas":{"text/plain":{"schemaId":"schema_123"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The generated 8-character pairing code","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppGoResponse"}},"schemaId":"components/schemas/WhatsAppGoResponse"}],"pointer":"/paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1pairing-code/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/WhatsAppGoResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppGoResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/(whatsapp-lite)-connection/requestpairingcode"}],"panels":[]}]},"httpPath":"/whatsapp-api-service/api/whatsapp-go/session/pairing-code"},{"label":"Get session status","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/(whatsapp-lite)-connection/getsessionstatus","routeSlug":"/apis/omnichannel/(whatsapp-lite)-connection/getsessionstatus","metadata":{"seo":{"title":"Get session status","description":"Check the current connection status of a WhatsApp Lite session. Returns whether the number is connected, disconnected, or requires a QR scan."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getSessionStatus","name":"Get session status","isWebhook":false,"pointer":"/paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1status/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get session status","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Check the current connection status of a WhatsApp Lite session. Returns whether the number is connected, disconnected, or requires a QR scan."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"whatsAppNumber","in":"query","schemaId":"schema_123","description":"The WhatsApp Lite phone number to check.","required":true},{"name":"clientId","in":"query","schemaId":"schema_28","description":"Optional client UUID to scope the status check."}],"pointer":"/paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1status/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/whatsapp-api-service/api/whatsapp-go/session/status","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"whatsAppNumber","in":"query","required":true,"example":"+27665359699","schemaId":"schema_123"},{"name":"clientId","in":"query","example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","schemaId":"schema_28"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/whatsapp-api-service/api/whatsapp-go/session/status","href":"(whatsapp-lite)-connection/getsessionstatus","openApiOperationId":"getSessionStatus","summary":"Get session status"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Current session connection status (connected, disconnected, or requires QR scan)","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppGoResponse"}},"schemaId":"components/schemas/WhatsAppGoResponse"}],"pointer":"/paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1status/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/WhatsAppGoResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppGoResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/(whatsapp-lite)-connection/getsessionstatus"}],"panels":[]}]},"httpPath":"/whatsapp-api-service/api/whatsapp-go/session/status"},{"label":"Logout session","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/(whatsapp-lite)-connection/logoutsession","routeSlug":"/apis/omnichannel/(whatsapp-lite)-connection/logoutsession","metadata":{"seo":{"title":"Logout session","description":"Logs the number out of WhatsApp Web/Multi-device session."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"logoutSession","name":"Logout session","isWebhook":false,"pointer":"/paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1logout/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Logout session","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Logs the number out of WhatsApp Web/Multi-device session."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["text/plain"],"mediaTypeSchemas":{"text/plain":{"schemaId":"schema_123"}},"schemaId":"schema_123","pointer":"/paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1logout/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/whatsapp-api-service/api/whatsapp-go/session/logout","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"text/plain":{"schemaId":"schema_123"}},"responseCodes":["200"],"pointer":"/whatsapp-api-service/api/whatsapp-go/session/logout","href":"(whatsapp-lite)-connection/logoutsession","openApiOperationId":"logoutSession","summary":"Logout session"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"schema_123","mediaTypes":["text/plain"],"mediaTypeSchemas":{"text/plain":{"schemaId":"schema_123"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Confirmation that the session was logged out successfully","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppGoResponse"}},"schemaId":"components/schemas/WhatsAppGoResponse"}],"pointer":"/paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1logout/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/WhatsAppGoResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppGoResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/(whatsapp-lite)-connection/logoutsession"}],"panels":[]}]},"httpPath":"/whatsapp-api-service/api/whatsapp-go/session/logout"}],"content":{"contentType":"group","meta":{"name":"(WhatsApp Lite) Connection"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"(WhatsApp Lite) Connection","showPageActions":true},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Connect and manage WhatsApp Lite sessions. Establish a connection by scanning a QR code (via WebSocket stream or static image) or by entering a pairing code. Monitor session status, configure webhooks for the number, and log out when needed. WhatsApp Lite requires an active phone connection — if the phone goes offline, the session disconnects."},"children":[],"type":"text"}],"type":"paragraph"}]}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/","summary":"WebSocket Connection (QR Stream)","prefix":{"name":"get","color":"get"},"badges":[],"link":"/(whatsapp-lite)-connection/connectwebsocket","deprecated":false},{"title":"/whatsapp-api-service/api/whatsapp-go/session/connect","summary":"Initialize session","prefix":{"name":"post","color":"post"},"badges":[],"link":"/(whatsapp-lite)-connection/connectsession","deprecated":false},{"title":"/whatsapp-api-service/api/whatsapp-go/session/webhook","summary":"Set webhook (WhatsApp Lite)","prefix":{"name":"post","color":"post"},"badges":[],"link":"/(whatsapp-lite)-connection/setlitewebhook","deprecated":false},{"title":"/whatsapp-api-service/api/whatsapp-go/session/qr","summary":"Get QR code (static)","prefix":{"name":"get","color":"get"},"badges":[],"link":"/(whatsapp-lite)-connection/getqrcode","deprecated":false},{"title":"/whatsapp-api-service/api/whatsapp-go/session/pairing-code","summary":"Request pairing code","prefix":{"name":"post","color":"post"},"badges":[],"link":"/(whatsapp-lite)-connection/requestpairingcode","deprecated":false},{"title":"/whatsapp-api-service/api/whatsapp-go/session/status","summary":"Get session status","prefix":{"name":"get","color":"get"},"badges":[],"link":"/(whatsapp-lite)-connection/getsessionstatus","deprecated":false},{"title":"/whatsapp-api-service/api/whatsapp-go/session/logout","summary":"Logout session","prefix":{"name":"post","color":"post"},"badges":[],"link":"/(whatsapp-lite)-connection/logoutsession","deprecated":false}]}]}]}]}},{"type":"group","label":"(WhatsApp Lite) Groups","link":"/apis/omnichannel/(whatsapp-lite)-groups","routeSlug":"/apis/omnichannel/(whatsapp-lite)-groups","items":[{"label":"Get all groups","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/(whatsapp-lite)-groups/getgroups","routeSlug":"/apis/omnichannel/(whatsapp-lite)-groups/getgroups","metadata":{"seo":{"title":"Get all groups","description":"Retrieve all WhatsApp groups for the authenticated WhatsApp Lite account."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getGroups","name":"Get all groups","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get all groups","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve all WhatsApp groups for the authenticated WhatsApp Lite account."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/api/v1/groups","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/payless4messaging-service/WhatsApp/api/v1/groups","href":"(whatsapp-lite)-groups/getgroups","openApiOperationId":"getGroups","summary":"Get all groups"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"List of all WhatsApp groups for the authenticated account","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_124"}},"schemaId":"schema_124"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_124","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_124"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/(whatsapp-lite)-groups/getgroups"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/v1/groups"},{"label":"Create a group","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/(whatsapp-lite)-groups/creategroup","routeSlug":"/apis/omnichannel/(whatsapp-lite)-groups/creategroup","metadata":{"seo":{"title":"Create a group","description":"Create a new WhatsApp group with a name, description, and initial participants."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createGroup","name":"Create a group","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a group","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Create a new WhatsApp group with a name, description, and initial participants."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Group","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/Group","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payless4messaging-service/WhatsApp/api/v1/groups","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/Group","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups/post/requestBody/content/application~1json/example"]}},"responseCodes":["200"],"pointer":"/payless4messaging-service/WhatsApp/api/v1/groups","href":"(whatsapp-lite)-groups/creategroup","openApiOperationId":"createGroup","summary":"Create a group"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/Group","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Group","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The newly created WhatsApp group object","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Group"}},"schemaId":"components/schemas/Group"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/Group","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Group"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/(whatsapp-lite)-groups/creategroup"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/v1/groups"},{"label":"Get group by ID","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/(whatsapp-lite)-groups/getgroup","routeSlug":"/apis/omnichannel/(whatsapp-lite)-groups/getgroup","metadata":{"seo":{"title":"Get group by ID","description":"Retrieve details of a specific WhatsApp group by its UUID."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getGroup","name":"Get group by ID","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get group by ID","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve details of a specific WhatsApp group by its UUID."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_125","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The WhatsApp group JID (e.g., \"120363001234567890@g.us\")."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/api/v1/groups/{id}","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"120363001234567890@g.us","schemaId":"schema_125"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/payless4messaging-service/WhatsApp/api/v1/groups/{id}","href":"(whatsapp-lite)-groups/getgroup","openApiOperationId":"getGroup","summary":"Get group by ID"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The WhatsApp group object with all its details","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Group"}},"schemaId":"components/schemas/Group"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/Group","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Group"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/(whatsapp-lite)-groups/getgroup"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/v1/groups/{id}"},{"label":"Update group","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/(whatsapp-lite)-groups/updategroup","routeSlug":"/apis/omnichannel/(whatsapp-lite)-groups/updategroup","metadata":{"seo":{"title":"Update group","description":"Update a WhatsApp group's name, description, or participant list."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"updateGroup","name":"Update group","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Update group","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Update a WhatsApp group's name, description, or participant list."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Important:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" This endpoint performs a full entity save. You must include "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"all"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" fields in the request body. Any omitted fields will be set to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Fetch the group with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /payless4messaging-service/WhatsApp/api/v1/groups/{id}"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" first and send the complete object back with your changes applied."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_125","description":"The WhatsApp group JID.","required":true}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}/put/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Group","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}/put/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/Group","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}/put/requestBody/content/application~1json/example"],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/payless4messaging-service/WhatsApp/api/v1/groups/{id}","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"120363001234567890@g.us","schemaId":"schema_125"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/Group","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}/put/requestBody/content/application~1json/example"]}},"responseCodes":["200"],"pointer":"/payless4messaging-service/WhatsApp/api/v1/groups/{id}","href":"(whatsapp-lite)-groups/updategroup","openApiOperationId":"updateGroup","summary":"Update group"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/Group","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}/put/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Group","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}/put/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Confirmation that the WhatsApp group was updated successfully"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}/put/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/(whatsapp-lite)-groups/updategroup"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/v1/groups/{id}"},{"label":"Delete group","deprecated":false,"httpVerb":"delete","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/(whatsapp-lite)-groups/deletegroup","routeSlug":"/apis/omnichannel/(whatsapp-lite)-groups/deletegroup","metadata":{"seo":{"title":"Delete group","description":"Leave and remove a WhatsApp group."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"deleteGroup","name":"Delete group","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}/delete","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Delete group","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Leave and remove a WhatsApp group."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_125","description":"The WhatsApp group JID.","required":true}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}/delete/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"number","in":"query","schemaId":"schema_77","description":"The WhatsApp Lite phone number that is a member of the group.","required":true}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}/delete/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"DELETE","path":"/payless4messaging-service/WhatsApp/api/v1/groups/{id}","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"120363001234567890@g.us","schemaId":"schema_125"}],"query":[{"name":"number","in":"query","required":true,"example":"+27123456789","schemaId":"schema_77"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/payless4messaging-service/WhatsApp/api/v1/groups/{id}","href":"(whatsapp-lite)-groups/deletegroup","openApiOperationId":"deleteGroup","summary":"Delete group"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Confirmation that the group was successfully left and removed"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}/delete/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/(whatsapp-lite)-groups/deletegroup"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/v1/groups/{id}"},{"label":"Send group message","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/(whatsapp-lite)-groups/sendgroupmessage","routeSlug":"/apis/omnichannel/(whatsapp-lite)-groups/sendgroupmessage","metadata":{"seo":{"title":"Send group message","description":"Send a text or media message to a WhatsApp group."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"sendGroupMessage","name":"Send group message","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1messages/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Send group message","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Send a text or media message to a WhatsApp group."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/GroupMessage","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1messages/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/GroupMessage","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1messages/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1messages/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/payless4messaging-service/WhatsApp/api/v1/groups/messages","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/GroupMessage","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1messages/post/requestBody/content/application~1json/example"]}},"responseCodes":["200"],"pointer":"/payless4messaging-service/WhatsApp/api/v1/groups/messages","href":"(whatsapp-lite)-groups/sendgroupmessage","openApiOperationId":"sendGroupMessage","summary":"Send group message"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/GroupMessage","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1messages/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/GroupMessage","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1messages/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The sent group message object with delivery metadata","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GroupMessage"}},"schemaId":"components/schemas/GroupMessage"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1messages/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/GroupMessage","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GroupMessage"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/(whatsapp-lite)-groups/sendgroupmessage"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/v1/groups/messages"},{"label":"Get group messages","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/(whatsapp-lite)-groups/getgroupmessages","routeSlug":"/apis/omnichannel/(whatsapp-lite)-groups/getgroupmessages","metadata":{"seo":{"title":"Get group messages","description":"Retrieve the message history for a specific WhatsApp group with pagination."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getGroupMessages","name":"Get group messages","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{groupId}~1messages/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get group messages","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve the message history for a specific WhatsApp group with pagination."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"groupId","in":"path","schemaId":"schema_125","description":"The WhatsApp group JID.","required":true}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{groupId}~1messages/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"page","in":"query","schemaId":"schema_2","description":"Zero-based page index."},{"name":"size","in":"query","schemaId":"schema_97","description":"Number of records per page."}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{groupId}~1messages/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/api/v1/groups/{groupId}/messages","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"groupId","in":"path","required":true,"example":"120363001234567890@g.us","schemaId":"schema_125"}],"query":[{"name":"page","in":"query","example":0,"schemaId":"schema_2"},{"name":"size","in":"query","example":20,"schemaId":"schema_97"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/payless4messaging-service/WhatsApp/api/v1/groups/{groupId}/messages","href":"(whatsapp-lite)-groups/getgroupmessages","openApiOperationId":"getGroupMessages","summary":"Get group messages"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Paginated list of messages for the specified WhatsApp group","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_126"}},"schemaId":"schema_126"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{groupId}~1messages/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_126","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_126"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/(whatsapp-lite)-groups/getgroupmessages"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/v1/groups/{groupId}/messages"},{"label":"Get group invite link","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/(whatsapp-lite)-groups/getgroupinvitelink","routeSlug":"/apis/omnichannel/(whatsapp-lite)-groups/getgroupinvitelink","metadata":{"seo":{"title":"Get group invite link","description":"Generate or retrieve the invite link for a WhatsApp group. Share this link to allow others to join the group."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getGroupInviteLink","name":"Get group invite link","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{groupJID}~1invite-link/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get group invite link","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Generate or retrieve the invite link for a WhatsApp group. Share this link to allow others to join the group."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"groupJID","in":"path","schemaId":"schema_125","description":"The WhatsApp group JID.","required":true}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{groupJID}~1invite-link/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"number","in":"query","schemaId":"schema_77","description":"The WhatsApp Lite phone number that is an admin of the group.","required":true},{"name":"reset","in":"query","schemaId":"schema_98","description":"Set to true to revoke the current invite link and generate a new one."}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{groupJID}~1invite-link/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/api/v1/groups/{groupJID}/invite-link","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"groupJID","in":"path","required":true,"example":"120363001234567890@g.us","schemaId":"schema_125"}],"query":[{"name":"number","in":"query","required":true,"example":"+27123456789","schemaId":"schema_77"},{"name":"reset","in":"query","example":false,"schemaId":"schema_98"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/payless4messaging-service/WhatsApp/api/v1/groups/{groupJID}/invite-link","href":"(whatsapp-lite)-groups/getgroupinvitelink","openApiOperationId":"getGroupInviteLink","summary":"Get group invite link"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The group invite link URL","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_127"}},"schemaId":"schema_127"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{groupJID}~1invite-link/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_127","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_127"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/(whatsapp-lite)-groups/getgroupinvitelink"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/v1/groups/{groupJID}/invite-link"},{"label":"Get group AI summary settings","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/(whatsapp-lite)-groups/getgroupsummarysettings","routeSlug":"/apis/omnichannel/(whatsapp-lite)-groups/getgroupsummarysettings","metadata":{"seo":{"title":"Get group AI summary settings","description":"Read a group's AI summary settings. A group that was never set up returns the defaults, switched off."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getGroupSummarySettings","name":"Get group AI summary settings","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get group AI summary settings","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Read a group's AI summary settings. A group that was never set up returns the defaults, switched off."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"available"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" says whether AI summaries are switched on for your account. They are switched on by"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"eCommunicate support; while "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"available"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"false"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", saving settings returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"403"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The API key is never returned; "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"hasApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" says whether one is saved."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_128","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The group's "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (UUID) from the group list, not its WhatsApp JID."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/payless4messaging-service/WhatsApp/api/v1/groups/{id}/summary-settings","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"c0d1e2f3-a4b5-6789-c0d1-e2f3a4b56789","schemaId":"schema_128"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200","401","404"],"pointer":"/payless4messaging-service/WhatsApp/api/v1/groups/{id}/summary-settings","href":"(whatsapp-lite)-groups/getgroupsummarysettings","openApiOperationId":"getGroupSummarySettings","summary":"Get group AI summary settings"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The group's AI summary settings","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GroupSummarySettings"}},"schemaId":"components/schemas/GroupSummarySettings"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/GroupSummarySettings","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GroupSummarySettings"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/(whatsapp-lite)-groups/getgroupsummarysettings"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/v1/groups/{id}/summary-settings"},{"label":"Save group AI summary settings","deprecated":false,"httpVerb":"put","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/(whatsapp-lite)-groups/savegroupsummarysettings","routeSlug":"/apis/omnichannel/(whatsapp-lite)-groups/savegroupsummarysettings","metadata":{"seo":{"title":"Save group AI summary settings","description":"Switch AI summaries on or off for a group and choose when and where they are sent."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"saveGroupSummarySettings","name":"Save group AI summary settings","isWebhook":false,"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Save group AI summary settings","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Switch AI summaries on or off for a group and choose when and where they are sent."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"How it works."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" When nobody has written in the group for "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"quietMinutes"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", eCommunicate's AI summarises"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"the messages since the last summary (issues raised, how they were resolved, action items) and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"s the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"summary to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"webhookUrl"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". See the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Callbacks"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" section below for the request your API receives."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Summaries start from the moment you switch them on; messages from before that are never summarised."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A conversation with fewer than "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"minMessages"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" messages waits for more; its messages are included in the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"group's next summary. Set "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sendShortAfterHours"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to summarise it anyway once its first message is that"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"many hours old, so a lone announcement isn't held back. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" waits for more messages indefinitely."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"For groups that are rarely quiet, "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"longMode"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" also ends a conversation after "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"longLimit"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" hours since"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"its first unsummarised message ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"MAX_HOURS"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or after "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"longLimit"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" messages ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"MAX_MESSAGES"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Only WhatsApp Lite groups can be summarised. Messages are only stored for groups eCommunicate knows"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"about, so import groups your number was already in before setting this up."},"children":[],"type":"text"}],"type":"item"}],"type":"list"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Saving replaces every setting"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", so send all fields. The one exception is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"webhookApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": leave it"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"out, or send it blank, to keep the saved key. Send "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"removeWebhookApiKey: true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to delete the saved key."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"webhookUrl"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" must be "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"https://"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and reachable on the internet. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"localhost"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and private, loopback and"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"link-local addresses are refused. Switching summaries on requires "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"webhookUrl"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". The "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"webhookApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"optional; without one, summaries are sent with no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"id","in":"path","schemaId":"schema_128","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The group's "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (UUID) from the group list, not its WhatsApp JID."},"children":[],"type":"text"}],"type":"paragraph"}],"required":true}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/GroupSummarySettingsRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/requestBody/content/application~1json/examples/Switch on, plain text","paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/requestBody/content/application~1json/examples/JSON, capped at 4 hours, keep the saved key"]}},"schemaId":"components/schemas/GroupSummarySettingsRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/requestBody/content/application~1json/examples/Switch on, plain text","paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/requestBody/content/application~1json/examples/JSON, capped at 4 hours, keep the saved key"],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"PUT","path":"/payless4messaging-service/WhatsApp/api/v1/groups/{id}/summary-settings","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[{"name":"id","in":"path","required":true,"example":"c0d1e2f3-a4b5-6789-c0d1-e2f3a4b56789","schemaId":"schema_128"}],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/GroupSummarySettingsRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/requestBody/content/application~1json/examples/Switch on, plain text","paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/requestBody/content/application~1json/examples/JSON, capped at 4 hours, keep the saved key"]}},"responseCodes":["200","400","401","403","404"],"pointer":"/payless4messaging-service/WhatsApp/api/v1/groups/{id}/summary-settings","href":"(whatsapp-lite)-groups/savegroupsummarysettings","openApiOperationId":"saveGroupSummarySettings","summary":"Save group AI summary settings"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"schemaId":"components/schemas/GroupSummarySettingsRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/requestBody/content/application~1json/examples/Switch on, plain text","paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/requestBody/content/application~1json/examples/JSON, capped at 4 hours, keep the saved key"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/GroupSummarySettingsRequest","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/requestBody/content/application~1json/examples/Switch on, plain text","paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/requestBody/content/application~1json/examples/JSON, capped at 4 hours, keep the saved key"]}},"examples":[{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"The saved settings","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GroupSummarySettings"}},"schemaId":"components/schemas/GroupSummarySettings"},{"code":"400","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A value is out of range, "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"webhookUrl"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" isn't a public "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"https://"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" address, or summaries were switched on"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"without both an address and a key. The message says which."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_129"}},"schemaId":"schema_129"},{"code":"401","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication failed — the API key sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header is missing,"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invalid, or has been revoked."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Verify your API key before changing anything else."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Check the key currently active"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on your account either in the eCommunicate web UI (API key settings), or by calling"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST /payless4messaging-service/WhatsApp/authenticate/retrieveApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with your"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"account credentials — that endpoint needs no existing key, so it works while every"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"other call is returning "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Compare the result with the value your integration is"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sending: pass the key on its own (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix), trimmed of whitespace, as a"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"36-character UUID."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Do not retry a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"401"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — it will fail identically until the key is corrected. See the"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/guides/authentication#troubleshooting-a-401"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication guide"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}},"schemaId":"schema_0"},{"code":"403","description":"AI summaries aren't switched on for your account. Contact eCommunicate support.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_130"}},"schemaId":"schema_130"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}},"schemaId":"schema_5"}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/GroupSummarySettings","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GroupSummarySettings"}}},{"code":"400","schemaId":"schema_129","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_129"}}},{"code":"401","schemaId":"schema_0","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_0"}}},{"code":"403","schemaId":"schema_130","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_130"}}},{"code":"404","schemaId":"schema_5","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_5"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Callbacks","labelTranslationKey":"callbacks","deepLinkSuffix":"callbacks"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"item-content","variant":"callback","callback":{"httpVerb":"post","pathName":"{$request.body#/webhookUrl}","summary":"Group summary sent to your API","operationId":"receiveGroupSummary","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Sent to your "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"webhookUrl"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" each time a group conversation ends and has been summarised."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authentication."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" If you saved a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"webhookApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header carries it exactly"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"as you typed it (no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bearer"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" prefix is added); reject requests that don't carry it. With no key"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"saved, the header is left out."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Answer with any "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"2xx"},"children":[],"type":"code"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" once you have stored the summary. Anything else, a timeout (10 seconds)"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"or a connection failure is retried after 1, 5 and 30 minutes; after 4 attempts the summary is not"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sent again. Redirects are not followed, so a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"3xx"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" counts as a failure."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Duplicates."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" A retry after a timeout you did process sends the same summary again. Use"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"X-Idempotency-Key"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (equal to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"summaryId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") to ignore it."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Summaries of one group arrive in order, but don't rely on it: sort by "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"windowEnd"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"callbackName":"groupSummary","callbackId":"groupSummary/post","contentChildren":[{"nodeType":"security","requirements":[{"schemes":[{"name":"groupSummaryWebhookKey","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"webhookApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" you saved in a group's AI summary settings, sent as-is when eCommunicate calls your API. Left out when no key is saved."},"children":[],"type":"text"}],"type":"paragraph"}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-Idempotency-Key","in":"header","schemaId":"schema_131","description":"The summary's id. The same value on every retry of one summary.","required":true}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/callbacks/groupSummary/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"isEvent":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/GroupSummaryDelivery","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/callbacks/groupSummary/post/requestBody/content/application~1json/examples/Plain text","paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/callbacks/groupSummary/post/requestBody/content/application~1json/examples/JSON"]}},"schemaId":"components/schemas/GroupSummaryDelivery","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/callbacks/groupSummary/post/requestBody/content/application~1json/examples/Plain text","paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/callbacks/groupSummary/post/requestBody/content/application~1json/examples/JSON"],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/callbacks/groupSummary/post/requestBody"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"2XX","description":"Stored. The summary is not sent again."},{"code":"4XX","description":"Not accepted. Retried, up to 4 attempts in all."},{"code":"5XX","description":"Not accepted. Retried, up to 4 attempts in all."}],"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/callbacks/groupSummary/post/responses"}]},"pointer":"/paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/callbacks"}],"panels":[{"children":[{"kind":"callback-payload","callbackName":"groupSummary/post","path":"{$request.body#/webhookUrl}","httpVerb":"post","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/GroupSummaryDelivery","exampleIds":["paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/callbacks/groupSummary/post/requestBody/content/application~1json/examples/Plain text","paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/callbacks/groupSummary/post/requestBody/content/application~1json/examples/JSON"]}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/(whatsapp-lite)-groups/savegroupsummarysettings"}],"panels":[]}]},"httpPath":"/payless4messaging-service/WhatsApp/api/v1/groups/{id}/summary-settings"}],"content":{"contentType":"group","meta":{"name":"(WhatsApp Lite) Groups"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"(WhatsApp Lite) Groups","showPageActions":true},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Create and manage WhatsApp groups on WhatsApp Lite numbers. Add participants, send group messages, retrieve message history, and generate invite links. Groups are only available on WhatsApp Lite — WhatsApp Cloud does not support group management via API."},"children":[],"type":"text"}],"type":"paragraph"}]}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/payless4messaging-service/WhatsApp/api/v1/groups","summary":"Get all groups","prefix":{"name":"get","color":"get"},"badges":[],"link":"/(whatsapp-lite)-groups/getgroups","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/api/v1/groups","summary":"Create a group","prefix":{"name":"post","color":"post"},"badges":[],"link":"/(whatsapp-lite)-groups/creategroup","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/api/v1/groups/{id}","summary":"Get group by ID","prefix":{"name":"get","color":"get"},"badges":[],"link":"/(whatsapp-lite)-groups/getgroup","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/api/v1/groups/{id}","summary":"Update group","prefix":{"name":"put","color":"put"},"badges":[],"link":"/(whatsapp-lite)-groups/updategroup","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/api/v1/groups/{id}","summary":"Delete group","prefix":{"name":"delete","color":"delete"},"badges":[],"link":"/(whatsapp-lite)-groups/deletegroup","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/api/v1/groups/messages","summary":"Send group message","prefix":{"name":"post","color":"post"},"badges":[],"link":"/(whatsapp-lite)-groups/sendgroupmessage","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/api/v1/groups/{groupId}/messages","summary":"Get group messages","prefix":{"name":"get","color":"get"},"badges":[],"link":"/(whatsapp-lite)-groups/getgroupmessages","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/api/v1/groups/{groupJID}/invite-link","summary":"Get group invite link","prefix":{"name":"get","color":"get"},"badges":[],"link":"/(whatsapp-lite)-groups/getgroupinvitelink","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/api/v1/groups/{id}/summary-settings","summary":"Get group AI summary settings","prefix":{"name":"get","color":"get"},"badges":[],"link":"/(whatsapp-lite)-groups/getgroupsummarysettings","deprecated":false},{"title":"/payless4messaging-service/WhatsApp/api/v1/groups/{id}/summary-settings","summary":"Save group AI summary settings","prefix":{"name":"put","color":"put"},"badges":[],"link":"/(whatsapp-lite)-groups/savegroupsummarysettings","deprecated":false}]}]}]}]}},{"type":"group","label":"(WhatsApp Lite) Contacts","link":"/apis/omnichannel/(whatsapp-lite)-contacts","routeSlug":"/apis/omnichannel/(whatsapp-lite)-contacts","items":[{"label":"Get contacts","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/omnichannel/(whatsapp-lite)-contacts/getcontacts","routeSlug":"/apis/omnichannel/(whatsapp-lite)-contacts/getcontacts","metadata":{"seo":{"title":"Get contacts","description":"Retrieve contacts synced from the connected phone."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getContacts","name":"Get contacts","isWebhook":false,"pointer":"/paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1contacts/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get contacts","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Retrieve contacts synced from the connected phone."},{"nodeType":"security","requirements":[{"schemes":[{"name":"apikeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"Authorization","description":"Developer API key provided by eCommunicate."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"whatsAppNumber","in":"query","schemaId":"schema_123","description":"The WhatsApp Lite phone number to retrieve contacts for.","required":true},{"name":"clientId","in":"query","schemaId":"schema_28","description":"Optional client UUID."}],"pointer":"/paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1contacts/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/whatsapp-api-service/api/whatsapp-go/session/contacts","servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"parameters":{"path":[],"query":[{"name":"whatsAppNumber","in":"query","required":true,"example":"+27665359699","schemaId":"schema_123"},{"name":"clientId","in":"query","example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","schemaId":"schema_28"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"apikeyAuth","type":"apiKey","name":"Authorization","in":"header"}],"scopes":[]}],"responseCodes":["200"],"pointer":"/whatsapp-api-service/api/whatsapp-go/session/contacts","href":"(whatsapp-lite)-contacts/getcontacts","openApiOperationId":"getContacts","summary":"Get contacts"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/omnichannel","description":"Mock server","isMockServer":true},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"List of contacts synced from the connected WhatsApp device","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppGoResponse"}},"schemaId":"components/schemas/WhatsAppGoResponse"}],"pointer":"/paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1contacts/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/WhatsAppGoResponse","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/WhatsAppGoResponse"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/(whatsapp-lite)-contacts/getcontacts"}],"panels":[]}]},"httpPath":"/whatsapp-api-service/api/whatsapp-go/session/contacts"}],"content":{"contentType":"group","meta":{"name":"(WhatsApp Lite) Contacts"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"(WhatsApp Lite) Contacts","showPageActions":true},{"nodeType":"markdoc","content":"Retrieve contacts synced from the phone connected to a WhatsApp Lite session. Returns the contact list stored on the device. Only available for WhatsApp Lite numbers with an active session."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/whatsapp-api-service/api/whatsapp-go/session/contacts","summary":"Get contacts","prefix":{"name":"get","color":"get"},"badges":[],"link":"/(whatsapp-lite)-contacts/getcontacts","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/Client":{"id":"components/schemas/Client","kind":"json-schema","title":"Client","data":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"dbdb8809-6fd0-4cd2-8574-502f0f61a69d","examples":["dbdb8809-6fd0-4cd2-8574-502f0f61a69d"]},"clientRef":{"type":"string","example":"Growthpoint","examples":["Growthpoint"]},"accountType":{"type":"string","example":"Postpaid","examples":["Postpaid"]},"countryCode":{"type":"string","example":"ZA","examples":["ZA"]},"countryTimezone":{"type":"string","example":"Africa/Johannesburg","examples":["Africa/Johannesburg"]},"pricingModel":{"type":"string","example":"PMP","examples":["PMP"]},"clientPlatformCharge":{"type":["number","null"],"example":0.1,"examples":[0.1]},"clientNotificationCharge":{"type":"number","example":0.35,"examples":[0.35]},"clientSession24HourCharge":{"type":"number","example":0.35,"examples":[0.35]},"clientConversationCharge":{"type":"number","example":0.35,"examples":[0.35]},"userInitiatedConversationCharge":{"type":["number","null"],"example":0.2,"examples":[0.2]},"businessInitiatedConversationCharge":{"type":"number","example":1.25,"examples":[1.25]},"clientWhatsAppBalance":{"type":"number","format":"double","example":1000,"examples":[1000]},"clientSMSBalance":{"type":"number","format":"double","example":10,"examples":[10]},"primaryEmailAddress":{"type":["string","null"],"example":"admin@example.com","examples":["admin@example.com"]},"secondaryEmailAddress":{"type":["string","null"],"example":"backup@example.com","examples":["backup@example.com"]},"clientEmailAddress":{"type":["string","null"],"example":"client@example.com","examples":["client@example.com"]},"upperNotificationLimit":{"type":["number","null"],"example":100,"examples":[100]},"lowerNotificationLimit":{"type":["number","null"],"example":10,"examples":[10]},"upperNotificationLimitMailSent":{"type":"boolean","example":false,"examples":[false]},"lowerNotificationLimitMailSent":{"type":"boolean","example":false,"examples":[false]},"zeroBalanceNotificationMailSent":{"type":"boolean","example":false,"examples":[false]},"lastUpperNotificationMailSentTime":{"type":["string","null"],"format":"date-time","example":"2026-01-15T10:30:00+02:00","examples":["2026-01-15T10:30:00+02:00"]},"lastLowerNotificationMailSentTime":{"type":["string","null"],"format":"date-time","example":"2026-01-20T14:00:00+02:00","examples":["2026-01-20T14:00:00+02:00"]},"lastZeroBalanceNotificationMailSentTime":{"type":["string","null"],"format":"date-time","example":null,"examples":[null]},"smsMode":{"type":"string","example":"fallback","examples":["fallback"]},"smsFallback":{"type":"boolean","example":true,"examples":[true]},"smsUserId":{"type":"string","example":"support@ecommunicate.co.za","examples":["support@ecommunicate.co.za"]},"smsPassword":{"type":"string","example":"********","examples":["********"]},"smsClientRef":{"type":"string","example":"ecomtest1","examples":["ecomtest1"]},"reseller":{"type":"boolean","example":false,"examples":[false]},"parentClient":{"type":["object","null"],"example":null,"examples":[null]},"license":{"type":["object","null"],"example":null,"examples":[null]},"useParentNumber":{"type":"boolean","example":false,"examples":[false]},"useParentCredit":{"type":"boolean","example":false,"examples":[false]},"userInitiatedConversationBalance":{"type":"number","example":100,"examples":[100]},"businessInitiatedConversationBalance":{"type":"number","example":973,"examples":[973]},"popiaComplianceEnabled":{"type":"boolean","example":true,"examples":[true]},"eligible1000Free":{"type":"boolean","example":true,"examples":[true]},"splitConversation":{"type":"boolean","example":true,"examples":[true]},"monthlyFundAllocation":{"type":"boolean","example":true,"examples":[true]},"monthlyBusinessInitiatedBalanceAllocation":{"type":"number","example":1000,"examples":[1000]},"monthlyUserInitiatedBalanceAllocation":{"type":"number","example":100,"examples":[100]},"useApi":{"type":"boolean","example":true,"examples":[true]},"headerKeyPairsJson":{"type":"string","description":"JSON array of key-value header pairs.","example":"[{\"key\": \"Authorization\", \"value\": \"your-api-key\"}]","examples":["[{\"key\": \"Authorization\", \"value\": \"your-api-key\"}]"]}}}},"components/schemas/ClientDTO":{"id":"components/schemas/ClientDTO","kind":"json-schema","title":"ClientDTO","data":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"dbdb8809-6fd0-4cd2-8574-502f0f61a69d","examples":["dbdb8809-6fd0-4cd2-8574-502f0f61a69d"]},"clientRef":{"type":"string","example":"Growthpoint","examples":["Growthpoint"]},"accountType":{"type":"string","example":"Postpaid","examples":["Postpaid"]},"countryCode":{"type":"string","example":"ZA","examples":["ZA"]},"countryTimezone":{"type":"string","example":"Africa/Johannesburg","examples":["Africa/Johannesburg"]},"pricingModel":{"type":"string","example":"PMP","examples":["PMP"]},"clientPlatformCharge":{"type":["number","null"],"example":0.1,"examples":[0.1]},"clientNotificationCharge":{"type":"number","example":0.35,"examples":[0.35]},"clientSession24HourCharge":{"type":"number","example":0.35,"examples":[0.35]},"clientConversationCharge":{"type":"number","example":0.35,"examples":[0.35]},"userInitiatedConversationCharge":{"type":["number","null"],"example":0.2,"examples":[0.2]},"businessInitiatedConversationCharge":{"type":"number","example":1.25,"examples":[1.25]},"clientWhatsAppBalance":{"type":"number","format":"double","example":1000,"examples":[1000]},"clientSMSBalance":{"type":"number","format":"double","example":10,"examples":[10]},"primaryEmailAddress":{"type":["string","null"],"example":"admin@example.com","examples":["admin@example.com"]},"secondaryEmailAddress":{"type":["string","null"],"example":"backup@example.com","examples":["backup@example.com"]},"clientEmailAddress":{"type":["string","null"],"example":"client@example.com","examples":["client@example.com"]},"upperNotificationLimit":{"type":["number","null"],"example":100,"examples":[100]},"lowerNotificationLimit":{"type":["number","null"],"example":10,"examples":[10]},"upperNotificationLimitMailSent":{"type":"boolean","example":false,"examples":[false]},"lowerNotificationLimitMailSent":{"type":"boolean","example":false,"examples":[false]},"zeroBalanceNotificationMailSent":{"type":"boolean","example":false,"examples":[false]},"lastUpperNotificationMailSentTime":{"type":["string","null"],"format":"date-time","example":"2026-01-15T10:30:00+02:00","examples":["2026-01-15T10:30:00+02:00"]},"lastLowerNotificationMailSentTime":{"type":["string","null"],"format":"date-time","example":"2026-01-20T14:00:00+02:00","examples":["2026-01-20T14:00:00+02:00"]},"lastZeroBalanceNotificationMailSentTime":{"type":["string","null"],"format":"date-time","example":null,"examples":[null]},"smsMode":{"type":"string","example":"fallback","examples":["fallback"]},"smsFallback":{"type":"boolean","example":true,"examples":[true]},"smsUserId":{"type":"string","example":"support@ecommunicate.co.za","examples":["support@ecommunicate.co.za"]},"smsPassword":{"type":"string","example":"********","examples":["********"]},"smsClientRef":{"type":"string","example":"ecomtest1","examples":["ecomtest1"]},"reseller":{"type":"boolean","example":false,"examples":[false]},"parentClient":{"type":["object","null"],"example":null,"examples":[null]},"license":{"type":["object","null"],"example":null,"examples":[null]},"useParentNumber":{"type":"boolean","example":false,"examples":[false]},"useParentCredit":{"type":"boolean","example":false,"examples":[false]},"userInitiatedConversationBalance":{"type":"number","example":100,"examples":[100]},"businessInitiatedConversationBalance":{"type":"number","example":973,"examples":[973]},"popiaComplianceEnabled":{"type":"boolean","example":true,"examples":[true]},"eligible1000Free":{"type":"boolean","example":true,"examples":[true]},"splitConversation":{"type":"boolean","example":true,"examples":[true]},"monthlyFundAllocation":{"type":"boolean","example":true,"examples":[true]},"monthlyBusinessInitiatedBalanceAllocation":{"type":"number","example":1000,"examples":[1000]},"monthlyUserInitiatedBalanceAllocation":{"type":"number","example":100,"examples":[100]},"useApi":{"type":"boolean","example":true,"examples":[true]},"headerKeyPairsJson":{"type":"string","description":"JSON array of key-value header pairs.","example":"[{\"key\": \"Authorization\", \"value\": \"your-api-key\"}]","examples":["[{\"key\": \"Authorization\", \"value\": \"your-api-key\"}]"]}}}},"components/schemas/CreateChildClientReq":{"id":"components/schemas/CreateChildClientReq","kind":"json-schema","title":"CreateChildClientReq","data":{"type":"object","required":["clientRef","parentClientRef"],"properties":{"clientRef":{"type":"string","example":"MyChildClient","examples":["MyChildClient"]},"parentClientRef":{"type":"string","example":"ParentClient","examples":["ParentClient"]},"countryCode":{"type":"string","example":"ZA","examples":["ZA"]},"countryTimezone":{"type":"string","example":"Africa/Johannesburg","examples":["Africa/Johannesburg"]}}}},"components/schemas/ClientResponse":{"id":"components/schemas/ClientResponse","kind":"json-schema","title":"ClientResponse","data":{"type":"object","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Credential-free view of a client, returned by the v1 client endpoints. The SMS gateway password is never included, and the parent is flattened to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"parentClientRef"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" rather than nested, so a child's payload does not carry the parent's balances."},"children":[],"type":"text"}],"type":"paragraph"}],"properties":{"id":{"type":"string","format":"uuid","example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","examples":["a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890"]},"clientRef":{"type":"string","description":"Groups your records under a business entity. Can be renamed by an administrator, so treat it as a label rather than a durable key.","example":"Growthpoint","examples":["Growthpoint"]},"displayName":{"type":"string","description":"Trading name shown to your own customers. Falls back to the client reference when unset.","example":"Growthpoint Therapies Inc","examples":["Growthpoint Therapies Inc"]},"accountType":{"type":"string","example":"Prepaid","examples":["Prepaid"]},"pricingModel":{"type":"string","example":"META_PMP","examples":["META_PMP"]},"clientWhatsAppBalance":{"type":"number","format":"double","example":16112.95,"examples":[16112.95]},"userInitiatedConversationBalance":{"type":"number","format":"double","example":20,"examples":[20]},"businessInitiatedConversationBalance":{"type":"number","format":"double","example":20,"examples":[20]},"clientSMSBalance":{"type":"number","format":"double","example":50.34,"examples":[50.34]},"primaryEmailAddress":{"type":"string","example":"ops@example.com","examples":["ops@example.com"]},"secondaryEmailAddress":{"type":"string","example":"finance@example.com","examples":["finance@example.com"]},"clientEmailAddress":{"type":"string","example":"support@acme.example","examples":["support@acme.example"]},"upperNotificationLimit":{"type":"number","format":"double","example":1000,"examples":[1000]},"lowerNotificationLimit":{"type":"number","format":"double","example":100,"examples":[100]},"countryCode":{"type":"string","example":"ZA","examples":["ZA"]},"countryTimezone":{"type":"string","example":"Africa/Johannesburg","examples":["Africa/Johannesburg"]},"parentClientRef":{"type":"string","description":"The parent's client reference, or absent for a top-level client.","example":"Growthpoint","examples":["Growthpoint"]},"reseller":{"type":"boolean","example":false,"examples":[false]},"useParentNumber":{"type":"boolean","example":false,"examples":[false]},"useParentCredit":{"type":"boolean","example":false,"examples":[false]},"popiaComplianceEnabled":{"type":"boolean","example":true,"examples":[true]},"eligible1000Free":{"type":"boolean","example":false,"examples":[false]},"splitConversation":{"type":"boolean","example":false,"examples":[false]},"useApi":{"type":"boolean","example":true,"examples":[true]},"monthlyFundAllocation":{"type":"boolean","example":false,"examples":[false]},"monthlyBusinessInitiatedBalanceAllocation":{"type":"integer","example":0,"examples":[0]},"monthlyUserInitiatedBalanceAllocation":{"type":"integer","example":0,"examples":[0]},"smsMode":{"type":"string","example":"fallback","examples":["fallback"]},"smsFallback":{"type":"boolean","example":true,"examples":[true]},"smsUserId":{"type":"string","description":"The SMS gateway username. The password is never returned.","example":"support@ecommunicate.co.za","examples":["support@ecommunicate.co.za"]},"smsClientRef":{"type":"string","example":"ecomtest1","examples":["ecomtest1"]},"license":{"$ref":"#/components/schemas/ClientLicenseResponse"}}}},"components/schemas/ClientLicenseResponse":{"id":"components/schemas/ClientLicenseResponse","kind":"json-schema","title":"ClientLicenseResponse","data":{"type":"object","description":"Licence counts recorded against the client.","properties":{"totalLicenseAllocated":{"type":"integer","format":"int64","example":10,"examples":[10]},"licensesUnallocated":{"type":"integer","format":"int64","example":4,"examples":[4]},"licensesUsed":{"type":"integer","format":"int64","example":6,"examples":[6]}}}},"components/schemas/CreateChildClientRequest":{"id":"components/schemas/CreateChildClientRequest","kind":"json-schema","title":"CreateChildClientRequest","data":{"type":"object","description":"Anything left blank is inherited from the parent named in the path.","required":["clientRef"],"properties":{"clientRef":{"type":"string","example":"MyChildClient","examples":["MyChildClient"]},"displayName":{"type":"string","example":"My Child Client","examples":["My Child Client"]},"accountType":{"type":"string","example":"Prepaid","examples":["Prepaid"]},"pricingModel":{"type":"string","example":"META_PMP","examples":["META_PMP"]},"countryCode":{"type":"string","example":"ZA","examples":["ZA"]},"countryTimezone":{"type":"string","example":"Africa/Johannesburg","examples":["Africa/Johannesburg"]},"clientWhatsAppBalance":{"type":"number","format":"double","example":0,"examples":[0]},"userInitiatedConversationBalance":{"type":"number","format":"double","example":0,"examples":[0]},"businessInitiatedConversationBalance":{"type":"number","format":"double","example":0,"examples":[0]}}}},"components/schemas/UpdateSmsFallbackRequest":{"id":"components/schemas/UpdateSmsFallbackRequest","kind":"json-schema","title":"UpdateSmsFallbackRequest","data":{"type":"object","properties":{"smsMode":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"disabled"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"fallback"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"direct"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"fallback","examples":["fallback"]},"smsFallback":{"type":"boolean","example":true,"examples":[true]},"smsUserId":{"type":"string","example":"support@ecommunicate.co.za","examples":["support@ecommunicate.co.za"]},"smsPassword":{"type":"string","description":"Write-only. Omit or leave blank to keep the stored password; supply a value only to change it.","example":"********","examples":["********"]},"smsClientRef":{"type":"string","example":"ecomtest1","examples":["ecomtest1"]}}}},"components/schemas/UpdatePopiaComplianceRequest":{"id":"components/schemas/UpdatePopiaComplianceRequest","kind":"json-schema","title":"UpdatePopiaComplianceRequest","data":{"type":"object","required":["popiaComplianceEnabled"],"properties":{"popiaComplianceEnabled":{"type":"boolean","example":true,"examples":[true]}}}},"components/schemas/WhatsAppClientNumberResponse":{"id":"components/schemas/WhatsAppClientNumberResponse","kind":"json-schema","title":"WhatsAppClientNumberResponse","data":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","examples":["a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890"]},"whatsAppNumber":{"$ref":"#/components/schemas/WhatsAppNumber"},"incomingMessageURL":{"type":"string","example":"https://yourserver.com/incoming","examples":["https://yourserver.com/incoming"]},"statusUpdateURL":{"type":"string","example":"https://yourserver.com/status","examples":["https://yourserver.com/status"]},"useChatBot":{"type":"boolean","example":false,"examples":[false]},"useLiveChat":{"type":"boolean","example":true,"examples":[true]},"chatbotId":{"type":"string","example":"bot-001","examples":["bot-001"]},"clientDefaultNumber":{"type":"boolean","example":true,"examples":[true]},"clientConfig":{"$ref":"#/components/schemas/Client"}}}},"components/schemas/RegisterWLNumberRequest":{"id":"components/schemas/RegisterWLNumberRequest","kind":"json-schema","title":"RegisterWLNumberRequest","data":{"type":"object","required":["number"],"properties":{"number":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Phone number in E.164 format. A leading '+' is added if omitted."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"+27123456789","examples":["+27123456789"]},"hostingType":{"type":"string","enum":["WHATSAPP_GO","WHATSAPP_JS"],"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Hosting platform for the WL number. Defaults to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"WHATSAPP_GO"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" when omitted."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"WHATSAPP_GO","examples":["WHATSAPP_GO"]}}}},"components/schemas/WhatsAppNumber":{"id":"components/schemas/WhatsAppNumber","kind":"json-schema","title":"WhatsAppNumber","data":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","examples":["a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890"]},"number":{"type":"string","example":"+27123456789","examples":["+27123456789"]},"whatsAppProvider":{"type":"string","enum":["DLG","WL","KX","TW"],"example":"DLG","examples":["DLG"]},"sandbox":{"type":"boolean","example":false,"examples":[false]},"sandboxType":{"type":"string","enum":["CONVERSATION","INTERACTION"],"example":"CONVERSATION","examples":["CONVERSATION"]},"apiKey":{"type":"string","example":"your-api-key","examples":["your-api-key"]},"dlgBaseURL":{"type":"string","format":"uri","example":"https://api.dlgprovider.com","examples":["https://api.dlgprovider.com"]},"dlgMessageURL":{"type":"string","format":"uri","example":"https://api.dlgprovider.com/message","examples":["https://api.dlgprovider.com/message"]},"dlgMediaURL":{"type":"string","format":"uri","example":"https://api.dlgprovider.com/media","examples":["https://api.dlgprovider.com/media"]},"dlgTemplateURL":{"type":"string","format":"uri","example":"https://api.dlgprovider.com/template","examples":["https://api.dlgprovider.com/template"]},"dlgContactURL":{"type":"string","format":"uri","example":"https://api.dlgprovider.com/contact","examples":["https://api.dlgprovider.com/contact"]},"dlgMMLURL":{"type":"string","format":"uri","example":"https://api.dlgprovider.com/mml","examples":["https://api.dlgprovider.com/mml"]},"hostingType":{"type":"string","enum":["ON_PREMISE","CLOUD_API","WHATSAPP_JS","WHATSAPP_GO"],"example":"CLOUD_API","examples":["CLOUD_API"]},"apiSecret":{"type":"string","example":"your-api-secret","examples":["your-api-secret"]},"billingModel":{"type":"string","enum":["mau","message"],"example":"mau","examples":["mau"]},"namespace":{"type":"string","example":"whatsapp:biz:123456","examples":["whatsapp:biz:123456"]},"messagingServiceSid":{"type":"string","example":"MGXXXXXXXXXXXXXXXXXXXXXXXXXXXX","examples":["MGXXXXXXXXXXXXXXXXXXXXXXXXXXXX"]},"wabaId":{"type":"string","example":"123456789012345","examples":["123456789012345"]},"error":{"type":"string","example":"INVALID_TOKEN","examples":["INVALID_TOKEN"]},"detail":{"type":"string","example":"The provided API token is invalid.","examples":["The provided API token is invalid."]},"qualityRating":{"type":"string","enum":["High","Medium","Low"],"example":"High","examples":["High"]},"messagingLimitTier":{"type":"string","enum":["TIER_1K","TIER_10K","TIER_100K"],"example":"TIER_10K","examples":["TIER_10K"]},"messagingLimitValue":{"type":"integer","format":"int32","example":10000,"examples":[10000]},"channelStatus":{"type":"string","example":"READY","examples":["READY"]},"lastQualityUpdateTime":{"type":"string","format":"date-time","example":"2026-02-25T10:15:30Z","examples":["2026-02-25T10:15:30Z"]}}}},"components/schemas/WhatsAppClientWebHookRequest":{"id":"components/schemas/WhatsAppClientWebHookRequest","kind":"json-schema","title":"WhatsAppClientWebHookRequest","data":{"type":"object","properties":{"whatsAppNumberId":{"type":["string","null"],"format":"uuid","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Optional. When set, creates a per-number override for the given "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"WhatsAppNumbers.id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"; the number must be linked to the caller's client. When omitted or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", creates/updates the client default. Ignored on "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"PUT"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (scope is locked once created — delete and recreate to change scope)."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Don't know the id?"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Call "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /payless4messaging-service/WhatsApp/WhatsAppClientNumbers/getForCurrentLoginUser"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to list your numbers — pass "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"?searchString=27123456789"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (or any partial MSISDN) to jump straight to the row you want. The endpoint returns "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"WhatsAppClientNumberResponse"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" rows; the value to send here is the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"nested"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"whatsAppNumber.id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"WhatsAppNumbers"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" UUID), "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"not"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" the top-level "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" on the response row (which is the client–number link id)."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"f1e2d3c4-b5a6-9870-fedc-ba9876543210","examples":["f1e2d3c4-b5a6-9870-fedc-ba9876543210"]},"incomingMessageURL":{"type":["string","null"],"description":"URL to receive incoming messages from customers. Set to empty string to remove.","example":"https://yourserver.com/webhooks/incoming","examples":["https://yourserver.com/webhooks/incoming"]},"statusUpdateURL":{"type":["string","null"],"description":"URL to receive delivery status updates (sent, delivered, read, failed). Set to empty string to remove.","example":"https://yourserver.com/webhooks/status","examples":["https://yourserver.com/webhooks/status"]},"sessionStatusURL":{"type":["string","null"],"description":"URL to receive session status changes (WhatsApp Lite only). Set to empty string to remove.","example":"https://yourserver.com/webhooks/session","examples":["https://yourserver.com/webhooks/session"]},"eventWebhookURL":{"type":["string","null"],"description":"URL to receive partner events: user preferences, template status changes, and quality updates. Set to empty string to remove.","example":"https://yourserver.com/webhooks/events","examples":["https://yourserver.com/webhooks/events"]},"chatbotWebhookURL":{"type":["string","null"],"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"URL to receive chatbot conversation events with chat participant context (participant id, conversation status, agent assignment). Coexists with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"incomingMessageURL"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Set to empty string to remove."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"https://yourserver.com/webhooks/chatbot","examples":["https://yourserver.com/webhooks/chatbot"]},"chatbotIncludeOutgoing":{"type":"boolean","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", also emit chatbot webhook events for outgoing bot widget replies. Defaults to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"false"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (incoming customer messages only)."},"children":[],"type":"text"}],"type":"paragraph"}],"example":false,"examples":[false]},"chatbotStopOnAgentAssignment":{"type":"boolean","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"When "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", stop emitting chatbot webhook events once a chat participant is assigned to a human agent. Defaults to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"false"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (continue emitting regardless of assignment)."},"children":[],"type":"text"}],"type":"paragraph"}],"example":true,"examples":[true]},"chatbotPayloadVersion":{"type":["string","null"],"enum":[null,"v1","v2"],"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Chatbot webhook payload shape. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"v1"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (default; also when omitted or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") sends the flat chatbot event fields only. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"v2"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is a strict superset of "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"v1"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — the same flat fields plus the nested "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"chatParticipant"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" object (full chat participant record, including its currently "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"assignedTo"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") and three additional flat team fields: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"teamId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"teamName"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"routedToAnotherTeam"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (emitted on assignment events; "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" when the assignment moved the chat to a different team). "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"v2"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" also carries the customer's alpha-username fields — "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"senderUserId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"/"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"recipientUserId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (the durable BSUID) and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"username"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (display only), and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"voice"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" on an incoming voice note), and sends ended WhatsApp calls as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"call"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" events carrying a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"call"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" object. Reversible at any time with another "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"PUT"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Deprecation:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"v1"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is on a deprecation path. The default will switch from "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"v1"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"v2"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"chatbotPayloadVersion"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" field itself will be removed once the migration completes. New integrations should set "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"\"v2\""},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" explicitly so they aren't affected when the default flips."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Replying from a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"v2"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" webhook:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Because the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"v2"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" payload already carries the full "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"chatParticipant"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" record (with the agent nested as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"chatParticipant.assignedTo"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"), a real-time reply takes a single call to the live-chat send API — no follow-up "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is needed to assemble the request body. Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/sendagentmessagewhatsapp"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"sendAgentMessageWhatsapp"},"children":[],"type":"code"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for text replies and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"https://ecommunicate-api-docs.redocly.app/apis/omnichannel/live-chat/sendagentmessagewithattachment"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"sendAgentMessageWithAttachment"},"children":[],"type":"code"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for media replies — only one of the two is needed per reply, picked by message type."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Security:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"v2"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"chatParticipant.assignedTo"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" carries the agent's credential fields ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"password"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"apiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"loginToken"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"passwordResetKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"emailVerificationKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"applicationKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). Treat receiving endpoints as a sensitive credential store. See the Webhooks guide for guidance."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"v2","examples":["v2"]}}}},"components/schemas/WhatsAppClientWebHook":{"id":"components/schemas/WhatsAppClientWebHook","kind":"json-schema","title":"WhatsAppClientWebHook","data":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","examples":["a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890"]},"client":{"$ref":"#/components/schemas/Client"},"whatsAppNumberId":{"type":["string","null"],"format":"uuid","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Set when this row is a per-number override; "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for the client default."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"f1e2d3c4-b5a6-9870-fedc-ba9876543210","examples":["f1e2d3c4-b5a6-9870-fedc-ba9876543210"]},"whatsAppNumberMsisdn":{"type":["string","null"],"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Read-only convenience field — the MSISDN of the number this override applies to. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for the client default."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"+27123456789","examples":["+27123456789"]},"incomingMessageURL":{"type":"string","example":"https://yourserver.com/webhooks/incoming","examples":["https://yourserver.com/webhooks/incoming"]},"statusUpdateURL":{"type":"string","example":"https://yourserver.com/webhooks/status","examples":["https://yourserver.com/webhooks/status"]},"sessionStatusURL":{"type":"string","example":"https://yourserver.com/webhooks/session","examples":["https://yourserver.com/webhooks/session"]},"eventWebhookURL":{"type":"string","example":"https://yourserver.com/webhooks/events","examples":["https://yourserver.com/webhooks/events"]},"chatbotWebhookURL":{"type":"string","example":"https://yourserver.com/webhooks/chatbot","examples":["https://yourserver.com/webhooks/chatbot"]},"chatbotIncludeOutgoing":{"type":"boolean","example":false,"examples":[false]},"chatbotStopOnAgentAssignment":{"type":"boolean","example":true,"examples":[true]},"chatbotPayloadVersion":{"type":["string","null"],"enum":[null,"v1","v2"],"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Chatbot webhook payload shape. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"null"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"/"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"v1"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" sends the flat payload; "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"v2"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" adds the nested "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"chatParticipant"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" object (with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"chatParticipant.assignedTo"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") plus three flat team fields ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"teamId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"teamName"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"routedToAnotherTeam"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") and the customer alpha-username fields ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"senderUserId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"/"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"recipientUserId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" BSUID, "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"username"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"voice"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" on an incoming voice note), and sends ended WhatsApp calls as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"call"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" events carrying a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"call"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" object. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"v1"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is deprecated — the default will switch to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"v2"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and this field will be removed in a future release."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"v2","examples":["v2"]}}}},"components/schemas/WhatsAppClientWebHookPage":{"id":"components/schemas/WhatsAppClientWebHookPage","kind":"json-schema","title":"WhatsAppClientWebHookPage","data":{"type":"object","description":"Paginated list of webhook configurations for the authenticated user's client. The client default (if set) is always sorted first, followed by per-number overrides ordered by MSISDN.","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/WhatsAppClientWebHook"}},"totalElements":{"type":"integer","format":"int64","example":2,"examples":[2]},"totalPages":{"type":"integer","format":"int32","example":1,"examples":[1]},"number":{"type":"integer","format":"int32","description":"Zero-based current page number.","example":0,"examples":[0]},"size":{"type":"integer","format":"int32","description":"Page size requested.","example":10,"examples":[10]},"first":{"type":"boolean","example":true,"examples":[true]},"last":{"type":"boolean","example":true,"examples":[true]},"numberOfElements":{"type":"integer","format":"int32","example":2,"examples":[2]},"empty":{"type":"boolean","example":false,"examples":[false]}}}},"components/schemas/UnifiedMessageRequest":{"id":"components/schemas/UnifiedMessageRequest","kind":"json-schema","title":"UnifiedMessageRequest","data":{"type":"object","required":["channel","payload"],"properties":{"channel":{"type":"string","enum":["WHATSAPP","SMS"],"example":"WHATSAPP","examples":["WHATSAPP"]},"payload":{"anyOf":[{"$ref":"#/components/schemas/ECommMessageRequestV2"},{"$ref":"#/components/schemas/SMSRequest"}]}}}},"components/schemas/UnifiedMessageResponse":{"id":"components/schemas/UnifiedMessageResponse","kind":"json-schema","title":"UnifiedMessageResponse","data":{"type":"object","properties":{"status":{"type":"string","enum":["ACCEPTED","PARTIAL","FAILED"],"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"ACCEPTED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" when every recipient was accepted; "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"PARTIAL"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" when some were rejected (see "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"rejectedRecipients"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"ACCEPTED","examples":["ACCEPTED"]},"message":{"type":"string","example":"WhatsApp message(s) accepted","examples":["WhatsApp message(s) accepted"]},"requestId":{"type":"string","format":"uuid","example":"c3a1f8e2-4b6d-11ee-be56-0242ac120002","examples":["c3a1f8e2-4b6d-11ee-be56-0242ac120002"]},"channel":{"type":"string","enum":["WHATSAPP","SMS"],"example":"WHATSAPP","examples":["WHATSAPP"]},"timestamp":{"type":"string","format":"date-time","example":"2026-01-15T10:30:00Z","examples":["2026-01-15T10:30:00Z"]},"response":{"type":"string","example":"Request Accepted for Processing","examples":["Request Accepted for Processing"]},"acceptedCount":{"type":"integer","description":"Number of recipients accepted (WhatsApp sends). Always present for WhatsApp.","example":2,"examples":[2]},"rejectedCount":{"type":"integer","description":"Number of recipients rejected (WhatsApp sends). Always present for WhatsApp.","example":1,"examples":[1]},"rejectedRecipients":{"type":"array","description":"Rejected recipients with reasons (WhatsApp sends). Empty when all were accepted.","items":{"$ref":"#/components/schemas/RejectedRecipient"}},"reqObject":{"$ref":"#/components/schemas/ECommMessageRequestV2"},"smsGatewayResponse":{"$ref":"#/components/schemas/SMSGatewayResponse"}}}},"components/schemas/ECommMessageRequestV2":{"id":"components/schemas/ECommMessageRequestV2","kind":"json-schema","title":"ECommMessageRequestV2","data":{"type":"object","required":["sender","messages"],"properties":{"sender":{"type":"string","example":"+1234567890","examples":["+1234567890"]},"mmlTemplate":{"type":"boolean","default":false,"example":false,"examples":[false]},"templateId":{"type":"string","format":"uuid","example":"a7e3c1d0-5f8b-4a2e-9c1d-3b4e5f6a7b8c","examples":["a7e3c1d0-5f8b-4a2e-9c1d-3b4e5f6a7b8c"]},"templateName":{"type":"string","example":"marketing_promo_01","examples":["marketing_promo_01"]},"messageType":{"type":"string","enum":["NOTIFICATION","CHAT"],"default":"NOTIFICATION","example":"NOTIFICATION","examples":["NOTIFICATION"]},"messages":{"type":"array","items":{"$ref":"#/components/schemas/ECommMessageV2"}},"fallback":{"$ref":"#/components/schemas/Fallback"},"allowDuplicates":{"type":"boolean","default":false,"example":false,"examples":[false]}}}},"components/schemas/Fallback":{"id":"components/schemas/Fallback","kind":"json-schema","title":"Fallback","data":{"type":"object","required":["sendFallback"],"properties":{"sendFallback":{"type":"boolean","description":"Enable SMS fallback if recipient is not on WhatsApp.","example":true,"examples":[true]},"text":{"type":"string","description":"Custom SMS text. If omitted, uses resolved WhatsApp template text.","example":"Hi, this is a fallback SMS message.","examples":["Hi, this is a fallback SMS message."]},"unicode":{"type":"boolean","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"false"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" = GSM 7-bit (160 chars). "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" = Unicode (70 chars)."},"children":[],"type":"text"}],"type":"paragraph"}],"default":false,"example":false,"examples":[false]}}}},"components/schemas/ECommMessageV2":{"id":"components/schemas/ECommMessageV2","kind":"json-schema","title":"ECommMessageV2","data":{"type":"object","required":["recipients"],"properties":{"recipients":{"type":"array","items":{"type":"object","anyOf":[{"required":["to"]},{"required":["customerUserId"]}],"properties":{"to":{"type":"string","pattern":"^\\+?[1-9][0-9]{6,14}$","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Recipient phone number in international format: country code followed by the subscriber number, with an optional leading "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"+"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The number must "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"not"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" start with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"0"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — replace the local trunk prefix with the country code. For example, the South African number "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"082 123 4567"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" must be sent as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"+27821234567"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"27821234567"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", never "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"0821234567"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". The same rule applies to every country (e.g. UK "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"+447911123456"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", not "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"07911123456"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"+27821234567","examples":["+27821234567"]},"ctId":{"type":"string","example":"a1b2c3d4-e5f6-7890","examples":["a1b2c3d4-e5f6-7890"]},"gstId":{"type":"string","example":"gst-ref-001","examples":["gst-ref-001"]},"customerUserId":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Recipient's durable business-scoped user id ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"BSUID"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", alpha usernames), e.g. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ZA.1021033720668862"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Supply it "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"alongside "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"to"},"children":[],"type":"code"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (the phone takes precedence; the BSUID rides along as a durable fallback) "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"or on its own"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to address a recipient with no phone number. Validated against the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"^[A-Z]{2}\\.[0-9]+$"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" format — a malformed value is ignored (the send then requires a valid "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"to"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"ZA.1021033720668862","examples":["ZA.1021033720668862"]}}}},"components":{"type":"array","description":"For TEMPLATE messages. Leave empty for CHAT.","items":{"oneOf":[{"$ref":"#/components/schemas/MsgComponentHeader"},{"$ref":"#/components/schemas/MsgComponentBody"},{"$ref":"#/components/schemas/MsgComponentButton"},{"$ref":"#/components/schemas/MsgComponentCarousel"}]}},"messageText":{"type":"string","description":"Required for CHAT messages.","example":"Hello, how can I help you?","examples":["Hello, how can I help you?"]},"media":{"$ref":"#/components/schemas/Media"}}}},"components/schemas/MsgComponentHeader":{"id":"components/schemas/MsgComponentHeader","kind":"json-schema","title":"MsgComponentHeader","data":{"type":"object","oneOf":[{"$ref":"#/components/schemas/MsgComponentHeaderText"},{"$ref":"#/components/schemas/MsgComponentHeaderMedia"}]}},"components/schemas/MsgComponentHeaderText":{"id":"components/schemas/MsgComponentHeaderText","kind":"json-schema","title":"MsgComponentHeaderText","data":{"type":"object","required":["type","format"],"properties":{"type":{"type":"string","enum":["header"],"example":"header","examples":["header"]},"format":{"type":"string","enum":["TEXT"],"example":"TEXT","examples":["TEXT"]},"parameters":{"type":"array","items":{"type":"string"}}}}},"components/schemas/MsgComponentHeaderMedia":{"id":"components/schemas/MsgComponentHeaderMedia","kind":"json-schema","title":"MsgComponentHeaderMedia","data":{"type":"object","required":["type","format","url"],"properties":{"type":{"type":"string","enum":["header"],"example":"header","examples":["header"]},"format":{"type":"string","enum":["DOCUMENT","IMAGE","VIDEO"],"example":"DOCUMENT","examples":["DOCUMENT"]},"url":{"type":"string","format":"uri","example":"https://example.com/files/brochure.pdf","examples":["https://example.com/files/brochure.pdf"]},"filename":{"type":"string","example":"brochure.pdf","examples":["brochure.pdf"]}}}},"components/schemas/MsgComponentBody":{"id":"components/schemas/MsgComponentBody","kind":"json-schema","title":"MsgComponentBody","data":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["body"],"example":"body","examples":["body"]},"parameters":{"type":"array","items":{"type":"string"}}}}},"components/schemas/MsgComponentButton":{"id":"components/schemas/MsgComponentButton","kind":"json-schema","title":"MsgComponentButton","data":{"type":"object","required":["type","parameters"],"properties":{"type":{"type":"string","enum":["button"],"example":"button","examples":["button"]},"parameters":{"type":"array","items":{"type":"string"}},"conversationParameters":{"type":"array","items":{"type":"object","properties":{"payload":{"type":"string","example":"btn_confirm_order","examples":["btn_confirm_order"]},"conversationState":{"type":"string","example":"AWAITING_CONFIRMATION","examples":["AWAITING_CONFIRMATION"]}}}}}}},"components/schemas/MsgComponentCarousel":{"id":"components/schemas/MsgComponentCarousel","kind":"json-schema","title":"MsgComponentCarousel","data":{"type":"object","required":["type","cards"],"properties":{"type":{"type":"string","enum":["carousel"],"example":"carousel","examples":["carousel"]},"cards":{"type":"array","items":{"type":"object","properties":{"components":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/MsgComponentHeader"},{"$ref":"#/components/schemas/MsgComponentBody"},{"$ref":"#/components/schemas/MsgComponentButton"}]}}}}}}}},"components/schemas/Media":{"id":"components/schemas/Media","kind":"json-schema","title":"Media","data":{"type":"object","required":["url"],"description":"For CHAT messages only. Attach files, images, or videos.","properties":{"url":{"type":"string","format":"uri","example":"https://example.com/files/invoice.pdf","examples":["https://example.com/files/invoice.pdf"]},"caption":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Filename only (e.g. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"invoice.pdf"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"invoice.pdf","examples":["invoice.pdf"]}}}},"components/schemas/TypingIndicatorRequest":{"id":"components/schemas/TypingIndicatorRequest","kind":"json-schema","title":"TypingIndicatorRequest","data":{"type":"object","required":["senderNumber","recipientNumber"],"properties":{"senderNumber":{"type":"string","example":"+1234567890","examples":["+1234567890"]},"recipientNumber":{"type":"string","example":"+9876543210","examples":["+9876543210"]},"messageId":{"type":["string","null"],"description":"The ID of the last message received from the recipient. Required when using the Meta Cloud API to identify the conversation context. Can be omitted for WhatsApp Lite.","example":"wamid.HBgNMjc4MjEyMzQ1Njc4FQIAEhgg","examples":["wamid.HBgNMjc4MjEyMzQ1Njc4FQIAEhgg"]}}}},"components/schemas/Pl4WhatsAppResponse":{"id":"components/schemas/Pl4WhatsAppResponse","kind":"json-schema","title":"Pl4WhatsAppResponse","data":{"type":"object","properties":{"response":{"type":"string","example":"Request Accepted for Processing","examples":["Request Accepted for Processing"]},"batchId":{"type":"string","format":"uuid","example":"f47ac10b-58cc-4372-a567-0e02b2c3d479","examples":["f47ac10b-58cc-4372-a567-0e02b2c3d479"]},"acceptedCount":{"type":"integer","description":"Number of recipients accepted for processing. Always present.","example":2,"examples":[2]},"rejectedCount":{"type":"integer","description":"Number of recipients rejected before processing (for example, an invalid number). Always present.","example":1,"examples":[1]},"rejectedRecipients":{"type":"array","description":"The recipients that were rejected, each with the reason. Empty when every recipient was accepted.","items":{"$ref":"#/components/schemas/RejectedRecipient"}},"reqObject":{"$ref":"#/components/schemas/ECommMessageRequestV2"}}}},"components/schemas/RejectedRecipient":{"id":"components/schemas/RejectedRecipient","kind":"json-schema","title":"RejectedRecipient","data":{"type":"object","properties":{"number":{"type":"string","description":"The rejected recipient number as supplied.","example":"27123","examples":["27123"]},"reason":{"type":"string","description":"Why the recipient was rejected.","example":"Invalid phone number","examples":["Invalid phone number"]}}}},"components/schemas/SMSRequest":{"id":"components/schemas/SMSRequest","kind":"json-schema","title":"SMSRequest","data":{"type":"object","properties":{"messages":{"type":"array","items":{"type":"object","properties":{"to":{"type":"string","example":"27987654321","examples":["27987654321"]},"text":{"type":"string","example":"Hello Mr John Doe","examples":["Hello Mr John Doe"]},"ctId":{"type":"string","example":"ctId-01","examples":["ctId-01"]},"unicode":{"type":"boolean","example":false,"examples":[false]}}}},"allowDuplicates":{"type":"boolean","example":false,"examples":[false]}}}},"components/schemas/Pl4SMSResponse":{"id":"components/schemas/Pl4SMSResponse","kind":"json-schema","title":"Pl4SMSResponse","data":{"type":"object","properties":{"response":{"type":"string","example":"Request Accepted for Processing","examples":["Request Accepted for Processing"]},"smsGatewayResponse":{"$ref":"#/components/schemas/SMSGatewayResponse"}}}},"components/schemas/SMSGatewayResponse":{"id":"components/schemas/SMSGatewayResponse","kind":"json-schema","title":"SMSGatewayResponse","data":{"type":"object","properties":{"statusCode":{"type":"string","example":"0","examples":["0"]},"statusDescription":{"type":"string","example":"Message(s) Accepted For Processing","examples":["Message(s) Accepted For Processing"]},"completionTime":{"type":"string","example":"2026-01-15T10:30:05Z","examples":["2026-01-15T10:30:05Z"]},"gstid":{"type":"string","example":"sms-gst-12345","examples":["sms-gst-12345"]}}}},"components/schemas/CreateTemplateRequest":{"id":"components/schemas/CreateTemplateRequest","kind":"json-schema","title":"CreateTemplateRequest","data":{"type":"object","required":["template_name","language","category","components","number"],"properties":{"template_name":{"type":"string","pattern":"^[a-z0-9_]+$","example":"seasonal_promo_2024","examples":["seasonal_promo_2024"]},"language":{"type":"string","example":"en_GB","examples":["en_GB"]},"category":{"type":"string","enum":["AUTHENTICATION","MARKETING","UTILITY"],"example":"MARKETING","examples":["MARKETING"]},"number":{"type":"string","example":"+987654321","examples":["+987654321"]},"allow_category_change":{"type":"boolean","default":false,"example":false,"examples":[false]},"components":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/ComponentHeader"},{"$ref":"#/components/schemas/ComponentBody"},{"$ref":"#/components/schemas/ComponentButtons"},{"$ref":"#/components/schemas/ComponentCarousel"},{"$ref":"#/components/schemas/ComponentFooter"},{"$ref":"#/components/schemas/ComponentCallPermissionRequest"}]}}}}},"components/schemas/TemplateResponseObject":{"id":"components/schemas/TemplateResponseObject","kind":"json-schema","title":"TemplateResponseObject","data":{"type":"object","properties":{"template_id":{"type":"string","example":"1234567890123456","examples":["1234567890123456"]},"template_name":{"type":"string","example":"seasonal_promo_2024","examples":["seasonal_promo_2024"]},"status":{"type":"string","example":"APPROVED","examples":["APPROVED"]},"category":{"type":"string","example":"MARKETING","examples":["MARKETING"]},"language":{"type":"string","example":"en_GB","examples":["en_GB"]}}}},"components/schemas/WhatsAppClientTemplatePage":{"id":"components/schemas/WhatsAppClientTemplatePage","kind":"json-schema","title":"WhatsAppClientTemplatePage","data":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/WhatsAppClientTemplateDto"}},"totalPages":{"type":"integer","example":5,"examples":[5]},"totalElements":{"type":"integer","example":47,"examples":[47]},"size":{"type":"integer","example":10,"examples":[10]},"number":{"type":"integer","example":0,"examples":[0]},"first":{"type":"boolean","example":true,"examples":[true]},"last":{"type":"boolean","example":false,"examples":[false]},"empty":{"type":"boolean","example":false,"examples":[false]}}}},"components/schemas/WhatsAppClientTemplateDto":{"id":"components/schemas/WhatsAppClientTemplateDto","kind":"json-schema","title":"WhatsAppClientTemplateDto","data":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"b2c3d4e5-f6a7-8901-b2c3-d4e5f6a78901","examples":["b2c3d4e5-f6a7-8901-b2c3-d4e5f6a78901"]},"templateRequest":{"type":"string","description":"Stringified JSON of the template definition.","example":"{\"template_name\":\"promo\",\"language\":\"en_GB\"}","examples":["{\"template_name\":\"promo\",\"language\":\"en_GB\"}"]},"templateName":{"type":"string","example":"seasonal_promo_2024","examples":["seasonal_promo_2024"]},"namespace":{"type":"string","example":"whatsapp:hsm:technology:ecommunicate","examples":["whatsapp:hsm:technology:ecommunicate"]},"status":{"type":"string","example":"approved","examples":["approved"]},"templateType":{"type":"string","example":"TEXT","examples":["TEXT"]},"languageCode":{"type":"string","example":"en_GB","examples":["en_GB"]},"approved":{"type":"boolean","example":true,"examples":[true]},"whatsAppProvider":{"type":"string","enum":["DLG","WL","KX","TW"],"example":"DLG","examples":["DLG"]},"requestedDate":{"type":"string","format":"date-time","example":"2026-01-10T08:00:00Z","examples":["2026-01-10T08:00:00Z"]},"externalId":{"type":"string","example":"1234567890123456","examples":["1234567890123456"]},"attachmentType":{"type":["string","null"],"enum":["IMAGE","DOCUMENT","VIDEO","NULL"],"example":"IMAGE","examples":["IMAGE"]},"whatsAppNumber":{"type":"string","example":"+27123456789","examples":["+27123456789"]},"rejectedReason":{"type":["string","null"],"example":"Template content policy violation","examples":["Template content policy violation"]},"qualityScore":{"type":"string","enum":["GREEN","YELLOW","RED","UNKNOWN"],"example":"UNKNOWN","examples":["UNKNOWN"]}}}},"components/schemas/ComponentHeader":{"id":"components/schemas/ComponentHeader","kind":"json-schema","title":"ComponentHeader","data":{"type":"object","required":["type","format"],"properties":{"type":{"type":"string","enum":["HEADER"],"example":"HEADER","examples":["HEADER"]},"format":{"type":"string","enum":["TEXT","IMAGE","DOCUMENT","VIDEO","LOCATION"],"example":"TEXT","examples":["TEXT"]},"text":{"type":"string","maxLength":60,"example":"Order Confirmation {{1}}","examples":["Order Confirmation {{1}}"]},"example":{"type":"object","properties":{"header_text":{"type":"array","items":{"type":"string"}},"header_handle":{"type":"array","items":{"type":"string"}}}}}}},"components/schemas/ComponentBody":{"id":"components/schemas/ComponentBody","kind":"json-schema","title":"ComponentBody","data":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["BODY"],"example":"BODY","examples":["BODY"]},"text":{"type":"string","maxLength":1024,"example":"Hi {{1}}, your order {{2}} has been shipped.","examples":["Hi {{1}}, your order {{2}} has been shipped."]},"add_security_recommendation":{"type":"boolean","example":false,"examples":[false]},"example":{"type":"object","properties":{"body_text":{"type":"array","items":{"type":"array","items":{"type":"string"}}}}}}}},"components/schemas/ComponentFooter":{"id":"components/schemas/ComponentFooter","kind":"json-schema","title":"ComponentFooter","data":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["FOOTER"],"example":"FOOTER","examples":["FOOTER"]},"text":{"type":"string","maxLength":60,"example":"This code expires in 5 minutes.","examples":["This code expires in 5 minutes."]},"code_expiration_minutes":{"type":"integer","example":5,"examples":[5]}}}},"components/schemas/ComponentButtons":{"id":"components/schemas/ComponentButtons","kind":"json-schema","title":"ComponentButtons","data":{"type":"object","required":["type","buttons"],"properties":{"type":{"type":"string","enum":["BUTTONS"],"example":"BUTTONS","examples":["BUTTONS"]},"buttons":{"type":"array","items":{"$ref":"#/components/schemas/ButtonObject"}}}}},"components/schemas/ComponentCallPermissionRequest":{"id":"components/schemas/ComponentCallPermissionRequest","kind":"json-schema","title":"ComponentCallPermissionRequest","data":{"type":"object","required":["type"],"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Asks the customer to allow your business to call them on WhatsApp. WhatsApp shows its own \"allow calls\""},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"prompt with the message, so the component has no text. Allowed once per template, on "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"MARKETING"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"UTILITY"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" templates only, and not on carousel templates."},"children":[],"type":"text"}],"type":"paragraph"}],"properties":{"type":{"type":"string","enum":["CALL_PERMISSION_REQUEST"],"example":"CALL_PERMISSION_REQUEST","examples":["CALL_PERMISSION_REQUEST"]}}}},"components/schemas/ComponentCarousel":{"id":"components/schemas/ComponentCarousel","kind":"json-schema","title":"ComponentCarousel","data":{"type":"object","required":["type","cards"],"properties":{"type":{"type":"string","enum":["CAROUSEL"],"example":"CAROUSEL","examples":["CAROUSEL"]},"cards":{"type":"array","items":{"type":"object","properties":{"components":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/ComponentHeader"},{"$ref":"#/components/schemas/ComponentBody"},{"$ref":"#/components/schemas/ComponentButtons"}]}}}}}}}},"components/schemas/ButtonObject":{"id":"components/schemas/ButtonObject","kind":"json-schema","title":"ButtonObject","data":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["QUICK_REPLY","URL","PHONE_NUMBER","OTP","FLOW","SPM","COPY_CODE","REQUEST_CONTACT_INFO"],"example":"URL","examples":["URL"],"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The button type. Note two special cases:"},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"COPY_CODE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"coupon-code"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" button for MARKETING and UTILITY templates. The sample"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"code is supplied in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"example"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" at creation; the real code is sent as the button parameter."},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"This is distinct from an authentication one-time-passcode button, which is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"type: OTP"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"otp_type: COPY_CODE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"REQUEST_CONTACT_INFO"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" — a fixed-label button that asks the customer to share their phone"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"number (used to recover a number from a username/BSUID-only contact). Takes no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"text"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"no send parameter. Not permitted on AUTHENTICATION templates."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]},"text":{"type":"string","maxLength":25,"example":"Visit Website","examples":["Visit Website"]},"url":{"type":"string","maxLength":2000,"example":"https://example.com/offer/{{1}}","examples":["https://example.com/offer/{{1}}"]},"phone_number":{"type":"string","maxLength":20,"example":"+27123456789","examples":["+27123456789"]},"otp_type":{"type":"string","example":"COPY_CODE","examples":["COPY_CODE"]},"autofill_text":{"type":"string","example":"Autofill","examples":["Autofill"]},"package_name":{"type":"string","example":"com.example.myapp","examples":["com.example.myapp"]},"signature_hash":{"type":"string","example":"K8a72FAINcG","examples":["K8a72FAINcG"]},"flow_id":{"type":"string","example":"flow_abc123","examples":["flow_abc123"]},"flow_action":{"type":"string","example":"navigate","examples":["navigate"]},"navigate_screen":{"type":"string","example":"WELCOME_SCREEN","examples":["WELCOME_SCREEN"]},"example":{"type":"array","items":{"type":"string"}}}}},"components/schemas/WhatsAppMessageStatusDto":{"id":"components/schemas/WhatsAppMessageStatusDto","kind":"json-schema","title":"WhatsAppMessageStatusDto","data":{"type":"object","properties":{"latestMessageStatus":{"type":"string","enum":["ACCEPTED","SENT","DELIVERED","READ","PLAYED","FAILED"],"example":"DELIVERED","examples":["DELIVERED"]},"statusTimestamp":{"type":"string","format":"date-time","example":"2026-01-15T10:35:00Z","examples":["2026-01-15T10:35:00Z"]},"ctId":{"type":"string","example":"ct-order-9876","examples":["ct-order-9876"]},"gstId":{"type":"string","example":"gst-a1b2c3d4","examples":["gst-a1b2c3d4"]},"failureReason":{"type":"string","example":"Recipient not on WhatsApp","examples":["Recipient not on WhatsApp"]}}}},"components/schemas/WhatsAppMessageStatusPage":{"id":"components/schemas/WhatsAppMessageStatusPage","kind":"json-schema","title":"WhatsAppMessageStatusPage","data":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/WhatsAppMessageStatusDto"}},"totalElements":{"type":"integer","example":150,"examples":[150]},"totalPages":{"type":"integer","example":15,"examples":[15]},"size":{"type":"integer","example":10,"examples":[10]},"number":{"type":"integer","example":0,"examples":[0]},"first":{"type":"boolean","example":true,"examples":[true]},"last":{"type":"boolean","example":false,"examples":[false]},"empty":{"type":"boolean","example":false,"examples":[false]}}}},"components/schemas/WhatsAppSendReceiveMessageDTO":{"id":"components/schemas/WhatsAppSendReceiveMessageDTO","kind":"json-schema","title":"WhatsAppSendReceiveMessageDTO","data":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"d4e5f6a7-b8c9-0123-d4e5-f6a7b8c90123","examples":["d4e5f6a7-b8c9-0123-d4e5-f6a7b8c90123"]},"createdTime":{"type":"string","format":"date-time","example":"2026-01-15T10:30:00Z","examples":["2026-01-15T10:30:00Z"]},"sender":{"type":"string","example":"+27123456789","examples":["+27123456789"]},"receiver":{"type":"string","example":"+27821234567","examples":["+27821234567"]},"customerUserId":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Customer's durable business-scoped user id ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"BSUID"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", alpha usernames), e.g. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ZA.1021033720668862"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Stable across phone-number changes; present even when the phone is withheld."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"ZA.1021033720668862","examples":["ZA.1021033720668862"]},"customerUsername":{"type":"string","description":"Customer's optional WhatsApp username (display only).","example":"johndoe","examples":["johndoe"]},"gstid":{"type":"string","format":"uuid","example":"e5f6a7b8-c9d0-1234-e5f6-a7b8c9d01234","examples":["e5f6a7b8-c9d0-1234-e5f6-a7b8c9d01234"]},"ctid":{"type":"string","example":"ct-order-9876","examples":["ct-order-9876"]},"vendor":{"type":"string","enum":["TW","KX","DLG","WL"],"example":"DLG","examples":["DLG"]},"messageType":{"type":"string","enum":["CONVERSATION","NOTIFICATION","SESSION24HOUR","ALL","CHAT"],"example":"NOTIFICATION","examples":["NOTIFICATION"]},"messageContentType":{"type":"string","enum":["TEXT","LOCATION","MEDIA","BUTTON","ALL","INTERACTIVE"],"example":"TEXT","examples":["TEXT"]},"direction":{"type":"string","enum":["OUTGOING","INCOMING","ALL"],"example":"OUTGOING","examples":["OUTGOING"]},"text":{"type":"string","example":"Hi John, your order has been shipped.","examples":["Hi John, your order has been shipped."]},"mediaUrl":{"type":"string","example":"https://example.com/media/image.jpg","examples":["https://example.com/media/image.jpg"]},"mediaCaption":{"type":"string","example":"Invoice for order #1234","examples":["Invoice for order #1234"]},"fileName":{"type":"string","example":"invoice.pdf","examples":["invoice.pdf"]},"mimetype":{"type":"string","example":"application/pdf","examples":["application/pdf"]},"fileExtension":{"type":"string","example":"pdf","examples":["pdf"]},"latitude":{"type":"string","example":"-26.2041","examples":["-26.2041"]},"longitude":{"type":"string","example":"28.0473","examples":["28.0473"]},"label":{"type":"string","example":"Head Office","examples":["Head Office"]},"address":{"type":"string","example":"123 Main St, Johannesburg","examples":["123 Main St, Johannesburg"]},"buttonText":{"type":"string","example":"Confirm Order","examples":["Confirm Order"]},"buttonPayload":{"type":"string","example":"btn_confirm_order","examples":["btn_confirm_order"]},"latestStatus":{"type":"string","example":"DELIVERED","examples":["DELIVERED"]},"eCommValidationMessage":{"type":"string","enum":["ACCEPTED_BY_PROVIDER","SUCCESSFULLY_SENT","SUCCESSFULLY_DELIVERED","SUCCESSFULLY_READ","SUCCESSFULLY_PLAYED","FAILED_SENDING"],"example":"SUCCESSFULLY_DELIVERED","examples":["SUCCESSFULLY_DELIVERED"]},"sentToProvider":{"type":"boolean","example":true,"examples":[true]},"sentToProviderTime":{"type":"string","format":"date-time","example":"2026-01-15T10:30:01Z","examples":["2026-01-15T10:30:01Z"]},"sentToNumber":{"type":"boolean","example":true,"examples":[true]},"sentToNumberTime":{"type":"string","format":"date-time","example":"2026-01-15T10:30:02Z","examples":["2026-01-15T10:30:02Z"]},"receivedByNumber":{"type":"boolean","example":true,"examples":[true]},"receivedByNumberTime":{"type":"string","format":"date-time","example":"2026-01-15T10:30:05Z","examples":["2026-01-15T10:30:05Z"]},"readByNumber":{"type":"boolean","example":false,"examples":[false]},"readByNumberTime":{"type":"string","format":"date-time","example":"2026-01-15T10:31:00Z","examples":["2026-01-15T10:31:00Z"]},"providerReferenceId":{"type":"string","example":"wamid.HBgNMjc4MjEyMzQ1Njc4FQIAEhgg","examples":["wamid.HBgNMjc4MjEyMzQ1Njc4FQIAEhgg"]},"messageCost":{"type":"integer","example":50,"examples":[50]},"messageRefundCost":{"type":"integer","example":0,"examples":[0]},"templateMessage":{"type":"boolean","example":true,"examples":[true]},"templateName":{"type":"string","example":"order_shipped_v2","examples":["order_shipped_v2"]},"templateId":{"type":"string","format":"uuid","example":"a7e3c1d0-5f8b-4a2e-9c1d-3b4e5f6a7b8c","examples":["a7e3c1d0-5f8b-4a2e-9c1d-3b4e5f6a7b8c"]},"vendorErrorCode":{"type":"string","example":"470","examples":["470"]},"vendorError":{"type":"string","example":"Message failed to send","examples":["Message failed to send"]},"vendorErrorDetail":{"type":"string","example":"Recipient phone number not on WhatsApp","examples":["Recipient phone number not on WhatsApp"]}}}},"components/schemas/ReplyReportDto":{"id":"components/schemas/ReplyReportDto","kind":"json-schema","title":"ReplyReportDto","data":{"type":"object","properties":{"replyId":{"type":"string","format":"uuid","example":"f6a7b8c9-d012-3456-f6a7-b8c9d0123456","examples":["f6a7b8c9-d012-3456-f6a7-b8c9d0123456"]},"customerNumber":{"type":"string","example":"+27821234567","examples":["+27821234567"]},"replyText":{"type":"string","example":"Yes, I confirm my order.","examples":["Yes, I confirm my order."]},"replyMediaUrl":{"type":["string","null"],"example":null,"examples":[null]},"replyTime":{"type":"string","format":"date-time","example":"2026-01-15T10:35:00Z","examples":["2026-01-15T10:35:00Z"]},"repliedToText":{"type":["string","null"],"example":"Please confirm your order.","examples":["Please confirm your order."]},"repliedToTemplateName":{"type":"string","example":"order_confirmation_v1","examples":["order_confirmation_v1"]},"repliedToTime":{"type":"string","format":"date-time","example":"2026-01-15T10:30:00Z","examples":["2026-01-15T10:30:00Z"]}}}},"components/schemas/ChatParticipant":{"id":"components/schemas/ChatParticipant","kind":"json-schema","title":"ChatParticipant","data":{"type":"object","properties":{"id":{"type":"string","example":"cp-a1b2c3d4","examples":["cp-a1b2c3d4"]},"firstName":{"type":"string","example":"John","examples":["John"]},"lastName":{"type":"string","example":"Doe","examples":["Doe"]},"fullName":{"type":"string","example":"John Doe","examples":["John Doe"]},"phoneNumber":{"type":"string","example":"27821234567","examples":["27821234567"]},"userId":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Customer's durable business-scoped user id ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"BSUID"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", alpha usernames), e.g. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ZA.1021033720668862"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Stable across phone-number changes; present even when the phone is withheld."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"ZA.1021033720668862","examples":["ZA.1021033720668862"]},"username":{"type":"string","description":"Customer's optional WhatsApp username (display only).","example":"johndoe","examples":["johndoe"]},"parentUserId":{"type":"string","description":"BSUID of the parent WhatsApp Business portfolio, when applicable.","example":"ZA.1000000000000000","examples":["ZA.1000000000000000"]},"email":{"type":"string","example":"john.doe@example.com","examples":["john.doe@example.com"]},"subject":{"type":"string","example":"Billing Inquiry","examples":["Billing Inquiry"]},"team":{"type":"string","example":"Support Team","examples":["Support Team"]},"whatsAppClientNumber":{"type":"string","example":"+27123456789","examples":["+27123456789"]},"conversationClosed":{"type":"boolean","example":false,"examples":[false]},"missedConversation":{"type":"boolean","example":false,"examples":[false]},"afterHoursConversation":{"type":"boolean","example":false,"examples":[false]},"chatBotConversation":{"type":"boolean","example":true,"examples":[true]},"sendRatingWidget":{"type":"boolean","example":false,"examples":[false]},"clientRef":{"type":"string","example":"Growthpoint","examples":["Growthpoint"]},"createdTime":{"type":"string","format":"date-time","example":"2026-01-15T08:00:00Z","examples":["2026-01-15T08:00:00Z"]},"lastMessageTime":{"type":"string","format":"date-time","example":"2026-01-15T10:35:00Z","examples":["2026-01-15T10:35:00Z"]},"customerLastMessageTime":{"type":["string","null"],"format":"date-time","example":"2026-01-15T10:30:00Z","examples":["2026-01-15T10:30:00Z"]},"channel":{"type":"string","enum":["WHATSAPP","WEB","FACEBOOK"],"example":"WHATSAPP","examples":["WHATSAPP"]},"conversationStatus":{"type":"string","example":"OPEN","examples":["OPEN"]},"sender":{"type":"string","example":"+27821234567","examples":["+27821234567"]},"assignedTo":{"$ref":"#/components/schemas/SystemUser"},"lastAssignedAgent":{"$ref":"#/components/schemas/SystemUser"},"openedBy":{"type":"string","example":"agent@example.com","examples":["agent@example.com"]},"terminatedBy":{"type":"string","example":"agent@example.com","examples":["agent@example.com"]},"unread":{"type":"boolean","example":true,"examples":[true]},"rated":{"type":"boolean","example":false,"examples":[false]},"expectingRating":{"type":"boolean","example":false,"examples":[false]},"companyName":{"type":"string","example":"Acme Corp","examples":["Acme Corp"]},"accountNumber":{"type":"string","example":"ACC-001234","examples":["ACC-001234"]},"activeFlow":{"type":"string","example":"main_support_flow","examples":["main_support_flow"]},"nodeName":{"type":"string","example":"Welcome Node","examples":["Welcome Node"]},"botName":{"type":"string","example":"Support Bot","examples":["Support Bot"]},"timezone":{"type":"string","example":"Africa/Johannesburg","examples":["Africa/Johannesburg"]},"gstn":{"type":"string","format":"uuid","description":"Global system tracking number","example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","examples":["a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890"]},"ctn":{"type":"string","format":"uuid","description":"Client tracking number","example":"b2c3d4e5-f6a7-8901-b2c3-d4e5f6a78901","examples":["b2c3d4e5-f6a7-8901-b2c3-d4e5f6a78901"]}}}},"components/schemas/ChatParticipantPage":{"id":"components/schemas/ChatParticipantPage","kind":"json-schema","title":"ChatParticipantPage","data":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/ChatParticipant"}},"totalElements":{"type":"integer","example":85,"examples":[85]},"totalPages":{"type":"integer","example":9,"examples":[9]},"size":{"type":"integer","example":10,"examples":[10]},"number":{"type":"integer","example":0,"examples":[0]},"first":{"type":"boolean","example":true,"examples":[true]},"last":{"type":"boolean","example":false,"examples":[false]},"empty":{"type":"boolean","example":false,"examples":[false]}}}},"components/schemas/ChatParticipantResponse":{"id":"components/schemas/ChatParticipantResponse","kind":"json-schema","title":"ChatParticipantResponse","data":{"type":"object","description":"Lean, curated chat participant returned by the v2 chat list/get endpoints. Null fields are omitted.","properties":{"id":{"type":"string","format":"uuid","example":"aef65b5a-23a4-462a-a275-9aa2f3e0e56e","examples":["aef65b5a-23a4-462a-a275-9aa2f3e0e56e"]},"fullName":{"type":"string","example":"John Doe","examples":["John Doe"]},"firstName":{"type":"string","example":"John","examples":["John"]},"lastName":{"type":"string","example":"Doe","examples":["Doe"]},"phoneNumber":{"type":"string","example":"27821234567","examples":["27821234567"]},"userId":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Customer's durable business-scoped user id ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"BSUID"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", alpha usernames). Stable across phone-number changes; present even when the phone is withheld."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"ZA.1021033720668862","examples":["ZA.1021033720668862"]},"username":{"type":"string","description":"Customer's optional WhatsApp username (display only).","example":"johndoe","examples":["johndoe"]},"email":{"type":"string","format":"email","example":"john.doe@example.com","examples":["john.doe@example.com"]},"channel":{"type":"string","enum":["WHATSAPP","WEB","FACEBOOK"],"example":"WHATSAPP","examples":["WHATSAPP"]},"conversationStatus":{"type":"string","example":"ACTIVE","examples":["ACTIVE"]},"conversationClosed":{"type":"boolean","example":false,"examples":[false]},"unread":{"type":"boolean","example":true,"examples":[true]},"missedConversation":{"type":"boolean","example":false,"examples":[false]},"chatBotConversation":{"type":"boolean","example":false,"examples":[false]},"whatsAppClientNumber":{"type":"string","example":"+27123456789","examples":["+27123456789"]},"team":{"type":"string","example":"Support","examples":["Support"]},"teamId":{"type":"string","format":"uuid","example":"288436ad-4522-4f27-95e9-c406a917894d","examples":["288436ad-4522-4f27-95e9-c406a917894d"]},"lastMessageTime":{"type":"string","format":"date-time","example":"2026-01-15T10:31:00Z","examples":["2026-01-15T10:31:00Z"]},"createdTime":{"type":"string","format":"date-time","example":"2026-01-15T10:00:00Z","examples":["2026-01-15T10:00:00Z"]},"customerLastMessageTime":{"type":"string","format":"date-time","example":"2026-01-15T10:30:00Z","examples":["2026-01-15T10:30:00Z"]},"assignedTo":{"$ref":"#/components/schemas/AgentSummary"},"lastAssignedAgent":{"$ref":"#/components/schemas/AgentSummary"},"lastMessagePreview":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"One-line preview of the most recent message, ready to render. Text is collapsed to a single line and cut at 120 characters; media and structured messages come back as a placeholder: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"(document)"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"(image)"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"(audio)"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"(video)"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"(location)"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"(contact)"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"(message)"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Only present on the list endpoint, and omitted for chats with no messages."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"Hi, I need help with my order","examples":["Hi, I need help with my order"]},"lastMessageDirection":{"type":"string","enum":["INCOMING","OUTGOING"],"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Direction of the previewed message. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"OUTGOING"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" means an agent or the bot sent it."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"INCOMING","examples":["INCOMING"]},"lastMessageMediaType":{"type":"string","enum":["DOCUMENT","IMAGE","VIDEO","BUTTON","FILE","AUDIO","VOICE","URL","STICKER"],"description":"Media type of the previewed message, when it carried media.","example":"IMAGE","examples":["IMAGE"]},"lastMessageSender":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Who sent an "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"OUTGOING"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" previewed message: the agent's first name, or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Bot"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" when the chatbot sent it. Absent for "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"INCOMING"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" messages."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"Hayley","examples":["Hayley","Bot"]}}}},"components/schemas/ChatParticipantResponsePage":{"id":"components/schemas/ChatParticipantResponsePage","kind":"json-schema","title":"ChatParticipantResponsePage","data":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/ChatParticipantResponse"}},"totalElements":{"type":"integer","example":85,"examples":[85]},"totalPages":{"type":"integer","example":9,"examples":[9]},"size":{"type":"integer","example":10,"examples":[10]},"number":{"type":"integer","example":0,"examples":[0]},"first":{"type":"boolean","example":true,"examples":[true]},"last":{"type":"boolean","example":false,"examples":[false]},"empty":{"type":"boolean","example":false,"examples":[false]}}}},"components/schemas/Message":{"id":"components/schemas/Message","kind":"json-schema","title":"Message","data":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"c9d01234-e5f6-a7b8-c9d0-1234e5f6a7b8","examples":["c9d01234-e5f6-a7b8-c9d0-1234e5f6a7b8"]},"tempId":{"type":"string","format":"uuid","description":"Temporary client-generated ID used to correlate the request with the response.","example":"c9f0b308-1a0d-3f3f-7912-464f06677c6b","examples":["c9f0b308-1a0d-3f3f-7912-464f06677c6b"]},"replyType":{"type":"string","enum":["QUICKREPLY","NOTIFICATION","SIMPLE"],"example":"SIMPLE","examples":["SIMPLE"]},"direction":{"type":"string","enum":["OUTGOING","INCOMING"],"example":"INCOMING","examples":["INCOMING"]},"contentType":{"type":"string","enum":["BUTTON","CAROUSEL","DROPDOWN","IMAGE","TEXT","DATE","FILE","MEDIA","LOCATION","RATING"],"example":"TEXT","examples":["TEXT"]},"text":{"type":"string","example":"Hello, I need help with my account.","examples":["Hello, I need help with my account."]},"question":{"type":"string","example":"What is your account number?","examples":["What is your account number?"]},"answer":{"type":"string","example":"ACC-001234","examples":["ACC-001234"]},"quickReply":{"type":"boolean","example":false,"examples":[false]},"createdTime":{"type":"string","format":"date-time","example":"2026-01-15T10:30:00Z","examples":["2026-01-15T10:30:00Z"]},"clientRef":{"type":"string","example":"Growthpoint","examples":["Growthpoint"]},"channel":{"type":"string","enum":["WHATSAPP","WEB","FACEBOOK"],"example":"WHATSAPP","examples":["WHATSAPP"]},"messageOwner":{"type":"string","description":"Identifies who sent the message.","enum":["agent","customer","system"],"example":"agent","examples":["agent"]},"userOriginated":{"type":"boolean","example":true,"examples":[true]},"agent":{"$ref":"#/components/schemas/SystemUser"},"chatParticipant":{"$ref":"#/components/schemas/ChatParticipant"},"sentTime":{"type":"string","format":"date-time","example":"2026-01-15T10:30:01Z","examples":["2026-01-15T10:30:01Z"]},"readTime":{"type":"string","format":"date-time","example":"2026-01-15T10:31:00Z","examples":["2026-01-15T10:31:00Z"]},"deliveredTime":{"type":"string","format":"date-time","example":"2026-01-15T10:30:05Z","examples":["2026-01-15T10:30:05Z"]},"sent":{"type":"boolean","example":true,"examples":[true]},"read":{"type":"boolean","example":false,"examples":[false]},"delivered":{"type":"boolean","example":true,"examples":[true]},"errorCode":{"type":"string","example":"","examples":[""]},"sender":{"type":"string","example":"+27821234567","examples":["+27821234567"]},"receiver":{"type":"string","example":"+27123456789","examples":["+27123456789"]},"ctId":{"type":"string","example":"ct-msg-5678","examples":["ct-msg-5678"]},"gstId":{"type":"string","example":"gst-msg-1234","examples":["gst-msg-1234"]},"mediaURL":{"type":"string","example":"https://example.com/media/photo.jpg","examples":["https://example.com/media/photo.jpg"]},"mediaType":{"type":"string","enum":["DOCUMENT","IMAGE","VIDEO","NULL","BUTTON","FILE","AUDIO","VOICE"],"example":"IMAGE","examples":["IMAGE"]},"latitude":{"type":"string","example":"-26.2041","examples":["-26.2041"]},"longitude":{"type":"string","example":"28.0473","examples":["28.0473"]},"address":{"type":"string","example":"123 Main St, Johannesburg","examples":["123 Main St, Johannesburg"]},"label":{"type":"string","example":"Head Office","examples":["Head Office"]},"fileExtension":{"type":"string","example":"jpg","examples":["jpg"]}}}},"components/schemas/AgentSummary":{"id":"components/schemas/AgentSummary","kind":"json-schema","title":"AgentSummary","data":{"type":"object","description":"Lean reference to the agent who sent or owns a message.","properties":{"id":{"type":"string","format":"uuid","example":"b2c3d4e5-f6a7-8901-b2c3-d4e5f6a78901","examples":["b2c3d4e5-f6a7-8901-b2c3-d4e5f6a78901"]},"firstName":{"type":"string","example":"Alice","examples":["Alice"]},"lastName":{"type":"string","example":"Smith","examples":["Smith"]},"email":{"type":"string","format":"email","example":"alice.smith@example.com","examples":["alice.smith@example.com"]},"avatar":{"type":"string","description":"URL of the agent's avatar image.","example":"https://example.com/avatars/alice.png","examples":["https://example.com/avatars/alice.png"]}}}},"components/schemas/UserSummary":{"id":"components/schemas/UserSummary","kind":"json-schema","title":"UserSummary","data":{"type":"object","description":"Lean, credential-free view of an organization user. Returned by the user and team listing endpoints to populate transfer/assignment pickers. Null fields are omitted.","properties":{"id":{"type":"string","format":"uuid","example":"b2c3d4e5-f6a7-8901-b2c3-d4e5f6a78901","examples":["b2c3d4e5-f6a7-8901-b2c3-d4e5f6a78901"]},"firstName":{"type":"string","example":"Alice","examples":["Alice"]},"lastName":{"type":"string","example":"Smith","examples":["Smith"]},"email":{"type":"string","format":"email","example":"alice.smith@example.com","examples":["alice.smith@example.com"]},"role":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Platform authority — for example admin or client."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"client","examples":["client"]},"liveChatRole":{"type":"string","enum":["Agent","Supervisor"],"description":"Role within the live-chat team.","example":"Agent","examples":["Agent"]},"avatar":{"type":"string","description":"URL of the user's avatar image.","example":"https://example.com/avatars/alice.png","examples":["https://example.com/avatars/alice.png"]},"availabilityStatus":{"type":"string","enum":["AVAILABLE","UNAVAILABLE"],"description":"Whether the user is currently available for live-chat assignment.","example":"AVAILABLE","examples":["AVAILABLE"]}}}},"components/schemas/UserResponse":{"id":"components/schemas/UserResponse","kind":"json-schema","title":"UserResponse","data":{"type":"object","description":"Credential-free view of an organization user, returned by the v1 user endpoints. Never carries password, apiKey, or token fields. Null fields are omitted.","properties":{"id":{"type":"string","format":"uuid","example":"b2c3d4e5-f6a7-8901-b2c3-d4e5f6a78901","examples":["b2c3d4e5-f6a7-8901-b2c3-d4e5f6a78901"]},"email":{"type":"string","format":"email","example":"alice.smith@example.com","examples":["alice.smith@example.com"]},"firstName":{"type":"string","example":"Alice","examples":["Alice"]},"lastName":{"type":"string","example":"Smith","examples":["Smith"]},"role":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Platform authority — for example admin or client."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"client","examples":["client"]},"liveChatRole":{"type":"string","enum":["Agent","Supervisor"],"description":"Role within the live-chat team.","example":"Agent","examples":["Agent"]},"primaryEmailAddress":{"type":"string","format":"email","example":"alice@example.com","examples":["alice@example.com"]},"mobileNumber":{"type":"string","example":"+27123456789","examples":["+27123456789"]},"clientRef":{"type":"string","example":"Growthpoint","examples":["Growthpoint"]},"clientId":{"type":"string","format":"uuid","description":"ID of the client this user belongs to.","example":"c1d2e3f4-a5b6-7890-c1d2-e3f4a5b67890","examples":["c1d2e3f4-a5b6-7890-c1d2-e3f4a5b67890"]},"countryTimezone":{"type":"string","description":"IANA timezone for the user, inherited from their client.","example":"Africa/Johannesburg","examples":["Africa/Johannesburg"]},"popiaComplianceEnabled":{"type":"boolean","description":"Whether POPIA compliance is enabled for the user's client.","example":false,"examples":[false]},"disabled":{"type":"boolean","example":false,"examples":[false]},"deleted":{"type":"boolean","example":false,"examples":[false]},"ticketCount":{"type":"integer","example":0,"examples":[0]},"resetPasswordEmailSent":{"type":"boolean","description":"Whether a password-reset email has been sent to the user.","example":false,"examples":[false]},"emailVerified":{"type":"boolean","description":"Whether the user has verified their email address.","example":false,"examples":[false]},"lastSeen":{"type":"string","format":"date-time","example":"2026-01-15T10:30:00Z","examples":["2026-01-15T10:30:00Z"]},"agentChatLimit":{"type":"integer","format":"int64","example":5,"examples":[5]},"availabilityStatus":{"type":"boolean","description":"Whether the user is currently available for live-chat assignment.","example":true,"examples":[true]},"initialPassword":{"type":"boolean","description":"true while the user still has a system-generated temporary password and must set their own on next login.","example":false,"examples":[false]},"tempAccount":{"type":"boolean","example":false,"examples":[false]},"tempPasswordValid":{"type":"boolean","description":"Whether the user's temporary password is still valid (not yet expired or replaced).","example":false,"examples":[false]},"validToken":{"type":"boolean","description":"Whether the user currently holds a valid session token.","example":true,"examples":[true]},"avatar":{"type":"string","example":"https://example.com/avatars/alice.png","examples":["https://example.com/avatars/alice.png"]},"shouldGetNotifications":{"type":"boolean","example":true,"examples":[true]},"applicationKey":{"type":"string","example":"app-key-123","examples":["app-key-123"]},"applicationClientId":{"type":"string","example":"app-client-123","examples":["app-client-123"]},"userId":{"type":"string","example":"ext-user-123","examples":["ext-user-123"]},"allowedSharedInbox":{"type":"boolean","example":true,"examples":[true]},"allowedUnassignedInbox":{"type":"boolean","example":false,"examples":[false]},"assignmentMessage":{"type":"string","example":"Hi, I'm Alice and I'll be assisting you today.","examples":["Hi, I'm Alice and I'll be assisting you today."]}}}},"components/schemas/CreateUserRequest":{"id":"components/schemas/CreateUserRequest","kind":"json-schema","title":"CreateUserRequest","data":{"type":"object","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Request to create an organization user. Carries no credentials — the password is generated server-side as a one-time temporary value and returned once in the response. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"role"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"apiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" are assigned server-side."},"children":[],"type":"text"}],"type":"paragraph"}],"required":["email"],"properties":{"clientRef":{"type":"string","description":"Target client. Defaults to the caller's own client when omitted.","example":"Growthpoint","examples":["Growthpoint"]},"email":{"type":"string","format":"email","example":"agent@example.com","examples":["agent@example.com"]},"firstName":{"type":"string","example":"Jane","examples":["Jane"]},"lastName":{"type":"string","example":"Doe","examples":["Doe"]},"mobileNumber":{"type":"string","example":"+27123456789","examples":["+27123456789"]},"primaryEmailAddress":{"type":"string","format":"email","example":"jane@example.com","examples":["jane@example.com"]},"liveChatRole":{"type":"string","enum":["Agent","Supervisor"],"example":"Agent","examples":["Agent"]},"agentChatLimit":{"type":"integer","format":"int64","example":5,"examples":[5]},"allowedSharedInbox":{"type":"boolean","example":true,"examples":[true]},"allowedUnassignedInbox":{"type":"boolean","example":false,"examples":[false]},"shouldGetNotifications":{"type":"boolean","example":true,"examples":[true]},"assignmentMessage":{"type":"string","example":"Hi, I'm Jane and I'll be assisting you today.","examples":["Hi, I'm Jane and I'll be assisting you today."]},"applicationKey":{"type":"string","example":"app-key-123","examples":["app-key-123"]},"applicationClientId":{"type":"string","example":"app-client-123","examples":["app-client-123"]},"userId":{"type":"string","example":"ext-user-123","examples":["ext-user-123"]}}}},"components/schemas/CreateUserResponse":{"id":"components/schemas/CreateUserResponse","kind":"json-schema","title":"CreateUserResponse","data":{"type":"object","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Result of creating a user. Carries a one-time "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"temporaryPassword"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to hand over securely; the user is forced to set their own password on first login, after which it is unusable. This is the only place the API ever returns a password value."},"children":[],"type":"text"}],"type":"paragraph"}],"properties":{"id":{"type":"string","format":"uuid","example":"b2c3d4e5-f6a7-8901-b2c3-d4e5f6a78901","examples":["b2c3d4e5-f6a7-8901-b2c3-d4e5f6a78901"]},"email":{"type":"string","format":"email","example":"agent@example.com","examples":["agent@example.com"]},"clientRef":{"type":"string","example":"Growthpoint","examples":["Growthpoint"]},"temporaryPassword":{"type":"string","example":"tempab12cd34ef56","examples":["tempab12cd34ef56"]},"message":{"type":"string","example":"User created. Share the temporary password securely; the user must set a new password on first login.","examples":["User created. Share the temporary password securely; the user must set a new password on first login."]}}}},"components/schemas/UpdateUserRequest":{"id":"components/schemas/UpdateUserRequest","kind":"json-schema","title":"UpdateUserRequest","data":{"type":"object","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Request to update an organization user's profile, identified by "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Carries no credentials — password and apiKey can never be changed through this path. Primitive boolean flags follow PUT semantics: send the complete desired state."},"children":[],"type":"text"}],"type":"paragraph"}],"required":["id"],"properties":{"id":{"type":"string","format":"uuid","example":"b2c3d4e5-f6a7-8901-b2c3-d4e5f6a78901","examples":["b2c3d4e5-f6a7-8901-b2c3-d4e5f6a78901"]},"clientRef":{"type":"string","example":"Growthpoint","examples":["Growthpoint"]},"email":{"type":"string","format":"email","example":"agent@example.com","examples":["agent@example.com"]},"firstName":{"type":"string","example":"Jane","examples":["Jane"]},"lastName":{"type":"string","example":"Doe","examples":["Doe"]},"mobileNumber":{"type":"string","example":"+27123456789","examples":["+27123456789"]},"primaryEmailAddress":{"type":"string","format":"email","example":"jane@example.com","examples":["jane@example.com"]},"liveChatRole":{"type":"string","enum":["Agent","Supervisor"],"example":"Agent","examples":["Agent"]},"agentChatLimit":{"type":"integer","format":"int64","example":5,"examples":[5]},"disabled":{"type":"boolean","example":false,"examples":[false]},"availabilityStatus":{"type":"boolean","example":true,"examples":[true]},"allowedSharedInbox":{"type":"boolean","example":true,"examples":[true]},"allowedUnassignedInbox":{"type":"boolean","example":false,"examples":[false]},"shouldGetNotifications":{"type":"boolean","example":true,"examples":[true]},"assignmentMessage":{"type":"string","example":"Hi, I'm Jane and I'll be assisting you today.","examples":["Hi, I'm Jane and I'll be assisting you today."]},"applicationKey":{"type":"string","example":"app-key-123","examples":["app-key-123"]},"applicationClientId":{"type":"string","example":"app-client-123","examples":["app-client-123"]},"userId":{"type":"string","example":"ext-user-123","examples":["ext-user-123"]}}}},"components/schemas/MessageResponse":{"id":"components/schemas/MessageResponse","kind":"json-schema","title":"MessageResponse","data":{"type":"object","description":"Lean, curated message payload returned by the v2 live-chat endpoints. Carries only the fields a chat UI needs, plus the quoted-reply context. Null fields are omitted.","properties":{"id":{"type":"string","format":"uuid","example":"c9d01234-e5f6-a7b8-c9d0-1234e5f6a7b8","examples":["c9d01234-e5f6-a7b8-c9d0-1234e5f6a7b8"]},"tempId":{"type":"string","description":"Temporary client-generated id used to correlate a send request with its response. Present only when the sender supplied one.","example":"c9f0b308-1a0d-3f3f-7912-464f06677c6b","examples":["c9f0b308-1a0d-3f3f-7912-464f06677c6b"]},"sequenceNumber":{"type":"integer","format":"int64","description":"Monotonic ordering hint within the conversation.","example":42,"examples":[42]},"direction":{"type":"string","enum":["OUTGOING","INCOMING"],"example":"INCOMING","examples":["INCOMING"]},"contentType":{"type":"string","enum":["BUTTON","CAROUSEL","DROPDOWN","IMAGE","TEXT","DATE","FILE","MEDIA","LOCATION","RATING"],"example":"TEXT","examples":["TEXT"]},"channel":{"type":"string","enum":["WHATSAPP","WEB","FACEBOOK"],"example":"WHATSAPP","examples":["WHATSAPP"]},"text":{"type":"string","example":"Hello, I need help with my account.","examples":["Hello, I need help with my account."]},"createdTime":{"type":"string","format":"date-time","example":"2026-01-15T10:30:00Z","examples":["2026-01-15T10:30:00Z"]},"userOriginated":{"type":"boolean","description":"true when a human typed the message (agent or customer); false for bot-generated messages.","example":true,"examples":[true]},"messageOwner":{"type":"string","enum":["agent","customer","system"],"example":"customer","examples":["customer"]},"sender":{"type":"string","description":"Address the message was sent from (e.g. the customer's phone number for inbound, the business number for outbound).","example":"+27987654321","examples":["+27987654321"]},"receiver":{"type":"string","description":"Address the message was delivered to.","example":"+27123456789","examples":["+27123456789"]},"ctId":{"type":"string","description":"Custom tracking id for the message, if one was supplied on send.","example":"order-1234-confirm","examples":["order-1234-confirm"]},"sent":{"type":"boolean","example":true,"examples":[true]},"delivered":{"type":"boolean","example":true,"examples":[true]},"read":{"type":"boolean","example":false,"examples":[false]},"played":{"type":"boolean","description":"True when a voice note was played (listened to) by the recipient.","example":false,"examples":[false]},"sentTime":{"type":"string","format":"date-time","example":"2026-01-15T10:30:01Z","examples":["2026-01-15T10:30:01Z"]},"deliveredTime":{"type":"string","format":"date-time","example":"2026-01-15T10:30:05Z","examples":["2026-01-15T10:30:05Z"]},"readTime":{"type":"string","format":"date-time","example":"2026-01-15T10:31:00Z","examples":["2026-01-15T10:31:00Z"]},"playedTime":{"type":"string","format":"date-time","description":"Timestamp the voice note was played.","example":"2026-01-15T10:31:30Z","examples":["2026-01-15T10:31:30Z"]},"mediaURL":{"type":"string","example":"https://example.com/media/photo.jpg","examples":["https://example.com/media/photo.jpg"]},"fileExtension":{"type":"string","description":"File extension of the attached media, when present.","example":"jpg","examples":["jpg"]},"mediaType":{"type":"string","enum":["DOCUMENT","IMAGE","VIDEO","NULL","BUTTON","FILE","AUDIO","VOICE"],"example":"IMAGE","examples":["IMAGE"]},"latitude":{"type":"string","example":"-26.2041","examples":["-26.2041"]},"longitude":{"type":"string","example":"28.0473","examples":["28.0473"]},"address":{"type":"string","example":"123 Main St, Johannesburg","examples":["123 Main St, Johannesburg"]},"label":{"type":"string","example":"Head Office","examples":["Head Office"]},"agent":{"$ref":"#/components/schemas/AgentSummary"},"reaction":{"$ref":"#/components/schemas/Reaction"},"whatsAppMessageId":{"type":"string","description":"Provider (WhatsApp) message id.","example":"3EB09839C39C57F54A9EC5","examples":["3EB09839C39C57F54A9EC5"]},"facebookMessageId":{"type":"string","description":"Provider (Facebook) message id.","example":"m_AbCdEf123456","examples":["m_AbCdEf123456"]},"quotedExternalMessageId":{"type":"string","description":"WhatsApp id of the message this one replies to/quotes (present when the message is a reply).","example":"3EB0123456789ABCDEF0","examples":["3EB0123456789ABCDEF0"]},"quotedText":{"type":"string","description":"Snapshot of the quoted message's text, captured at reply time.","example":"Hi, is this about order #1234?","examples":["Hi, is this about order #1234?"]}}}},"components/schemas/SendMessageRequest":{"id":"components/schemas/SendMessageRequest","kind":"json-schema","title":"SendMessageRequest","data":{"type":"object","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Agent send request used by the unified v2 send endpoint. Routing is by "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"channel"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"required":["participantId","channel"],"properties":{"participantId":{"type":"string","format":"uuid","description":"Chat participant to send to.","example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","examples":["a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890"]},"channel":{"type":"string","enum":["WHATSAPP","WEB","FACEBOOK"],"description":"Channel to route the message on.","example":"WHATSAPP","examples":["WHATSAPP"]},"tempId":{"type":"string","description":"Optional. Client-generated id echoed back on the response to correlate an optimistic UI message. Omit it if you don't need correlation.","example":"c9f0b308-1a0d-3f3f-7912-464f06677c6b","examples":["c9f0b308-1a0d-3f3f-7912-464f06677c6b"]},"text":{"type":"string","description":"Message text, or the caption for a media send.","example":"Thanks for reaching out — how can I help?","examples":["Thanks for reaching out — how can I help?"]},"contentType":{"type":"string","enum":["TEXT","MEDIA"],"description":"Optional. Defaults to TEXT, or MEDIA when a mediaUrl is present.","example":"TEXT","examples":["TEXT"]},"mediaUrl":{"type":"string","description":"Hosted media URL from the media upload endpoint. Its presence makes this a media send.","example":"https://cdn.example.com/uploads/quote-1234.pdf","examples":["https://cdn.example.com/uploads/quote-1234.pdf"]},"mediaType":{"type":"string","enum":["DOCUMENT","IMAGE","VIDEO","NULL","BUTTON","FILE","AUDIO","VOICE"],"description":"Media kind (from the upload response).","example":"DOCUMENT","examples":["DOCUMENT"]},"quotedExternalMessageId":{"type":"string","description":"WhatsApp id of a message being quoted/replied to.","example":"3EB0123456789ABCDEF0","examples":["3EB0123456789ABCDEF0"]},"quotedText":{"type":"string","description":"Snapshot of the quoted message's text.","example":"Hi, is this about order #1234?","examples":["Hi, is this about order #1234?"]}}}},"components/schemas/MediaUploadResponse":{"id":"components/schemas/MediaUploadResponse","kind":"json-schema","title":"MediaUploadResponse","data":{"type":"object","description":"Result of uploading a media file for a v2 send.","properties":{"mediaUrl":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Hosted URL of the stored media. Pass this as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"mediaUrl"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" on the send request."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"https://cdn.example.com/uploads/quote-1234.pdf","examples":["https://cdn.example.com/uploads/quote-1234.pdf"]},"mediaType":{"type":"string","enum":["DOCUMENT","IMAGE","VIDEO","NULL","BUTTON","FILE","AUDIO","VOICE"],"description":"Detected media kind.","example":"DOCUMENT","examples":["DOCUMENT"]}}}},"components/schemas/TicketStatus":{"id":"components/schemas/TicketStatus","kind":"json-schema","title":"TicketStatus","data":{"type":"string","enum":["OPEN","CLOSED","AWAITING_AGENT","AWAITING_CUSTOMER","RESOLVED"],"example":"OPEN","examples":["OPEN"]}},"components/schemas/TicketEmailDto":{"id":"components/schemas/TicketEmailDto","kind":"json-schema","title":"TicketEmailDto","data":{"type":"object","description":"Ticket DTO. Null fields are omitted from the response.","properties":{"id":{"type":"string","example":"64a1b2c3d4e5f67890abcdef","examples":["64a1b2c3d4e5f67890abcdef"]},"from":{"type":"string","example":"agent@example.com","examples":["agent@example.com"]},"assignedAgentId":{"type":"string","example":"agent-001","examples":["agent-001"]},"participant":{"$ref":"#/components/schemas/ChatParticipant"},"customerName":{"type":"string","example":"John Doe","examples":["John Doe"]},"recipients":{"type":"array","items":{"type":"string"},"example":["recipient1@example.com","recipient2@example.com"],"examples":[["recipient1@example.com","recipient2@example.com"]]},"content":{"type":"string","example":"Ticket content details","examples":["Ticket content details"]},"ticketNumber":{"type":"string","example":"TICKET-12345","examples":["TICKET-12345"]},"team":{"type":"string","example":"team-001","examples":["team-001"]},"teamName":{"type":"string","example":"Support Team","examples":["Support Team"]},"date":{"type":"string","example":"2026-01-15T10:30:00Z","examples":["2026-01-15T10:30:00Z"]},"rating":{"type":"string","example":"5","examples":["5"]},"priority":{"type":"string","example":"HIGH","examples":["HIGH"]},"conversationMessages":{"type":"array","items":{"$ref":"#/components/schemas/Message"}},"conversationMessagesJson":{"type":"string","description":"JSON representation of conversation messages.","example":"[{\"text\":\"Hello\"}]","examples":["[{\"text\":\"Hello\"}]"]},"emailFrom":{"type":"string","example":"support@example.com","examples":["support@example.com"]},"emailSubject":{"type":"string","example":"Billing Inquiry","examples":["Billing Inquiry"]},"emailBody":{"type":"string","example":"Dear customer, ...","examples":["Dear customer, ..."]},"clientRef":{"type":"string","example":"Growthpoint","examples":["Growthpoint"]},"ticketStatus":{"$ref":"#/components/schemas/TicketStatus"},"clientWhatsappNumber":{"type":"string","example":"+27123456789","examples":["+27123456789"]},"customerWhatsappNumber":{"type":"string","example":"+27821234567","examples":["+27821234567"]},"customerEmail":{"type":"string","example":"john.doe@example.com","examples":["john.doe@example.com"]},"includeChatHistory":{"type":"boolean","example":false,"examples":[false]}}}},"components/schemas/TicketEmailEntity":{"id":"components/schemas/TicketEmailEntity","kind":"json-schema","title":"TicketEmailEntity","data":{"type":"object","properties":{"id":{"type":"string","example":"64a1b2c3d4e5f67890abcdef","examples":["64a1b2c3d4e5f67890abcdef"]},"createdTime":{"type":"string","format":"date-time","example":"2026-01-15T08:00:00Z","examples":["2026-01-15T08:00:00Z"]},"from":{"type":"string","example":"agent@example.com","examples":["agent@example.com"]},"assignedAgentId":{"type":"string","example":"agent-001","examples":["agent-001"]},"chatParticipant":{"$ref":"#/components/schemas/ChatParticipant"},"customerName":{"type":"string","example":"John Doe","examples":["John Doe"]},"emailToCustomer":{"type":"boolean","example":true,"examples":[true]},"emailToSupervisor":{"type":"boolean","example":false,"examples":[false]},"emailToAgent":{"type":"boolean","example":true,"examples":[true]},"content":{"type":"string","example":"Ticket content details","examples":["Ticket content details"]},"ticketNumber":{"type":"string","example":"TICKET-12345","examples":["TICKET-12345"]},"team":{"type":"string","example":"team-001","examples":["team-001"]},"teamName":{"type":"string","example":"Support Team","examples":["Support Team"]},"date":{"type":"string","example":"2026-01-15T10:30:00Z","examples":["2026-01-15T10:30:00Z"]},"rating":{"type":"string","example":"5","examples":["5"]},"priority":{"type":"string","example":"HIGH","examples":["HIGH"]},"conversationMessages":{"type":"array","items":{"$ref":"#/components/schemas/Message"}},"conversationMessagesJson":{"type":"string","description":"JSONB representation of conversation messages.","example":"[{\"text\":\"Hello\"}]","examples":["[{\"text\":\"Hello\"}]"]},"emailFrom":{"type":"string","example":"support@example.com","examples":["support@example.com"]},"emailSubject":{"type":"string","example":"Billing Inquiry","examples":["Billing Inquiry"]},"emailBody":{"type":"string","example":"Dear customer, ...","examples":["Dear customer, ..."]},"clientRef":{"type":"string","example":"Growthpoint","examples":["Growthpoint"]},"clientWhatsappNumber":{"type":"string","example":"+27123456789","examples":["+27123456789"]},"customerWhatsappNumber":{"type":"string","example":"+27821234567","examples":["+27821234567"]},"customerEmail":{"type":"string","example":"john.doe@example.com","examples":["john.doe@example.com"]},"ticketStatus":{"$ref":"#/components/schemas/TicketStatus"},"includeChatHistory":{"type":"boolean","example":false,"examples":[false]},"userFacebookId":{"type":"string","example":"fb-user-12345","examples":["fb-user-12345"]}}}},"components/schemas/TicketEmailDtoPage":{"id":"components/schemas/TicketEmailDtoPage","kind":"json-schema","title":"TicketEmailDtoPage","data":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/TicketEmailDto"}},"totalElements":{"type":"integer","example":85,"examples":[85]},"totalPages":{"type":"integer","example":9,"examples":[9]},"size":{"type":"integer","example":10,"examples":[10]},"number":{"type":"integer","example":0,"examples":[0]},"first":{"type":"boolean","example":true,"examples":[true]},"last":{"type":"boolean","example":false,"examples":[false]},"empty":{"type":"boolean","example":false,"examples":[false]}}}},"components/schemas/BatchExecutionControlRequest":{"id":"components/schemas/BatchExecutionControlRequest","kind":"json-schema","title":"BatchExecutionControlRequest","data":{"type":"object","required":["action"],"properties":{"batchId":{"type":"string","description":"Targets a specific batch.","example":"f47ac10b-58cc-4372-a567-0e02b2c3d479","examples":["f47ac10b-58cc-4372-a567-0e02b2c3d479"]},"senderId":{"type":"string","description":"If no batchId, targets all batches for this sender.","example":"+27123456789","examples":["+27123456789"]},"action":{"type":"string","enum":["PAUSE","RESUME","CANCEL"],"example":"PAUSE","examples":["PAUSE"]}}}},"components/schemas/WhatsAppNotificationAnalytics":{"id":"components/schemas/WhatsAppNotificationAnalytics","kind":"json-schema","title":"WhatsAppNotificationAnalytics","data":{"type":"object","properties":{"notificationSubmitted":{"type":"integer","example":40219,"examples":[40219]},"notificationQueued":{"type":"integer","example":157,"examples":[157]},"notificationAccepted":{"type":"integer","example":0,"examples":[0]},"notificationSent":{"type":"integer","example":1,"examples":[1]},"notificationDelivered":{"type":"integer","example":30,"examples":[30]},"notificationRead":{"type":"integer","example":18,"examples":[18]},"notificationFailed":{"type":"integer","example":40013,"examples":[40013]},"notificationThrottled":{"type":"integer","example":0,"examples":[0]},"noRecipients":{"type":"integer","example":0,"examples":[0]},"invalidRecipients":{"type":"integer","example":0,"examples":[0]},"notWhatsAppRegisteredRecipients":{"type":"integer","example":12,"examples":[12]},"messageUndeliverable":{"type":"integer","example":40001,"examples":[40001]},"duplicateRecipients":{"type":"integer","example":0,"examples":[0]},"blacklistedRecipients":{"type":"integer","example":0,"examples":[0]},"blockedRecipients":{"type":"integer","example":0,"examples":[0]},"unknownError":{"type":"integer","example":0,"examples":[0]},"failedSending":{"type":"integer","example":0,"examples":[0]},"noSession":{"type":"integer","example":0,"examples":[0]},"serverNotAvailable":{"type":"integer","example":0,"examples":[0]},"other":{"type":"integer","example":157,"examples":[157]}}}},"components/schemas/WhatsAppInteractionAnalytics":{"id":"components/schemas/WhatsAppInteractionAnalytics","kind":"json-schema","title":"WhatsAppInteractionAnalytics","data":{"type":"object","properties":{"interactionSubmitted":{"type":"integer","example":500,"examples":[500]},"interactionSent":{"type":"integer","example":490,"examples":[490]},"interactionDelivered":{"type":"integer","example":475,"examples":[475]},"interactionRead":{"type":"integer","example":400,"examples":[400]},"interactionFailed":{"type":"integer","example":10,"examples":[10]}}}},"components/schemas/NotificationAnalyticsResponse":{"id":"components/schemas/NotificationAnalyticsResponse","kind":"json-schema","title":"NotificationAnalyticsResponse","data":{"type":"object","description":"Each message is counted once, under its latest status.","properties":{"submitted":{"type":"integer","format":"int64","description":"All notifications in the range","example":40219,"examples":[40219]},"accepted":{"type":"integer","format":"int64","description":"Accepted by the provider, not yet sent","example":0,"examples":[0]},"sent":{"type":"integer","format":"int64","description":"Sent, not yet delivered","example":1,"examples":[1]},"delivered":{"type":"integer","format":"int64","description":"Delivered, not yet read","example":30,"examples":[30]},"read":{"type":"integer","format":"int64","description":"Read (or played, for voice notes)","example":18,"examples":[18]},"failed":{"type":"integer","format":"int64","example":40013,"examples":[40013]},"throttled":{"type":"integer","format":"int64","example":0,"examples":[0]},"queued":{"type":"integer","format":"int64","description":"Queued or scheduled","example":157,"examples":[157]},"noRecipients":{"type":"integer","format":"int64","example":0,"examples":[0]},"invalidRecipients":{"type":"integer","format":"int64","example":0,"examples":[0]},"notWhatsAppRegisteredRecipients":{"type":"integer","format":"int64","example":12,"examples":[12]},"messageUndeliverable":{"type":"integer","format":"int64","example":40001,"examples":[40001]},"duplicateRecipients":{"type":"integer","format":"int64","example":0,"examples":[0]},"blacklistedRecipients":{"type":"integer","format":"int64","example":0,"examples":[0]},"blockedRecipients":{"type":"integer","format":"int64","example":0,"examples":[0]},"unknownError":{"type":"integer","format":"int64","example":0,"examples":[0]},"failedSending":{"type":"integer","format":"int64","example":0,"examples":[0]},"noSession":{"type":"integer","format":"int64","example":0,"examples":[0]},"serverNotAvailable":{"type":"integer","format":"int64","example":0,"examples":[0]},"other":{"type":"integer","format":"int64","example":0,"examples":[0]}}}},"components/schemas/MessageStatusAnalyticsResponse":{"id":"components/schemas/MessageStatusAnalyticsResponse","kind":"json-schema","title":"MessageStatusAnalyticsResponse","data":{"type":"object","description":"Each message is counted once, under its latest status.","properties":{"submitted":{"type":"integer","format":"int64","description":"All messages in the range","example":500,"examples":[500]},"sent":{"type":"integer","format":"int64","description":"Sent, not yet delivered","example":15,"examples":[15]},"delivered":{"type":"integer","format":"int64","description":"Delivered, not yet read","example":75,"examples":[75]},"read":{"type":"integer","format":"int64","description":"Read (or played, for voice notes); includes incoming messages","example":400,"examples":[400]},"failed":{"type":"integer","format":"int64","example":10,"examples":[10]}}}},"components/schemas/BillingCostWrapper":{"id":"components/schemas/BillingCostWrapper","kind":"json-schema","title":"BillingCostWrapper","data":{"type":"object","properties":{"session24HourCost":{"type":"number","example":0.5,"examples":[0.5]},"notificationCost":{"type":"number","example":0.75,"examples":[0.75]},"conversationCost":{"type":"number","example":0.3,"examples":[0.3]},"userInitiatedConversationCost":{"type":"number","example":0.25,"examples":[0.25]},"businessInitiatedConversationCost":{"type":"number","example":0.4,"examples":[0.4]},"utilityConversationCost":{"type":"number","example":0.35,"examples":[0.35]},"authenticationConversationCost":{"type":"number","example":0.2,"examples":[0.2]},"marketingConversationCost":{"type":"number","example":0.85,"examples":[0.85]},"serviceConversationCost":{"type":"number","example":0.3,"examples":[0.3]},"smsCost":{"type":"number","example":0.15,"examples":[0.15]}}}},"components/schemas/BalanceResponse":{"id":"components/schemas/BalanceResponse","kind":"json-schema","title":"BalanceResponse","data":{"type":"object","properties":{"statusCode":{"type":"string","example":"0","examples":["0"]},"statusDescription":{"type":"string","example":"Success","examples":["Success"]},"userid":{"type":"string","example":"user-abc123","examples":["user-abc123"]},"currentBalance":{"type":"string","example":"500.00","examples":["500.00"]}}}},"components/schemas/BalanceHistoryEntry":{"id":"components/schemas/BalanceHistoryEntry","kind":"json-schema","title":"BalanceHistoryEntry","data":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","examples":["a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890"]},"clientRef":{"type":"string","example":"Growthpoint","examples":["Growthpoint"]},"previousBalance":{"type":"number","example":550,"examples":[550]},"newBalance":{"type":"number","example":500,"examples":[500]},"amount":{"type":"number","example":50,"examples":[50]},"transactionType":{"type":"string","example":"DEBIT","examples":["DEBIT"]},"description":{"type":"string","example":"WhatsApp notification messages - 100 messages","examples":["WhatsApp notification messages - 100 messages"]},"createdTime":{"type":"string","format":"date-time","example":"2026-01-15T10:30:00Z","examples":["2026-01-15T10:30:00Z"]}}}},"components/schemas/SessionRequest":{"id":"components/schemas/SessionRequest","kind":"json-schema","title":"SessionRequest","data":{"type":"object","required":["whatsAppNumber"],"properties":{"whatsAppNumber":{"type":"string","example":"+27665359699","examples":["+27665359699"]},"clientId":{"type":"string","format":"uuid","description":"Optional. Defaults to current user's client.","example":"dbdb8809-6fd0-4cd2-8574-502f0f61a69d","examples":["dbdb8809-6fd0-4cd2-8574-502f0f61a69d"]}}}},"components/schemas/WebhookReq":{"id":"components/schemas/WebhookReq","kind":"json-schema","title":"WebhookReq","data":{"type":"object","required":["whatsAppNumber","webhook"],"properties":{"whatsAppNumber":{"type":"string","example":"+27123456789","examples":["+27123456789"]},"webhook":{"type":"string","example":"https://yourserver.com/webhooks/whatsapp-lite","examples":["https://yourserver.com/webhooks/whatsapp-lite"]}}}},"components/schemas/WhatsAppGoResponse":{"id":"components/schemas/WhatsAppGoResponse","kind":"json-schema","title":"WhatsAppGoResponse","data":{"type":"object","properties":{"code":{"type":"integer","example":200,"examples":[200]},"error":{"type":"string","example":"","examples":[""]},"success":{"type":"boolean","example":true,"examples":[true]},"data":{"type":"object","properties":{"details":{"type":"string","example":"Connected!","examples":["Connected!"]},"events":{"type":"string","example":"All","examples":["All"]},"jid":{"type":"string","example":"27123456789:9@s.whatsapp.net","examples":["27123456789:9@s.whatsapp.net"]},"token":{"type":"string","example":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...","examples":["eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."]},"webhook":{"type":"string","example":"https://yourserver.com/webhooks/whatsapp-lite","examples":["https://yourserver.com/webhooks/whatsapp-lite"]},"Connected":{"type":"boolean","example":true,"examples":[true]},"LoggedIn":{"type":"boolean","example":true,"examples":[true]},"Status":{"type":"string","example":"Waiting for QR Code Scan","examples":["Waiting for QR Code Scan"]},"QRCode":{"type":"string","description":"Base64 QR code image.","example":"data:image/png;base64,iVBORw0KGgo...","examples":["data:image/png;base64,iVBORw0KGgo..."]},"LinkingCode":{"type":"string","description":"8-char pairing code.","example":"JJGR-P1EZ","examples":["JJGR-P1EZ"]},"Contacts":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/WhatsAppGoContact"}}}}}}},"components/schemas/WhatsAppGoContact":{"id":"components/schemas/WhatsAppGoContact","kind":"json-schema","title":"WhatsAppGoContact","data":{"type":"object","properties":{"found":{"type":"boolean","example":true,"examples":[true]},"firstName":{"type":"string","example":"John","examples":["John"]},"fullName":{"type":"string","example":"John Doe","examples":["John Doe"]},"pushName":{"type":"string","example":"JD","examples":["JD"]},"businessName":{"type":"string","example":"Acme Corp","examples":["Acme Corp"]}}}},"components/schemas/Group":{"id":"components/schemas/Group","kind":"json-schema","title":"Group","data":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"c0d1e2f3-a4b5-6789-c0d1-e2f3a4b56789","examples":["c0d1e2f3-a4b5-6789-c0d1-e2f3a4b56789"]},"groupJID":{"type":"string","example":"120363045678901234@g.us","examples":["120363045678901234@g.us"]},"groupName":{"type":"string","example":"Team Chat","examples":["Team Chat"]},"groupTopic":{"type":"string","example":"Project discussions and updates","examples":["Project discussions and updates"]},"number":{"type":"string","description":"WhatsApp number that owns this group.","example":"+27123456789","examples":["+27123456789"]},"countryCode":{"type":"string","example":"ZA","examples":["ZA"]},"locked":{"type":"boolean","example":false,"examples":[false]},"announce":{"type":"boolean","example":false,"examples":[false]},"memberAddMode":{"type":"string","example":"all_member_add","examples":["all_member_add"]},"pinned":{"type":"boolean","example":false,"examples":[false]},"archive":{"type":"boolean","example":false,"examples":[false]},"joinNodeId":{"type":["string","null"],"description":"ID of the flow/node to trigger when a member joins.","example":null,"examples":[null]},"leaveNodeId":{"type":["string","null"],"description":"ID of the flow/node to trigger when a member leaves.","example":null,"examples":[null]},"clientRef":{"type":"string","description":"Client reference (set by server).","example":"Growthpoint","examples":["Growthpoint"]},"inviteLink":{"type":["string","null"],"description":"Group invite link (read-only).","example":"https://chat.whatsapp.com/AbCdEfGhIjKlMn","examples":["https://chat.whatsapp.com/AbCdEfGhIjKlMn"]},"createdBy":{"type":["string","null"],"example":"+27123456789","examples":["+27123456789"]},"createdAt":{"type":["string","null"],"format":"date-time","example":"2026-01-10T08:00:00Z","examples":["2026-01-10T08:00:00Z"]},"updatedBy":{"type":["string","null"],"example":"+27123456789","examples":["+27123456789"]},"updatedAt":{"type":["string","null"],"format":"date-time","example":"2026-01-15T10:30:00Z","examples":["2026-01-15T10:30:00Z"]},"resetAt":{"type":["string","null"],"format":"date-time","example":null,"examples":[null]},"resetBy":{"type":["string","null"],"example":null,"examples":[null]}}}},"components/schemas/GroupSummarySettingsRequest":{"id":"components/schemas/GroupSummarySettingsRequest","kind":"json-schema","title":"GroupSummarySettingsRequest","data":{"type":"object","required":["enabled","quietMinutes","format","longMode","minMessages"],"properties":{"enabled":{"type":"boolean","example":true,"examples":[true]},"quietMinutes":{"type":"integer","minimum":5,"maximum":1440,"description":"Summarise once nobody has written for this many minutes.","example":30,"examples":[30]},"format":{"type":"string","enum":["TEXT","JSON"],"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"TEXT"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" sends a plain-text summary; "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"JSON"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" sends an object (see "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GroupSummaryJson"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"TEXT","examples":["TEXT"]},"longMode":{"type":"string","enum":["NONE","MAX_HOURS","MAX_MESSAGES"],"description":"What else ends a conversation that never goes quiet.","example":"NONE","examples":["NONE"]},"longLimit":{"type":["integer","null"],"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Hours (1–48) for "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"MAX_HOURS"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", messages (10–1000) for "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"MAX_MESSAGES"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Ignored for "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"NONE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"example":null,"examples":[null,4,200]},"minMessages":{"type":"integer","minimum":1,"maximum":100,"description":"Conversations shorter than this wait for the next one.","example":3,"examples":[3]},"sendShortAfterHours":{"type":["integer","null"],"minimum":1,"maximum":168,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Summarise a conversation shorter than "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"minMessages"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" anyway once its first message is this many hours old. Null waits for more messages. Defaults to 24 for a group never set up."},"children":[],"type":"text"}],"type":"paragraph"}],"example":24,"examples":[24,null]},"webhookUrl":{"type":["string","null"],"format":"uri","maxLength":2048,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Your API. Public "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"https://"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" only. Null clears it, which is only allowed while summaries are off."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"https://api.example.com/group-summaries","examples":["https://api.example.com/group-summaries"]},"webhookApiKey":{"type":["string","null"],"maxLength":1024,"writeOnly":true,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Optional. Sent in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header with every summary. Omit or leave blank to keep the saved key."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"sk_live_4f9a2c7e1b","examples":["sk_live_4f9a2c7e1b"]},"removeWebhookApiKey":{"type":"boolean","default":false,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" deletes the saved key, so summaries are sent without an "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header. Wins over "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"webhookApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"example":false,"examples":[false]}}}},"components/schemas/GroupSummarySettings":{"id":"components/schemas/GroupSummarySettings","kind":"json-schema","title":"GroupSummarySettings","data":{"type":"object","properties":{"groupId":{"type":"string","format":"uuid","example":"c0d1e2f3-a4b5-6789-c0d1-e2f3a4b56789","examples":["c0d1e2f3-a4b5-6789-c0d1-e2f3a4b56789"]},"available":{"type":"boolean","description":"Whether AI summaries are switched on for your account.","example":true,"examples":[true]},"enabled":{"type":"boolean","example":true,"examples":[true]},"quietMinutes":{"type":"integer","example":30,"examples":[30]},"format":{"type":"string","enum":["TEXT","JSON"],"example":"TEXT","examples":["TEXT"]},"longMode":{"type":"string","enum":["NONE","MAX_HOURS","MAX_MESSAGES"],"example":"NONE","examples":["NONE"]},"longLimit":{"type":["integer","null"],"example":null,"examples":[null]},"minMessages":{"type":"integer","example":3,"examples":[3]},"sendShortAfterHours":{"type":["integer","null"],"example":24,"examples":[24,null]},"webhookUrl":{"type":["string","null"],"example":"https://api.example.com/group-summaries","examples":["https://api.example.com/group-summaries"]},"hasApiKey":{"type":"boolean","description":"Whether an API key is saved. The key itself is never returned.","example":true,"examples":[true]}}}},"components/schemas/GroupSummaryDelivery":{"id":"components/schemas/GroupSummaryDelivery","kind":"json-schema","title":"GroupSummaryDelivery","data":{"type":"object","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"What eCommunicate "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"s to your "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"webhookUrl"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for each summarised conversation."},"children":[],"type":"text"}],"type":"paragraph"}],"required":["summaryId","clientRef","groupJid","windowStart","windowEnd","messageCount","format","summary"],"properties":{"summaryId":{"type":"string","format":"uuid","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Unique per summary; also sent as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"X-Idempotency-Key"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"6f1c2a9e-3b7d-4e8a-9c2f-1d5e7a3b9c04","examples":["6f1c2a9e-3b7d-4e8a-9c2f-1d5e7a3b9c04"]},"clientRef":{"type":"string","example":"Growthpoint","examples":["Growthpoint"]},"groupJid":{"type":"string","example":"120363045678901234@g.us","examples":["120363045678901234@g.us"]},"groupName":{"type":["string","null"],"description":"The group's name when the summary was sent.","example":"Printer support","examples":["Printer support"]},"windowStart":{"type":"string","format":"date-time","description":"UTC. Exclusive: the last message of the previous summary, or when summaries were switched on.","example":"2026-11-19T07:00:00Z","examples":["2026-11-19T07:00:00Z"]},"windowEnd":{"type":"string","format":"date-time","description":"UTC. The newest message included.","example":"2026-11-19T07:42:13.518Z","examples":["2026-11-19T07:42:13.518Z"]},"messageCount":{"type":"integer","description":"Messages in the window, attachments included.","example":14,"examples":[14]},"format":{"type":"string","enum":["TEXT","JSON"],"example":"TEXT","examples":["TEXT"]},"summary":{"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A plain-text summary when "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"format"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"TEXT"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"; a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GroupSummaryJson"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" object when it is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"JSON"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"oneOf":[{"type":"string","example":"Issues\n- Toner low (raised by Carol): Open","examples":["Issues\n- Toner low (raised by Carol): Open"]},{"$ref":"#/components/schemas/GroupSummaryJson"}]}}}},"components/schemas/GroupSummaryJson":{"id":"components/schemas/GroupSummaryJson","kind":"json-schema","title":"GroupSummaryJson","data":{"type":"object","required":["summary","issues","actionItems","participants"],"properties":{"summary":{"type":"string","description":"Two or three sentences on what the conversation was about and where it stands.","example":"The floor 3 printer jammed and was fixed; toner is still low.","examples":["The floor 3 printer jammed and was fixed; toner is still low."]},"issues":{"type":"array","description":"Each distinct issue raised, oldest first.","items":{"type":"object","required":["title","raisedBy","resolution","status"],"properties":{"title":{"type":"string","example":"Toner low","examples":["Toner low"]},"raisedBy":{"type":"string","description":"Name as shown in the group; never a phone number.","example":"Carol","examples":["Carol"]},"resolution":{"type":["string","null"],"description":"How it was resolved and by whom; null while open.","example":null,"examples":[null,"Bob cleared the paper tray."]},"status":{"type":"string","enum":["RESOLVED","OPEN"],"example":"OPEN","examples":["OPEN"]}}}},"actionItems":{"type":"array","items":{"type":"object","required":["description","owner"],"properties":{"description":{"type":"string","example":"Order toner","examples":["Order toner"]},"owner":{"type":["string","null"],"description":"Null when the chat names nobody.","example":"Facilities","examples":["Facilities"]}}}},"participants":{"type":"array","description":"Names of everyone who wrote in the conversation.","items":{"type":"string","example":"Alice","examples":["Alice"]}}}}},"components/schemas/GroupMessage":{"id":"components/schemas/GroupMessage","kind":"json-schema","title":"GroupMessage","data":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"d0e1f2a3-b4c5-6789-d0e1-f2a3b4c56789","examples":["d0e1f2a3-b4c5-6789-d0e1-f2a3b4c56789"]},"groupId":{"type":"string","description":"ID of the group this message belongs to.","example":"c0d1e2f3-a4b5-6789-c0d1-e2f3a4b56789","examples":["c0d1e2f3-a4b5-6789-c0d1-e2f3a4b56789"]},"senderName":{"type":["string","null"],"example":"John Doe","examples":["John Doe"]},"senderNumber":{"type":"string","example":"+27821234567","examples":["+27821234567"]},"message":{"type":"string","example":"Meeting at 3pm today.","examples":["Meeting at 3pm today."]},"contentType":{"type":"string","enum":["TEXT","IMAGE","DOCUMENT","VIDEO","AUDIO","VOICE","LOCATION","FILE","BUTTON","CAROUSEL","DROPDOWN","DATE","MEDIA","RATING"],"example":"TEXT","examples":["TEXT"]},"direction":{"type":"string","enum":["OUTGOING","INCOMING"],"example":"OUTGOING","examples":["OUTGOING"]},"mediaType":{"type":["string","null"],"enum":["DOCUMENT","IMAGE","VIDEO","AUDIO","VOICE","BUTTON","FILE",null],"example":null,"examples":[null]},"caption":{"type":["string","null"],"example":null,"examples":[null]},"filename":{"type":["string","null"],"example":null,"examples":[null]},"mimetype":{"type":["string","null"],"example":null,"examples":[null]},"fileSize":{"type":"integer","example":0,"examples":[0]},"fileExtension":{"type":["string","null"],"example":null,"examples":[null]},"channel":{"type":"string","enum":["WHATSAPP","WEB","FACEBOOK"],"example":"WHATSAPP","examples":["WHATSAPP"]},"mediaUrl":{"type":["string","null"],"example":null,"examples":[null]},"createdAt":{"type":["string","null"],"format":"date-time","example":"2026-01-15T10:30:00Z","examples":["2026-01-15T10:30:00Z"]},"sent":{"type":"boolean","example":true,"examples":[true]},"sentAt":{"type":["string","null"],"format":"date-time","example":"2026-01-15T10:30:01Z","examples":["2026-01-15T10:30:01Z"]},"delivered":{"type":"boolean","example":false,"examples":[false]},"deliveredAt":{"type":["string","null"],"format":"date-time","example":null,"examples":[null]},"read":{"type":"boolean","example":false,"examples":[false]},"readAt":{"type":["string","null"],"format":"date-time","example":null,"examples":[null]},"messageId":{"type":["string","null"],"description":"WhatsApp message ID.","example":"3EB0B430A7C9D1F2","examples":["3EB0B430A7C9D1F2"]},"reactions":{"type":["array","null"],"items":{"$ref":"#/components/schemas/Reaction"},"example":[],"examples":[[]]},"previewTitle":{"type":["string","null"],"example":null,"examples":[null]},"previewDescription":{"type":["string","null"],"example":null,"examples":[null]},"previewUrl":{"type":["string","null"],"example":null,"examples":[null]},"previewImageUrl":{"type":["string","null"],"example":null,"examples":[null]}}}},"components/schemas/Reaction":{"id":"components/schemas/Reaction","kind":"json-schema","title":"Reaction","data":{"type":"object","properties":{"reactorName":{"type":"string","example":"John Doe","examples":["John Doe"]},"reactorNumber":{"type":"string","example":"+27821234567","examples":["+27821234567"]},"reactionEmoji":{"type":"string","example":"👍","examples":["👍"]}}}},"components/schemas/MessageProcessingConfig":{"id":"components/schemas/MessageProcessingConfig","kind":"json-schema","title":"MessageProcessingConfig","data":{"type":"object","properties":{"id":{"type":"string","example":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","examples":["1d368c30-c9f8-4523-b8c2-3824ba72ff5c"]},"clientNumber":{"type":"string","example":"+27123456789","examples":["+27123456789"]},"clientRef":{"type":"string","example":"MyClient","examples":["MyClient"]},"clientTimezone":{"type":"string","example":"Africa/Johannesburg","examples":["Africa/Johannesburg"]},"maxMessagesPerMinute":{"type":"integer","default":6,"description":"Maximum messages sent per minute.","example":6,"examples":[6]},"minMsgDelaySeconds":{"type":"integer","default":5,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"WhatsApp Lite only."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Minimum delay between individual messages (seconds)."},"children":[],"type":"text"}],"type":"paragraph"}],"example":5,"examples":[5]},"maxMsgDelaySeconds":{"type":"integer","default":10,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"WhatsApp Lite only."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Maximum delay between individual messages (seconds)."},"children":[],"type":"text"}],"type":"paragraph"}],"example":10,"examples":[10]},"batchSize":{"type":"integer","default":20,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"WhatsApp Lite only."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Number of messages per batch."},"children":[],"type":"text"}],"type":"paragraph"}],"example":20,"examples":[20]},"minBatchDelayMinutes":{"type":"integer","default":15,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"WhatsApp Lite only."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Minimum delay between batches (minutes)."},"children":[],"type":"text"}],"type":"paragraph"}],"example":15,"examples":[15]},"maxBatchDelayMinutes":{"type":"integer","default":30,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"WhatsApp Lite only."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Maximum delay between batches (minutes)."},"children":[],"type":"text"}],"type":"paragraph"}],"example":30,"examples":[30]},"batchSuccessLimit":{"type":"integer","default":0,"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"WhatsApp Lite only."},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" Stop batch after this many successes (0 = unlimited)."},"children":[],"type":"text"}],"type":"paragraph"}],"example":0,"examples":[0]},"dailySchedules":{"type":"object","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Send window per day of week. Keys: MONDAY–SUNDAY."},"children":[],"type":"text"}],"type":"paragraph"}],"additionalProperties":{"$ref":"#/components/schemas/DailySchedule"}}}}},"components/schemas/DailySchedule":{"id":"components/schemas/DailySchedule","kind":"json-schema","title":"DailySchedule","data":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether sending is allowed on this day.","example":true,"examples":[true]},"resumeTime":{"type":"string","description":"Start of send window (HH:MM format).","example":"08:00","examples":["08:00"]},"stopTime":{"type":"string","description":"End of send window (HH:MM format).","example":"20:00","examples":["20:00"]}}}},"components/schemas/SystemUser":{"id":"components/schemas/SystemUser","kind":"json-schema","title":"SystemUser","data":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"e1f2a3b4-c5d6-7890-e1f2-a3b4c5d67890","examples":["e1f2a3b4-c5d6-7890-e1f2-a3b4c5d67890"]},"email":{"type":"string","example":"agent@example.com","examples":["agent@example.com"]},"password":{"type":"string","format":"password","example":"********","examples":["********"]},"tempPassword":{"type":["string","null"],"example":"********","examples":["********"]},"role":{"type":"string","enum":["CLIENT"],"example":"CLIENT","examples":["CLIENT"]},"liveChatRole":{"type":"string","enum":["SUPERVISOR","AGENT"],"example":"AGENT","examples":["AGENT"]},"primaryEmailAddress":{"type":["string","null"],"example":"agent@example.com","examples":["agent@example.com"]},"mobileNumber":{"type":["string","null"],"example":"+27821234567","examples":["+27821234567"]},"sentLowerCreditLimitMail":{"type":"boolean","example":false,"examples":[false]},"sentZeroCreditMail":{"type":"boolean","example":false,"examples":[false]},"apiKey":{"type":"string","example":"64a1b2c3d4e5f67890abcdef","examples":["64a1b2c3d4e5f67890abcdef"]},"disabled":{"type":"boolean","default":false,"example":false,"examples":[false]},"deleted":{"type":"boolean","default":false,"example":false,"examples":[false]},"emailVerificationKey":{"type":["string","null"],"example":null,"examples":[null]},"passwordResetKey":{"type":["string","null"],"example":null,"examples":[null]},"inactivityNodeId":{"type":["string","null"],"example":"node-inactivity-001","examples":["node-inactivity-001"]},"publicHolidayInactivityNodeId":{"type":["string","null"],"example":"node-holiday-001","examples":["node-holiday-001"]},"officeClosedInactivityNodeId":{"type":["string","null"],"example":"node-closed-001","examples":["node-closed-001"]},"autoResponseNodeId":{"type":["string","null"],"example":"node-auto-001","examples":["node-auto-001"]},"client":{"$ref":"#/components/schemas/Client"},"clientRef":{"type":["string","null"],"example":null,"examples":[null]},"ticketCount":{"type":["integer","null"],"example":5,"examples":[5]},"lastSeen":{"type":["string","null"],"example":null,"examples":[null]},"resetPasswordEmailSent":{"type":"boolean","example":false,"examples":[false]},"emailVerified":{"type":"boolean","example":false,"examples":[false]},"firstName":{"type":"string","example":"Jane","examples":["Jane"]},"lastName":{"type":"string","example":"Doe","examples":["Doe"]},"agentChatLimit":{"type":"integer","description":"Max concurrent chats.","example":5,"examples":[5]},"availabilityStatus":{"type":"boolean","example":true,"examples":[true]},"initialPassword":{"type":"boolean","example":false,"examples":[false]},"tempAccount":{"type":"boolean","example":false,"examples":[false]},"loginToken":{"type":"string","example":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","examples":["1d368c30-c9f8-4523-b8c2-3824ba72ff5c"]},"validToken":{"type":"boolean","example":false,"examples":[false]},"avatar":{"type":"string","example":"https://example.com/avatars/jane.jpg","examples":["https://example.com/avatars/jane.jpg"]},"shouldGetNotifications":{"type":"boolean","example":true,"examples":[true]},"applicationKey":{"type":"string","example":"a3b4c5d6-e7f8-9012-a3b4-c5d6e7f89012","examples":["a3b4c5d6-e7f8-9012-a3b4-c5d6e7f89012"]},"userId":{"type":"string","example":"21c28d3e-bc5c-4bc9-99be-fe283df71653","examples":["21c28d3e-bc5c-4bc9-99be-fe283df71653"]},"applicationClientId":{"type":"string","example":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","examples":["1d368c30-c9f8-4523-b8c2-3824ba72ff5c"]},"allowedSharedInbox":{"type":"boolean","example":true,"examples":[true]},"allowedUnassignedInbox":{"type":"boolean","example":true,"examples":[true]},"assignmentMessage":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Custom message sent to the customer when a chat is assigned to this agent. If null, defaults to 'Assigned to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"<agent name>"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"'."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"Hi, I'm Jane and I'll be assisting you today.","examples":["Hi, I'm Jane and I'll be assisting you today."]}}}},"components/schemas/SystemUserRequest":{"id":"components/schemas/SystemUserRequest","kind":"json-schema","title":"SystemUserRequest","data":{"type":"object","properties":{"email":{"type":"string","example":"agent@example.com","examples":["agent@example.com"]},"password":{"type":"string","format":"password","example":"********","examples":["********"]},"liveChatRole":{"type":"string","enum":["SUPERVISOR","AGENT"],"example":"AGENT","examples":["AGENT"]},"client":{"$ref":"#/components/schemas/Client"},"firstName":{"type":"string","example":"Jane","examples":["Jane"]},"lastName":{"type":"string","example":"Doe","examples":["Doe"]},"avatar":{"type":["string","null"],"example":"https://example.com/avatars/jane.jpg","examples":["https://example.com/avatars/jane.jpg"]},"assignmentMessage":{"type":["string","null"],"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Custom message sent to the customer when a chat is assigned to this agent. If null, defaults to 'Assigned to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"<agent name>"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"'."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"Hi, I'm Jane and I'll be assisting you today.","examples":["Hi, I'm Jane and I'll be assisting you today."]}}}},"components/schemas/PasswordWrapper":{"id":"components/schemas/PasswordWrapper","kind":"json-schema","title":"PasswordWrapper","data":{"type":"object","required":["oldPassword","newPassword","confirmNewPassword"],"properties":{"oldPassword":{"type":"string","format":"password","example":"********","examples":["********"]},"newPassword":{"type":"string","format":"password","example":"********","examples":["********"]},"confirmNewPassword":{"type":"string","format":"password","example":"********","examples":["********"]}}}},"components/schemas/TeamEntity":{"id":"components/schemas/TeamEntity","kind":"json-schema","title":"TeamEntity","data":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"f2a3b4c5-d6e7-8901-f2a3-b4c5d6e78901","examples":["f2a3b4c5-d6e7-8901-f2a3-b4c5d6e78901"]},"clientRef":{"type":"string","example":"Growthpoint","examples":["Growthpoint"]},"teamName":{"type":"string","example":"Support Team","examples":["Support Team"]},"selectedNextNodeId":{"type":"string","example":"node-abc123","examples":["node-abc123"]},"priority":{"type":"integer","example":1,"examples":[1]}}}},"components/schemas/TeamReq":{"id":"components/schemas/TeamReq","kind":"json-schema","title":"TeamReq","data":{"type":"object","required":["teamName"],"properties":{"id":{"type":"string","format":"uuid","description":"Required for update/remove.","example":"f2a3b4c5-d6e7-8901-f2a3-b4c5d6e78901","examples":["f2a3b4c5-d6e7-8901-f2a3-b4c5d6e78901"]},"clientRef":{"type":"string","example":"MyClient","examples":["MyClient"]},"teamName":{"type":"string","example":"Support Team","examples":["Support Team"]},"priority":{"type":"integer","example":1,"examples":[1]},"selectedNextNodeId":{"type":["string","null"],"example":"node-abc123","examples":["node-abc123"]},"supervisorEmail":{"type":["string","null"],"example":"supervisor@example.com","examples":["supervisor@example.com"]}}}},"components/schemas/MemberReq":{"id":"components/schemas/MemberReq","kind":"json-schema","title":"MemberReq","data":{"type":"object","required":["teamId","systemUserId"],"properties":{"teamId":{"type":"string","format":"uuid","example":"f2a3b4c5-d6e7-8901-f2a3-b4c5d6e78901","examples":["f2a3b4c5-d6e7-8901-f2a3-b4c5d6e78901"]},"systemUserId":{"type":"string","format":"uuid","example":"e1f2a3b4-c5d6-7890-e1f2-a3b4c5d67890","examples":["e1f2a3b4-c5d6-7890-e1f2-a3b4c5d67890"]}}}},"components/schemas/SMSSendReceiveMessage":{"id":"components/schemas/SMSSendReceiveMessage","kind":"json-schema","title":"SMSSendReceiveMessage","data":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"a3b4c5d6-e7f8-9012-a3b4-c5d6e7f89012","examples":["a3b4c5d6-e7f8-9012-a3b4-c5d6e7f89012"]},"createdTime":{"type":"string","format":"date-time","example":"2026-01-15T10:30:00Z","examples":["2026-01-15T10:30:00Z"]},"gstid":{"type":"string","example":"sms-gst-56789","examples":["sms-gst-56789"]},"receiver":{"type":"string","example":"27821234567","examples":["27821234567"]},"text":{"type":"string","example":"Your verification code is 12345.","examples":["Your verification code is 12345."]},"sent":{"type":"boolean","example":true,"examples":[true]},"delivered":{"type":"boolean","example":true,"examples":[true]},"failed":{"type":"boolean","example":false,"examples":[false]},"messageStatus":{"type":"string","example":"DELIVERED","examples":["DELIVERED"]},"messageStatusCode":{"type":"string","example":"0","examples":["0"]},"messageCost":{"type":"string","example":"0.15","examples":["0.15"]},"smsCTDId":{"type":"string","example":"sms-ctd-001","examples":["sms-ctd-001"]},"timeSentToPayless":{"type":"string","format":"date-time","example":"2026-01-15T10:30:00Z","examples":["2026-01-15T10:30:00Z"]},"timeSentSMS":{"type":"string","format":"date-time","example":"2026-01-15T10:30:01Z","examples":["2026-01-15T10:30:01Z"]},"timeDeliveredSMS":{"type":"string","format":"date-time","example":"2026-01-15T10:30:05Z","examples":["2026-01-15T10:30:05Z"]},"messageType":{"type":"string","enum":["DIRECT","FALLBACK"],"example":"DIRECT","examples":["DIRECT"]},"messageDirection":{"type":"string","enum":["OUTGOING","INCOMING"],"example":"OUTGOING","examples":["OUTGOING"]}}}},"components/schemas/Contact":{"id":"components/schemas/Contact","kind":"json-schema","title":"Contact","data":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"b4c5d6e7-f890-1234-b4c5-d6e7f8901234","examples":["b4c5d6e7-f890-1234-b4c5-d6e7f8901234"]},"found":{"type":"boolean","description":"Whether the contact was found on WhatsApp.","example":true,"examples":[true]},"firstName":{"type":"string","example":"John","examples":["John"]},"fullName":{"type":"string","example":"John Doe","examples":["John Doe"]},"pushName":{"type":"string","example":"JD","examples":["JD"]},"businessName":{"type":"string","example":"Acme Corp","examples":["Acme Corp"]},"redactedPhone":{"type":"string","description":"Partially redacted phone number.","example":"+27***4567","examples":["+27***4567"]},"phoneNumber":{"type":"string","example":"27821234567","examples":["27821234567"]},"jid":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"WhatsApp JID (e.g. 27821234567@s.whatsapp.net)."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"27821234567@s.whatsapp.net","examples":["27821234567@s.whatsapp.net"]},"clientId":{"type":"string","format":"uuid","description":"ID of the client this contact belongs to.","example":"dbdb8809-6fd0-4cd2-8574-502f0f61a69d","examples":["dbdb8809-6fd0-4cd2-8574-502f0f61a69d"]},"createdAt":{"type":"string","format":"date-time","example":"2026-01-05T15:06:42.606638+02:00","examples":["2026-01-05T15:06:42.606638+02:00"]},"updatedAt":{"type":"string","format":"date-time","example":"2026-01-16T21:16:33.620179+02:00","examples":["2026-01-16T21:16:33.620179+02:00"]}}}},"components/schemas/WhatsAppBlockedNumber":{"id":"components/schemas/WhatsAppBlockedNumber","kind":"json-schema","title":"WhatsAppBlockedNumber","data":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"c5d6e7f8-9012-3456-c5d6-e7f890123456","examples":["c5d6e7f8-9012-3456-c5d6-e7f890123456"]},"number":{"type":"string","example":"+27821234567","examples":["+27821234567"]},"clientNumber":{"type":"string","example":"+27123456789","examples":["+27123456789"]},"blockedTime":{"type":"string","format":"date-time","example":"2026-01-14T12:00:00Z","examples":["2026-01-14T12:00:00Z"]}}}},"components/schemas/WhatsAppBlacklistNumber":{"id":"components/schemas/WhatsAppBlacklistNumber","kind":"json-schema","title":"WhatsAppBlacklistNumber","data":{"type":"object","properties":{"id":{"type":"string","format":"uuid","example":"d6e7f890-1234-5678-d6e7-f89012345678","examples":["d6e7f890-1234-5678-d6e7-f89012345678"]},"number":{"type":"string","example":"+27821234567","examples":["+27821234567"]},"clientNumber":{"type":"string","example":"+27123456789","examples":["+27123456789"]},"blacklistReason":{"type":"string","example":"Customer requested opt-out","examples":["Customer requested opt-out"]},"blacklistTime":{"type":"string","format":"date-time","example":"2026-01-13T15:30:00Z","examples":["2026-01-13T15:30:00Z"]}}}},"components/schemas/BlacklistRequestDto":{"id":"components/schemas/BlacklistRequestDto","kind":"json-schema","title":"BlacklistRequestDto","data":{"type":"object","required":["number","clientNumber"],"properties":{"number":{"type":"string","description":"Phone number to blacklist.","example":"+27821234567","examples":["+27821234567"]},"clientNumber":{"type":"string","description":"Your WhatsApp sender number.","example":"+27123456789","examples":["+27123456789"]},"reason":{"type":"string","description":"Optional reason for blacklisting.","example":"Customer requested opt-out","examples":["Customer requested opt-out"]}}}},"components/schemas/PaginatedResponse":{"id":"components/schemas/PaginatedResponse","kind":"json-schema","title":"PaginatedResponse","data":{"type":"object","properties":{"content":{"type":"array","items":{"type":"object"}},"totalElements":{"type":"integer","example":100,"examples":[100]},"totalPages":{"type":"integer","example":10,"examples":[10]},"size":{"type":"integer","example":10,"examples":[10]},"number":{"type":"integer","example":0,"examples":[0]},"first":{"type":"boolean","example":true,"examples":[true]},"last":{"type":"boolean","example":false,"examples":[false]},"empty":{"type":"boolean","example":false,"examples":[false]}}}},"schema_0":{"kind":"json-schema","data":{"type":"object","properties":{"status":{"type":"string","example":"ERROR","examples":["ERROR"]},"message":{"type":"string","example":"Unauthorized user","examples":["Unauthorized user"]},"requestId":{"type":"string","format":"uuid","example":"c3a1f8e2-4b6d-11ee-be56-0242ac120002","examples":["c3a1f8e2-4b6d-11ee-be56-0242ac120002"]},"timestamp":{"type":"string","example":"2026-01-15T10:30:00Z","examples":["2026-01-15T10:30:00Z"]}}},"id":"schema_0"},"schema_1":{"kind":"json-schema","data":{"type":"string","example":"Growthpoint","examples":["Growthpoint"]},"id":"schema_1"},"schema_2":{"kind":"json-schema","data":{"type":"integer","default":0,"example":0,"examples":[0]},"id":"schema_2"},"schema_3":{"kind":"json-schema","data":{"type":"integer","default":10,"example":10,"examples":[10]},"id":"schema_3"},"schema_4":{"kind":"json-schema","data":{"type":"string","example":"acme","examples":["acme"]},"id":"schema_4"},"schema_5":{"kind":"json-schema","data":{"type":"object","properties":{"status":{"type":"string","example":"ERROR","examples":["ERROR"]},"message":{"type":"string","example":"Resource not found","examples":["Resource not found"]},"requestId":{"type":"string","format":"uuid","example":"c3a1f8e2-4b6d-11ee-be56-0242ac120002","examples":["c3a1f8e2-4b6d-11ee-be56-0242ac120002"]},"timestamp":{"type":"string","example":"2026-01-15T10:30:00Z","examples":["2026-01-15T10:30:00Z"]}}},"id":"schema_5"},"schema_6":{"kind":"json-schema","data":{"type":"object","properties":{"status":{"type":"string","example":"ERROR","examples":["ERROR"]},"message":{"type":"string","example":"Invalid Parameters","examples":["Invalid Parameters"]},"requestId":{"type":"string","format":"uuid","example":"c3a1f8e2-4b6d-11ee-be56-0242ac120002","examples":["c3a1f8e2-4b6d-11ee-be56-0242ac120002"]},"timestamp":{"type":"string","example":"2026-01-15T10:30:00Z","examples":["2026-01-15T10:30:00Z"]}}},"id":"schema_6"},"schema_7":{"kind":"json-schema","data":{"description":"Lightweight client view returned by read-only endpoints.","$ref":"#/components/schemas/Client"},"id":"schema_7"},"schema_8":{"kind":"json-schema","data":{"type":"string","example":"john","examples":["john"]},"id":"schema_8"},"schema_9":{"kind":"json-schema","data":{"type":"array","items":{"$ref":"#/components/schemas/UserSummary"}},"id":"schema_9"},"schema_10":{"kind":"json-schema","data":{"type":"string","example":"fcc7c809-2765-4aad-a8e7-7444adbdac16","examples":["fcc7c809-2765-4aad-a8e7-7444adbdac16"]},"id":"schema_10"},"schema_11":{"kind":"json-schema","data":{"type":"object","properties":{"message":{"type":"string","example":"User deleted successfully","examples":["User deleted successfully"]}}},"id":"schema_11"},"schema_12":{"kind":"json-schema","data":{"type":"string","example":"alice","examples":["alice"]},"id":"schema_12"},"schema_13":{"kind":"json-schema","data":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/UserResponse"}},"totalElements":{"type":"integer","example":100,"examples":[100]},"totalPages":{"type":"integer","example":10,"examples":[10]}}},"id":"schema_13"},"schema_14":{"kind":"json-schema","data":{"type":"object","properties":{"status":{"type":"boolean","example":true,"examples":[true]}}},"id":"schema_14"},"schema_15":{"kind":"json-schema","data":{"type":"object","required":["clientRef","agentChatLimit"],"properties":{"clientRef":{"type":"string","example":"MyClient","examples":["MyClient"]},"agentChatLimit":{"type":"integer","example":5,"examples":[5]}}},"id":"schema_15"},"schema_16":{"kind":"json-schema","data":{"type":"object","properties":{"message":{"type":"string","example":"Password Changed Successfully","examples":["Password Changed Successfully"]}}},"id":"schema_16"},"schema_17":{"kind":"json-schema","data":{"type":"number","format":"decimal","example":1000,"examples":[1000]},"id":"schema_17"},"schema_18":{"kind":"json-schema","data":{"type":"array","items":{"$ref":"#/components/schemas/SystemUser"}},"id":"schema_18"},"schema_19":{"kind":"json-schema","data":{"type":"object","properties":{"status":{"type":"string","example":"ERROR","examples":["ERROR"]},"message":{"type":"string","example":"Forbidden","examples":["Forbidden"]},"requestId":{"type":"string","format":"uuid","example":"c3a1f8e2-4b6d-11ee-be56-0242ac120002","examples":["c3a1f8e2-4b6d-11ee-be56-0242ac120002"]},"timestamp":{"type":"string","example":"2026-01-15T10:30:00Z","examples":["2026-01-15T10:30:00Z"]}}},"id":"schema_19"},"schema_20":{"kind":"json-schema","data":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/SystemUser"}},"totalElements":{"type":"integer","example":100,"examples":[100]},"totalPages":{"type":"integer","example":10,"examples":[10]}}},"id":"schema_20"},"schema_21":{"kind":"json-schema","data":{"type":"object","properties":{"message":{"type":"string","example":"Password changed successfully","examples":["Password changed successfully"]}}},"id":"schema_21"},"schema_22":{"kind":"json-schema","data":{"type":"object","required":["email","password","clientRef"],"properties":{"email":{"type":"string","format":"email","description":"The email address associated with your eCommunicate account.","example":"user@example.com","examples":["user@example.com"]},"password":{"type":"string","format":"password","description":"Your eCommunicate account password.","example":"your-password","examples":["your-password"]},"clientRef":{"type":"string","description":"Your unique client reference identifier, found in the eCommunicate dashboard.","example":"CLIENT001","examples":["CLIENT001"]}}},"id":"schema_22"},"schema_23":{"kind":"json-schema","data":{"type":"object","properties":{"apiKey":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Your Developer API key (UUID format). Use this in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"Authorization"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","examples":["a1b2c3d4-e5f6-7890-abcd-ef1234567890"]}}},"id":"schema_23"},"schema_24":{"kind":"json-schema","data":{"type":"object","properties":{"status":{"type":"string","example":"REJECTED","examples":["REJECTED"]},"message":{"type":"string","description":"A human-readable description of the authentication failure.","example":"Invalid Credentials","examples":["Invalid Credentials"]},"requestId":{"type":"string","format":"uuid","example":"c3a1f8e2-4b6d-11ee-be56-0242ac120002","examples":["c3a1f8e2-4b6d-11ee-be56-0242ac120002"]},"timestamp":{"type":"string","format":"date-time","example":"2026-01-15T10:30:00Z","examples":["2026-01-15T10:30:00Z"]}}},"id":"schema_24"},"schema_25":{"kind":"json-schema","data":{"type":"object","properties":{"token":{"type":"string","example":"f6e5d4c3-b2a1-0987-6543-210fedcba987","examples":["f6e5d4c3-b2a1-0987-6543-210fedcba987"]}}},"id":"schema_25"},"schema_26":{"kind":"json-schema","data":{"type":"object","required":["id"],"properties":{"id":{"type":"string","format":"uuid","description":"The ID of the team to remove.","example":"f2a3b4c5-d6e7-8901-f2a3-b4c5d6e78901","examples":["f2a3b4c5-d6e7-8901-f2a3-b4c5d6e78901"]}}},"id":"schema_26"},"schema_27":{"kind":"json-schema","data":{"type":"array","items":{"$ref":"#/components/schemas/TeamEntity"}},"id":"schema_27"},"schema_28":{"kind":"json-schema","data":{"type":"string","format":"uuid","example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","examples":["a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890"]},"id":"schema_28"},"schema_29":{"kind":"json-schema","data":{"type":"array","items":{"type":"string","example":"Support Team","examples":["Support Team"]}},"id":"schema_29"},"schema_30":{"kind":"json-schema","data":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/BalanceHistoryEntry"}},"totalElements":{"type":"integer","example":100,"examples":[100]},"totalPages":{"type":"integer","example":10,"examples":[10]}}},"id":"schema_30"},"schema_31":{"kind":"json-schema","data":{"type":"string","example":"a1b2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d"},"id":"schema_31"},"schema_32":{"kind":"json-schema","data":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/WhatsAppClientNumberResponse"}},"totalElements":{"type":"integer","example":100,"examples":[100]},"totalPages":{"type":"integer","example":10,"examples":[10]},"size":{"type":"integer","example":10,"examples":[10]},"number":{"type":"integer","example":0,"examples":[0]}}},"id":"schema_32"},"schema_33":{"kind":"json-schema","data":{"type":"array","items":{"$ref":"#/components/schemas/WhatsAppClientNumberResponse"}},"id":"schema_33"},"schema_34":{"kind":"json-schema","data":{"type":"object","properties":{"status":{"type":"string","example":"400","examples":["400"]},"errorCode":{"type":"string","example":"BAD_REQUEST","examples":["BAD_REQUEST"]},"errorCodeString":{"type":"string","example":"Phone number is required","examples":["Phone number is required"]}}},"id":"schema_34"},"schema_35":{"kind":"json-schema","data":{"type":"object","properties":{"template":{"$ref":"#/components/schemas/TemplateResponseObject"}}},"id":"schema_35"},"schema_36":{"kind":"json-schema","data":{"type":"object","properties":{"success":{"type":"boolean","example":true,"examples":[true]},"message":{"type":"string","example":"TEMPLATE_SUCCESSFULLY_DELETED","examples":["TEMPLATE_SUCCESSFULLY_DELETED"]}}},"id":"schema_36"},"schema_37":{"kind":"json-schema","data":{"type":"string","default":"requestedDate","example":"requestedDate","examples":["requestedDate"]},"id":"schema_37"},"schema_38":{"kind":"json-schema","data":{"type":"string","default":"desc","example":"desc","examples":["desc"]},"id":"schema_38"},"schema_39":{"kind":"json-schema","data":{"type":["string","null"],"example":"+27123456789","examples":["+27123456789"]},"id":"schema_39"},"schema_40":{"kind":"json-schema","data":{"type":"array","items":{"type":"string","format":"uuid","example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","examples":["a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890"]},"description":"List of message IDs to resend."},"id":"schema_40"},"schema_41":{"kind":"json-schema","data":{"type":"object","properties":{"message":{"type":"string","example":"Resend initiated for 2 messages","examples":["Resend initiated for 2 messages"]}}},"id":"schema_41"},"schema_42":{"kind":"json-schema","data":{"type":"string","format":"date-time","example":"2026-01-01T00:00:00+02:00","examples":["2026-01-01T00:00:00+02:00"]},"id":"schema_42"},"schema_43":{"kind":"json-schema","data":{"type":"string","format":"date-time","example":"2026-01-31T23:59:59+02:00","examples":["2026-01-31T23:59:59+02:00"]},"id":"schema_43"},"schema_44":{"kind":"json-schema","data":{"type":["string","null"],"example":"marketing_promo_01","examples":["marketing_promo_01"]},"id":"schema_44"},"schema_45":{"kind":"json-schema","data":{"type":["string","null"],"example":"john","examples":["john"]},"id":"schema_45"},"schema_46":{"kind":"json-schema","data":{"type":["integer","null"],"example":1,"examples":[1]},"id":"schema_46"},"schema_47":{"kind":"json-schema","data":{"type":"object","properties":{"message":{"type":"string","example":"Resend initiated for all matching messages","examples":["Resend initiated for all matching messages"]}}},"id":"schema_47"},"schema_48":{"kind":"json-schema","data":{"type":"string","enum":["my","team","my-missed","unassigned","closed","missed-agent","missed-after-hours","open","all"],"example":"my","examples":["my"]},"id":"schema_48"},"schema_49":{"kind":"json-schema","data":{"type":"string","example":"27123456789","examples":["27123456789"]},"id":"schema_49"},"schema_50":{"kind":"json-schema","data":{"type":"string","example":"aef65b5a-23a4-462a-a275-9aa2f3e0e56e","examples":["aef65b5a-23a4-462a-a275-9aa2f3e0e56e"]},"id":"schema_50"},"schema_51":{"kind":"json-schema","data":{"type":"object","properties":{"status":{"type":"string","example":"ERROR","examples":["ERROR"]},"message":{"type":"string","example":"You do not have access to this chat's team inbox","examples":["You do not have access to this chat's team inbox"]},"requestId":{"type":"string","format":"uuid","example":"c3a1f8e2-4b6d-11ee-be56-0242ac120002","examples":["c3a1f8e2-4b6d-11ee-be56-0242ac120002"]},"timestamp":{"type":"string","example":"2026-01-15T10:30:00Z","examples":["2026-01-15T10:30:00Z"]}}},"id":"schema_51"},"schema_52":{"kind":"json-schema","data":{"type":"object","properties":{"status":{"type":"string","example":"ERROR","examples":["ERROR"]},"message":{"type":"string","example":"Chat has already been taken","examples":["Chat has already been taken"]},"requestId":{"type":"string","format":"uuid","example":"c3a1f8e2-4b6d-11ee-be56-0242ac120002","examples":["c3a1f8e2-4b6d-11ee-be56-0242ac120002"]},"timestamp":{"type":"string","example":"2026-01-15T10:30:00Z","examples":["2026-01-15T10:30:00Z"]}}},"id":"schema_52"},"schema_53":{"kind":"json-schema","data":{"type":"array","items":{"type":"string","format":"uuid","example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","examples":["a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890"]}},"id":"schema_53"},"schema_54":{"kind":"json-schema","data":{"type":"string","example":"GSTN-12345","examples":["GSTN-12345","CTN-67890"]},"id":"schema_54"},"schema_55":{"kind":"json-schema","data":{"type":"array","items":{"$ref":"#/components/schemas/MessageResponse"}},"id":"schema_55"},"schema_56":{"kind":"json-schema","data":{"type":"string","example":"ct-msg-5678","examples":["ct-msg-5678"]},"id":"schema_56"},"schema_57":{"kind":"json-schema","data":{"type":"string","example":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","examples":["a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890"]},"id":"schema_57"},"schema_58":{"kind":"json-schema","data":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","description":"The media file to upload (image, document, video, audio)."}}},"id":"schema_58"},"schema_59":{"kind":"json-schema","data":{"type":"string","example":"wamid.HBgNMjc4MjEyMzQ1Njc4FQIAEhgg","examples":["wamid.HBgNMjc4MjEyMzQ1Njc4FQIAEhgg"]},"id":"schema_59"},"schema_60":{"kind":"json-schema","data":{"type":"boolean","example":true,"examples":[true]},"id":"schema_60"},"schema_61":{"kind":"json-schema","data":{"type":"array","items":{"$ref":"#/components/schemas/Message"}},"id":"schema_61"},"schema_62":{"kind":"json-schema","data":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/ChatParticipant"}},"totalElements":{"type":"integer","example":100,"examples":[100]},"totalPages":{"type":"integer","example":10,"examples":[10]},"size":{"type":"integer","example":10,"examples":[10]},"number":{"type":"integer","example":0,"examples":[0]}}},"id":"schema_62"},"schema_63":{"kind":"json-schema","data":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/ChatParticipant"}},"totalElements":{"type":"integer","example":100,"examples":[100]},"totalPages":{"type":"integer","example":10,"examples":[10]}}},"id":"schema_63"},"schema_64":{"kind":"json-schema","data":{"type":"array","items":{"$ref":"#/components/schemas/ChatParticipant"}},"id":"schema_64"},"schema_65":{"kind":"json-schema","data":{"type":"object","required":["file","message"],"properties":{"file":{"type":"string","format":"binary","description":"The file to attach (image, document, video)."},"message":{"$ref":"#/components/schemas/Message"}}},"id":"schema_65"},"schema_66":{"kind":"json-schema","data":{"type":"array","items":{"$ref":"#/components/schemas/TicketEmailDto"}},"id":"schema_66"},"schema_67":{"kind":"json-schema","data":{"type":"string","example":"TICKET-12345","examples":["TICKET-12345"]},"id":"schema_67"},"schema_68":{"kind":"json-schema","data":{"type":"integer","minimum":0,"example":0,"examples":[0]},"id":"schema_68"},"schema_69":{"kind":"json-schema","data":{"type":"integer","minimum":1,"example":10,"examples":[10]},"id":"schema_69"},"schema_70":{"kind":"json-schema","data":{"type":"string","example":"+27821234567","examples":["+27821234567"]},"id":"schema_70"},"schema_71":{"kind":"json-schema","data":{"type":"string","enum":["poor","average","excellent"],"example":"excellent","examples":["excellent"]},"id":"schema_71"},"schema_72":{"kind":"json-schema","data":{"type":"string","example":"agent-001","examples":["agent-001"]},"id":"schema_72"},"schema_73":{"kind":"json-schema","data":{"type":"string","enum":["open","closed","awaiting agent","awaiting customer","resolved"],"example":"open","examples":["open"]},"id":"schema_73"},"schema_74":{"kind":"json-schema","data":{"type":"string","example":"64a1b2c3d4e5f67890abcdef","examples":["64a1b2c3d4e5f67890abcdef"]},"id":"schema_74"},"schema_75":{"kind":"json-schema","data":{"type":"string","enum":["OPEN","CLOSED","AWAITING AGENT","AWAITING CUSTOMER","RESOLVED"],"example":"CLOSED","examples":["CLOSED"]},"id":"schema_75"},"schema_76":{"kind":"json-schema","data":{"type":"string","example":"27821234567","examples":["27821234567"]},"id":"schema_76"},"schema_77":{"kind":"json-schema","data":{"type":"string","example":"+27123456789","examples":["+27123456789"]},"id":"schema_77"},"schema_78":{"kind":"json-schema","data":{"type":"array","items":{"$ref":"#/components/schemas/TicketEmailEntity"}},"id":"schema_78"},"schema_79":{"kind":"json-schema","data":{"type":"string","example":"cp-a1b2c3d4","examples":["cp-a1b2c3d4"]},"id":"schema_79"},"schema_80":{"kind":"json-schema","data":{"type":"array","items":{"$ref":"#/components/schemas/Contact"}},"id":"schema_80"},"schema_81":{"kind":"json-schema","data":{"type":"string","format":"date","example":"2026-10-02","examples":["2026-10-02"]},"id":"schema_81"},"schema_82":{"kind":"json-schema","data":{"type":"string","format":"date","example":"2026-10-09","examples":["2026-10-09"]},"id":"schema_82"},"schema_83":{"kind":"json-schema","data":{"type":"string","enum":["ALL","TEXT","LOCATION","MEDIA","BUTTON","INTERACTIVE","REACTION","CAROUSEL","USER_ACTION","CONTACT"],"default":"ALL","example":"ALL","examples":["ALL"]},"id":"schema_83"},"schema_84":{"kind":"json-schema","data":{"type":"string","enum":["ALL","INCOMING","OUTGOING"],"default":"ALL","example":"ALL","examples":["ALL"]},"id":"schema_84"},"schema_85":{"kind":"json-schema","data":{"type":"string","example":"2026-01-01 00:00:00","examples":["2026-01-01 00:00:00"]},"id":"schema_85"},"schema_86":{"kind":"json-schema","data":{"type":"string","example":"2026-01-31 23:59:59","examples":["2026-01-31 23:59:59"]},"id":"schema_86"},"schema_87":{"kind":"json-schema","data":{"type":"string","enum":["NOTIFICATION","SESSION24HOUR","CONVERSATION","CHAT"],"example":"NOTIFICATION","examples":["NOTIFICATION"]},"id":"schema_87"},"schema_88":{"kind":"json-schema","data":{"type":"string","example":"2026-01-0 T00:00:00","examples":["2026-01-0 T00:00:00"]},"id":"schema_88"},"schema_89":{"kind":"json-schema","data":{"type":"string","enum":["NOTIFICATION","SESSION24HOUR","CONVERSATION","CHAT"],"example":"SESSION24HOUR","examples":["SESSION24HOUR"]},"id":"schema_89"},"schema_90":{"kind":"json-schema","data":{"type":"string","example":"gst-a1b2c3d4","examples":["gst-a1b2c3d4"]},"id":"schema_90"},"schema_91":{"kind":"json-schema","data":{"type":"string","example":"ct-order-9876","examples":["ct-order-9876"]},"id":"schema_91"},"schema_92":{"kind":"json-schema","data":{"type":"string","format":"date-time","example":"2023-10-01T12:00:00+02:00","examples":["2023-10-01T12:00:00+02:00"]},"id":"schema_92"},"schema_93":{"kind":"json-schema","data":{"type":"string","format":"date-time","example":"2023-10-02T12:00:00+02:00","examples":["2023-10-02T12:00:00+02:00"]},"id":"schema_93"},"schema_94":{"kind":"json-schema","data":{"type":"integer","default":20,"example":10,"examples":[10]},"id":"schema_94"},"schema_95":{"kind":"json-schema","data":{"type":"string","example":"marketing_promo_01","examples":["marketing_promo_01"]},"id":"schema_95"},"schema_96":{"kind":"json-schema","data":{"type":"string","enum":["CONVERSATION","NOTIFICATION","SESSION24HOUR","ALL","CHAT"],"example":"NOTIFICATION","examples":["NOTIFICATION"]},"id":"schema_96"},"schema_97":{"kind":"json-schema","data":{"type":"integer","default":20,"example":20,"examples":[20]},"id":"schema_97"},"schema_98":{"kind":"json-schema","data":{"type":"boolean","default":false,"example":false,"examples":[false]},"id":"schema_98"},"schema_99":{"kind":"json-schema","data":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/WhatsAppSendReceiveMessageDTO"}},"totalElements":{"type":"integer","example":100,"examples":[100]},"totalPages":{"type":"integer","example":10,"examples":[10]},"size":{"type":"integer","example":10,"examples":[10]},"number":{"type":"integer","example":0,"examples":[0]},"first":{"type":"boolean","example":true,"examples":[true]},"last":{"type":"boolean","example":false,"examples":[false]},"empty":{"type":"boolean","example":false,"examples":[false]}}},"id":"schema_99"},"schema_100":{"kind":"json-schema","data":{"type":"integer","default":48,"example":48,"examples":[48]},"id":"schema_100"},"schema_101":{"kind":"json-schema","data":{"type":"array","items":{"$ref":"#/components/schemas/ReplyReportDto"}},"id":"schema_101"},"schema_102":{"kind":"json-schema","data":{"type":"string","enum":["ALL","USER_INITIATED","BUSINESS_INITIATED","AUTHENTICATION","AUTHENTICATION_INTERNATIONAL","MARKETING","MARKETING_LITE","UTILITY","SERVICE","REFERRAL_CONVERSATION","UNKNOWN"],"example":"MARKETING","examples":["MARKETING","UTILITY","AUTHENTICATION"]},"id":"schema_102"},"schema_103":{"kind":"json-schema","data":{"type":"string","format":"date","example":"2026-01-01","examples":["2026-01-01"]},"id":"schema_103"},"schema_104":{"kind":"json-schema","data":{"type":"string","format":"date","example":"2026-01-31","examples":["2026-01-31"]},"id":"schema_104"},"schema_105":{"kind":"json-schema","data":{"type":["string","null"],"enum":["OUTGOING","INCOMING"],"example":"OUTGOING","examples":["OUTGOING"]},"id":"schema_105"},"schema_106":{"kind":"json-schema","data":{"type":["string","null"],"enum":["DIRECT","FALLBACK"],"example":"DIRECT","examples":["DIRECT"]},"id":"schema_106"},"schema_107":{"kind":"json-schema","data":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/SMSSendReceiveMessage"}},"totalElements":{"type":"integer","example":100,"examples":[100]},"totalPages":{"type":"integer","example":10,"examples":[10]},"size":{"type":"integer","example":10,"examples":[10]},"number":{"type":"integer","example":0,"examples":[0]}}},"id":"schema_107"},"schema_108":{"kind":"json-schema","data":{"type":["integer","null"],"enum":[-100,-1,0,4,22,23,46,47,48,54,56,58,59,60,62,130429,131026],"example":47,"examples":[47,0,56]},"id":"schema_108"},"schema_109":{"kind":"json-schema","data":{"type":"string","format":"binary"},"id":"schema_109"},"schema_110":{"kind":"json-schema","data":{"type":"object","properties":{"email":{"type":"string","example":"reports@example.com","examples":["reports@example.com"]}}},"id":"schema_110"},"schema_111":{"kind":"json-schema","data":{"type":"object","properties":{"message":{"type":"string","example":"Report sent successfully","examples":["Report sent successfully"]}}},"id":"schema_111"},"schema_112":{"kind":"json-schema","data":{"type":"object","properties":{"status":{"type":"string","example":"ERROR","examples":["ERROR"]},"message":{"type":"string","example":"Resource already exists","examples":["Resource already exists"]},"requestId":{"type":"string","format":"uuid","example":"c3a1f8e2-4b6d-11ee-be56-0242ac120002","examples":["c3a1f8e2-4b6d-11ee-be56-0242ac120002"]},"timestamp":{"type":"string","example":"2026-01-15T10:30:00Z","examples":["2026-01-15T10:30:00Z"]}}},"id":"schema_112"},"schema_113":{"kind":"json-schema","data":{"type":"string","format":"uuid"},"id":"schema_113"},"schema_114":{"kind":"json-schema","data":{"type":"integer","format":"int32","minimum":0,"default":0},"id":"schema_114"},"schema_115":{"kind":"json-schema","data":{"type":"integer","format":"int32","minimum":1,"default":10},"id":"schema_115"},"schema_116":{"kind":"json-schema","data":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/MessageProcessingConfig"}},"totalElements":{"type":"integer","example":100,"examples":[100]},"totalPages":{"type":"integer","example":10,"examples":[10]},"size":{"type":"integer","example":10,"examples":[10]},"number":{"type":"integer","example":0,"examples":[0]}}},"id":"schema_116"},"schema_117":{"kind":"json-schema","data":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/WhatsAppBlockedNumber"}},"totalElements":{"type":"integer","example":100,"examples":[100]},"totalPages":{"type":"integer","example":10,"examples":[10]}}},"id":"schema_117"},"schema_118":{"kind":"json-schema","data":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/WhatsAppBlacklistNumber"}},"totalElements":{"type":"integer","example":100,"examples":[100]},"totalPages":{"type":"integer","example":10,"examples":[10]}}},"id":"schema_118"},"schema_119":{"kind":"json-schema","data":{"type":"object","properties":{"file":{"type":"string","format":"binary"}}},"id":"schema_119"},"schema_120":{"kind":"json-schema","data":{"type":"object","properties":{"totalProcessed":{"type":"integer","example":150,"examples":[150]},"totalBlacklisted":{"type":"integer","example":3,"examples":[3]},"totalSkipped":{"type":"integer","example":5,"examples":[5]}}},"id":"schema_120"},"schema_121":{"kind":"json-schema","data":{"type":"string","example":"dbdb8809-6fd0-27665359699","examples":["dbdb8809-6fd0-27665359699"]},"id":"schema_121"},"schema_122":{"kind":"json-schema","data":{"type":"string","example":"userId=dbdb8809-27665359699, sessionStatus=newQrCode, status=200, qrCode=base64...","examples":["userId=dbdb8809-27665359699, sessionStatus=newQrCode, status=200, qrCode=base64..."]},"id":"schema_122"},"schema_123":{"kind":"json-schema","data":{"type":"string","example":"+27665359699","examples":["+27665359699"]},"id":"schema_123"},"schema_124":{"kind":"json-schema","data":{"type":"array","items":{"$ref":"#/components/schemas/Group"}},"id":"schema_124"},"schema_125":{"kind":"json-schema","data":{"type":"string","example":"120363001234567890@g.us","examples":["120363001234567890@g.us"]},"id":"schema_125"},"schema_126":{"kind":"json-schema","data":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/GroupMessage"}},"totalElements":{"type":"integer","example":100,"examples":[100]},"totalPages":{"type":"integer","example":10,"examples":[10]}}},"id":"schema_126"},"schema_127":{"kind":"json-schema","data":{"type":"object","properties":{"inviteLink":{"type":"string","example":"https://chat.whatsapp.com/AbCdEfGhIjKlMn","examples":["https://chat.whatsapp.com/AbCdEfGhIjKlMn"]}}},"id":"schema_127"},"schema_128":{"kind":"json-schema","data":{"type":"string","format":"uuid","example":"c0d1e2f3-a4b5-6789-c0d1-e2f3a4b56789","examples":["c0d1e2f3-a4b5-6789-c0d1-e2f3a4b56789"]},"id":"schema_128"},"schema_129":{"kind":"json-schema","data":{"type":"object","properties":{"title":{"type":"string","example":"Bad Request","examples":["Bad Request"]},"status":{"type":"integer","example":400,"examples":[400]},"detail":{"type":"string","example":"Your API's address must start with https://","examples":["Your API's address must start with https://"]}}},"id":"schema_129"},"schema_130":{"kind":"json-schema","data":{"type":"object","properties":{"title":{"type":"string","example":"Forbidden","examples":["Forbidden"]},"status":{"type":"integer","example":403,"examples":[403]},"detail":{"type":"string","example":"Group chat summaries aren't switched on for your account. Contact support to turn them on.","examples":["Group chat summaries aren't switched on for your account. Contact support to turn them on."]}}},"id":"schema_130"},"schema_131":{"kind":"json-schema","data":{"type":"string","format":"uuid","example":"6f1c2a9e-3b7d-4e8a-9c2f-1d5e7a3b9c04","examples":["6f1c2a9e-3b7d-4e8a-9c2f-1d5e7a3b9c04"]},"id":"schema_131"}},"exampleStore":{"components/examples/Template_Create_TextOnly":{"id":"components/examples/Template_Create_TextOnly","value":{"template_name":"seasonal_promo_text","language":"en_GB","category":"MARKETING","number":"+1234567890","allow_category_change":true,"components":[{"type":"BODY","text":"Hi {{1}}, don't miss our sale!","example":{"body_text":[["John"]]}}]},"summary":"Text-only template"},"components/examples/Template_Create_Media_Header":{"id":"components/examples/Template_Create_Media_Header","value":{"template_name":"invoice_delivery","language":"en_GB","category":"UTILITY","number":"+1234567890","allow_category_change":true,"components":[{"type":"HEADER","format":"DOCUMENT","example":{"header_handle":["https://example.com/doc.pdf"]}},{"type":"BODY","text":"Your invoice #{{1}}.","example":{"body_text":[["001"]]}}]},"summary":"Media header template"},"components/examples/Template_Create_Text_Header":{"id":"components/examples/Template_Create_Text_Header","value":{"template_name":"alert_header","language":"en_US","category":"UTILITY","number":"+1234567890","allow_category_change":true,"components":[{"type":"HEADER","format":"TEXT","text":"Alert: {{1}}","example":{"header_text":["Maintenance"]}},{"type":"BODY","text":"System is down."}]},"summary":"Text header template"},"components/examples/Template_Create_CTA":{"id":"components/examples/Template_Create_CTA","value":{"template_name":"feedback_cta","language":"en_GB","category":"MARKETING","number":"+1234567890","allow_category_change":true,"components":[{"type":"BODY","text":"We value your feedback."},{"type":"BUTTONS","buttons":[{"type":"QUICK_REPLY","text":"Yes"},{"type":"QUICK_REPLY","text":"No"}]}]},"summary":"Quick-reply buttons template (a call-to-action variant)"},"components/examples/Template_Create_Carousel":{"id":"components/examples/Template_Create_Carousel","value":{"template_name":"product_carousel_v1","language":"en_GB","category":"MARKETING","number":"+1234567890","allow_category_change":true,"components":[{"type":"BODY","text":"Hi {{1}}, check out these items!","example":{"body_text":[["Alice"]]}},{"type":"CAROUSEL","cards":[{"components":[{"type":"HEADER","format":"IMAGE","example":{"header_handle":["https://example.com/img1.jpg"]}},{"type":"BODY","text":"Super Widget A"},{"type":"BUTTONS","buttons":[{"type":"QUICK_REPLY","text":"Buy A"},{"type":"URL","text":"View","url":"https://example.com/items"}]}]},{"components":[{"type":"HEADER","format":"IMAGE","example":{"header_handle":["https://example.com/img2.jpg"]}},{"type":"BODY","text":"Super Widget B"},{"type":"BUTTONS","buttons":[{"type":"QUICK_REPLY","text":"Buy B"},{"type":"URL","text":"View","url":"https://example.com/items/{{1}}","example":["new"]}]}]}]}]},"summary":"Carousel template"},"components/examples/Template_Auth_CopyCode":{"id":"components/examples/Template_Auth_CopyCode","value":{"template_name":"auth_code_1","language":"en_US","category":"AUTHENTICATION","number":"+1234567890","allow_category_change":true,"components":[{"type":"BODY","add_security_recommendation":true},{"type":"FOOTER","code_expiration_minutes":5},{"type":"BUTTONS","buttons":[{"type":"OTP","otp_type":"COPY_CODE","text":"Copy Code"}]}]},"summary":"Auth copy code"},"components/examples/Template_Auth_OneTap":{"id":"components/examples/Template_Auth_OneTap","value":{"template_name":"auth_onetap_1","language":"en_US","category":"AUTHENTICATION","number":"+1234567890","allow_category_change":true,"components":[{"type":"BODY","add_security_recommendation":true},{"type":"FOOTER","code_expiration_minutes":5},{"type":"BUTTONS","buttons":[{"type":"OTP","otp_type":"ONE_TAP","text":"Copy Code","autofill_text":"Autofill","package_name":"com.example.app","signature_hash":"K8a72FAINcG"}]}]},"summary":"Auth one-tap"},"components/examples/Template_Flow":{"id":"components/examples/Template_Flow","value":{"template_name":"flow_test","language":"en_US","category":"MARKETING","number":"+1234567890","allow_category_change":true,"components":[{"type":"BODY","text":"Book an appointment"},{"type":"BUTTONS","buttons":[{"type":"FLOW","text":"Book Now","flow_id":"123456","flow_action":"navigate","navigate_screen":"BOOKING_SCREEN"}]}]},"summary":"WhatsApp Flow"},"components/examples/Template_StaticUrlButton":{"id":"components/examples/Template_StaticUrlButton","value":{"template_name":"website_link","language":"en_US","category":"MARKETING","number":"+1234567890","allow_category_change":true,"components":[{"type":"BODY","text":"Visit our site"},{"type":"BUTTONS","buttons":[{"type":"URL","text":"Visit Now","url":"https://example.com"}]}]},"summary":"Static URL button"},"components/examples/Template_DynamicUrlButton":{"id":"components/examples/Template_DynamicUrlButton","value":{"template_name":"tracking_link","language":"en_US","category":"UTILITY","number":"+1234567890","allow_category_change":true,"components":[{"type":"BODY","text":"Track your package"},{"type":"BUTTONS","buttons":[{"type":"URL","text":"Track","url":"https://example.com/track/{{1}}","example":["TRK123"]}]}]},"summary":"Dynamic URL button"},"components/examples/Template_PhoneNumber":{"id":"components/examples/Template_PhoneNumber","value":{"template_name":"call_us","language":"en_US","category":"UTILITY","number":"+1234567890","allow_category_change":true,"components":[{"type":"BODY","text":"Need help? Call us."},{"type":"BUTTONS","buttons":[{"type":"PHONE_NUMBER","text":"Call Support","phone_number":"+15550123456"}]}]},"summary":"Phone number button"},"components/examples/Template_CouponCode":{"id":"components/examples/Template_CouponCode","value":{"template_name":"summer_promo","language":"en_US","category":"MARKETING","number":"+1234567890","allow_category_change":true,"components":[{"type":"BODY","text":"Use this code at checkout for 25% off."},{"type":"BUTTONS","buttons":[{"type":"COPY_CODE","example":["25OFF"]}]}]},"summary":"Coupon code button","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"COPY_CODE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" button that shares a promo code the customer can copy. Supported on MARKETING and"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"UTILITY templates. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"example"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" carries a sample code for approval; the real code is supplied as"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"the button parameter at send time (see send example "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"15. Coupon Code"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}]},"components/examples/Template_RequestContactInfo":{"id":"components/examples/Template_RequestContactInfo","value":{"template_name":"recover_number","language":"en_US","category":"UTILITY","number":"+1234567890","allow_category_change":true,"components":[{"type":"BODY","text":"Please share your phone number so we can continue."},{"type":"BUTTONS","buttons":[{"type":"REQUEST_CONTACT_INFO"}]}]},"summary":"Request contact info button","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"REQUEST_CONTACT_INFO"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" button that asks a username (BSUID-only) customer to share their phone"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"number. The label is fixed by WhatsApp and cannot be customised, so no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"text"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is sent. Allowed"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on MARKETING and UTILITY templates. The shared number arrives on the inbound webhook as a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"contacts"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" message."},"children":[],"type":"text"}],"type":"paragraph"}]},"components/examples/Template_CallPermissionRequest":{"id":"components/examples/Template_CallPermissionRequest","value":{"template_name":"allow_calls","language":"en_US","category":"UTILITY","number":"+1234567890","allow_category_change":true,"components":[{"type":"BODY","text":"Can we call you on WhatsApp about your order?"},{"type":"CALL_PERMISSION_REQUEST"}]},"summary":"Call permission request","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"CALL_PERMISSION_REQUEST"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" component that asks the customer to allow your business to call them on"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"WhatsApp. WhatsApp adds its own \"allow calls\" prompt to the message, so the component carries only its"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"type"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Allowed once per template, on MARKETING and UTILITY templates, and not on carousel templates."},"children":[],"type":"text"}],"type":"paragraph"}]},"components/examples/Template_Create_MixedButtons":{"id":"components/examples/Template_Create_MixedButtons","value":{"template_name":"mixed_cta","language":"en_GB","category":"MARKETING","number":"+1234567890","allow_category_change":true,"components":[{"type":"BODY","text":"Hi {{1}}, can we help?","example":{"body_text":[["Alice"]]}},{"type":"BUTTONS","buttons":[{"type":"QUICK_REPLY","text":"Yes"},{"type":"QUICK_REPLY","text":"No"},{"type":"URL","text":"Shop","url":"https://example.com/shop"},{"type":"PHONE_NUMBER","text":"Call us","phone_number":"+15550123456"}]}]},"summary":"Mixed buttons (QR + static URL + phone)","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A single BUTTONS component combining quick-reply, URL, and phone-number"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"buttons. At send time these are emitted as one "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"button"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" message component"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"whose "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"parameters"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" array is positional in this template order — see send"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"example #10 ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"CTA — Mixed Buttons"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}]},"components/examples/Webhook_Create_ClientDefault_Full":{"id":"components/examples/Webhook_Create_ClientDefault_Full","value":{"incomingMessageURL":"https://yourserver.com/webhooks/incoming","statusUpdateURL":"https://yourserver.com/webhooks/status","sessionStatusURL":"https://yourserver.com/webhooks/session","eventWebhookURL":"https://yourserver.com/webhooks/events","chatbotWebhookURL":"https://yourserver.com/webhooks/chatbot","chatbotIncludeOutgoing":false,"chatbotStopOnAgentAssignment":true},"summary":"Client default (all webhooks)","description":"Full client-default configuration with every webhook type enabled. Applies to every WhatsApp number under your client unless overridden per-number."},"components/examples/Webhook_Create_PerNumberOverride":{"id":"components/examples/Webhook_Create_PerNumberOverride","value":{"whatsAppNumberId":"f1e2d3c4-b5a6-9870-fedc-ba9876543210","incomingMessageURL":"https://yourserver.com/webhooks/number-specific/incoming","statusUpdateURL":"https://yourserver.com/webhooks/number-specific/status","eventWebhookURL":"https://yourserver.com/webhooks/number-specific/events","chatbotIncludeOutgoing":false,"chatbotStopOnAgentAssignment":false},"summary":"Per-number override","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Configuration scoped to a single WhatsApp number. Set "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"whatsAppNumberId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"WhatsAppNumbers.id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" you want this override to apply to. Falls back to the client default for events on other numbers."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Need the id? Call "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /payless4messaging-service/WhatsApp/WhatsAppClientNumbers/getForCurrentLoginUser?searchString=27123456789"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (any partial MSISDN works) and copy the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"nested"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"whatsAppNumber.id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" from the matching row — not the top-level "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (that one is the client–number link, not the number itself)."},"children":[],"type":"text"}],"type":"paragraph"}]},"components/examples/Webhook_Create_IncomingOnly":{"id":"components/examples/Webhook_Create_IncomingOnly","value":{"incomingMessageURL":"https://yourserver.com/webhooks/incoming"},"summary":"Incoming messages only","description":"Minimal setup that receives only customer-to-business messages. Use when you only care about inbound traffic, not delivery status, session state, or platform events."},"components/examples/Webhook_Create_StatusOnly":{"id":"components/examples/Webhook_Create_StatusOnly","value":{"statusUpdateURL":"https://yourserver.com/webhooks/status"},"summary":"Status updates only (delivery receipts)","description":"Minimal setup that receives only delivery status updates (sent, delivered, read, failed). Use when you only care about message lifecycle, not customer replies."},"components/examples/Webhook_Create_Chatbot_AutoStop":{"id":"components/examples/Webhook_Create_Chatbot_AutoStop","value":{"chatbotWebhookURL":"https://yourserver.com/webhooks/chatbot","chatbotIncludeOutgoing":true,"chatbotStopOnAgentAssignment":true},"summary":"Chatbot — auto-stop on agent handover","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Chatbot conversation events with bot replies included. Emits stop once a chat participant is assigned to a human agent — useful when you only want bot-driven traffic on this URL."},"children":[],"type":"text"}],"type":"paragraph"}]},"components/examples/Webhook_Create_Chatbot_AlwaysOn":{"id":"components/examples/Webhook_Create_Chatbot_AlwaysOn","value":{"chatbotWebhookURL":"https://yourserver.com/webhooks/chatbot","chatbotIncludeOutgoing":false,"chatbotStopOnAgentAssignment":false},"summary":"Chatbot — always on (incoming only)","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Chatbot conversation events for incoming customer messages only. Continues emitting after agent handover — useful when you want to mirror the full conversation lifecycle on your side."},"children":[],"type":"text"}],"type":"paragraph"}]},"components/examples/Webhook_Create_Chatbot_V2Enriched":{"id":"components/examples/Webhook_Create_Chatbot_V2Enriched","value":{"chatbotWebhookURL":"https://yourserver.com/webhooks/chatbot","chatbotIncludeOutgoing":true,"chatbotStopOnAgentAssignment":false,"chatbotPayloadVersion":"v2"},"summary":"Chatbot — v2 enriched payload","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Chatbot conversation events using the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"v2"},"children":[],"type":"code"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" payload shape — same flat fields as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"v1"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" plus nested "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"assignedTo"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (full "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SystemUser"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"chatParticipant"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (full chat participant). Lets your receiver render the full lifecycle without a follow-up "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /ChatParticipant/{id}"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Warning:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" For now if you this set to null the version is v1, however we will be deprecating v1 and the default will be v2 and this field will be removed in the future."},"children":[],"type":"text"}],"type":"paragraph"}]},"components/examples/Webhook_Create_WhatsAppLite":{"id":"components/examples/Webhook_Create_WhatsAppLite","value":{"incomingMessageURL":"https://yourserver.com/webhooks/incoming","statusUpdateURL":"https://yourserver.com/webhooks/status","sessionStatusURL":"https://yourserver.com/webhooks/session"},"summary":"WhatsApp Lite (with session status)","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Configuration for a WhatsApp Lite number. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sessionStatusURL"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" receives connection state changes — only emitted for Lite numbers, since Cloud sessions are managed by Meta."},"children":[],"type":"text"}],"type":"paragraph"}]},"components/examples/Webhook_Update_AllUrls":{"id":"components/examples/Webhook_Update_AllUrls","value":{"id":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","incomingMessageURL":"https://yourserver.com/webhooks/incoming-v2","statusUpdateURL":"https://yourserver.com/webhooks/status-v2","sessionStatusURL":"https://yourserver.com/webhooks/session-v2","eventWebhookURL":"https://yourserver.com/webhooks/events-v2","chatbotWebhookURL":"https://yourserver.com/webhooks/chatbot-v2","chatbotIncludeOutgoing":true,"chatbotStopOnAgentAssignment":true},"summary":"Update all URLs","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Replace every webhook URL on an existing configuration. Include the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" of the row being updated."},"children":[],"type":"text"}],"type":"paragraph"}]},"components/examples/Webhook_Update_DisableType":{"id":"components/examples/Webhook_Update_DisableType","value":{"id":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","incomingMessageURL":"https://yourserver.com/webhooks/incoming","statusUpdateURL":"https://yourserver.com/webhooks/status","sessionStatusURL":"","eventWebhookURL":"https://yourserver.com/webhooks/events","chatbotWebhookURL":"https://yourserver.com/webhooks/chatbot","chatbotIncludeOutgoing":false,"chatbotStopOnAgentAssignment":true},"summary":"Disable a webhook type","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Set any URL to an empty string ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"\"\""},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") to stop emitting that event type, while keeping the other URLs active. Here "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sessionStatusURL"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is disabled."},"children":[],"type":"text"}],"type":"paragraph"}]},"components/examples/Webhook_Update_ChatbotFlagsOnly":{"id":"components/examples/Webhook_Update_ChatbotFlagsOnly","value":{"id":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","incomingMessageURL":"https://yourserver.com/webhooks/incoming","statusUpdateURL":"https://yourserver.com/webhooks/status","sessionStatusURL":"https://yourserver.com/webhooks/session","eventWebhookURL":"https://yourserver.com/webhooks/events","chatbotWebhookURL":"https://yourserver.com/webhooks/chatbot","chatbotIncludeOutgoing":true,"chatbotStopOnAgentAssignment":true},"summary":"Toggle chatbot flags","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Same URLs as before, but flips "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"chatbotIncludeOutgoing"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to start receiving outgoing bot replies. Remember — this is a full-entity save, so include all fields you want to keep."},"children":[],"type":"text"}],"type":"paragraph"}]},"paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1{clientRef}~1children/post/requestBody/content/application~1json/example":{"value":{"clientRef":"MyChildClient","displayName":"My Child Client","countryCode":"ZA","countryTimezone":"Africa/Johannesburg"},"id":"paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1{clientRef}~1children/post/requestBody/content/application~1json/example"},"paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1{clientRef}~1sms-fallback/put/requestBody/content/application~1json/example":{"value":{"smsMode":"fallback","smsFallback":true,"smsUserId":"support@ecommunicate.co.za","smsClientRef":"ecomtest1"},"id":"paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1{clientRef}~1sms-fallback/put/requestBody/content/application~1json/example"},"paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1me~1popia-compliance/put/requestBody/content/application~1json/example":{"value":{"popiaComplianceEnabled":true},"id":"paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1clients~1me~1popia-compliance/put/requestBody/content/application~1json/example"},"paths/~1payless4messaging-service~1WhatsApp~1Client~1createChildClient/post/requestBody/content/application~1json/example":{"value":{"clientRef":"MyChildClient","parentClientRef":"ParentClient","countryCode":"ZA","countryTimezone":"Africa/Johannesburg"},"id":"paths/~1payless4messaging-service~1WhatsApp~1Client~1createChildClient/post/requestBody/content/application~1json/example"},"paths/~1payless4messaging-service~1WhatsApp~1Client~1updateClientSMSFallback/post/requestBody/content/application~1json/example":{"value":{"clientRef":"Growthpoint","smsFallback":true,"smsMode":"fallback","smsUserId":"support@ecommunicate.co.za","smsPassword":"********","smsClientRef":"ecomtest1"},"id":"paths/~1payless4messaging-service~1WhatsApp~1Client~1updateClientSMSFallback/post/requestBody/content/application~1json/example"},"paths/~1payless4messaging-service~1WhatsApp~1Client~1updatePopiaCompliance/post/requestBody/content/application~1json/example":{"value":{"popiaComplianceEnabled":true},"id":"paths/~1payless4messaging-service~1WhatsApp~1Client~1updatePopiaCompliance/post/requestBody/content/application~1json/example"},"paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users~1me~1password~1change/post/requestBody/content/application~1json/example":{"value":{"oldPassword":"OldP@ssw0rd","newPassword":"NewSecureP@ss123","confirmNewPassword":"NewSecureP@ss123"},"id":"paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1users~1me~1password~1change/post/requestBody/content/application~1json/example"},"paths/~1payless4messaging-service~1WhatsApp~1SystemUsers/post/requestBody/content/application~1json/example":{"value":{"email":"agent@example.com","password":"SecureP@ss123","firstName":"Jane","lastName":"Doe","liveChatRole":"AGENT","avatar":"https://example.com/avatars/jane.jpg","assignmentMessage":"Hi, I'm Jane and I'll be assisting you today."},"id":"paths/~1payless4messaging-service~1WhatsApp~1SystemUsers/post/requestBody/content/application~1json/example"},"paths/~1payless4messaging-service~1WhatsApp~1SystemUsers/put/requestBody/content/application~1json/example":{"value":{"id":"e1f2a3b4-c5d6-7890-e1f2-a3b4c5d67890","email":"agent@example.com","firstName":"Jane","lastName":"Doe","liveChatRole":"AGENT","agentChatLimit":5,"availabilityStatus":true,"avatar":"https://example.com/avatars/jane.jpg","assignmentMessage":"Hi, I'm Jane and I'll be assisting you today.","allowedSharedInbox":true,"allowedUnassignedInbox":true},"id":"paths/~1payless4messaging-service~1WhatsApp~1SystemUsers/put/requestBody/content/application~1json/example"},"paths/~1payless4messaging-service~1WhatsApp~1SystemUsers~1changePassword/post/requestBody/content/application~1json/example":{"value":{"oldPassword":"OldP@ssw0rd","newPassword":"NewSecureP@ss123","confirmNewPassword":"NewSecureP@ss123"},"id":"paths/~1payless4messaging-service~1WhatsApp~1SystemUsers~1changePassword/post/requestBody/content/application~1json/example"},"paths/~1payless4messaging-service~1WhatsApp~1authenticate~1retrieveApiKey/post/requestBody/content/application~1json/example":{"value":{"email":"user@example.com","password":"your-password","clientRef":"CLIENT001"},"id":"paths/~1payless4messaging-service~1WhatsApp~1authenticate~1retrieveApiKey/post/requestBody/content/application~1json/example"},"paths/~1payless4messaging-service~1WhatsApp~1authenticate~1retrieveApiKey/post/responses/200/content/application~1json/example":{"value":{"apiKey":"a1b2c3d4-e5f6-7890-abcd-ef1234567890"},"id":"paths/~1payless4messaging-service~1WhatsApp~1authenticate~1retrieveApiKey/post/responses/200/content/application~1json/example"},"paths/~1payless4messaging-service~1WhatsApp~1authenticate~1retrieveApiKey/post/responses/401/content/application~1json/example":{"value":{"status":"REJECTED","message":"Invalid Credentials","requestId":"c3a1f8e2-4b6d-11ee-be56-0242ac120002","timestamp":"2026-01-15T10:30:00Z"},"id":"paths/~1payless4messaging-service~1WhatsApp~1authenticate~1retrieveApiKey/post/responses/401/content/application~1json/example"},"paths/~1pl4chat-service~1team~1add/post/requestBody/content/application~1json/example":{"value":{"clientRef":"MyClient","teamName":"Support Team","priority":1,"selectedNextNodeId":"node-abc123"},"id":"paths/~1pl4chat-service~1team~1add/post/requestBody/content/application~1json/example"},"paths/~1pl4chat-service~1team~1update/post/requestBody/content/application~1json/example":{"value":{"id":"f2a3b4c5-d6e7-8901-f2a3-b4c5d6e78901","teamName":"Support Team","priority":1,"selectedNextNodeId":"node-abc123"},"id":"paths/~1pl4chat-service~1team~1update/post/requestBody/content/application~1json/example"},"paths/~1pl4chat-service~1team~1add-member/post/requestBody/content/application~1json/example":{"value":{"teamId":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","systemUserId":"b2c3d4e5-f6a1-8901-b2c3-d4e5f6a18901"},"id":"paths/~1pl4chat-service~1team~1add-member/post/requestBody/content/application~1json/example"},"paths/~1pl4chat-service~1team~1remove-member/post/requestBody/content/application~1json/example":{"value":{"teamId":"f2a3b4c5-d6e7-8901-f2a3-b4c5d6e78901","systemUserId":"e1f2a3b4-c5d6-7890-e1f2-a3b4c5d67890"},"id":"paths/~1pl4chat-service~1team~1remove-member/post/requestBody/content/application~1json/example"},"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 1. Text":{"value":{"channel":"WHATSAPP","payload":{"sender":"+1234567890","mmlTemplate":false,"templateName":"seasonal_promo_text","templateId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","messageType":"NOTIFICATION","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"body","parameters":["John"]}]}],"allowDuplicates":false}},"key":"WhatsApp: 1. Text","summary":"WhatsApp: 1. Text","id":"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 1. Text"},"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 2. Text with Auto Fallback":{"value":{"channel":"WHATSAPP","payload":{"sender":"+1234567890","mmlTemplate":false,"templateName":"seasonal_promo_text","templateId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","messageType":"NOTIFICATION","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"body","parameters":["John"]}]}],"fallback":{"sendFallback":true,"unicode":false},"allowDuplicates":false}},"key":"WhatsApp: 2. Text with Auto Fallback","summary":"WhatsApp: 2. Text with Auto Fallback","id":"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 2. Text with Auto Fallback"},"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 3. Text with Manual Fallback":{"value":{"channel":"WHATSAPP","payload":{"sender":"+1234567890","mmlTemplate":false,"templateName":"seasonal_promo_text","templateId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","messageType":"NOTIFICATION","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"body","parameters":["John"]}]}],"fallback":{"sendFallback":true,"unicode":true,"text":"Custom fallback: Your order is ready. Check app for details."},"allowDuplicates":false}},"key":"WhatsApp: 3. Text with Manual Fallback","summary":"WhatsApp: 3. Text with Manual Fallback","id":"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 3. Text with Manual Fallback"},"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 4. Media Header (Document)":{"value":{"channel":"WHATSAPP","payload":{"sender":"+1234567890","mmlTemplate":false,"templateName":"invoice_delivery","templateId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","messageType":"NOTIFICATION","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"header","format":"DOCUMENT","url":"https://example.com/inv.pdf","filename":"inv.pdf"},{"type":"body","parameters":["001"]}]}],"fallback":{"sendFallback":true,"unicode":false},"allowDuplicates":false}},"key":"WhatsApp: 4. Media Header (Document)","summary":"WhatsApp: 4. Media Header (Document)","id":"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 4. Media Header (Document)"},"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 5. Text Header with Variable":{"value":{"channel":"WHATSAPP","payload":{"sender":"+1234567890","mmlTemplate":false,"templateName":"text_header_var","templateId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","messageType":"NOTIFICATION","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"header","format":"TEXT","parameters":["Summer Sale"]},{"type":"body","parameters":["John"]}]}],"fallback":{"sendFallback":true,"unicode":false},"allowDuplicates":false}},"key":"WhatsApp: 5. Text Header with Variable","summary":"WhatsApp: 5. Text Header with Variable","id":"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 5. Text Header with Variable"},"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 5b. Static Text Header (No Variable)":{"value":{"channel":"WHATSAPP","payload":{"sender":"+1234567890","mmlTemplate":false,"templateName":"header_text_template","templateId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"body","parameters":["John","2026-05-29"]}]}],"allowDuplicates":false}},"key":"WhatsApp: 5b. Static Text Header (No Variable)","summary":"WhatsApp: 5b. Static Text Header (No Variable)","id":"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 5b. Static Text Header (No Variable)"},"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 6. CTA — Static URL Button":{"value":{"channel":"WHATSAPP","payload":{"sender":"+1234567890","mmlTemplate":false,"templateName":"shop_now_static","templateId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","messageType":"NOTIFICATION","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"body","parameters":["John"]},{"type":"button","parameters":["https://example.com/shop"],"conversationParameters":[{"payload":"","conversationState":""}]}]}],"fallback":{"sendFallback":true,"unicode":false},"allowDuplicates":false}},"key":"WhatsApp: 6. CTA — Static URL Button","summary":"WhatsApp: 6. CTA — Static URL Button","id":"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 6. CTA — Static URL Button"},"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 7. CTA — Dynamic URL Button":{"value":{"channel":"WHATSAPP","payload":{"sender":"+1234567890","mmlTemplate":false,"templateName":"track_order_dynamic","templateId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","messageType":"NOTIFICATION","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"body","parameters":["John"]},{"type":"button","parameters":["ORD-5521"],"conversationParameters":[{"payload":"","conversationState":""}]}]}],"fallback":{"sendFallback":true,"unicode":false},"allowDuplicates":false}},"key":"WhatsApp: 7. CTA — Dynamic URL Button","summary":"WhatsApp: 7. CTA — Dynamic URL Button","id":"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 7. CTA — Dynamic URL Button"},"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 8. CTA — Phone Number Button":{"value":{"channel":"WHATSAPP","payload":{"sender":"+1234567890","mmlTemplate":false,"templateName":"call_support","templateId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","messageType":"NOTIFICATION","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"body","parameters":[]},{"type":"button","parameters":["Call us"],"conversationParameters":[{"payload":"","conversationState":""}]}]}],"fallback":{"sendFallback":true,"unicode":false},"allowDuplicates":false}},"key":"WhatsApp: 8. CTA — Phone Number Button","summary":"WhatsApp: 8. CTA — Phone Number Button","id":"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 8. CTA — Phone Number Button"},"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 9. CTA — Quick Reply (QR)":{"value":{"channel":"WHATSAPP","payload":{"sender":"+1234567890","mmlTemplate":false,"templateName":"feedback_cta","templateId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","messageType":"NOTIFICATION","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"body","parameters":[]},{"type":"button","parameters":["Yes","No"],"conversationParameters":[{"payload":"Yes","conversationState":"start"},{"payload":"No","conversationState":"end"}]}]}],"fallback":{"sendFallback":true,"unicode":true,"text":"Custom fallback: Your order is ready. Check app for details."},"allowDuplicates":false}},"key":"WhatsApp: 9. CTA — Quick Reply (QR)","summary":"WhatsApp: 9. CTA — Quick Reply (QR)","id":"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 9. CTA — Quick Reply (QR)"},"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 10. CTA — Mixed Buttons (QR + Static URL + Phone)":{"value":{"channel":"WHATSAPP","payload":{"sender":"+1234567890","mmlTemplate":false,"templateName":"mixed_cta","templateId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","messageType":"NOTIFICATION","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"body","parameters":["Alice"]},{"type":"button","parameters":["Yes","No","https://example.com/shop","Call us"],"conversationParameters":[{"payload":"Yes","conversationState":"start"},{"payload":"No","conversationState":"end"}]}]}],"fallback":{"sendFallback":true,"unicode":false},"allowDuplicates":false}},"key":"WhatsApp: 10. CTA — Mixed Buttons (QR + Static URL + Phone)","summary":"WhatsApp: 10. CTA — Mixed Buttons (QR + Static URL + Phone)","id":"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 10. CTA — Mixed Buttons (QR + Static URL + Phone)"},"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 11. Carousel — Static QR + Static URL Buttons":{"value":{"channel":"WHATSAPP","payload":{"sender":"+1234567890","templateName":"product_carousel_v1","templateId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","messageType":"NOTIFICATION","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"body","parameters":["Alice"]},{"type":"carousel","cards":[{"components":[{"type":"header","format":"IMAGE","url":"https://example.com/img1.jpg"},{"type":"button","parameters":["Buy A","https://example.com/a"],"conversationParameters":[{"payload":"Buy A","conversationState":"start"},{"payload":"","conversationState":""}]}]},{"components":[{"type":"header","format":"IMAGE","url":"https://example.com/img2.jpg"},{"type":"button","parameters":["Buy B","https://example.com/b"],"conversationParameters":[{"payload":"Buy B","conversationState":"start"},{"payload":"","conversationState":""}]}]}]}]}],"fallback":{"sendFallback":true,"unicode":false},"allowDuplicates":false}},"key":"WhatsApp: 11. Carousel — Static QR + Static URL Buttons","summary":"WhatsApp: 11. Carousel — Static QR + Static URL Buttons","id":"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 11. Carousel — Static QR + Static URL Buttons"},"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 12. Carousel — Dynamic Body + Dynamic URL Button":{"value":{"channel":"WHATSAPP","payload":{"sender":"+1234567890","mmlTemplate":false,"templateName":"product_carousel_dynamic","templateId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","messageType":"NOTIFICATION","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"body","parameters":["Alice"]},{"type":"carousel","cards":[{"components":[{"type":"header","format":"IMAGE","url":"https://example.com/img1.jpg"},{"type":"body","parameters":["Shoes"]},{"type":"button","parameters":["SKU-100"]}]},{"components":[{"type":"header","format":"IMAGE","url":"https://example.com/img2.jpg"},{"type":"body","parameters":["Bags"]},{"type":"button","parameters":["SKU-200"]}]}]}]}],"fallback":{"sendFallback":true,"unicode":false},"allowDuplicates":false}},"key":"WhatsApp: 12. Carousel — Dynamic Body + Dynamic URL Button","summary":"WhatsApp: 12. Carousel — Dynamic Body + Dynamic URL Button","id":"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 12. Carousel — Dynamic Body + Dynamic URL Button"},"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 13. Authentication — Copy Code ~1 OTP":{"value":{"channel":"WHATSAPP","payload":{"sender":"+1234567890","mmlTemplate":false,"templateName":"auth_template","templateId":"b8752e0f-0a47-4d2a-be9f-b8e93474fa4b","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"body","parameters":["123456"]},{"type":"button","parameters":["123456"],"conversationParameters":[{"payload":"","conversationState":""}]}]}],"allowDuplicates":false}},"key":"WhatsApp: 13. Authentication — Copy Code / OTP","summary":"WhatsApp: 13. Authentication — Copy Code / OTP","id":"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 13. Authentication — Copy Code ~1 OTP"},"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 14. Flow (Flow CTA)":{"value":{"channel":"WHATSAPP","payload":{"sender":"+1234567890","mmlTemplate":false,"templateName":"flow_template","templateId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"body","parameters":["John"]},{"type":"button","parameters":["Book Session"],"conversationParameters":[{"payload":"","conversationState":""}]}]}],"allowDuplicates":false}},"key":"WhatsApp: 14. Flow (Flow CTA)","summary":"WhatsApp: 14. Flow (Flow CTA)","id":"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 14. Flow (Flow CTA)"},"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 15. Coupon Code":{"value":{"channel":"WHATSAPP","payload":{"sender":"+1234567890","mmlTemplate":false,"templateName":"summer_promo","templateId":"2f9a6c11-7b3e-4d90-9c21-5a4e2b8f0d33","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"button","parameters":["25OFF"]}]}],"allowDuplicates":false}},"key":"WhatsApp: 15. Coupon Code","summary":"WhatsApp: 15. Coupon Code","id":"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: 15. Coupon Code"},"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: Text Chat Message":{"value":{"channel":"WHATSAPP","payload":{"sender":"+1234567890","messageType":"CHAT","messages":[{"messageText":"Hello, this is a standard session message.","recipients":[{"to":"+9876543210"}]}]}},"key":"WhatsApp: Text Chat Message","summary":"WhatsApp: Text Chat Message","id":"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: Text Chat Message"},"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: Media Chat Message":{"value":{"channel":"WHATSAPP","payload":{"sender":"+1234567890","messageType":"CHAT","messages":[{"recipients":[{"to":"+9876543210"}],"messageText":"Here is that document you requested yesterday!","media":{"url":"https://example.com/files/brochure.pdf","caption":"Product_Catalog_2026.pdf"}}]}},"key":"WhatsApp: Media Chat Message","summary":"WhatsApp: Media Chat Message","id":"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/WhatsApp: Media Chat Message"},"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/SMS Message":{"value":{"channel":"SMS","payload":{"messages":[{"to":"+1234567890","text":"Hello, this is a simple SMS","ctId":"ctid-01","unicode":false}]}},"key":"SMS Message","summary":"SMS Message","id":"paths/~1whatsapp-api-service~1v2~1messages/post/requestBody/content/application~1json/examples/SMS Message"},"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/1. Text":{"value":{"sender":"+1234567890","mmlTemplate":false,"templateName":"seasonal_promo_text","templateId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","messageType":"NOTIFICATION","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"body","parameters":["John"]}]}],"allowDuplicates":false},"key":"1. Text","summary":"1. Text","id":"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/1. Text"},"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/2. Text with Auto Fallback":{"value":{"sender":"+1234567890","mmlTemplate":false,"templateName":"seasonal_promo_text","templateId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","messageType":"NOTIFICATION","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"body","parameters":["John"]}]}],"fallback":{"sendFallback":true,"unicode":false},"allowDuplicates":false},"key":"2. Text with Auto Fallback","summary":"2. Text with Auto Fallback","id":"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/2. Text with Auto Fallback"},"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/3. Text with Manual Fallback":{"value":{"sender":"+1234567890","mmlTemplate":false,"templateName":"seasonal_promo_text","templateId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","messageType":"NOTIFICATION","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"body","parameters":["John"]}]}],"fallback":{"sendFallback":true,"unicode":true,"text":"Custom fallback: Your order is ready. Check app for details."},"allowDuplicates":false},"key":"3. Text with Manual Fallback","summary":"3. Text with Manual Fallback","id":"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/3. Text with Manual Fallback"},"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/4. Media Header (Document)":{"value":{"sender":"+1234567890","mmlTemplate":false,"templateName":"invoice_delivery","templateId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","messageType":"NOTIFICATION","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"header","format":"DOCUMENT","url":"https://example.com/inv.pdf","filename":"inv.pdf"},{"type":"body","parameters":["001"]}]}],"fallback":{"sendFallback":true,"unicode":false},"allowDuplicates":false},"key":"4. Media Header (Document)","summary":"4. Media Header (Document)","id":"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/4. Media Header (Document)"},"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/5. Text Header with Variable":{"value":{"sender":"+1234567890","mmlTemplate":false,"templateName":"text_header_var","templateId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","messageType":"NOTIFICATION","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"header","format":"TEXT","parameters":["Summer Sale"]},{"type":"body","parameters":["John"]}]}],"fallback":{"sendFallback":true,"unicode":false},"allowDuplicates":false},"key":"5. Text Header with Variable","summary":"5. Text Header with Variable","id":"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/5. Text Header with Variable"},"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/5b. Static Text Header (No Variable)":{"value":{"sender":"+1234567890","mmlTemplate":false,"templateName":"header_text_template","templateId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"body","parameters":["John","2026-05-29"]}]}],"allowDuplicates":false},"key":"5b. Static Text Header (No Variable)","summary":"5b. Static Text Header (No Variable)","id":"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/5b. Static Text Header (No Variable)"},"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/6. CTA — Static URL Button":{"value":{"sender":"+1234567890","mmlTemplate":false,"templateName":"shop_now_static","templateId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","messageType":"NOTIFICATION","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"body","parameters":["John"]},{"type":"button","parameters":["https://example.com/shop"],"conversationParameters":[{"payload":"","conversationState":""}]}]}],"fallback":{"sendFallback":true,"unicode":false},"allowDuplicates":false},"key":"6. CTA — Static URL Button","summary":"6. CTA — Static URL Button","id":"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/6. CTA — Static URL Button"},"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/7. CTA — Dynamic URL Button":{"value":{"sender":"+1234567890","mmlTemplate":false,"templateName":"track_order_dynamic","templateId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","messageType":"NOTIFICATION","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"body","parameters":["John"]},{"type":"button","parameters":["ORD-5521"],"conversationParameters":[{"payload":"","conversationState":""}]}]}],"fallback":{"sendFallback":true,"unicode":false},"allowDuplicates":false},"key":"7. CTA — Dynamic URL Button","summary":"7. CTA — Dynamic URL Button","id":"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/7. CTA — Dynamic URL Button"},"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/8. CTA — Phone Number Button":{"value":{"sender":"+1234567890","mmlTemplate":false,"templateName":"call_support","templateId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","messageType":"NOTIFICATION","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"body","parameters":[]},{"type":"button","parameters":["Call us"],"conversationParameters":[{"payload":"","conversationState":""}]}]}],"fallback":{"sendFallback":true,"unicode":false},"allowDuplicates":false},"key":"8. CTA — Phone Number Button","summary":"8. CTA — Phone Number Button","id":"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/8. CTA — Phone Number Button"},"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/9. CTA — Quick Reply (QR)":{"value":{"sender":"+1234567890","mmlTemplate":false,"templateName":"feedback_cta","templateId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","messageType":"NOTIFICATION","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"body","parameters":[]},{"type":"button","parameters":["Yes","No"],"conversationParameters":[{"payload":"Yes","conversationState":"start"},{"payload":"No","conversationState":"end"}]}]}],"fallback":{"sendFallback":true,"unicode":true,"text":"Custom fallback: Your order is ready. Check app for details."},"allowDuplicates":false},"key":"9. CTA — Quick Reply (QR)","summary":"9. CTA — Quick Reply (QR)","id":"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/9. CTA — Quick Reply (QR)"},"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/10. CTA — Mixed Buttons (QR + Static URL + Phone)":{"value":{"sender":"+1234567890","mmlTemplate":false,"templateName":"mixed_cta","templateId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","messageType":"NOTIFICATION","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"body","parameters":["Alice"]},{"type":"button","parameters":["Yes","No","https://example.com/shop","Call us"],"conversationParameters":[{"payload":"Yes","conversationState":"start"},{"payload":"No","conversationState":"end"}]}]}],"fallback":{"sendFallback":true,"unicode":false},"allowDuplicates":false},"key":"10. CTA — Mixed Buttons (QR + Static URL + Phone)","summary":"10. CTA — Mixed Buttons (QR + Static URL + Phone)","id":"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/10. CTA — Mixed Buttons (QR + Static URL + Phone)"},"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/11. Carousel — Static QR + Static URL Buttons":{"value":{"sender":"+1234567890","templateName":"product_carousel_v1","templateId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","messageType":"NOTIFICATION","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"body","parameters":["Alice"]},{"type":"carousel","cards":[{"components":[{"type":"header","format":"IMAGE","url":"https://example.com/img1.jpg"},{"type":"button","parameters":["Buy A","https://example.com/a"],"conversationParameters":[{"payload":"Buy A","conversationState":"start"},{"payload":"","conversationState":""}]}]},{"components":[{"type":"header","format":"IMAGE","url":"https://example.com/img2.jpg"},{"type":"button","parameters":["Buy B","https://example.com/b"],"conversationParameters":[{"payload":"Buy B","conversationState":"start"},{"payload":"","conversationState":""}]}]}]}]}],"fallback":{"sendFallback":true,"unicode":false},"allowDuplicates":false},"key":"11. Carousel — Static QR + Static URL Buttons","summary":"11. Carousel — Static QR + Static URL Buttons","id":"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/11. Carousel — Static QR + Static URL Buttons"},"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/12. Carousel — Dynamic Body + Dynamic URL Button":{"value":{"sender":"+1234567890","mmlTemplate":false,"templateName":"product_carousel_dynamic","templateId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","messageType":"NOTIFICATION","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"body","parameters":["Alice"]},{"type":"carousel","cards":[{"components":[{"type":"header","format":"IMAGE","url":"https://example.com/img1.jpg"},{"type":"body","parameters":["Shoes"]},{"type":"button","parameters":["SKU-100"]}]},{"components":[{"type":"header","format":"IMAGE","url":"https://example.com/img2.jpg"},{"type":"body","parameters":["Bags"]},{"type":"button","parameters":["SKU-200"]}]}]}]}],"fallback":{"sendFallback":true,"unicode":false},"allowDuplicates":false},"key":"12. Carousel — Dynamic Body + Dynamic URL Button","summary":"12. Carousel — Dynamic Body + Dynamic URL Button","id":"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/12. Carousel — Dynamic Body + Dynamic URL Button"},"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/13. Authentication — Copy Code ~1 OTP":{"value":{"sender":"+1234567890","mmlTemplate":false,"templateName":"auth_template","templateId":"b8752e0f-0a47-4d2a-be9f-b8e93474fa4b","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"body","parameters":["123456"]},{"type":"button","parameters":["123456"],"conversationParameters":[{"payload":"","conversationState":""}]}]}],"allowDuplicates":false},"key":"13. Authentication — Copy Code / OTP","summary":"13. Authentication — Copy Code / OTP","id":"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/13. Authentication — Copy Code ~1 OTP"},"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/14. Flow (Flow CTA)":{"value":{"sender":"+1234567890","mmlTemplate":false,"templateName":"flow_template","templateId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"body","parameters":["John"]},{"type":"button","parameters":["Book Session"],"conversationParameters":[{"payload":"","conversationState":""}]}]}],"allowDuplicates":false},"key":"14. Flow (Flow CTA)","summary":"14. Flow (Flow CTA)","id":"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/14. Flow (Flow CTA)"},"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/15. Coupon Code":{"value":{"sender":"+1234567890","mmlTemplate":false,"templateName":"summer_promo","templateId":"2f9a6c11-7b3e-4d90-9c21-5a4e2b8f0d33","messages":[{"recipients":[{"to":"+9876543210","ctId":"id-01"}],"components":[{"type":"button","parameters":["25OFF"]}]}],"allowDuplicates":false},"key":"15. Coupon Code","summary":"15. Coupon Code","id":"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/15. Coupon Code"},"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/Text Chat":{"value":{"sender":"+1234567890","messageType":"CHAT","messages":[{"messageText":"Hello, this is a standard session message.","recipients":[{"to":"+9876543210"}]}]},"key":"Text Chat","summary":"Text Chat","id":"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/Text Chat"},"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/Media Chat":{"value":{"sender":"+1234567890","messageType":"CHAT","messages":[{"recipients":[{"to":"+9876543210"}],"messageText":"Here is that document you requested yesterday!","media":{"url":"https://example.com/files/brochure.pdf","caption":"Product_Catalog_2026.pdf"}}]},"key":"Media Chat","summary":"Media Chat","id":"paths/~1whatsapp-api-service~1v2~1channels~1whatsapp/post/requestBody/content/application~1json/examples/Media Chat"},"paths/~1whatsapp-api-service~1v2~1channels~1sms/post/requestBody/content/application~1json/examples/Send SMS":{"value":{"messages":[{"to":"+1234567890","text":"Hello, this is a simple SMS","ctId":"ctid-01","unicode":false}]},"key":"Send SMS","summary":"Send SMS","id":"paths/~1whatsapp-api-service~1v2~1channels~1sms/post/requestBody/content/application~1json/examples/Send SMS"},"paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientNumbers~1registerWLNumber/post/requestBody/content/application~1json/example":{"value":{"number":"+27123456789","hostingType":"WHATSAPP_GO"},"id":"paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientNumbers~1registerWLNumber/post/requestBody/content/application~1json/example"},"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Text Only":{"value":{"template_name":"seasonal_promo_text","language":"en_GB","category":"MARKETING","number":"+1234567890","allow_category_change":true,"components":[{"type":"BODY","text":"Hi {{1}}, don't miss our sale!","example":{"body_text":[["John"]]}}]},"key":"Text Only","summary":"Text-only template","id":"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Text Only"},"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Media Header":{"value":{"template_name":"invoice_delivery","language":"en_GB","category":"UTILITY","number":"+1234567890","allow_category_change":true,"components":[{"type":"HEADER","format":"DOCUMENT","example":{"header_handle":["https://example.com/doc.pdf"]}},{"type":"BODY","text":"Your invoice #{{1}}.","example":{"body_text":[["001"]]}}]},"key":"Media Header","summary":"Media header template","id":"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Media Header"},"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Text Header":{"value":{"template_name":"alert_header","language":"en_US","category":"UTILITY","number":"+1234567890","allow_category_change":true,"components":[{"type":"HEADER","format":"TEXT","text":"Alert: {{1}}","example":{"header_text":["Maintenance"]}},{"type":"BODY","text":"System is down."}]},"key":"Text Header","summary":"Text header template","id":"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Text Header"},"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Quick-reply Buttons":{"value":{"template_name":"feedback_cta","language":"en_GB","category":"MARKETING","number":"+1234567890","allow_category_change":true,"components":[{"type":"BODY","text":"We value your feedback."},{"type":"BUTTONS","buttons":[{"type":"QUICK_REPLY","text":"Yes"},{"type":"QUICK_REPLY","text":"No"}]}]},"key":"Quick-reply Buttons","summary":"Quick-reply buttons template (a call-to-action variant)","id":"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Quick-reply Buttons"},"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Carousel":{"value":{"template_name":"product_carousel_v1","language":"en_GB","category":"MARKETING","number":"+1234567890","allow_category_change":true,"components":[{"type":"BODY","text":"Hi {{1}}, check out these items!","example":{"body_text":[["Alice"]]}},{"type":"CAROUSEL","cards":[{"components":[{"type":"HEADER","format":"IMAGE","example":{"header_handle":["https://example.com/img1.jpg"]}},{"type":"BODY","text":"Super Widget A"},{"type":"BUTTONS","buttons":[{"type":"QUICK_REPLY","text":"Buy A"},{"type":"URL","text":"View","url":"https://example.com/items"}]}]},{"components":[{"type":"HEADER","format":"IMAGE","example":{"header_handle":["https://example.com/img2.jpg"]}},{"type":"BODY","text":"Super Widget B"},{"type":"BUTTONS","buttons":[{"type":"QUICK_REPLY","text":"Buy B"},{"type":"URL","text":"View","url":"https://example.com/items/{{1}}","example":["new"]}]}]}]}]},"key":"Carousel","summary":"Carousel template","id":"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Carousel"},"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Auth: Copy Code":{"value":{"template_name":"auth_code_1","language":"en_US","category":"AUTHENTICATION","number":"+1234567890","allow_category_change":true,"components":[{"type":"BODY","add_security_recommendation":true},{"type":"FOOTER","code_expiration_minutes":5},{"type":"BUTTONS","buttons":[{"type":"OTP","otp_type":"COPY_CODE","text":"Copy Code"}]}]},"key":"Auth: Copy Code","summary":"Auth copy code","id":"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Auth: Copy Code"},"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Auth: One Tap":{"value":{"template_name":"auth_onetap_1","language":"en_US","category":"AUTHENTICATION","number":"+1234567890","allow_category_change":true,"components":[{"type":"BODY","add_security_recommendation":true},{"type":"FOOTER","code_expiration_minutes":5},{"type":"BUTTONS","buttons":[{"type":"OTP","otp_type":"ONE_TAP","text":"Copy Code","autofill_text":"Autofill","package_name":"com.example.app","signature_hash":"K8a72FAINcG"}]}]},"key":"Auth: One Tap","summary":"Auth one-tap","id":"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Auth: One Tap"},"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Flow":{"value":{"template_name":"flow_test","language":"en_US","category":"MARKETING","number":"+1234567890","allow_category_change":true,"components":[{"type":"BODY","text":"Book an appointment"},{"type":"BUTTONS","buttons":[{"type":"FLOW","text":"Book Now","flow_id":"123456","flow_action":"navigate","navigate_screen":"BOOKING_SCREEN"}]}]},"key":"Flow","summary":"WhatsApp Flow","id":"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Flow"},"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/URL Button (Static)":{"value":{"template_name":"website_link","language":"en_US","category":"MARKETING","number":"+1234567890","allow_category_change":true,"components":[{"type":"BODY","text":"Visit our site"},{"type":"BUTTONS","buttons":[{"type":"URL","text":"Visit Now","url":"https://example.com"}]}]},"key":"URL Button (Static)","summary":"Static URL button","id":"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/URL Button (Static)"},"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/URL Button (Dynamic)":{"value":{"template_name":"tracking_link","language":"en_US","category":"UTILITY","number":"+1234567890","allow_category_change":true,"components":[{"type":"BODY","text":"Track your package"},{"type":"BUTTONS","buttons":[{"type":"URL","text":"Track","url":"https://example.com/track/{{1}}","example":["TRK123"]}]}]},"key":"URL Button (Dynamic)","summary":"Dynamic URL button","id":"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/URL Button (Dynamic)"},"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Phone Number Button":{"value":{"template_name":"call_us","language":"en_US","category":"UTILITY","number":"+1234567890","allow_category_change":true,"components":[{"type":"BODY","text":"Need help? Call us."},{"type":"BUTTONS","buttons":[{"type":"PHONE_NUMBER","text":"Call Support","phone_number":"+15550123456"}]}]},"key":"Phone Number Button","summary":"Phone number button","id":"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Phone Number Button"},"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Coupon Code Button":{"value":{"template_name":"summer_promo","language":"en_US","category":"MARKETING","number":"+1234567890","allow_category_change":true,"components":[{"type":"BODY","text":"Use this code at checkout for 25% off."},{"type":"BUTTONS","buttons":[{"type":"COPY_CODE","example":["25OFF"]}]}]},"key":"Coupon Code Button","summary":"Coupon code button","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"COPY_CODE"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" button that shares a promo code the customer can copy. Supported on MARKETING and"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"UTILITY templates. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"example"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" carries a sample code for approval; the real code is supplied as"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"the button parameter at send time (see send example "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"15. Coupon Code"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}],"id":"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Coupon Code Button"},"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Request Contact Info Button":{"value":{"template_name":"recover_number","language":"en_US","category":"UTILITY","number":"+1234567890","allow_category_change":true,"components":[{"type":"BODY","text":"Please share your phone number so we can continue."},{"type":"BUTTONS","buttons":[{"type":"REQUEST_CONTACT_INFO"}]}]},"key":"Request Contact Info Button","summary":"Request contact info button","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"REQUEST_CONTACT_INFO"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" button that asks a username (BSUID-only) customer to share their phone"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"number. The label is fixed by WhatsApp and cannot be customised, so no "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"text"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is sent. Allowed"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"on MARKETING and UTILITY templates. The shared number arrives on the inbound webhook as a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"contacts"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" message."},"children":[],"type":"text"}],"type":"paragraph"}],"id":"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Request Contact Info Button"},"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Call Permission Request":{"value":{"template_name":"allow_calls","language":"en_US","category":"UTILITY","number":"+1234567890","allow_category_change":true,"components":[{"type":"BODY","text":"Can we call you on WhatsApp about your order?"},{"type":"CALL_PERMISSION_REQUEST"}]},"key":"Call Permission Request","summary":"Call permission request","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"CALL_PERMISSION_REQUEST"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" component that asks the customer to allow your business to call them on"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"WhatsApp. WhatsApp adds its own \"allow calls\" prompt to the message, so the component carries only its"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"type"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Allowed once per template, on MARKETING and UTILITY templates, and not on carousel templates."},"children":[],"type":"text"}],"type":"paragraph"}],"id":"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Call Permission Request"},"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Mixed Buttons (QR + URL + Phone)":{"value":{"template_name":"mixed_cta","language":"en_GB","category":"MARKETING","number":"+1234567890","allow_category_change":true,"components":[{"type":"BODY","text":"Hi {{1}}, can we help?","example":{"body_text":[["Alice"]]}},{"type":"BUTTONS","buttons":[{"type":"QUICK_REPLY","text":"Yes"},{"type":"QUICK_REPLY","text":"No"},{"type":"URL","text":"Shop","url":"https://example.com/shop"},{"type":"PHONE_NUMBER","text":"Call us","phone_number":"+15550123456"}]}]},"key":"Mixed Buttons (QR + URL + Phone)","summary":"Mixed buttons (QR + static URL + phone)","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"A single BUTTONS component combining quick-reply, URL, and phone-number"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"buttons. At send time these are emitted as one "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"button"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" message component"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"whose "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"parameters"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" array is positional in this template order — see send"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"example #10 ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"CTA — Mixed Buttons"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}],"id":"paths/~1whatsapp-api-service~1whatsAppTemplates~1createTemplate/post/requestBody/content/application~1json/examples/Mixed Buttons (QR + URL + Phone)"},"paths/~1whatsapp-api-service~1whatsAppTemplates~1updateTemplate/put/requestBody/content/application~1json/example":{"value":{"id":"b2c3d4e5-f6a7-8901-b2c3-d4e5f6a78901","templateRequest":"{\"template_name\":\"seasonal_promo_2024\",\"language\":\"en_GB\",\"category\":\"MARKETING\",\"components\":[{\"type\":\"BODY\",\"text\":\"Hi {{1}}, check out our new deals!\"}]}","templateName":"seasonal_promo_2024","namespace":"whatsapp:hsm:technology:ecommunicate","status":"approved","templateType":"TEXT","languageCode":"en_GB","approved":true,"whatsAppProvider":"DLG","requestedDate":"2026-01-10T08:00:00Z","externalId":"1234567890123456","attachmentType":"NULL","whatsAppNumber":"+27123456789","rejectedReason":null},"id":"paths/~1whatsapp-api-service~1whatsAppTemplates~1updateTemplate/put/requestBody/content/application~1json/example"},"paths/~1payless4messaging-service~1WhatsApp~1WhatsAppSendReceiveMessages~1resendSelectedMessages/post/requestBody/content/application~1json/example":{"value":["a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","b2c3d4e5-f6a1-8901-b2c3-d4e5f6a18901"],"id":"paths/~1payless4messaging-service~1WhatsApp~1WhatsAppSendReceiveMessages~1resendSelectedMessages/post/requestBody/content/application~1json/example"},"paths/~1pl4chat-service~1api~1v2~1messages/post/requestBody/content/application~1json/examples/text":{"value":{"participantId":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","channel":"WHATSAPP","tempId":"c9f0b308-1a0d-3f3f-7912-464f06677c6b","text":"Thanks for reaching out — how can I help?"},"key":"text","summary":"Send a text message","id":"paths/~1pl4chat-service~1api~1v2~1messages/post/requestBody/content/application~1json/examples/text"},"paths/~1pl4chat-service~1api~1v2~1messages/post/requestBody/content/application~1json/examples/media":{"value":{"participantId":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","channel":"WEB","tempId":"d0a1b2c3-4d5e-6f70-8192-a3b4c5d6e7f8","mediaUrl":"https://cdn.example.com/uploads/quote-1234.pdf","mediaType":"DOCUMENT","text":"Here is your quote."},"key":"media","summary":"Send media (after uploading)","id":"paths/~1pl4chat-service~1api~1v2~1messages/post/requestBody/content/application~1json/examples/media"},"paths/~1pl4chat-service~1api~1v2~1messages~1media/post/requestBody/content/multipart~1form-data/examples/sample":{"value":{"file":"(binary)"},"key":"sample","summary":"Upload a file","id":"paths/~1pl4chat-service~1api~1v2~1messages~1media/post/requestBody/content/multipart~1form-data/examples/sample"},"paths/~1pl4chat-service~1ChatParticipant~1terminateChatParticipantChat/put/requestBody/content/application~1json/example":{"value":{"id":"eb326385-70b2-4561-9b3a-123456789abc","firstName":"John","lastName":"Doe","fullName":"John Doe","phoneNumber":"27821234567","email":"john.doe@example.com","subject":"Billing Inquiry","team":"Support Team","whatsAppClientNumber":"+27123456789","conversationClosed":true,"missedConversation":false,"afterHoursConversation":false,"chatBotConversation":true,"sendRatingWidget":false,"clientRef":"Growthpoint","createdTime":"2026-01-15T08:00:00Z","lastMessageTime":"2026-01-15T10:35:00Z","customerLastMessageTime":"2026-01-15T10:30:00Z","channel":"WHATSAPP","conversationStatus":"OPEN","sender":"+27821234567","assignedTo":{"id":"21c28d3e-bc5c-4bc9-99be-fe283df71abc"},"lastAssignedAgent":{"id":"21c28d3e-bc5c-4bc9-99be-fe283df71abc"},"openedBy":"agent@example.com","terminatedBy":"agent@example.com","unread":true,"rated":false,"expectingRating":false,"companyName":"Acme Corp","accountNumber":"ACC-001234","activeFlow":"main_support_flow","nodeName":"Welcome Node","botName":"Support Bot","timezone":"Africa/Johannesburg","gstn":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","ctn":"b2c3d4e5-f6a7-8901-b2c3-d4e5f6a78901"},"id":"paths/~1pl4chat-service~1ChatParticipant~1terminateChatParticipantChat/put/requestBody/content/application~1json/example"},"paths/~1pl4chat-service~1Message~1sendMessageWhatsapp/post/requestBody/content/application~1json/example":{"value":{"tempId":"c9f0b308-1a0d-3f3f-7912-464f06677c6b","agent":{"id":"21c28d3e-bc5c-4bc9-99be-fe283df71abc","email":"agent@example.com","password":"********","tempPassword":"********","role":"CLIENT","liveChatRole":"AGENT","primaryEmailAddress":"agent@example.com","mobileNumber":"+27821234567","sentLowerCreditLimitMail":false,"sentZeroCreditMail":false,"apiKey":"64a1b2c3d4e5f67890abcdef","disabled":false,"deleted":false,"emailVerificationKey":null,"passwordResetKey":null,"inactivityNodeId":"node-inactivity-001","publicHolidayInactivityNodeId":"node-holiday-001","officeClosedInactivityNodeId":"node-closed-001","autoResponseNodeId":"node-auto-001","client":{"id":"dbdb8809-6fd0-4cd2-8574-502f0f61a69d","clientRef":"Growthpoint","accountType":"Postpaid","countryCode":"ZA","countryTimezone":"Africa/Johannesburg","pricingModel":"PMP","clientPlatformCharge":0.1,"clientNotificationCharge":0.35,"clientSession24HourCharge":0.35,"clientConversationCharge":0.35,"userInitiatedConversationCharge":0.2,"businessInitiatedConversationCharge":1.25,"clientWhatsAppBalance":1000,"clientSMSBalance":10,"primaryEmailAddress":"admin@example.com","secondaryEmailAddress":"backup@example.com","clientEmailAddress":"client@example.com","upperNotificationLimit":100,"lowerNotificationLimit":10,"upperNotificationLimitMailSent":false,"lowerNotificationLimitMailSent":false,"zeroBalanceNotificationMailSent":false,"lastUpperNotificationMailSentTime":"2026-01-15T10:30:00+02:00","lastLowerNotificationMailSentTime":"2026-01-20T14:00:00+02:00","lastZeroBalanceNotificationMailSentTime":null,"smsMode":"fallback","smsFallback":true,"smsUserId":"support@ecommunicate.co.za","smsPassword":"********","smsClientRef":"ecomtest1","reseller":false,"parentClient":null,"license":null,"useParentNumber":false,"useParentCredit":false,"userInitiatedConversationBalance":100,"businessInitiatedConversationBalance":973,"popiaComplianceEnabled":true,"eligible1000Free":true,"splitConversation":true,"monthlyFundAllocation":true,"monthlyBusinessInitiatedBalanceAllocation":1000,"monthlyUserInitiatedBalanceAllocation":100,"useApi":true,"headerKeyPairsJson":"[{\"key\": \"Authorization\", \"value\": \"your-api-key\"}]"},"clientRef":null,"ticketCount":5,"lastSeen":null,"resetPasswordEmailSent":false,"emailVerified":false,"firstName":"Jane","lastName":"Doe","agentChatLimit":5,"availabilityStatus":true,"initialPassword":false,"tempAccount":false,"loginToken":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","validToken":false,"avatar":"https://example.com/avatars/jane.jpg","shouldGetNotifications":true,"applicationKey":"a3b4c5d6-e7f8-9012-a3b4-c5d6e7f89012","userId":"21c28d3e-bc5c-4bc9-99be-fe283df71653","applicationClientId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","allowedSharedInbox":true,"allowedUnassignedInbox":true,"assignmentMessage":"Hi, I'm Jane and I'll be assisting you today."},"chatParticipant":{"id":"eb326385-70b2-4561-9b3a-123456789abc","firstName":"John","lastName":"Doe","fullName":"John Doe","phoneNumber":"27821234567","email":"john.doe@example.com","subject":"Billing Inquiry","team":"Support Team","whatsAppClientNumber":"+27123456789","conversationClosed":false,"missedConversation":false,"afterHoursConversation":false,"chatBotConversation":true,"sendRatingWidget":false,"clientRef":"Growthpoint","createdTime":"2026-01-15T08:00:00Z","lastMessageTime":"2026-01-15T10:35:00Z","customerLastMessageTime":"2026-01-15T10:30:00Z","channel":"WHATSAPP","conversationStatus":"OPEN","sender":"+27821234567","assignedTo":{"id":"21c28d3e-bc5c-4bc9-99be-fe283df71abc"},"openedBy":"agent@example.com","terminatedBy":"agent@example.com","unread":true,"rated":false,"expectingRating":false,"companyName":"Acme Corp","accountNumber":"ACC-001234","activeFlow":"main_support_flow","nodeName":"Welcome Node","botName":"Support Bot","timezone":"Africa/Johannesburg","gstn":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","ctn":"b2c3d4e5-f6a7-8901-b2c3-d4e5f6a78901"},"contentType":"TEXT","direction":"OUTGOING","messageOwner":"agent","receiver":"27123456789","sender":"+27987654321","text":"Here is the information you requested.","userOriginated":true},"id":"paths/~1pl4chat-service~1Message~1sendMessageWhatsapp/post/requestBody/content/application~1json/example"},"paths/~1pl4chat-service~1Message~1sendMessageWithAttachment/post/requestBody/content/multipart~1form-data/examples/sample":{"value":{"file":"(binary)","message":{"tempId":"e894a094-80a4-4c5c-9c7d-3dc6a26974bd","agent":{"id":"21c28d3e-bc5c-4bc9-99be-fe283df71653","email":"agent@example.com","password":"********","tempPassword":"********","role":"CLIENT","liveChatRole":"AGENT","primaryEmailAddress":"agent@example.com","mobileNumber":"+27821234567","sentLowerCreditLimitMail":false,"sentZeroCreditMail":false,"apiKey":"64a1b2c3d4e5f67890abcdef","disabled":false,"deleted":false,"emailVerificationKey":null,"passwordResetKey":null,"inactivityNodeId":"node-inactivity-001","publicHolidayInactivityNodeId":"node-holiday-001","officeClosedInactivityNodeId":"node-closed-001","autoResponseNodeId":"node-auto-001","client":{"id":"dbdb8809-6fd0-4cd2-8574-502f0f61a69d","clientRef":"Growthpoint","accountType":"Postpaid","countryCode":"ZA","countryTimezone":"Africa/Johannesburg","pricingModel":"PMP","clientPlatformCharge":0.1,"clientNotificationCharge":0.35,"clientSession24HourCharge":0.35,"clientConversationCharge":0.35,"userInitiatedConversationCharge":0.2,"businessInitiatedConversationCharge":1.25,"clientWhatsAppBalance":1000,"clientSMSBalance":10,"primaryEmailAddress":"admin@example.com","secondaryEmailAddress":"backup@example.com","clientEmailAddress":"client@example.com","upperNotificationLimit":100,"lowerNotificationLimit":10,"upperNotificationLimitMailSent":false,"lowerNotificationLimitMailSent":false,"zeroBalanceNotificationMailSent":false,"lastUpperNotificationMailSentTime":"2026-01-15T10:30:00+02:00","lastLowerNotificationMailSentTime":"2026-01-20T14:00:00+02:00","lastZeroBalanceNotificationMailSentTime":null,"smsMode":"fallback","smsFallback":true,"smsUserId":"support@ecommunicate.co.za","smsPassword":"********","smsClientRef":"ecomtest1","reseller":false,"parentClient":null,"license":null,"useParentNumber":false,"useParentCredit":false,"userInitiatedConversationBalance":100,"businessInitiatedConversationBalance":973,"popiaComplianceEnabled":true,"eligible1000Free":true,"splitConversation":true,"monthlyFundAllocation":true,"monthlyBusinessInitiatedBalanceAllocation":1000,"monthlyUserInitiatedBalanceAllocation":100,"useApi":true,"headerKeyPairsJson":"[{\"key\": \"Authorization\", \"value\": \"your-api-key\"}]"},"clientRef":null,"ticketCount":5,"lastSeen":null,"resetPasswordEmailSent":false,"emailVerified":false,"firstName":"Jane","lastName":"Doe","agentChatLimit":5,"availabilityStatus":true,"initialPassword":false,"tempAccount":false,"loginToken":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","validToken":false,"avatar":"https://example.com/avatars/jane.jpg","shouldGetNotifications":true,"applicationKey":"a3b4c5d6-e7f8-9012-a3b4-c5d6e7f89012","userId":"21c28d3e-bc5c-4bc9-99be-fe283df71653","applicationClientId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","allowedSharedInbox":true,"allowedUnassignedInbox":true,"assignmentMessage":"Hi, I'm Jane and I'll be assisting you today."},"chatParticipant":{"id":"eb326385-70b2-4561-9b3a-123456789abc","firstName":"John","lastName":"Doe","fullName":"John Doe","phoneNumber":"27821234567","email":"john.doe@example.com","subject":"Billing Inquiry","team":"Support Team","whatsAppClientNumber":"+27123456789","conversationClosed":false,"missedConversation":false,"afterHoursConversation":false,"chatBotConversation":true,"sendRatingWidget":false,"clientRef":"Growthpoint","createdTime":"2026-01-15T08:00:00Z","lastMessageTime":"2026-01-15T10:35:00Z","customerLastMessageTime":"2026-01-15T10:30:00Z","channel":"WHATSAPP","conversationStatus":"OPEN","sender":"+27821234567","assignedTo":{"id":"21c28d3e-bc5c-4bc9-99be-fe283df71653","email":"agent@example.com","password":"********","tempPassword":"********","role":"CLIENT","liveChatRole":"AGENT","primaryEmailAddress":"agent@example.com","mobileNumber":"+27821234567","sentLowerCreditLimitMail":false,"sentZeroCreditMail":false,"apiKey":"64a1b2c3d4e5f67890abcdef","disabled":false,"deleted":false,"emailVerificationKey":null,"passwordResetKey":null,"inactivityNodeId":"node-inactivity-001","publicHolidayInactivityNodeId":"node-holiday-001","officeClosedInactivityNodeId":"node-closed-001","autoResponseNodeId":"node-auto-001","client":{"id":"dbdb8809-6fd0-4cd2-8574-502f0f61a69d","clientRef":"Growthpoint","accountType":"Postpaid","countryCode":"ZA","countryTimezone":"Africa/Johannesburg","pricingModel":"PMP","clientPlatformCharge":0.1,"clientNotificationCharge":0.35,"clientSession24HourCharge":0.35,"clientConversationCharge":0.35,"userInitiatedConversationCharge":0.2,"businessInitiatedConversationCharge":1.25,"clientWhatsAppBalance":1000,"clientSMSBalance":10,"primaryEmailAddress":"admin@example.com","secondaryEmailAddress":"backup@example.com","clientEmailAddress":"client@example.com","upperNotificationLimit":100,"lowerNotificationLimit":10,"upperNotificationLimitMailSent":false,"lowerNotificationLimitMailSent":false,"zeroBalanceNotificationMailSent":false,"lastUpperNotificationMailSentTime":"2026-01-15T10:30:00+02:00","lastLowerNotificationMailSentTime":"2026-01-20T14:00:00+02:00","lastZeroBalanceNotificationMailSentTime":null,"smsMode":"fallback","smsFallback":true,"smsUserId":"support@ecommunicate.co.za","smsPassword":"********","smsClientRef":"ecomtest1","reseller":false,"parentClient":null,"license":null,"useParentNumber":false,"useParentCredit":false,"userInitiatedConversationBalance":100,"businessInitiatedConversationBalance":973,"popiaComplianceEnabled":true,"eligible1000Free":true,"splitConversation":true,"monthlyFundAllocation":true,"monthlyBusinessInitiatedBalanceAllocation":1000,"monthlyUserInitiatedBalanceAllocation":100,"useApi":true,"headerKeyPairsJson":"[{\"key\": \"Authorization\", \"value\": \"your-api-key\"}]"},"clientRef":null,"ticketCount":5,"lastSeen":null,"resetPasswordEmailSent":false,"emailVerified":false,"firstName":"Jane","lastName":"Doe","agentChatLimit":5,"availabilityStatus":true,"initialPassword":false,"tempAccount":false,"loginToken":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","validToken":false,"avatar":"https://example.com/avatars/jane.jpg","shouldGetNotifications":true,"applicationKey":"a3b4c5d6-e7f8-9012-a3b4-c5d6e7f89012","userId":"21c28d3e-bc5c-4bc9-99be-fe283df71653","applicationClientId":"1d368c30-c9f8-4523-b8c2-3824ba72ff5c","allowedSharedInbox":true,"allowedUnassignedInbox":true,"assignmentMessage":"Hi, I'm Jane and I'll be assisting you today."},"openedBy":"agent@example.com","terminatedBy":"agent@example.com","unread":true,"rated":false,"expectingRating":false,"companyName":"Acme Corp","accountNumber":"ACC-001234","activeFlow":"main_support_flow","nodeName":"Welcome Node","botName":"Support Bot","timezone":"Africa/Johannesburg","gstn":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","ctn":"b2c3d4e5-f6a7-8901-b2c3-d4e5f6a78901"},"channel":"WHATSAPP","direction":"OUTGOING","text":"img5.png","contentType":"MEDIA","userOriginated":true,"messageOwner":"agent"}},"key":"sample","summary":"Send image with message","id":"paths/~1pl4chat-service~1Message~1sendMessageWithAttachment/post/requestBody/content/multipart~1form-data/examples/sample"},"paths/~1pl4chat-service~1Message~1sendTypingIndicator/post/requestBody/content/application~1json/example":{"value":{"senderNumber":"+27123456789","recipientNumber":"+27811234567","messageId":"wamid.HBgNMjc4MjEyMzQ1Njc4FQIAEhgg"},"id":"paths/~1pl4chat-service~1Message~1sendTypingIndicator/post/requestBody/content/application~1json/example"},"paths/~1payless4messaging-service~1WhatsApp~1contacts/post/requestBody/content/application~1json/example":{"value":{"fullName":"John Doe","jid":"27821234567"},"id":"paths/~1payless4messaging-service~1WhatsApp~1contacts/post/requestBody/content/application~1json/example"},"paths/~1payless4messaging-service~1WhatsApp~1contacts~1{id}/put/requestBody/content/application~1json/example":{"value":{"fullName":"John Doe Updated"},"id":"paths/~1payless4messaging-service~1WhatsApp~1contacts~1{id}/put/requestBody/content/application~1json/example"},"paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Client Default (All Webhooks)":{"value":{"incomingMessageURL":"https://yourserver.com/webhooks/incoming","statusUpdateURL":"https://yourserver.com/webhooks/status","sessionStatusURL":"https://yourserver.com/webhooks/session","eventWebhookURL":"https://yourserver.com/webhooks/events","chatbotWebhookURL":"https://yourserver.com/webhooks/chatbot","chatbotIncludeOutgoing":false,"chatbotStopOnAgentAssignment":true},"key":"Client Default (All Webhooks)","summary":"Client default (all webhooks)","description":"Full client-default configuration with every webhook type enabled. Applies to every WhatsApp number under your client unless overridden per-number.","id":"paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Client Default (All Webhooks)"},"paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Per-Number Override":{"value":{"whatsAppNumberId":"f1e2d3c4-b5a6-9870-fedc-ba9876543210","incomingMessageURL":"https://yourserver.com/webhooks/number-specific/incoming","statusUpdateURL":"https://yourserver.com/webhooks/number-specific/status","eventWebhookURL":"https://yourserver.com/webhooks/number-specific/events","chatbotIncludeOutgoing":false,"chatbotStopOnAgentAssignment":false},"key":"Per-Number Override","summary":"Per-number override","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Configuration scoped to a single WhatsApp number. Set "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"whatsAppNumberId"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"WhatsAppNumbers.id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" you want this override to apply to. Falls back to the client default for events on other numbers."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Need the id? Call "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /payless4messaging-service/WhatsApp/WhatsAppClientNumbers/getForCurrentLoginUser?searchString=27123456789"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (any partial MSISDN works) and copy the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"nested"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"whatsAppNumber.id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" from the matching row — not the top-level "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (that one is the client–number link, not the number itself)."},"children":[],"type":"text"}],"type":"paragraph"}],"id":"paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Per-Number Override"},"paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Incoming Messages Only":{"value":{"incomingMessageURL":"https://yourserver.com/webhooks/incoming"},"key":"Incoming Messages Only","summary":"Incoming messages only","description":"Minimal setup that receives only customer-to-business messages. Use when you only care about inbound traffic, not delivery status, session state, or platform events.","id":"paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Incoming Messages Only"},"paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Status Updates Only":{"value":{"statusUpdateURL":"https://yourserver.com/webhooks/status"},"key":"Status Updates Only","summary":"Status updates only (delivery receipts)","description":"Minimal setup that receives only delivery status updates (sent, delivered, read, failed). Use when you only care about message lifecycle, not customer replies.","id":"paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Status Updates Only"},"paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Chatbot — Auto-Stop on Handover":{"value":{"chatbotWebhookURL":"https://yourserver.com/webhooks/chatbot","chatbotIncludeOutgoing":true,"chatbotStopOnAgentAssignment":true},"key":"Chatbot — Auto-Stop on Handover","summary":"Chatbot — auto-stop on agent handover","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Chatbot conversation events with bot replies included. Emits stop once a chat participant is assigned to a human agent — useful when you only want bot-driven traffic on this URL."},"children":[],"type":"text"}],"type":"paragraph"}],"id":"paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Chatbot — Auto-Stop on Handover"},"paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Chatbot — Always On (Incoming Only)":{"value":{"chatbotWebhookURL":"https://yourserver.com/webhooks/chatbot","chatbotIncludeOutgoing":false,"chatbotStopOnAgentAssignment":false},"key":"Chatbot — Always On (Incoming Only)","summary":"Chatbot — always on (incoming only)","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Chatbot conversation events for incoming customer messages only. Continues emitting after agent handover — useful when you want to mirror the full conversation lifecycle on your side."},"children":[],"type":"text"}],"type":"paragraph"}],"id":"paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Chatbot — Always On (Incoming Only)"},"paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Chatbot — v2 Enriched Payload":{"value":{"chatbotWebhookURL":"https://yourserver.com/webhooks/chatbot","chatbotIncludeOutgoing":true,"chatbotStopOnAgentAssignment":false,"chatbotPayloadVersion":"v2"},"key":"Chatbot — v2 Enriched Payload","summary":"Chatbot — v2 enriched payload","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Chatbot conversation events using the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"v2"},"children":[],"type":"code"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" payload shape — same flat fields as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"v1"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" plus nested "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"assignedTo"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (full "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"SystemUser"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"chatParticipant"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (full chat participant). Lets your receiver render the full lifecycle without a follow-up "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET /ChatParticipant/{id}"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Warning:"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" For now if you this set to null the version is v1, however we will be deprecating v1 and the default will be v2 and this field will be removed in the future."},"children":[],"type":"text"}],"type":"paragraph"}],"id":"paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/Chatbot — v2 Enriched Payload"},"paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/WhatsApp Lite (with Session Status)":{"value":{"incomingMessageURL":"https://yourserver.com/webhooks/incoming","statusUpdateURL":"https://yourserver.com/webhooks/status","sessionStatusURL":"https://yourserver.com/webhooks/session"},"key":"WhatsApp Lite (with Session Status)","summary":"WhatsApp Lite (with session status)","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Configuration for a WhatsApp Lite number. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sessionStatusURL"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" receives connection state changes — only emitted for Lite numbers, since Cloud sessions are managed by Meta."},"children":[],"type":"text"}],"type":"paragraph"}],"id":"paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/post/requestBody/content/application~1json/examples/WhatsApp Lite (with Session Status)"},"paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/put/requestBody/content/application~1json/examples/Update All URLs":{"value":{"id":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","incomingMessageURL":"https://yourserver.com/webhooks/incoming-v2","statusUpdateURL":"https://yourserver.com/webhooks/status-v2","sessionStatusURL":"https://yourserver.com/webhooks/session-v2","eventWebhookURL":"https://yourserver.com/webhooks/events-v2","chatbotWebhookURL":"https://yourserver.com/webhooks/chatbot-v2","chatbotIncludeOutgoing":true,"chatbotStopOnAgentAssignment":true},"key":"Update All URLs","summary":"Update all URLs","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Replace every webhook URL on an existing configuration. Include the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"id"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" of the row being updated."},"children":[],"type":"text"}],"type":"paragraph"}],"id":"paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/put/requestBody/content/application~1json/examples/Update All URLs"},"paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/put/requestBody/content/application~1json/examples/Disable a Webhook Type":{"value":{"id":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","incomingMessageURL":"https://yourserver.com/webhooks/incoming","statusUpdateURL":"https://yourserver.com/webhooks/status","sessionStatusURL":"","eventWebhookURL":"https://yourserver.com/webhooks/events","chatbotWebhookURL":"https://yourserver.com/webhooks/chatbot","chatbotIncludeOutgoing":false,"chatbotStopOnAgentAssignment":true},"key":"Disable a Webhook Type","summary":"Disable a webhook type","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Set any URL to an empty string ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"\"\""},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") to stop emitting that event type, while keeping the other URLs active. Here "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"sessionStatusURL"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is disabled."},"children":[],"type":"text"}],"type":"paragraph"}],"id":"paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/put/requestBody/content/application~1json/examples/Disable a Webhook Type"},"paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/put/requestBody/content/application~1json/examples/Toggle Chatbot Flags":{"value":{"id":"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890","incomingMessageURL":"https://yourserver.com/webhooks/incoming","statusUpdateURL":"https://yourserver.com/webhooks/status","sessionStatusURL":"https://yourserver.com/webhooks/session","eventWebhookURL":"https://yourserver.com/webhooks/events","chatbotWebhookURL":"https://yourserver.com/webhooks/chatbot","chatbotIncludeOutgoing":true,"chatbotStopOnAgentAssignment":true},"key":"Toggle Chatbot Flags","summary":"Toggle chatbot flags","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Same URLs as before, but flips "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"chatbotIncludeOutgoing"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to start receiving outgoing bot replies. Remember — this is a full-entity save, so include all fields you want to keep."},"children":[],"type":"text"}],"type":"paragraph"}],"id":"paths/~1payless4messaging-service~1WhatsApp~1WhatsAppClientWebHook/put/requestBody/content/application~1json/examples/Toggle Chatbot Flags"},"paths/~1payless4messaging-service~1WhatsApp~1api~1configs/post/requestBody/content/application~1json/example":{"value":{"clientNumber":"+27123456789","clientRef":"MyClient","clientTimezone":"Africa/Johannesburg","maxMessagesPerMinute":6,"minMsgDelaySeconds":5,"maxMsgDelaySeconds":10,"batchSize":20,"minBatchDelayMinutes":15,"maxBatchDelayMinutes":30,"batchSuccessLimit":0,"dailySchedules":{"MONDAY":{"enabled":true,"resumeTime":"08:00","stopTime":"17:00"},"TUESDAY":{"enabled":true,"resumeTime":"08:00","stopTime":"17:00"},"WEDNESDAY":{"enabled":true,"resumeTime":"08:00","stopTime":"17:00"},"THURSDAY":{"enabled":true,"resumeTime":"08:00","stopTime":"17:00"},"FRIDAY":{"enabled":true,"resumeTime":"08:00","stopTime":"17:00"},"SATURDAY":{"enabled":false,"resumeTime":"08:00","stopTime":"13:00"},"SUNDAY":{"enabled":false,"resumeTime":"08:00","stopTime":"13:00"}}},"id":"paths/~1payless4messaging-service~1WhatsApp~1api~1configs/post/requestBody/content/application~1json/example"},"paths/~1payless4messaging-service~1WhatsApp~1api~1configs~1{clientNumber}/put/requestBody/content/application~1json/example":{"value":{"clientNumber":"+27123456789","clientRef":"MyClient","clientTimezone":"Africa/Johannesburg","maxMessagesPerMinute":6,"minMsgDelaySeconds":5,"maxMsgDelaySeconds":10,"batchSize":20,"minBatchDelayMinutes":15,"maxBatchDelayMinutes":30,"batchSuccessLimit":0,"dailySchedules":{"MONDAY":{"enabled":true,"resumeTime":"08:00","stopTime":"17:00"},"TUESDAY":{"enabled":true,"resumeTime":"08:00","stopTime":"17:00"},"WEDNESDAY":{"enabled":true,"resumeTime":"08:00","stopTime":"17:00"},"THURSDAY":{"enabled":true,"resumeTime":"08:00","stopTime":"17:00"},"FRIDAY":{"enabled":true,"resumeTime":"08:00","stopTime":"17:00"},"SATURDAY":{"enabled":false,"resumeTime":"08:00","stopTime":"13:00"},"SUNDAY":{"enabled":false,"resumeTime":"08:00","stopTime":"13:00"}}},"id":"paths/~1payless4messaging-service~1WhatsApp~1api~1configs~1{clientNumber}/put/requestBody/content/application~1json/example"},"paths/~1payless4messaging-service~1WhatsApp~1WhatsAppBlacklistNumber/post/requestBody/content/application~1json/example":{"value":{"number":"+27821234567","clientNumber":"+27123456789","reason":"Customer requested opt-out"},"id":"paths/~1payless4messaging-service~1WhatsApp~1WhatsAppBlacklistNumber/post/requestBody/content/application~1json/example"},"paths/~1payless4messaging-service~1WhatsApp~1api~1batches~1control/post/requestBody/content/application~1json/example":{"value":{"batchId":"f47ac10b-58cc-4372-a567-0e02b2c3d479","action":"PAUSE"},"id":"paths/~1payless4messaging-service~1WhatsApp~1api~1batches~1control/post/requestBody/content/application~1json/example"},"paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1connect/post/requestBody/content/application~1json/example":{"value":{"whatsAppNumber":"+27665359699","clientId":"dbdb8809-6fd0-4cd2-8574-502f0f61a69d"},"id":"paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1connect/post/requestBody/content/application~1json/example"},"paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1webhook/post/requestBody/content/application~1json/example":{"value":{"whatsAppNumber":"+27123456789","webhook":"https://yourserver.com/webhooks/whatsapp-lite"},"id":"paths/~1whatsapp-api-service~1api~1whatsapp-go~1session~1webhook/post/requestBody/content/application~1json/example"},"paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups/post/requestBody/content/application~1json/example":{"value":{"groupName":"Team Chat","groupTopic":"Project discussions and updates","number":"+27123456789","countryCode":"ZA"},"id":"paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups/post/requestBody/content/application~1json/example"},"paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}/put/requestBody/content/application~1json/example":{"value":{"id":"c0d1e2f3-a4b5-6789-c0d1-e2f3a4b56789","groupJID":"120363045678901234@g.us","groupName":"Team Chat Updated","groupTopic":"Updated project discussions","number":"+27123456789","countryCode":"ZA","locked":false,"announce":false,"memberAddMode":"all_member_add","pinned":false,"archive":false,"joinNodeId":null,"leaveNodeId":null,"clientRef":"Growthpoint"},"id":"paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}/put/requestBody/content/application~1json/example"},"paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1messages/post/requestBody/content/application~1json/example":{"value":{"groupId":"c0d1e2f3-a4b5-6789-c0d1-e2f3a4b56789","senderNumber":"+27123456789","message":"Meeting at 3pm today.","contentType":"TEXT","direction":"OUTGOING","channel":"WHATSAPP","mediaUrl":null},"id":"paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1messages/post/requestBody/content/application~1json/example"},"paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/requestBody/content/application~1json/examples/Switch on, plain text":{"value":{"enabled":true,"quietMinutes":30,"format":"TEXT","longMode":"NONE","longLimit":null,"minMessages":3,"sendShortAfterHours":24,"webhookUrl":"https://api.example.com/group-summaries","webhookApiKey":"sk_live_4f9a2c7e1b"},"key":"Switch on, plain text","summary":"Switch on, plain text","id":"paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/requestBody/content/application~1json/examples/Switch on, plain text"},"paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/requestBody/content/application~1json/examples/JSON, capped at 4 hours, keep the saved key":{"value":{"enabled":true,"quietMinutes":60,"format":"JSON","longMode":"MAX_HOURS","longLimit":4,"minMessages":3,"sendShortAfterHours":null,"webhookUrl":"https://api.example.com/group-summaries"},"key":"JSON, capped at 4 hours, keep the saved key","summary":"JSON, capped at 4 hours, keep the saved key","id":"paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/requestBody/content/application~1json/examples/JSON, capped at 4 hours, keep the saved key"},"paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/callbacks/groupSummary/post/requestBody/content/application~1json/examples/Plain text":{"value":{"summaryId":"6f1c2a9e-3b7d-4e8a-9c2f-1d5e7a3b9c04","clientRef":"Growthpoint","groupJid":"120363045678901234@g.us","groupName":"Printer support","windowStart":"2026-11-19T07:00:00Z","windowEnd":"2026-11-19T07:42:13.518Z","messageCount":14,"format":"TEXT","summary":"Issues\n- Printer on floor 3 jammed (raised by Alice): Bob cleared the tray; resolved.\n- Toner low (raised by Carol): Open\n\nAction items\n- Order toner (Facilities)"},"key":"Plain text","summary":"Plain text","id":"paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/callbacks/groupSummary/post/requestBody/content/application~1json/examples/Plain text"},"paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/callbacks/groupSummary/post/requestBody/content/application~1json/examples/JSON":{"value":{"summaryId":"6f1c2a9e-3b7d-4e8a-9c2f-1d5e7a3b9c04","clientRef":"Growthpoint","groupJid":"120363045678901234@g.us","groupName":"Printer support","windowStart":"2026-11-19T07:00:00Z","windowEnd":"2026-11-19T07:42:13.518Z","messageCount":14,"format":"JSON","summary":{"summary":"The floor 3 printer jammed and was fixed; toner is still low.","issues":[{"title":"Printer on floor 3 jammed","raisedBy":"Alice","resolution":"Bob cleared the paper tray.","status":"RESOLVED"},{"title":"Toner low","raisedBy":"Carol","resolution":null,"status":"OPEN"}],"actionItems":[{"description":"Order toner","owner":"Facilities"}],"participants":["Alice","Bob","Carol"]}},"key":"JSON","summary":"JSON","id":"paths/~1payless4messaging-service~1WhatsApp~1api~1v1~1groups~1{id}~1summary-settings/put/callbacks/groupSummary/post/requestBody/content/application~1json/examples/JSON"}},"securitySchemeStore":{"apikeyAuth":{"id":"apikeyAuth","type":"apiKey","description":"Developer API key provided by eCommunicate.","in":"header","paramName":"Authorization"},"groupSummaryWebhookKey":{"id":"groupSummaryWebhookKey","type":"apiKey","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"webhookApiKey"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" you saved in a group's AI summary settings, sent as-is when eCommunicate calls your API. Left out when no key is saved."},"children":[],"type":"text"}],"type":"paragraph"}],"in":"header","paramName":"Authorization"}},"specVersion":"3.1.0","servers":[{"url":"/_mock/apis/omnichannel","isMockServer":true,"description":"Mock server"},{"url":"https://api.payless4messaging.com"},{"url":"https://api.payless4messages.com"}],"logo":{"imageUrl":"https://www.ecommunicate.co.za/img/logo-small.png","href":"https://www.ecommunicate.co.za/","altText":"eCommunicate Logo"},"specType":"openapi"},"options":{"hideReplay":false,"layout":"three-panel","schemasExpansionLevel":0,"jsonSamplesExpandLevel":0,"showExtensions":false,"mockServer":{"url":"/_mock/apis/omnichannel","position":"first","description":"Mock server"},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/apis/omnichannel.json?download"},{"url":"/_bundle/apis/omnichannel.yaml?download"}],"excludeFromSearch":false,"replayFeatures":{"graphql":false,"asyncapi":false},"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"eCommunicate Omnichannel Integration API","description":"# Overview\nThe eCommunicate Omnichannel Integration API lets you send and receive messages across **WhatsApp Cloud**, **WhatsApp Lite**, and **SMS** from a single platform. Use it to send template notifications, handle live customer conversations, manage contacts, track delivery, and download reports.\n\n## Quick start\n\n1. **Get your API key** — call `POST /authenticate/retrieveApiKey` with your email, password, and client reference. No existing key required.\n2. **Send a message** — `POST /v2/messages` with your template and recipient. The response returns a `requestId` for tracking.\n3. **Track delivery** — configure a [webhook](#tag/Webhook-Configuration) or poll `GET /message/status/gstid`.\n\n## Authentication\n\nEvery request requires your **Developer Key** (a UUID) in the `Authorization` header. No `Bearer` prefix — pass the key directly.\n\n```\nAuthorization: a1b2c3d4-e5f6-7890-abcd-ef1234567890\n```\n\n## Platform comparison\n\n| Capability | WhatsApp Cloud | WhatsApp Lite | SMS |\n|---|---|---|---|\n| Template messages | Yes | Yes | — |\n| Session (chat) messages | Yes (24-hour window) | Yes (any time) | — |\n| SMS fallback | Yes | Yes | — |\n| QR code connection | — | Yes | — |\n| Groups | — | Yes | — |\n| Contacts sync | — | Yes | — |\n| Direct SMS | — | — | Yes |\n\n## Messaging rules\n\n- **Notification messages** require `templateName` and `templateId`. Templates must be approved by Meta before use.\n- **Body parameters** — if your template body contains `{{1}}`, `{{2}}`, etc., include a `body` component with matching parameters.\n- **Media templates** require a `header` component specifying the format (`IMAGE`, `VIDEO`, `DOCUMENT`) and a media URL.\n- **Button templates** require a `button` component with the button index and parameter values.\n- **Carousel templates** require a `carousel` component containing a `cards` array, each with its own header, body, and buttons.\n- **Chat messages** (`messageType: CHAT`) can only be sent within the 24-hour customer service window on WhatsApp Cloud. WhatsApp Lite has no window restriction.\n\n## SMS encoding\n\n| Encoding | Flag | Chars per part | Multipart chars | Best for |\n|---|---|---|---|---|\n| GSM 7-bit | `unicode: false` | 160 | 153 | English, basic Latin |\n| Unicode | `unicode: true` | 70 | 67 | Emoji, non-Latin scripts |\n\n## Webhooks\n\nConfigure webhook URLs to receive real-time events:\n- **Incoming messages** (`incomingMessageURL`) — customer messages with text, media, location, buttons, reactions, or contacts.\n- **Status updates** (`statusUpdateURL`) — delivery receipts tracking the lifecycle: `ACCEPTED` → `SENT` → `DELIVERED` → `READ` → `PLAYED` (or `FAILED`).\n- **Session status** (`sessionStatusURL`) — WhatsApp Lite connection state changes.\n- **Platform events** (`eventWebhookURL`) — template approvals/rejections, quality rating changes, user preferences, number migrations.\n- **Chatbot conversations** (`chatbotWebhookURL`) — chatbot conversation events with chat participant context (participant id, conversation status, agent assignment). Optionally include outgoing bot replies and/or stop emitting once a chat is assigned to a human agent.\n\nEach configuration applies at one of two scopes: a **client default** (`whatsAppNumberId` omitted) covering every WhatsApp number under your client, or a **per-number override** (`whatsAppNumberId` set) targeting one specific number. The platform resolves overrides first and falls back to the default at dispatch time.\n\n## WhatsApp account and number health\n\n> **Applies to: WhatsApp Cloud API only.** WhatsApp Lite numbers are not subject to Meta's quality rating system, messaging tiers, or template review process.\n\nMaintaining good account health is critical for reliable message delivery. Meta monitors how recipients interact with your messages and assigns quality ratings that directly affect your sending capacity.\n\n### Summary of proactive steps to prevent your marketing WhatsApp number from being blocked\n\nTake these steps to protect your WhatsApp number's sending ability:\n\n1. **Set up quick replies for opt-out** — Configure a quick reply that allows recipients to indicate they want to stop receiving marketing messages. When you receive an opt-out request, immediately remove the recipient's WhatsApp number from the marketing campaign. The goal is to handle opt-outs before the recipient clicks \"Block\" or reports the message to Meta, which could result in Meta restricting or blocking your WhatsApp number from sending messages.\n\n2. **Monitor the `user_preferences` webhook** — Continuously check the `user_preferences` webhook for changes to the `PREFERENCE` field. Possible values:\n   - `stop` — The WhatsApp user has opted to stop receiving marketing messages from you.\n   - `resume` — The WhatsApp user has opted to resume receiving marketing messages from you.\n\n   When a `stop` preference is received, immediately remove the recipient from all active marketing campaigns. See Meta reference: [user_preferences webhook reference](https://developers.facebook.com/documentation/business-messaging/whatsapp/webhooks/reference/user_preferences).\n\n3. **Monitor the `phone_number_quality_update` webhook** — Track quality updates for your WhatsApp marketing number. You may receive downgrades where `MAX_DAILY_MESSAGES_LIMIT` drops as low as `TIER_50` (a messaging limit of 50 recipients). After a downgrade, quality can recover and upgrade to `TIER_100K` (100,000 recipients) or `TIER_UNLIMITED`. If you receive a downgrade, urgently verify that all recipients who have indicated they do not want to receive WhatsApp messages have been removed from your campaigns. See Meta reference: [phone_number_quality_update webhook reference](https://developers.facebook.com/documentation/business-messaging/whatsapp/webhooks/reference/phone_number_quality_update).\n\n### Quality ratings\n\nEach WhatsApp number has a quality rating based on recipient feedback:\n\n| Rating | Meaning | Impact |\n|---|---|---|\n| **High** | Little to no recipient dissatisfaction | Full sending capacity |\n| **Medium** | Some recipient dissatisfaction detected | Monitor and adjust content |\n| **Low** | High recipient dissatisfaction | Flagged status — limited ability to start new conversations |\n\nWhen a number drops to **Low** quality, it enters a **Flagged** status. If quality improves within 7 days, the status resets to **Connected**. Continued poor quality may result in further restrictions or suspension.\n\nQuality ratings and messaging limits are applied **per phone number**, but policy violations on any number affect the entire WhatsApp Business Account (WABA).\n\n### Messaging limit tiers\n\nYour messaging limit determines how many unique customers you can message within a 24-hour period:\n\n| Tier | Unique customers per 24 hours |\n|---|---|\n| `TIER_1K` | 1,000 |\n| `TIER_10K` | 10,000 |\n| `TIER_100K` | 100,000 |\n\nMeta automatically increases your tier when you consistently send high-quality messages. Conversely, poor quality ratings can reduce your tier.\n\n### Monitoring health\n\nUse the following to monitor your number and template health:\n\n- **Number Health** — `GET /payless4messaging-service/WhatsApp/WhatsAppClientNumbers/getForCurrentLoginUser` returns `qualityRating`, `messagingLimitTier`, and `lastQualityUpdateTime` for each number.\n- **Template health** — `GET /whatsapp-api-service/whatsAppTemplates/getWhatsAppClientTemplates` returns the quality status for each template per number.\n- **Webhooks** — configure an `eventWebhookURL` to receive real-time `phone_number_quality_update` and `message_template_status_update` events.\n- **Meta Business Manager** — check the Phone Number Quality and Template Quality columns directly in the WhatsApp Manager.\n\n### Template quality best practices\n\nMeta reviews every template before approval. To maintain high template quality:\n\n- **Be explicit** — the recipient must have opted in to receive the message.\n- **Be timely** — send shortly after user engagement, not weeks later.\n- **Be relevant** — personalise content, keep it useful, and include a clear call to action.\n- **Use descriptive names** — name templates like `order_confirmation` or `appointment_reminder`, not `template_01`.\n- **Avoid common rejection reasons** — vague content, incorrect language tags, overuse of emojis or excessive promotional tone, and malformed parameters (`{{1}}`, `{{2}}`).\n- **Choose the correct category** — do not mix marketing and utility content in a single template.\n\n### Opt-out compliance for marketing templates\n\nMarketing templates **must** include an opt-out mechanism. This is a Meta policy requirement that directly impacts your account health.\n\n**Requirements:**\n- Include a **quick-reply opt-out button** (e.g. \"Stop promotions\") in your marketing templates, especially for:\n  - The first message of a new campaign\n  - Messages sent after a long gap in marketing communication\n  - Messages sent to inactive or re-engaged users\n- **Honour opt-out requests immediately** across all numbers on your account.\n\n**Recognised opt-out keywords:** When a recipient replies with any of the following words, eCommunicate automatically treats it as an opt-out: `STOP`, `END`, `CANCEL`, `UNSUBSCRIBE`, `QUIT`.\n\n**How eCommunicate handles opt-outs:**\n- When a recipient opts out, eCommunicate **automatically blocks that number** — no further marketing messages will be sent to it.\n- You can query blocked numbers via `GET /payless4messaging-service/WhatsApp/WhatsAppBlockedNumber/getForCurrentLoginUser` to see all opt-out blocks.\n- If a recipient opts back in, remove them from the blocked list to resume messaging.\n\n**Why this matters:**\n- **Reduces block rate** — recipients who can opt out gracefully are far less likely to block or report your number, which is the primary signal Meta uses to downgrade quality ratings.\n- Prevents campaigns from being flagged or paused by Meta.\n- Enables faster messaging limit tier upgrades.\n- Ensures compliance with Meta's messaging policies.\n\n### Account ownership\n\nThe WABA must be owned by the business sending the messages. Do not add unrelated businesses to your Meta Business Portfolio. Violations result in account restriction or suspension.\n\n## Rate limits & pagination\n\nAPI rate limits return `429 Too Many Requests` — implement exponential backoff. All list endpoints use page-based pagination with `page` (zero-based) and `size` parameters. See the [Rate Limits guide](../guides/rate-limits.md) for details.\n\n## Support\n\nContact [support@ecommunicate.co.za](mailto:support@ecommunicate.co.za) for account issues, rate limit increases, or integration help. Always include the `requestId` from API responses when reporting issues.\n"}},"baseSlug":"/apis/omnichannel","routesMapping":{}}