{"items":[{"type":"link","label":"Biz SMS API","link":"/apis/biz-sms","routeSlug":"/apis/biz-sms","content":{"contentType":"overview","meta":{"name":"Biz SMS API"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"biz-sms.json","url":"/_bundle/apis/biz-sms.json?download"},{"kind":"download","label":"biz-sms.yaml","url":"/_bundle/apis/biz-sms.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":"eCommunicate Support","email":"support@ecommunicate.co.za","label":"support@ecommunicate.co.za","withCopyButton":true,"copyContent":"support@ecommunicate.co.za"}]},{"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/biz-sms","description":"Mock server","isMockServer":true},{"url":"https://messaging.ecommunicate.biz","description":"Production (HTTPS also available on port 8443)"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Biz SMS API (2.62)","showPageActions":true},{"nodeType":"markdoc","content":"High-volume batch SMS with two-way replies, delivery receipts and virtual numbers."},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Biz SMS"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (the eCommunicate Automated Interactive SMS gateway) is a batch-oriented HTTP SMS API built for high-volume, two-way campaigns with delivery receipts, reply routing via virtual numbers, scheduling, and credit/charge queries."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"It is a distinct product from the JSON "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/apis/sms"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"SMS Gateway API"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and the WhatsApp-centric "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"href":"/apis/omnichannel"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Omnichannel Integration API"},"children":[],"type":"text"}],"type":"link"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"An "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Email-to-SMS"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" facility is also available — send an email addressed to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"cellnumber@ecommunicate.biz"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and the gateway sends the SMS. See the Biz SMS guide for details."},"children":[],"type":"text"}],"type":"paragraph"}]}],"sectionId":"/"}],"sectionId":"/"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":2,"id":"section/how-it-works"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"How it works"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Requests are sent as "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"application/x-www-form-urlencoded"},"children":[],"type":"code"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" parameters"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"(\"keywords\"). Production traffic must use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"HTTP POST"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"; "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is only for"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"light testing (roughly five numbers or fewer)."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Responses are "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"XML"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" documents in the namespace"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"https://messaging.ecommunicate.biz/sms/response"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"httpresponse"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"diagnostic returns plain text). Always parse with a namespace-aware XML"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"parser — attribute order and tag counts are not fixed."},"children":[],"type":"text"}],"type":"item"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Implement "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"HTTP/1.1 Keep-Alive"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Break large batches into ~200 numbers per"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{},"children":[],"type":"softbreak"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"POST, reusing the same "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"batchref"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and incrementing "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"batchid"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"item"}],"type":"list"}]}],"sectionId":"/section/how-it-works"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":2,"id":"section/correlation:-batchref-+-batchid"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Correlation: batchref + batchid"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"There is no per-message id. Each send is identified by a client-chosen "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"batchref"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (max 80 chars) plus a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"batchid"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (unique within the batchref, max 20 chars). You pull delivery receipts and replies later using the same pair. Re-sending an identical "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"batchref"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"+"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"batchid"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" 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":" resend — the gateway returns the original response wrapped in "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"<previousxml>"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (status "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"1034"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}]}],"sectionId":"/section/correlation:-batchref-+-batchid"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":2,"id":"section/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 is authenticated with an "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"API key"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":": send an "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"X-API-Key: ecom_..."},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" header. Generate and revoke keys from the client portal."},"children":[],"type":"text"}],"type":"paragraph"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"The optional "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"specversion"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"commsversion"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"appversion"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" keywords are advisory. The gateway keys on major version "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"2"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]}],"sectionId":"/section/authentication"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","attributes":{"level":2,"id":"section/status-codes"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Status codes"},"children":[],"type":"text"}],"type":"heading"},{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Every outcome is carried in the XML "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"<status code=\"...\">"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Ranges: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"0"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" success · "},"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":"99"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" partial success / fail · "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"1000"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"–"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"1999"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" keyword error · "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"2000"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"–"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"2999"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" functional error · "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"3000"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"–"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"3999"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" system error. A send is successful when the code is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"0"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"1"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" = partial, some invalid numbers). Common codes: "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"1010"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" authentication failed · "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"1021"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" message keyword missing · "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"1034"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" duplicate batchref+batchid · "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"1071"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" all numbers invalid · "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"1100"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" senderid required · "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"2012"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" insufficient credits · "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"1310"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" bad "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"futuredatetime"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" format."},"children":[],"type":"text"}],"type":"paragraph"}]}],"sectionId":"/section/status-codes"}]}]}},{"type":"link","label":"How it works","link":"/apis/biz-sms/section/how-it-works","routeSlug":"/apis/biz-sms/section/how-it-works","content":null},{"type":"link","label":"Correlation: batchref + batchid","link":"/apis/biz-sms/section/correlation:-batchref-+-batchid","routeSlug":"/apis/biz-sms/section/correlation:-batchref-+-batchid","content":null},{"type":"link","label":"Authentication","link":"/apis/biz-sms/section/authentication","routeSlug":"/apis/biz-sms/section/authentication","content":null},{"type":"link","label":"Status codes","link":"/apis/biz-sms/section/status-codes","routeSlug":"/apis/biz-sms/section/status-codes","content":null},{"type":"group","label":"Messaging","link":"/apis/biz-sms/messaging","routeSlug":"/apis/biz-sms/messaging","items":[{"label":"Send SMS batch","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/biz-sms/messaging/sendbatch","routeSlug":"/apis/biz-sms/messaging/sendbatch","metadata":{"seo":{"title":"Send SMS batch","description":"Send one message to one or many numbers, immediately or scheduled. Provide a source of replies by either setting senderid (non-priority) or priority=true with one of repliesperuserid or manageownreplies+virtualname. Also available over GET for testing (~5 numbers). Returns an XML batch-send result; check <status code> is 0 (or 1 for partial success)."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"sendBatch","name":"Send SMS batch","isWebhook":false,"pointer":"/paths/~1smsbatch~1sms/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Send SMS batch","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 one message to one or many numbers, immediately or scheduled. Provide a source of replies by "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"either"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" setting "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"senderid"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (non-priority) "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"or"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"priority=true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with one of "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"repliesperuserid"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"manageownreplies"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"+"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"virtualname"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Also available over "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"GET"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for testing (~5 numbers). Returns an XML batch-send result; check "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"<status code>"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"0"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" (or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"1"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for partial success)."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"ApiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Per-client API key, prefixed "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ecom_"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Required on every request. Generate and revoke keys from the client portal."},"children":[],"type":"text"}],"type":"paragraph"}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/x-www-form-urlencoded":{"schemaId":"components/schemas/SendRequest","exampleIds":["paths/~1smsbatch~1sms/post/requestBody/content/application~1x-www-form-urlencoded/examples/senderid","paths/~1smsbatch~1sms/post/requestBody/content/application~1x-www-form-urlencoded/examples/priorityReplies"]}},"schemaId":"components/schemas/SendRequest","exampleIds":["paths/~1smsbatch~1sms/post/requestBody/content/application~1x-www-form-urlencoded/examples/senderid","paths/~1smsbatch~1sms/post/requestBody/content/application~1x-www-form-urlencoded/examples/priorityReplies"],"pointer":"/paths/~1smsbatch~1sms/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/smsbatch/sms","servers":[{"url":"/_mock/apis/biz-sms","description":"Mock server","isMockServer":true},{"url":"https://messaging.ecommunicate.biz","description":"Production (HTTPS also available on port 8443)"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"ApiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"requestBody":{"application/x-www-form-urlencoded":{"schemaId":"components/schemas/SendRequest","exampleIds":["paths/~1smsbatch~1sms/post/requestBody/content/application~1x-www-form-urlencoded/examples/senderid","paths/~1smsbatch~1sms/post/requestBody/content/application~1x-www-form-urlencoded/examples/priorityReplies"]}},"responseCodes":["200"],"pointer":"/smsbatch/sms","href":"messaging/sendbatch","openApiOperationId":"sendBatch","summary":"Send SMS batch"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/biz-sms","description":"Mock server","isMockServer":true},{"url":"https://messaging.ecommunicate.biz","description":"Production (HTTPS also available on port 8443)"}],"schemaId":"components/schemas/SendRequest","exampleIds":["paths/~1smsbatch~1sms/post/requestBody/content/application~1x-www-form-urlencoded/examples/senderid","paths/~1smsbatch~1sms/post/requestBody/content/application~1x-www-form-urlencoded/examples/priorityReplies"],"mediaTypes":["application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/x-www-form-urlencoded":{"schemaId":"components/schemas/SendRequest","exampleIds":["paths/~1smsbatch~1sms/post/requestBody/content/application~1x-www-form-urlencoded/examples/senderid","paths/~1smsbatch~1sms/post/requestBody/content/application~1x-www-form-urlencoded/examples/priorityReplies"]}},"examples":[{},{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"XML batch-send result.","mediaType":"application/xml","mediaTypes":["application/xml"],"mediaTypeContent":{"application/xml":{"schemaId":"schema_0","exampleIds":["paths/~1smsbatch~1sms/post/responses/200/content/application~1xml/example"]}},"schemaId":"schema_0","exampleIds":["paths/~1smsbatch~1sms/post/responses/200/content/application~1xml/example"]}],"pointer":"/paths/~1smsbatch~1sms/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_0","exampleIds":["paths/~1smsbatch~1sms/post/responses/200/content/application~1xml/example"],"mediaTypes":["application/xml"],"mediaTypeContent":{"application/xml":{"schemaId":"schema_0","exampleIds":["paths/~1smsbatch~1sms/post/responses/200/content/application~1xml/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/messaging/sendbatch"}],"panels":[]}]},"httpPath":"/smsbatch/sms"}],"content":{"contentType":"group","meta":{"name":"Messaging"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Messaging","showPageActions":true},{"nodeType":"markdoc","content":"Send batch SMS."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/smsbatch/sms","summary":"Send SMS batch","prefix":{"name":"post","color":"post"},"badges":[],"link":"/messaging/sendbatch","deprecated":false}]}]}]}]}},{"type":"group","label":"Delivery Receipts","link":"/apis/biz-sms/delivery-receipts","routeSlug":"/apis/biz-sms/delivery-receipts","items":[{"label":"Check delivery receipts","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/biz-sms/delivery-receipts/checkdeliveryreceipts","routeSlug":"/apis/biz-sms/delivery-receipts/checkdeliveryreceipts","metadata":{"seo":{"title":"Check delivery receipts","description":"Pull delivery receipts for a previously sent batch. The original send must have used rdr=true. Use repeatallreceipts=true to re-fetch receipts you have already retrieved. Until a message reaches a final state it is PENDING and returns no receipt."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"checkDeliveryReceipts","name":"Check delivery receipts","isWebhook":false,"pointer":"/paths/~1smsbatch~1deliveryreceiptscheck/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Check delivery receipts","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":"Pull delivery receipts for a previously sent batch. The original send must have used "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"rdr=true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"repeatallreceipts=true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to re-fetch receipts you have already retrieved. Until a message reaches a final state it is "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"PENDING"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and returns no receipt."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"ApiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Per-client API key, prefixed "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ecom_"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Required on every request. Generate and revoke keys from the client portal."},"children":[],"type":"text"}],"type":"paragraph"}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/x-www-form-urlencoded":{"schemaId":"components/schemas/ReceiptsRequest","exampleIds":["paths/~1smsbatch~1deliveryreceiptscheck/post/requestBody/content/application~1x-www-form-urlencoded/example"]}},"schemaId":"components/schemas/ReceiptsRequest","exampleIds":["paths/~1smsbatch~1deliveryreceiptscheck/post/requestBody/content/application~1x-www-form-urlencoded/example"],"pointer":"/paths/~1smsbatch~1deliveryreceiptscheck/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/smsbatch/deliveryreceiptscheck","servers":[{"url":"/_mock/apis/biz-sms","description":"Mock server","isMockServer":true},{"url":"https://messaging.ecommunicate.biz","description":"Production (HTTPS also available on port 8443)"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"ApiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"requestBody":{"application/x-www-form-urlencoded":{"schemaId":"components/schemas/ReceiptsRequest","exampleIds":["paths/~1smsbatch~1deliveryreceiptscheck/post/requestBody/content/application~1x-www-form-urlencoded/example"]}},"responseCodes":["200"],"pointer":"/smsbatch/deliveryreceiptscheck","href":"delivery-receipts/checkdeliveryreceipts","openApiOperationId":"checkDeliveryReceipts","summary":"Check delivery receipts"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/biz-sms","description":"Mock server","isMockServer":true},{"url":"https://messaging.ecommunicate.biz","description":"Production (HTTPS also available on port 8443)"}],"schemaId":"components/schemas/ReceiptsRequest","exampleIds":["paths/~1smsbatch~1deliveryreceiptscheck/post/requestBody/content/application~1x-www-form-urlencoded/example"],"mediaTypes":["application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/x-www-form-urlencoded":{"schemaId":"components/schemas/ReceiptsRequest","exampleIds":["paths/~1smsbatch~1deliveryreceiptscheck/post/requestBody/content/application~1x-www-form-urlencoded/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"XML receipts document.","mediaType":"application/xml","mediaTypes":["application/xml"],"mediaTypeContent":{"application/xml":{"schemaId":"schema_1","exampleIds":["paths/~1smsbatch~1deliveryreceiptscheck/post/responses/200/content/application~1xml/example"]}},"schemaId":"schema_1","exampleIds":["paths/~1smsbatch~1deliveryreceiptscheck/post/responses/200/content/application~1xml/example"]}],"pointer":"/paths/~1smsbatch~1deliveryreceiptscheck/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_1","exampleIds":["paths/~1smsbatch~1deliveryreceiptscheck/post/responses/200/content/application~1xml/example"],"mediaTypes":["application/xml"],"mediaTypeContent":{"application/xml":{"schemaId":"schema_1","exampleIds":["paths/~1smsbatch~1deliveryreceiptscheck/post/responses/200/content/application~1xml/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/delivery-receipts/checkdeliveryreceipts"}],"panels":[]}]},"httpPath":"/smsbatch/deliveryreceiptscheck"}],"content":{"contentType":"group","meta":{"name":"Delivery Receipts"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Delivery Receipts","showPageActions":true},{"nodeType":"markdoc","content":"Pull delivery receipts for a sent batch."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/smsbatch/deliveryreceiptscheck","summary":"Check delivery receipts","prefix":{"name":"post","color":"post"},"badges":[],"link":"/delivery-receipts/checkdeliveryreceipts","deprecated":false}]}]}]}]}},{"type":"group","label":"Replies","link":"/apis/biz-sms/replies","routeSlug":"/apis/biz-sms/replies","items":[{"label":"Check replies","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/biz-sms/replies/checkreplies","routeSlug":"/apis/biz-sms/replies/checkreplies","metadata":{"seo":{"title":"Check replies","description":"Pull inbound replies routed to your virtual numbers. The original send must have used repliesperuserid or manageownreplies. Use repeatallreplies=true to re-fetch replies already returned. Only a client admin userid may filter by virtualname."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"checkReplies","name":"Check replies","isWebhook":false,"pointer":"/paths/~1smsbatch~1replysmscheck/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Check replies","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":"Pull inbound replies routed to your virtual numbers. The original send must have used "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"repliesperuserid"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"manageownreplies"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Use "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"repeatallreplies=true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" to re-fetch replies already returned. Only a client admin userid may filter by "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"virtualname"},"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":"X-API-Key","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Per-client API key, prefixed "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ecom_"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Required on every request. Generate and revoke keys from the client portal."},"children":[],"type":"text"}],"type":"paragraph"}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/x-www-form-urlencoded":{"schemaId":"components/schemas/RepliesRequest","exampleIds":["paths/~1smsbatch~1replysmscheck/post/requestBody/content/application~1x-www-form-urlencoded/example"]}},"schemaId":"components/schemas/RepliesRequest","exampleIds":["paths/~1smsbatch~1replysmscheck/post/requestBody/content/application~1x-www-form-urlencoded/example"],"pointer":"/paths/~1smsbatch~1replysmscheck/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/smsbatch/replysmscheck","servers":[{"url":"/_mock/apis/biz-sms","description":"Mock server","isMockServer":true},{"url":"https://messaging.ecommunicate.biz","description":"Production (HTTPS also available on port 8443)"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"ApiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"requestBody":{"application/x-www-form-urlencoded":{"schemaId":"components/schemas/RepliesRequest","exampleIds":["paths/~1smsbatch~1replysmscheck/post/requestBody/content/application~1x-www-form-urlencoded/example"]}},"responseCodes":["200"],"pointer":"/smsbatch/replysmscheck","href":"replies/checkreplies","openApiOperationId":"checkReplies","summary":"Check replies"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/biz-sms","description":"Mock server","isMockServer":true},{"url":"https://messaging.ecommunicate.biz","description":"Production (HTTPS also available on port 8443)"}],"schemaId":"components/schemas/RepliesRequest","exampleIds":["paths/~1smsbatch~1replysmscheck/post/requestBody/content/application~1x-www-form-urlencoded/example"],"mediaTypes":["application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/x-www-form-urlencoded":{"schemaId":"components/schemas/RepliesRequest","exampleIds":["paths/~1smsbatch~1replysmscheck/post/requestBody/content/application~1x-www-form-urlencoded/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"XML replies document.","mediaType":"application/xml","mediaTypes":["application/xml"],"mediaTypeContent":{"application/xml":{"schemaId":"schema_2","exampleIds":["paths/~1smsbatch~1replysmscheck/post/responses/200/content/application~1xml/example"]}},"schemaId":"schema_2","exampleIds":["paths/~1smsbatch~1replysmscheck/post/responses/200/content/application~1xml/example"]}],"pointer":"/paths/~1smsbatch~1replysmscheck/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_2","exampleIds":["paths/~1smsbatch~1replysmscheck/post/responses/200/content/application~1xml/example"],"mediaTypes":["application/xml"],"mediaTypeContent":{"application/xml":{"schemaId":"schema_2","exampleIds":["paths/~1smsbatch~1replysmscheck/post/responses/200/content/application~1xml/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/replies/checkreplies"}],"panels":[]}]},"httpPath":"/smsbatch/replysmscheck"}],"content":{"contentType":"group","meta":{"name":"Replies"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Replies","showPageActions":true},{"nodeType":"markdoc","content":"Pull inbound replies routed to virtual numbers."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/smsbatch/replysmscheck","summary":"Check replies","prefix":{"name":"post","color":"post"},"badges":[],"link":"/replies/checkreplies","deprecated":false}]}]}]}]}},{"type":"group","label":"Inbound","link":"/apis/biz-sms/inbound","routeSlug":"/apis/biz-sms/inbound","items":[{"label":"Check incoming messages","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/biz-sms/inbound/checkincomingmessages","routeSlug":"/apis/biz-sms/inbound/checkincomingmessages","metadata":{"seo":{"title":"Check incoming messages","description":"Retrieve messages sent by handsets to a keyword-routed mobile number. Requires a campaign/keyword setup with eCommunicate. Filter to a sub-campaign with smskeyword. Uses a different namespace (http://messaging.ecommunicate.biz/sms/service) and a plain <response> root."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"checkIncomingMessages","name":"Check incoming messages","isWebhook":false,"pointer":"/paths/~1smsservice~1messagecheck/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Check incoming 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":"Retrieve messages sent by handsets to a keyword-routed mobile number. Requires a campaign/keyword setup with eCommunicate. Filter to a sub-campaign with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"smskeyword"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Uses a different namespace ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"http://messaging.ecommunicate.biz/sms/service"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") and a plain "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"<response>"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" root."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"ApiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Per-client API key, prefixed "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ecom_"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Required on every request. Generate and revoke keys from the client portal."},"children":[],"type":"text"}],"type":"paragraph"}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/x-www-form-urlencoded":{"schemaId":"components/schemas/IncomingRequest","exampleIds":["paths/~1smsservice~1messagecheck/post/requestBody/content/application~1x-www-form-urlencoded/example"]}},"schemaId":"components/schemas/IncomingRequest","exampleIds":["paths/~1smsservice~1messagecheck/post/requestBody/content/application~1x-www-form-urlencoded/example"],"pointer":"/paths/~1smsservice~1messagecheck/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/smsservice/messagecheck","servers":[{"url":"/_mock/apis/biz-sms","description":"Mock server","isMockServer":true},{"url":"https://messaging.ecommunicate.biz","description":"Production (HTTPS also available on port 8443)"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"ApiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"requestBody":{"application/x-www-form-urlencoded":{"schemaId":"components/schemas/IncomingRequest","exampleIds":["paths/~1smsservice~1messagecheck/post/requestBody/content/application~1x-www-form-urlencoded/example"]}},"responseCodes":["200"],"pointer":"/smsservice/messagecheck","href":"inbound/checkincomingmessages","openApiOperationId":"checkIncomingMessages","summary":"Check incoming messages"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/biz-sms","description":"Mock server","isMockServer":true},{"url":"https://messaging.ecommunicate.biz","description":"Production (HTTPS also available on port 8443)"}],"schemaId":"components/schemas/IncomingRequest","exampleIds":["paths/~1smsservice~1messagecheck/post/requestBody/content/application~1x-www-form-urlencoded/example"],"mediaTypes":["application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/x-www-form-urlencoded":{"schemaId":"components/schemas/IncomingRequest","exampleIds":["paths/~1smsservice~1messagecheck/post/requestBody/content/application~1x-www-form-urlencoded/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"XML modem-messages document.","mediaType":"application/xml","mediaTypes":["application/xml"],"mediaTypeContent":{"application/xml":{"schemaId":"schema_3","exampleIds":["paths/~1smsservice~1messagecheck/post/responses/200/content/application~1xml/example"]}},"schemaId":"schema_3","exampleIds":["paths/~1smsservice~1messagecheck/post/responses/200/content/application~1xml/example"]}],"pointer":"/paths/~1smsservice~1messagecheck/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_3","exampleIds":["paths/~1smsservice~1messagecheck/post/responses/200/content/application~1xml/example"],"mediaTypes":["application/xml"],"mediaTypeContent":{"application/xml":{"schemaId":"schema_3","exampleIds":["paths/~1smsservice~1messagecheck/post/responses/200/content/application~1xml/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/inbound/checkincomingmessages"}],"panels":[]}]},"httpPath":"/smsservice/messagecheck"}],"content":{"contentType":"group","meta":{"name":"Inbound"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Inbound","showPageActions":true},{"nodeType":"markdoc","content":"Retrieve messages sent by handsets to a keyword-routed number."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/smsservice/messagecheck","summary":"Check incoming messages","prefix":{"name":"post","color":"post"},"badges":[],"link":"/inbound/checkincomingmessages","deprecated":false}]}]}]}]}},{"type":"group","label":"Account","link":"/apis/biz-sms/account","routeSlug":"/apis/biz-sms/account","items":[{"label":"Service query","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/biz-sms/account/servicequery","routeSlug":"/apis/biz-sms/account/servicequery","metadata":{"seo":{"title":"Service query","description":"Credit checks, server time, SMS cost, and connectivity diagnostics. Exactly one of servertime, httpresponse, creditcheck, or charge is required. charge also requires version > 2.00 and cell."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"serviceQuery","name":"Service query","isWebhook":false,"pointer":"/paths/~1smsbatch~1servicequery/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Service query","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":"Credit checks, server time, SMS cost, and connectivity diagnostics. Exactly one of "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"servertime"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"httpresponse"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"creditcheck"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"charge"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is required. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"charge"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" also requires "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"version"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" > 2.00 and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"cell"},"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":"X-API-Key","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Per-client API key, prefixed "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ecom_"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Required on every request. Generate and revoke keys from the client portal."},"children":[],"type":"text"}],"type":"paragraph"}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/x-www-form-urlencoded":{"schemaId":"components/schemas/ServiceQueryRequest","exampleIds":["paths/~1smsbatch~1servicequery/post/requestBody/content/application~1x-www-form-urlencoded/examples/creditcheck","paths/~1smsbatch~1servicequery/post/requestBody/content/application~1x-www-form-urlencoded/examples/charge"]}},"schemaId":"components/schemas/ServiceQueryRequest","exampleIds":["paths/~1smsbatch~1servicequery/post/requestBody/content/application~1x-www-form-urlencoded/examples/creditcheck","paths/~1smsbatch~1servicequery/post/requestBody/content/application~1x-www-form-urlencoded/examples/charge"],"pointer":"/paths/~1smsbatch~1servicequery/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/smsbatch/servicequery","servers":[{"url":"/_mock/apis/biz-sms","description":"Mock server","isMockServer":true},{"url":"https://messaging.ecommunicate.biz","description":"Production (HTTPS also available on port 8443)"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"ApiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"requestBody":{"application/x-www-form-urlencoded":{"schemaId":"components/schemas/ServiceQueryRequest","exampleIds":["paths/~1smsbatch~1servicequery/post/requestBody/content/application~1x-www-form-urlencoded/examples/creditcheck","paths/~1smsbatch~1servicequery/post/requestBody/content/application~1x-www-form-urlencoded/examples/charge"]}},"responseCodes":["200"],"pointer":"/smsbatch/servicequery","href":"account/servicequery","openApiOperationId":"serviceQuery","summary":"Service query"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/biz-sms","description":"Mock server","isMockServer":true},{"url":"https://messaging.ecommunicate.biz","description":"Production (HTTPS also available on port 8443)"}],"schemaId":"components/schemas/ServiceQueryRequest","exampleIds":["paths/~1smsbatch~1servicequery/post/requestBody/content/application~1x-www-form-urlencoded/examples/creditcheck","paths/~1smsbatch~1servicequery/post/requestBody/content/application~1x-www-form-urlencoded/examples/charge"],"mediaTypes":["application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/x-www-form-urlencoded":{"schemaId":"components/schemas/ServiceQueryRequest","exampleIds":["paths/~1smsbatch~1servicequery/post/requestBody/content/application~1x-www-form-urlencoded/examples/creditcheck","paths/~1smsbatch~1servicequery/post/requestBody/content/application~1x-www-form-urlencoded/examples/charge"]}},"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":"XML service-query result (plain text for "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"httpresponse"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/xml","mediaTypes":["application/xml","text/plain"],"mediaTypeContent":{"application/xml":{"schemaId":"schema_4","exampleIds":["paths/~1smsbatch~1servicequery/post/responses/200/content/application~1xml/example"]},"text/plain":{"schemaId":"schema_5","exampleIds":["paths/~1smsbatch~1servicequery/post/responses/200/content/text~1plain/example"]}},"schemaId":"schema_4","exampleIds":["paths/~1smsbatch~1servicequery/post/responses/200/content/application~1xml/example"]}],"pointer":"/paths/~1smsbatch~1servicequery/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_4","exampleIds":["paths/~1smsbatch~1servicequery/post/responses/200/content/application~1xml/example"],"mediaTypes":["application/xml","text/plain"],"mediaTypeContent":{"application/xml":{"schemaId":"schema_4","exampleIds":["paths/~1smsbatch~1servicequery/post/responses/200/content/application~1xml/example"]},"text/plain":{"schemaId":"schema_5","exampleIds":["paths/~1smsbatch~1servicequery/post/responses/200/content/text~1plain/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/account/servicequery"}],"panels":[]}]},"httpPath":"/smsbatch/servicequery"}],"content":{"contentType":"group","meta":{"name":"Account"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Account","showPageActions":true},{"nodeType":"markdoc","content":"Credit checks, server time, and SMS cost queries."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/smsbatch/servicequery","summary":"Service query","prefix":{"name":"post","color":"post"},"badges":[],"link":"/account/servicequery","deprecated":false}]}]}]}]}},{"type":"group","label":"Templates","link":"/apis/biz-sms/templates","routeSlug":"/apis/biz-sms/templates","items":[{"label":"Manage templates","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/biz-sms/templates/managetemplates","routeSlug":"/apis/biz-sms/templates/managetemplates","metadata":{"seo":{"title":"Manage templates","description":"Register a predefined message (pmessage + message) or a predefined cell group (pgroup + cell) to reference later instead of inlining. Requires version=2.55. Note: this operation is not yet fully implemented."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"manageTemplates","name":"Manage templates","isWebhook":false,"pointer":"/paths/~1smsbatch~1templates/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Manage templates","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 predefined message ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"pmessage"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" + "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"message"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") or a predefined cell group ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"pgroup"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" + "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"cell"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") to reference later instead of inlining. Requires "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"version=2.55"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Note: this operation is not yet fully implemented."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"ApiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Per-client API key, prefixed "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ecom_"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Required on every request. Generate and revoke keys from the client portal."},"children":[],"type":"text"}],"type":"paragraph"}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/x-www-form-urlencoded":{"schemaId":"components/schemas/TemplatesRequest","exampleIds":["paths/~1smsbatch~1templates/post/requestBody/content/application~1x-www-form-urlencoded/example"]}},"schemaId":"components/schemas/TemplatesRequest","exampleIds":["paths/~1smsbatch~1templates/post/requestBody/content/application~1x-www-form-urlencoded/example"],"pointer":"/paths/~1smsbatch~1templates/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/smsbatch/templates","servers":[{"url":"/_mock/apis/biz-sms","description":"Mock server","isMockServer":true},{"url":"https://messaging.ecommunicate.biz","description":"Production (HTTPS also available on port 8443)"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"ApiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"requestBody":{"application/x-www-form-urlencoded":{"schemaId":"components/schemas/TemplatesRequest","exampleIds":["paths/~1smsbatch~1templates/post/requestBody/content/application~1x-www-form-urlencoded/example"]}},"responseCodes":["200"],"pointer":"/smsbatch/templates","href":"templates/managetemplates","openApiOperationId":"manageTemplates","summary":"Manage templates"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/biz-sms","description":"Mock server","isMockServer":true},{"url":"https://messaging.ecommunicate.biz","description":"Production (HTTPS also available on port 8443)"}],"schemaId":"components/schemas/TemplatesRequest","exampleIds":["paths/~1smsbatch~1templates/post/requestBody/content/application~1x-www-form-urlencoded/example"],"mediaTypes":["application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/x-www-form-urlencoded":{"schemaId":"components/schemas/TemplatesRequest","exampleIds":["paths/~1smsbatch~1templates/post/requestBody/content/application~1x-www-form-urlencoded/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"XML template result.","mediaType":"application/xml","mediaTypes":["application/xml"],"mediaTypeContent":{"application/xml":{"schemaId":"schema_6","exampleIds":["paths/~1smsbatch~1templates/post/responses/200/content/application~1xml/example"]}},"schemaId":"schema_6","exampleIds":["paths/~1smsbatch~1templates/post/responses/200/content/application~1xml/example"]}],"pointer":"/paths/~1smsbatch~1templates/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_6","exampleIds":["paths/~1smsbatch~1templates/post/responses/200/content/application~1xml/example"],"mediaTypes":["application/xml"],"mediaTypeContent":{"application/xml":{"schemaId":"schema_6","exampleIds":["paths/~1smsbatch~1templates/post/responses/200/content/application~1xml/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/templates/managetemplates"}],"panels":[]}]},"httpPath":"/smsbatch/templates"}],"content":{"contentType":"group","meta":{"name":"Templates"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Templates","showPageActions":true},{"nodeType":"markdoc","content":"Predefined messages and cell-number groups."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/smsbatch/templates","summary":"Manage templates","prefix":{"name":"post","color":"post"},"badges":[],"link":"/templates/managetemplates","deprecated":false}]}]}]}]}},{"type":"group","label":"Batches","link":"/apis/biz-sms/batches","routeSlug":"/apis/biz-sms/batches","items":[{"label":"Manage delayed batches","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/biz-sms/batches/managebatch","routeSlug":"/apis/biz-sms/batches/managebatch","metadata":{"seo":{"title":"Manage delayed batches","description":"Delete an unsent delayed (futuredatetime) batch. Best-effort, not guaranteed. Requires deletebatch=true with the original batchref and batchid, and version=2.55."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"manageBatch","name":"Manage delayed batches","isWebhook":false,"pointer":"/paths/~1smsbatch~1managebatch/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Manage delayed batches","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":"Delete an unsent delayed ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"futuredatetime"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") batch. Best-effort, not guaranteed. Requires "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"deletebatch=true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" with the original "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"batchref"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"batchid"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"version=2.55"},"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":"X-API-Key","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Per-client API key, prefixed "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ecom_"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Required on every request. Generate and revoke keys from the client portal."},"children":[],"type":"text"}],"type":"paragraph"}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/x-www-form-urlencoded":{"schemaId":"components/schemas/ManageBatchRequest","exampleIds":["paths/~1smsbatch~1managebatch/post/requestBody/content/application~1x-www-form-urlencoded/example"]}},"schemaId":"components/schemas/ManageBatchRequest","exampleIds":["paths/~1smsbatch~1managebatch/post/requestBody/content/application~1x-www-form-urlencoded/example"],"pointer":"/paths/~1smsbatch~1managebatch/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/smsbatch/managebatch","servers":[{"url":"/_mock/apis/biz-sms","description":"Mock server","isMockServer":true},{"url":"https://messaging.ecommunicate.biz","description":"Production (HTTPS also available on port 8443)"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"ApiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"requestBody":{"application/x-www-form-urlencoded":{"schemaId":"components/schemas/ManageBatchRequest","exampleIds":["paths/~1smsbatch~1managebatch/post/requestBody/content/application~1x-www-form-urlencoded/example"]}},"responseCodes":["200"],"pointer":"/smsbatch/managebatch","href":"batches/managebatch","openApiOperationId":"manageBatch","summary":"Manage delayed batches"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/biz-sms","description":"Mock server","isMockServer":true},{"url":"https://messaging.ecommunicate.biz","description":"Production (HTTPS also available on port 8443)"}],"schemaId":"components/schemas/ManageBatchRequest","exampleIds":["paths/~1smsbatch~1managebatch/post/requestBody/content/application~1x-www-form-urlencoded/example"],"mediaTypes":["application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/x-www-form-urlencoded":{"schemaId":"components/schemas/ManageBatchRequest","exampleIds":["paths/~1smsbatch~1managebatch/post/requestBody/content/application~1x-www-form-urlencoded/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":"XML delete-batch result ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"100"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" deleted, "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"105"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" not found)."},"children":[],"type":"text"}],"type":"paragraph"}],"mediaType":"application/xml","mediaTypes":["application/xml"],"mediaTypeContent":{"application/xml":{"schemaId":"schema_6","exampleIds":["paths/~1smsbatch~1managebatch/post/responses/200/content/application~1xml/example"]}},"schemaId":"schema_6","exampleIds":["paths/~1smsbatch~1managebatch/post/responses/200/content/application~1xml/example"]}],"pointer":"/paths/~1smsbatch~1managebatch/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_6","exampleIds":["paths/~1smsbatch~1managebatch/post/responses/200/content/application~1xml/example"],"mediaTypes":["application/xml"],"mediaTypeContent":{"application/xml":{"schemaId":"schema_6","exampleIds":["paths/~1smsbatch~1managebatch/post/responses/200/content/application~1xml/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/batches/managebatch"}],"panels":[]}]},"httpPath":"/smsbatch/managebatch"}],"content":{"contentType":"group","meta":{"name":"Batches"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Batches","showPageActions":true},{"nodeType":"markdoc","content":"Manage scheduled (delayed) batches."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/smsbatch/managebatch","summary":"Manage delayed batches","prefix":{"name":"post","color":"post"},"badges":[],"link":"/batches/managebatch","deprecated":false}]}]}]}]}},{"type":"group","label":"Webhooks","link":"/apis/biz-sms/webhooks","routeSlug":"/apis/biz-sms/webhooks","items":[{"label":"Delivery receipt push","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":true,"type":"link","link":"/apis/biz-sms/webhooks/onreceiptpush","routeSlug":"/apis/biz-sms/webhooks/onreceiptpush","metadata":{"seo":{"title":"Delivery receipt push","description":"When urlreceipts is set on a send (and rdr=true), the gateway POSTs form parameters to your URL as final receipts arrive. PENDING states are not pushed. Not yet supported in this version."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"onReceiptPush","name":"Delivery receipt push","isWebhook":true,"pointer":"/paths/urlreceipts/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Delivery receipt push","isWebhook":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":{"content":"When "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"urlreceipts"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is set on a send (and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"rdr=true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"), the gateway POSTs form parameters to your URL as final receipts arrive. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"PENDING"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" states are not pushed. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Not yet supported"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in this version."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"ApiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Per-client API key, prefixed "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ecom_"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Required on every request. Generate and revoke keys from the client portal."},"children":[],"type":"text"}],"type":"paragraph"}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","isEvent":true,"mediaTypes":["application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/x-www-form-urlencoded":{"schemaId":"schema_7"}},"schemaId":"schema_7","pointer":"/paths/urlreceipts/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"webhook","method":"POST","path":"urlreceipts","servers":[{"url":"/_mock/apis/biz-sms","description":"Mock server","isMockServer":true},{"url":"https://messaging.ecommunicate.biz","description":"Production (HTTPS also available on port 8443)"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"ApiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"requestBody":{"application/x-www-form-urlencoded":{"schemaId":"schema_7"}},"responseCodes":["200"],"pointer":"urlreceipts","href":"webhooks/onreceiptpush","openApiOperationId":"onReceiptPush","summary":"Delivery receipt push"},"isWebhook":true,"hideReplay":false,"schemaId":"schema_7","mediaTypes":["application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/x-www-form-urlencoded":{"schemaId":"schema_7"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Acknowledged."}],"pointer":"/paths/urlreceipts/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/webhooks/onreceiptpush"}],"panels":[]}]},"httpPath":"urlreceipts"},{"label":"Reply push","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":true,"type":"link","link":"/apis/biz-sms/webhooks/onreplypush","routeSlug":"/apis/biz-sms/webhooks/onreplypush","metadata":{"seo":{"title":"Reply push","description":"When urlreplies is set on a send (with repliesperuserid or manageownreplies), the gateway POSTs form parameters to your URL for each reply. Not yet supported in this version."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"onReplyPush","name":"Reply push","isWebhook":true,"pointer":"/paths/urlreplies/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Reply push","isWebhook":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":{"content":"When "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"urlreplies"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" is set on a send (with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"repliesperuserid"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"manageownreplies"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"), the gateway POSTs form parameters to your URL for each reply. "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Not yet supported"},"children":[],"type":"text"}],"type":"strong"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" in this version."},"children":[],"type":"text"}],"type":"paragraph"}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"ApiKeyAuth","scopes":[],"type":"apiKey","in":"header","paramName":"X-API-Key","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Per-client API key, prefixed "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ecom_"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Required on every request. Generate and revoke keys from the client portal."},"children":[],"type":"text"}],"type":"paragraph"}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","isEvent":true,"mediaTypes":["application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/x-www-form-urlencoded":{"schemaId":"schema_8"}},"schemaId":"schema_8","pointer":"/paths/urlreplies/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"webhook","method":"POST","path":"urlreplies","servers":[{"url":"/_mock/apis/biz-sms","description":"Mock server","isMockServer":true},{"url":"https://messaging.ecommunicate.biz","description":"Production (HTTPS also available on port 8443)"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"ApiKeyAuth","type":"apiKey","name":"X-API-Key","in":"header"}],"scopes":[]}],"requestBody":{"application/x-www-form-urlencoded":{"schemaId":"schema_8"}},"responseCodes":["200"],"pointer":"urlreplies","href":"webhooks/onreplypush","openApiOperationId":"onReplyPush","summary":"Reply push"},"isWebhook":true,"hideReplay":false,"schemaId":"schema_8","mediaTypes":["application/x-www-form-urlencoded"],"mediaTypeSchemas":{"application/x-www-form-urlencoded":{"schemaId":"schema_8"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Acknowledged."}],"pointer":"/paths/urlreplies/post/responses"}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/webhooks/onreplypush"}],"panels":[]}]},"httpPath":"urlreplies"}],"content":{"contentType":"group","meta":{"name":"Webhooks"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Webhooks","showPageActions":true},{"nodeType":"markdoc","content":"Push callbacks the gateway POSTs to your server (not yet supported)."}],"panels":[{"children":[{"kind":"group-items","title":"Webhooks","titleTranslationKey":"webhooks","items":[{"title":"urlreceipts","summary":"Delivery receipt push","prefix":{"name":"post","color":"post"},"badges":[],"link":"/webhooks/onreceiptpush","deprecated":false},{"title":"urlreplies","summary":"Reply push","prefix":{"name":"post","color":"post"},"badges":[],"link":"/webhooks/onreplypush","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/CommonKeywords":{"id":"components/schemas/CommonKeywords","kind":"json-schema","title":"CommonKeywords","data":{"type":"object","description":"Advisory version keywords sent with every operation.","properties":{"specversion":{"type":"string","description":"Spec version coded against. The gateway keys on major version 2.","example":"2.61"},"commsversion":{"type":"string","description":"Communication protocol/version (advisory, for support).","example":"1.0"},"appversion":{"type":"string","description":"Sending-application version (advisory, for support).","example":"1.0"}}}},"components/schemas/SendRequest":{"id":"components/schemas/SendRequest","kind":"json-schema","title":"SendRequest","data":{"allOf":[{"$ref":"#/components/schemas/CommonKeywords"},{"type":"object","required":["batchref","batchid","message","cell"],"properties":{"batchref":{"type":"string","description":"Client batch reference (max 80 alphanumeric). Reusable across sends.","example":"Finance-2026-05"},"batchid":{"type":"string","description":"Unique id within the batchref (max 20 alphanumeric).","example":"1"},"message":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Message text. Single SMS max 160 chars; longer messages split into segments (see "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"concat"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"/"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"maxparts"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). URL-encode non-GSM characters."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"Your statement is ready"},"cell":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"One or many numbers, comma-separated, each optionally prefixed with an identifier (use a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"|"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" when the identifier contains digits)."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"27821234567, Jane Doe | 27821234568"},"senderid":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Source/from address (max 11 alphanumeric) for non-priority sends. A numeric, reply-capable senderid must start "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"27"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Must not be used with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"priority"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"eCommunicate"},"priority":{"type":"string","enum":["true"],"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Prioritise the batch. Requires "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"repliesperuserid"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"manageownreplies"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"true"},"repliesperuserid":{"type":"string","enum":["true"],"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"One reply path per userid. Mutually exclusive with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"manageownreplies"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"true"},"manageownreplies":{"type":"string","enum":["true"],"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Multiple reply paths via virtual names. Requires "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"virtualname"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"true"},"virtualname":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Client-chosen virtual name (max 50), required with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"manageownreplies"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"campaign-vn1"},"concat":{"type":"string","enum":["true","false"],"description":"Concatenate long messages into one handset SMS (153 chars/part, max 9).","example":"false"},"maxparts":{"type":"integer","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Maximum message segments (default 9). "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"0"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"/"},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"1"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" rejects anything over 160 chars."},"children":[],"type":"text"}],"type":"paragraph"}],"example":3},"flash":{"type":"string","enum":["true"],"description":"Send as a flash SMS (shown on screen, not stored).","example":"true"},"unicode":{"type":"string","enum":["true","false"],"description":"Send Unicode (UCS-2). 70 chars/SMS, 67/part concatenated.","example":"false"},"rdr":{"type":"string","enum":["true","false"],"description":"Request Delivery Receipt for each SMS. Required to later pull receipts or use delivery emails/summaries.","example":"true"},"dsm":{"type":"string","enum":["true"],"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Don't save message (not stored in the database). Not usable with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"futuredatetime"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"true"},"futuredatetime":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Hold the batch until this time ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"YYYY-MM-DD hh:mm:ss"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"2026-05-22 13:10:00"},"expirydatetime":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Cancel (and refund) if not sent by this time ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"YYYY-MM-DD hh:mm:ss"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"2026-05-31 13:10:00"},"validity":{"type":"integer","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"SMSC retry window in minutes (default 10080 = 7 days)."},"children":[],"type":"text"}],"type":"paragraph"}],"example":10080},"fromemail":{"type":"string","format":"email","description":"From address used for all system-originated emails for this batch.","example":"noreply@yourcompany.co.za"},"sendingemail":{"type":"string","enum":["true"],"description":"Enable send-confirmation emails (master switch).","example":"true"},"sendingemailaddress1":{"type":"string","format":"email","description":"First send-confirmation email address.","example":"ops@yourcompany.co.za"},"deliveryemail":{"type":"string","enum":["true"],"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Enable delivery-receipt emails (master switch; requires "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"rdr"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"true"},"deliveryemailaddress1":{"type":"string","format":"email","description":"First delivery-receipt email address.","example":"ops@yourcompany.co.za"},"replyemail1":{"type":"string","format":"email","description":"Email address notified per reply SMS.","example":"replies@yourcompany.co.za"},"failuretosendemailaddress":{"type":"string","format":"email","description":"Notified if the batch fails before send-out.","example":"alerts@yourcompany.co.za"},"urlreceipts":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"URL the gateway POSTs receipts to (requires "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"rdr"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"). Not yet supported."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"https://your-server.com/receipts"},"urlreplies":{"type":"string","description":"URL the gateway POSTs replies to (requires a replies keyword). Not yet supported.","example":"https://your-server.com/replies"}}}]}},"components/schemas/ReceiptsRequest":{"id":"components/schemas/ReceiptsRequest","kind":"json-schema","title":"ReceiptsRequest","data":{"allOf":[{"$ref":"#/components/schemas/CommonKeywords"},{"type":"object","required":["batchref","batchid"],"properties":{"batchref":{"type":"string","description":"Original batchref (must match the send).","example":"Finance-2026-05"},"batchid":{"type":"string","description":"Original batchid.","example":"1"},"repeatallreceipts":{"type":"string","enum":["true"],"description":"Re-query all receipts for the batch. Required to re-fetch already-returned receipts.","example":"true"},"cell":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Limit the repeat to specific numbers (only valid with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"repeatallreceipts"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"27821234567"},"startdate":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Receipts on/after this date ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"yyyy-mm-dd"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"2026-05-01"},"enddate":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Receipts on/before this date. Uses "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"00:00:00"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", so use the day after."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"2026-05-08"}}}]}},"components/schemas/RepliesRequest":{"id":"components/schemas/RepliesRequest","kind":"json-schema","title":"RepliesRequest","data":{"allOf":[{"$ref":"#/components/schemas/CommonKeywords"},{"type":"object","properties":{"repeatallreplies":{"type":"string","enum":["true"],"description":"Return all replies for the userid again.","example":"true"},"cell":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Limit the re-check to specific numbers (only with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"repeatallreplies"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"27821234567"},"virtualname":{"type":"string","description":"Filter to one virtual name (client admin userid only).","example":"campaign-vn1"},"startdate":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Replies on/after this date ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"yyyy-mm-dd"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"2026-05-01"},"enddate":{"type":"string","description":"Replies on/before this date (day-after semantics).","example":"2026-05-08"}}}]}},"components/schemas/IncomingRequest":{"id":"components/schemas/IncomingRequest","kind":"json-schema","title":"IncomingRequest","data":{"allOf":[{"$ref":"#/components/schemas/CommonKeywords"},{"type":"object","properties":{"repeatallmessages":{"type":"string","enum":["true"],"description":"Re-query the entire incoming-message set.","example":"true"},"smskeyword":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Leading keyword identifying the sub-campaign. Blank = all messages."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"hotel"},"startdate":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Messages on/after this date ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"yyyy-mm-dd"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"2026-05-01"},"enddate":{"type":"string","description":"Messages on/before this date (day-after semantics).","example":"2026-05-08"}}}]}},"components/schemas/ServiceQueryRequest":{"id":"components/schemas/ServiceQueryRequest","kind":"json-schema","title":"ServiceQueryRequest","data":{"allOf":[{"$ref":"#/components/schemas/CommonKeywords"},{"type":"object","properties":{"servertime":{"type":"string","enum":["true"],"description":"Return server time (default option).","example":"true"},"httpresponse":{"type":"string","enum":["true"],"description":"Plain-text diagnostic to test firewalls blocking XML.","example":"true"},"creditcheck":{"type":"string","enum":["true"],"description":"Return remaining credits.","example":"true"},"charge":{"type":"string","enum":["true"],"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Query the cost of an SMS. Requires "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"version"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" > 2.00 and "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"cell"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"true"},"version":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Set to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"2"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" or "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"2.x"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" for the credits-per-user layout; required for "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"charge"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"2.55"},"cell":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Mobile number for a "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"charge"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" query (may start with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"+"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":")."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"26771333444"},"allusers":{"type":"string","enum":["true"],"description":"Admin-only. Include per-user credit breakdown.","example":"true"}}}]}},"components/schemas/TemplatesRequest":{"id":"components/schemas/TemplatesRequest","kind":"json-schema","title":"TemplatesRequest","data":{"allOf":[{"$ref":"#/components/schemas/CommonKeywords"},{"type":"object","required":["version"],"properties":{"version":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Set to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"2.55"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"2.55"},"pmessage":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Predefined message name to associate with "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"message"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"HappyBirthday"},"message":{"type":"string","description":"Message text to store under the pmessage.","example":"Happy birthday from all of us!"},"pgroup":{"type":"string","description":"Predefined group name to associate with the cell numbers.","example":"finance-team"},"cell":{"type":"string","description":"Comma-separated numbers (27 format) to store under the pgroup.","example":"27821234567,27821234568"}}}]}},"components/schemas/ManageBatchRequest":{"id":"components/schemas/ManageBatchRequest","kind":"json-schema","title":"ManageBatchRequest","data":{"allOf":[{"$ref":"#/components/schemas/CommonKeywords"},{"type":"object","required":["version","batchref","batchid"],"properties":{"version":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Set to "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"2.55"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"2.55"},"deletebatch":{"type":"string","enum":["true"],"description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Delete a delayed ("},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"futuredatetime"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":") batch."},"children":[],"type":"text"}],"type":"paragraph"}],"example":"true"},"batchref":{"type":"string","description":"Original batchref.","example":"Finance-2026-05"},"batchid":{"type":"string","description":"Original batchid.","example":"1"}}}]}},"schema_0":{"kind":"json-schema","data":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Namespaced XML "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"<ecomm:response>"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" document."},"children":[],"type":"text"}],"type":"paragraph"}]},"id":"schema_0"},"schema_1":{"kind":"json-schema","data":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Namespaced XML. Final states include "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"DELIVRD"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"UNDELIV"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"EXPIRED"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"REJECTD"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"UNKNOWN"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":", "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"NOTAVAIL"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},"id":"schema_1"},"schema_2":{"kind":"json-schema","data":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Namespaced XML "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"<ecomm:replies>"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" document."},"children":[],"type":"text"}],"type":"paragraph"}]},"id":"schema_2"},"schema_3":{"kind":"json-schema","data":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"XML in the "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":".../sms/service"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" namespace."},"children":[],"type":"text"}],"type":"paragraph"}]},"id":"schema_3"},"schema_4":{"kind":"json-schema","data":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Namespaced XML "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"<ecomm:creditcheck>"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":" document."},"children":[],"type":"text"}],"type":"paragraph"}]},"id":"schema_4"},"schema_5":{"kind":"json-schema","data":{"type":"string","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Returned only for "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"httpresponse=true"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"."},"children":[],"type":"text"}],"type":"paragraph"}]},"id":"schema_5"},"schema_6":{"kind":"json-schema","data":{"type":"string"},"id":"schema_6"},"schema_7":{"kind":"json-schema","data":{"type":"object","properties":{"destaddress":{"type":"string","description":"Recipient cell number.","example":"27821234567"},"status":{"type":"string","description":"Final status of the SMS.","example":"DELIVRD"},"batchref":{"type":"string","example":"Finance-2026-05"},"batchid":{"type":"string","example":"1"}}},"id":"schema_7"},"schema_8":{"kind":"json-schema","data":{"type":"object","properties":{"srcaddress":{"type":"string","description":"Cell number of the replying recipient.","example":"27821234567"},"appaddress":{"type":"string","description":"Virtual number / short code replied to.","example":"36001"},"message":{"type":"string","description":"The reply text.","example":"Yes, confirm"},"userid":{"type":"string","example":"your-userid"},"batchref":{"type":"string","example":"Campaign-2026-05"},"batchid":{"type":"string","example":"1"}}},"id":"schema_8"}},"exampleStore":{"paths/~1smsbatch~1sms/post/requestBody/content/application~1x-www-form-urlencoded/examples/senderid":{"value":{"specversion":"2.61","batchref":"Finance-2026-05","batchid":"1","senderid":"eCommunicate","message":"Your statement is ready","cell":"27821234567, Jane Doe | 27821234568","rdr":"true"},"key":"senderid","summary":"Non-priority send with a sender id","id":"paths/~1smsbatch~1sms/post/requestBody/content/application~1x-www-form-urlencoded/examples/senderid"},"paths/~1smsbatch~1sms/post/requestBody/content/application~1x-www-form-urlencoded/examples/priorityReplies":{"value":{"specversion":"2.61","batchref":"Campaign-2026-05","batchid":"1","priority":"true","repliesperuserid":"true","rdr":"true","message":"Reply YES to confirm","cell":"27821234567"},"key":"priorityReplies","summary":"Priority send with per-userid replies","id":"paths/~1smsbatch~1sms/post/requestBody/content/application~1x-www-form-urlencoded/examples/priorityReplies"},"paths/~1smsbatch~1sms/post/responses/200/content/application~1xml/example":{"value":"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<ecomm:response xmlns:ecomm=\"http://messaging.ecommunicate.biz/sms/response\">\n    <ecomm:result>\n        <ecomm:status code=\"1\">partial-success</ecomm:status>\n        <ecomm:explanation>Some sms sent. There were invalid numbers in the batch.</ecomm:explanation>\n        <ecomm:completiontime>2026-01-17T23:03:17.356+02:00</ecomm:completiontime>\n        <ecomm:userid>your-userid</ecomm:userid>\n        <ecomm:clientref>your-client-ref</ecomm:clientref>\n    </ecomm:result>\n    <ecomm:batchsend status=\"\">\n        <ecomm:batch>\n            <ecomm:batchref>Finance-2026-05</ecomm:batchref>\n            <ecomm:batchid>1</ecomm:batchid>\n        </ecomm:batch>\n        <ecomm:totalnumbers>2</ecomm:totalnumbers>\n        <ecomm:correctnumbers>1</ecomm:correctnumbers>\n        <ecomm:incorrectformat quantity=\"1\">\n            <ecomm:numbers>\n                <ecomm:number>084300123</ecomm:number>\n                <ecomm:reason>Number Length Error</ecomm:reason>\n            </ecomm:numbers>\n        </ecomm:incorrectformat>\n        <ecomm:nonetworkconfig quantity=\"0\"/>\n    </ecomm:batchsend>\n</ecomm:response>\n","id":"paths/~1smsbatch~1sms/post/responses/200/content/application~1xml/example"},"paths/~1smsbatch~1deliveryreceiptscheck/post/requestBody/content/application~1x-www-form-urlencoded/example":{"value":{"specversion":"2.60","batchref":"Finance-2026-05","batchid":"1"},"id":"paths/~1smsbatch~1deliveryreceiptscheck/post/requestBody/content/application~1x-www-form-urlencoded/example"},"paths/~1smsbatch~1deliveryreceiptscheck/post/responses/200/content/application~1xml/example":{"value":"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<ecomm:response xmlns:ecomm=\"http://messaging.ecommunicate.biz/sms/response\">\n    <ecomm:result>\n        <ecomm:status code=\"0\">success</ecomm:status>\n        <ecomm:explanation>Received the request and returning receipts</ecomm:explanation>\n        <ecomm:completiontime>2026-02-09T08:53:52.340+02:00</ecomm:completiontime>\n        <ecomm:userid>your-userid</ecomm:userid>\n        <ecomm:clientref>your-client-ref</ecomm:clientref>\n    </ecomm:result>\n    <ecomm:receipts status=\"receipts\">\n        <ecomm:batchref value=\"Finance-2026-05\">\n            <ecomm:batchid status=\"receipts\" value=\"1\">\n                <ecomm:receipt errorcode=\"0\" status=\"DELIVRD\" delivtimestamp=\"2026-01-05T11:20:43+02:00\" identifier=\"Jane Doe\">\n                    <ecomm:number>27821234567</ecomm:number>\n                </ecomm:receipt>\n                <ecomm:receipt errorcode=\"92\" status=\"REJECTD\">\n                    <ecomm:number>27821234599</ecomm:number>\n                    <ecomm:reason>The mobile number does not exist on the network.</ecomm:reason>\n                </ecomm:receipt>\n            </ecomm:batchid>\n        </ecomm:batchref>\n    </ecomm:receipts>\n</ecomm:response>\n","id":"paths/~1smsbatch~1deliveryreceiptscheck/post/responses/200/content/application~1xml/example"},"paths/~1smsbatch~1replysmscheck/post/requestBody/content/application~1x-www-form-urlencoded/example":{"value":{"specversion":"2.60"},"id":"paths/~1smsbatch~1replysmscheck/post/requestBody/content/application~1x-www-form-urlencoded/example"},"paths/~1smsbatch~1replysmscheck/post/responses/200/content/application~1xml/example":{"value":"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<ecomm:response xmlns:ecomm=\"http://messaging.ecommunicate.biz/sms/response\">\n    <ecomm:result>\n        <ecomm:status code=\"0\">success</ecomm:status>\n        <ecomm:explanation>Received the request and returning replies</ecomm:explanation>\n        <ecomm:completiontime>2026-11-06T21:34:32.347+02:00</ecomm:completiontime>\n        <ecomm:userid>your-userid</ecomm:userid>\n        <ecomm:clientref>your-client-ref</ecomm:clientref>\n    </ecomm:result>\n    <ecomm:replies status=\"replies\">\n        <ecomm:replymessage identifier=\"Susan Blake\" number=\"27732304004\" status=\"\" virtualname=\"user1vn1\">\n            <ecomm:message>Yes, please confirm my booking.</ecomm:message>\n            <ecomm:receivedtime>2026-11-06T14:22:11+02:00</ecomm:receivedtime>\n        </ecomm:replymessage>\n    </ecomm:replies>\n</ecomm:response>\n","id":"paths/~1smsbatch~1replysmscheck/post/responses/200/content/application~1xml/example"},"paths/~1smsservice~1messagecheck/post/requestBody/content/application~1x-www-form-urlencoded/example":{"value":{"smskeyword":"hotel"},"id":"paths/~1smsservice~1messagecheck/post/requestBody/content/application~1x-www-form-urlencoded/example"},"paths/~1smsservice~1messagecheck/post/responses/200/content/application~1xml/example":{"value":"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<response clientref=\"your-client-ref\" code=\"0\" completiontime=\"2026-02-09T22:32:47.125+02:00\" explanation=\"Received the request and returning modem messages\" userid=\"your-admin-userid\" xmlns=\"http://messaging.ecommunicate.biz/sms/service\">\n    <modemmessages destcellno=\"27833219018\" keyword=\"hotel\" modemtime=\"2026-02-09T10:37:22+02:00\" srccellno=\"27823241010\">\n        <message>hotel please send list of available hotels</message>\n    </modemmessages>\n</response>\n","id":"paths/~1smsservice~1messagecheck/post/responses/200/content/application~1xml/example"},"paths/~1smsbatch~1servicequery/post/requestBody/content/application~1x-www-form-urlencoded/examples/creditcheck":{"value":{"version":"2.55","creditcheck":"true"},"key":"creditcheck","summary":"Credit check","id":"paths/~1smsbatch~1servicequery/post/requestBody/content/application~1x-www-form-urlencoded/examples/creditcheck"},"paths/~1smsbatch~1servicequery/post/requestBody/content/application~1x-www-form-urlencoded/examples/charge":{"value":{"version":"2.55","charge":"true","cell":"26771333444"},"key":"charge","summary":"SMS cost query","id":"paths/~1smsbatch~1servicequery/post/requestBody/content/application~1x-www-form-urlencoded/examples/charge"},"paths/~1smsbatch~1servicequery/post/responses/200/content/application~1xml/example":{"value":"<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<ecomm:response xmlns:ecomm=\"http://messaging.ecommunicate.biz/sms/response\">\n    <ecomm:result>\n        <ecomm:status code=\"0\">success</ecomm:status>\n        <ecomm:explanation>The request was processed correctly</ecomm:explanation>\n        <ecomm:completiontime>2026-06-28T22:40:11.399+02:00</ecomm:completiontime>\n        <ecomm:userid>your-userid</ecomm:userid>\n        <ecomm:clientref>your-client-ref</ecomm:clientref>\n    </ecomm:result>\n    <ecomm:creditcheck status=\"\">\n        <ecomm:credits>200</ecomm:credits>\n    </ecomm:creditcheck>\n</ecomm:response>\n","id":"paths/~1smsbatch~1servicequery/post/responses/200/content/application~1xml/example"},"paths/~1smsbatch~1servicequery/post/responses/200/content/text~1plain/example":{"value":"The server time is Mon Jul 04 10:27:30 SAST 2026. Have a nice day!","id":"paths/~1smsbatch~1servicequery/post/responses/200/content/text~1plain/example"},"paths/~1smsbatch~1templates/post/requestBody/content/application~1x-www-form-urlencoded/example":{"value":{"version":"2.55","pmessage":"HappyBirthday","message":"Happy birthday from all of us!"},"id":"paths/~1smsbatch~1templates/post/requestBody/content/application~1x-www-form-urlencoded/example"},"paths/~1smsbatch~1templates/post/responses/200/content/application~1xml/example":{"value":"<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<response xmlns=\"http://messaging.ecommunicate.biz/sms/response\">\n    <result>\n        <status code=\"0\">success</status>\n        <explanation>The request was processed correctly</explanation>\n        <completiontime>2026-06-28T22:40:11.399+02:00</completiontime>\n    </result>\n    <batchsend status=\"\">\n        <pmessagename>HappyBirthday</pmessagename>\n    </batchsend>\n</response>\n","id":"paths/~1smsbatch~1templates/post/responses/200/content/application~1xml/example"},"paths/~1smsbatch~1managebatch/post/requestBody/content/application~1x-www-form-urlencoded/example":{"value":{"version":"2.55","deletebatch":"true","batchref":"Finance-2026-05","batchid":"1"},"id":"paths/~1smsbatch~1managebatch/post/requestBody/content/application~1x-www-form-urlencoded/example"},"paths/~1smsbatch~1managebatch/post/responses/200/content/application~1xml/example":{"value":"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<ecomm:response xmlns:ecomm=\"http://messaging.ecommunicate.biz/sms/response\">\n    <ecomm:result>\n        <ecomm:status code=\"0\">success</ecomm:status>\n        <ecomm:explanation>The request was processed correctly</ecomm:explanation>\n        <ecomm:completiontime>2026-01-18T21:58:23.869+02:00</ecomm:completiontime>\n    </ecomm:result>\n    <ecomm:deletebatch>\n        <ecomm:batch>\n            <ecomm:batchref>Finance-2026-05</ecomm:batchref>\n            <ecomm:batchid>1</ecomm:batchid>\n        </ecomm:batch>\n        <ecomm:result>\n            <ecomm:status code=\"100\">success</ecomm:status>\n            <ecomm:explanation>The delayed batch was successfully deleted</ecomm:explanation>\n        </ecomm:result>\n    </ecomm:deletebatch>\n</ecomm:response>\n","id":"paths/~1smsbatch~1managebatch/post/responses/200/content/application~1xml/example"}},"securitySchemeStore":{"ApiKeyAuth":{"id":"ApiKeyAuth","type":"apiKey","description":[{"$$mdtype":"Node","attributes":{},"children":[{"$$mdtype":"Node","inline":true,"attributes":{"content":"Per-client API key, prefixed "},"children":[],"type":"text"},{"$$mdtype":"Node","inline":true,"attributes":{"content":"ecom_"},"children":[],"type":"code"},{"$$mdtype":"Node","inline":true,"attributes":{"content":". Required on every request. Generate and revoke keys from the client portal."},"children":[],"type":"text"}],"type":"paragraph"}],"in":"header","paramName":"X-API-Key"}},"specVersion":"3.1.0","servers":[{"url":"/_mock/apis/biz-sms","isMockServer":true,"description":"Mock server"},{"url":"https://messaging.ecommunicate.biz","description":"Production (HTTPS also available on port 8443)"}],"specType":"openapi"},"options":{"hideReplay":false,"layout":"three-panel","schemasExpansionLevel":0,"jsonSamplesExpandLevel":0,"showExtensions":false,"mockServer":{"url":"/_mock/apis/biz-sms","position":"first","description":"Mock server"},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/apis/biz-sms.json?download"},{"url":"/_bundle/apis/biz-sms.yaml?download"}],"excludeFromSearch":false,"replayFeatures":{"graphql":false,"asyncapi":false},"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Biz SMS API","description":"**Biz SMS** (the eCommunicate Automated Interactive SMS gateway) is a batch-oriented HTTP SMS API built for high-volume, two-way campaigns with delivery receipts, reply routing via virtual numbers, scheduling, and credit/charge queries.\n\nIt is a distinct product from the JSON [SMS Gateway API](./sms.yaml) and the WhatsApp-centric [Omnichannel Integration API](./omnichannel.yaml).\n\nAn **Email-to-SMS** facility is also available — send an email addressed to `cellnumber@ecommunicate.biz` and the gateway sends the SMS. See the Biz SMS guide for details.\n\n## How it works\n\n- Requests are sent as **`application/x-www-form-urlencoded`** parameters\n  (\"keywords\"). Production traffic must use **HTTP POST**; `GET` is only for\n  light testing (roughly five numbers or fewer).\n- Responses are **XML** documents in the namespace\n  `https://messaging.ecommunicate.biz/sms/response` (the `httpresponse`\n  diagnostic returns plain text). Always parse with a namespace-aware XML\n  parser — attribute order and tag counts are not fixed.\n- Implement **HTTP/1.1 Keep-Alive**. Break large batches into ~200 numbers per\n  POST, reusing the same `batchref` and incrementing `batchid`.\n\n\n## Correlation: batchref + batchid\n\nThere is no per-message id. Each send is identified by a client-chosen `batchref` (max 80 chars) plus a `batchid` (unique within the batchref, max 20 chars). You pull delivery receipts and replies later using the same pair. Re-sending an identical `batchref`+`batchid` does **not** resend — the gateway returns the original response wrapped in `<previousxml>` (status `1034`).\n\n## Authentication\n\nEvery request is authenticated with an **API key**: send an `X-API-Key: ecom_...` header. Generate and revoke keys from the client portal.\n\nThe optional `specversion`, `commsversion`, and `appversion` keywords are advisory. The gateway keys on major version **2**.\n\n## Status codes\n\nEvery outcome is carried in the XML `<status code=\"...\">`. Ranges: `0` success · `1`–`99` partial success / fail · `1000`–`1999` keyword error · `2000`–`2999` functional error · `3000`–`3999` system error. A send is successful when the code is `0` (or `1` = partial, some invalid numbers). Common codes: `1010` authentication failed · `1021` message keyword missing · `1034` duplicate batchref+batchid · `1071` all numbers invalid · `1100` senderid required · `2012` insufficient credits · `1310` bad `futuredatetime` format.","summary":"High-volume batch SMS with two-way replies, delivery receipts and virtual numbers."}},"baseSlug":"/apis/biz-sms","routesMapping":{}}