{"info":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","description":"<html><head></head><body><p>The Connectus API employs Basic Auth and API Key methods to ensure secure access to its services. With Basic Auth, you must send your username and password with each request. You also need to send an authorization token. All the data must be obtained from <a href=\"https://plataforma.connectus.la/account\">https://plataforma.connectus.la/account</a></p>\n<p><strong>Basic Authentication</strong> is a simple authentication method built into the HTTP protocol. It requires the client to send a username and password encoded in Base64 format as part of the Authorization header in each request. The format of the header is</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Authorization: Basic &lt;base64_encoded_username:password&gt;\n\n</code></pre><p>To generate this value, concatenate your username and password using a colon (:), then encode the resulting string in Base64. For example, if your username is user and your password is pass, the string user:pass is encoded to dXNlcjpwYXNz, and the final header would be:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Authorization: Basic dXNlcjpwYXNz\n\n</code></pre><p>Here is a python example for the authentication header generation</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-python\">import base64\nusername = \"user\"\npassword = \"pass\"\ncredentials = f\"{username}:{password}\"\nencoded_credentials = base64.b64encode(credentials.encode('utf-8')).decode('utf-8')\nheaders = {\n    \"Authorization\": f\"Basic {encoded_credentials}\"\n}\nprint(headers)\n\n</code></pre>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"400049","collectionId":"8a430d36-6278-4665-be24-a114b3a7a698","publishedId":"2sA3JQ5fhT","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-12-11T16:53:02.000Z"},"item":[{"name":"Sms","item":[{"name":"Webhooks","item":[],"id":"f6a9e4c6-2430-4fa6-a99e-bd5288b1c727","description":"<h2 id=\"webhooks-for-receiving-sms-statuses-and-replies\">Webhooks for Receiving SMS Statuses and Replies</h2>\n<p>To receive <strong>SMS status updates</strong> and <strong>SMS replies</strong>, ConnectUs provides configurable webhooks at:</p>\n<p><a href=\"https://plataforma.connectus.la/es/admin/account_and_company/index\">https://plataforma.connectus.la/es/admin/account_and_company/index</a></p>\n<hr />\n<h3 id=\"📨-outgoing-message-status-update-webhook\">📨 Outgoing Message Status Update Webhook</h3>\n<p>This webhook delivers a POST HTTP request in the following format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"ENTREGADO\",\n  \"id_sms\": \"c7925e64955445bbbe0ae39339b9514c\"\n}\n\n</code></pre>\n<p>The possible statuses for the unique SMS identifier (id_sms) are:</p>\n<p><code>PROGRAMADO, EN_COLA, NUMERO_INVALIDO, ENVIADO_A_CARRIER, ESPERANDO_RESPUESTA, NO_ENTREGABLE, ENTREGADO</code>  </p>\n<h3 id=\"📨-incoming-message-status-update-webhook\">📨 Incoming Message Status Update Webhook</h3>\n<p>This webhook delivers a POST HTTP request in the following format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"src_provider\": \"Wom\",\n  \"id_sms\": \"f73a185dc7614ea4bac7c59146a67e6d\",\n  \"src_number\": \"56990324203\",\n  \"dst_number\": \"56442330001\",\n  \"sms_content\": \"Hello connectus!\",\n  \"sms_content_binary\": \"486f6c6120636f6e6e656374757321\"\n}\n\n</code></pre>\n","_postman_id":"f6a9e4c6-2430-4fa6-a99e-bd5288b1c727","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}}},{"name":"Send an individual SMS message","id":"59faf3f0-9188-49cb-a772-76f67b5079cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"dst_number\": 56987688060,\n    \"sms_content\": \"test1\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"https://plataforma.connectus.la/api_v3/sms/send_individual","description":"<h2 id=\"description\"><strong>Description</strong></h2>\n<p>This endpoint is used to send a simple SMS to a specified destination number.</p>\n<h2 id=\"parameters\"><strong>Parameters</strong></h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>dst_number</code></td>\n<td><code>String</code></td>\n<td><strong>Yes</strong></td>\n<td>The destination number of the SMS in international format.</td>\n</tr>\n<tr>\n<td><code>src_number</code></td>\n<td><code>String</code></td>\n<td>No</td>\n<td>The source number defined within the list of available numbers for the account.</td>\n</tr>\n<tr>\n<td><code>sms_content</code></td>\n<td><code>String</code></td>\n<td><strong>Yes</strong></td>\n<td>The content of the SMS. Each 160 UTF-8 characters count as one SMS. If the length exceeds 160 characters, the number of equivalent SMS will be charged.</td>\n</tr>\n<tr>\n<td><code>id_delivery</code></td>\n<td><code>String</code></td>\n<td>No</td>\n<td>The ID of a previously generated SMS delivery. If not defined, it will be assigned to a default delivery.</td>\n</tr>\n<tr>\n<td><code>id_client</code></td>\n<td><code>String</code></td>\n<td>No</td>\n<td>The ID of the subclient to whom the SMS delivery will be charged.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}},"urlObject":{"path":["api_v3","sms","send_individual"],"host":["https://plataforma.connectus.la"],"query":[],"variable":[]}},"response":[{"id":"a9354e4a-c40c-4b91-9ac9-72e2ef0dcf32","name":"SMS successfully sent","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"authorization\": \"<string>\",\n  \"destinationNumber\": \"<string>\",\n  \"country\": \"<string>\",\n  \"messageContent\": \"<string>\",\n  \"originNumber\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{baseUrl}}/sms/send"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"<string>\"\n}"},{"id":"d2f23386-e111-439a-b556-1acd8e235c72","name":"Bad request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"authorization\": \"<string>\",\n  \"destinationNumber\": \"<string>\",\n  \"country\": \"<string>\",\n  \"messageContent\": \"<string>\",\n  \"originNumber\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{baseUrl}}/sms/send"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"934f0f4a-6007-4ffe-946c-c0b7516e483b","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"authorization\": \"<string>\",\n  \"destinationNumber\": \"<string>\",\n  \"country\": \"<string>\",\n  \"messageContent\": \"<string>\",\n  \"originNumber\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{baseUrl}}/sms/send"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"59faf3f0-9188-49cb-a772-76f67b5079cb"},{"name":"Send otp message","id":"4e998fce-8a50-4d24-bac5-5cb2b9e6f45e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"src_number\": 4374,\n    \"dst_number\": 56987688060,\n    \"sms_content\": \"¡URGENTE! Hemos enviado información importante a su correo sobre los alumnos que aun no postulan en Admision Escolar 2026. Periodo finaliza el 28 de agosto.\"\n}","options":{"raw":{"language":"json"}}},"url":"https://plataforma.connectus.la/api_v3/sms/send_otp","description":"<p>Send one time password message. <strong>The cost of these messages is higher than regular delivery.</strong></p>\n<h2 id=\"parameters\"><strong>Parameters</strong></h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>dst_number</code></td>\n<td><code>String</code></td>\n<td><strong>Yes</strong></td>\n<td>The destination number of the SMS in international format.</td>\n</tr>\n<tr>\n<td><code>sms_content</code></td>\n<td><code>String</code></td>\n<td><strong>Yes</strong></td>\n<td>The content of the SMS. Each 160 UTF-8 characters count as one SMS. If the length exceeds 160 characters, the number of equivalent SMS will be charged.</td>\n</tr>\n<tr>\n<td><code>save_content</code></td>\n<td><code>String</code></td>\n<td>No</td>\n<td>Send this parameter with the value “hash” in case you need the message content to be stored hashed at the database level.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}},"urlObject":{"path":["api_v3","sms","send_otp"],"host":["https://plataforma.connectus.la"],"query":[],"variable":[]}},"response":[{"id":"9cc4356c-4ec8-476f-b2c3-6539a846f1e1","name":"SMS successfully sent","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"authorization\": \"<string>\",\n  \"destinationNumber\": \"<string>\",\n  \"country\": \"<string>\",\n  \"messageContent\": \"<string>\",\n  \"originNumber\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{baseUrl}}/sms/send"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"<string>\"\n}"},{"id":"873f0c70-cf0c-49b6-b120-f00c5fe1c8bc","name":"Bad request","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"authorization\": \"<string>\",\n  \"destinationNumber\": \"<string>\",\n  \"country\": \"<string>\",\n  \"messageContent\": \"<string>\",\n  \"originNumber\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{baseUrl}}/sms/send"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"f7c755c6-e2e1-404d-a90d-948fdb2b26ee","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"body":{"mode":"raw","raw":"{\n  \"authorization\": \"<string>\",\n  \"destinationNumber\": \"<string>\",\n  \"country\": \"<string>\",\n  \"messageContent\": \"<string>\",\n  \"originNumber\": \"<string>\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"{{baseUrl}}/sms/send"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"4e998fce-8a50-4d24-bac5-5cb2b9e6f45e"},{"name":"Retrieve the status of an SMS by ID","id":"ce36958a-ea10-44de-8c04-8fb608e80dc3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://plataforma.connectus.la/api_v3/sms/:id","description":"<h2 id=\"description\"><strong>Description</strong></h2>\n<p>This endpoint retrieves the status of a sent SMS, the delivery parameter via a GET request through the URL.</p>\n<p>Possible statuses:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Command Status Name</th>\n<th>Value (hex)</th>\n<th>Value (dec)</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ESME_ROK</td>\n<td>0x00000000</td>\n<td>0</td>\n<td>No error.</td>\n</tr>\n<tr>\n<td>ESME_RINVMSGLEN</td>\n<td>0x00000001</td>\n<td>1</td>\n<td><code>Message Length</code> is invalid.</td>\n</tr>\n<tr>\n<td>ESME_RINVCMDLEN</td>\n<td>0x00000002</td>\n<td>2</td>\n<td>Command Length is invalid.  <br />PDU length is considered invalid, either because the value is too short or too large for the given PDU.</td>\n</tr>\n<tr>\n<td>ESME_RINVCMDID</td>\n<td>0x00000003</td>\n<td>3</td>\n<td>Invalid <code>Command ID</code>.</td>\n</tr>\n<tr>\n<td>ESME_RINVBNDSTS</td>\n<td>0x00000004</td>\n<td>4</td>\n<td>Incorrect BIND Status for given command.  <br />PDU has been sent in the wrong session state. E.g. sending a <em>submit_sm</em> without first establishing a Bound_TX session state.</td>\n</tr>\n<tr>\n<td>ESME_RALYBND</td>\n<td>0x00000005</td>\n<td>5</td>\n<td>ESME Already in Bound State.  <br />A bind request has been issued within a session that is already bound.</td>\n</tr>\n<tr>\n<td>ESME_RINVPRTFLG</td>\n<td>0x00000006</td>\n<td>6</td>\n<td>Invalid <code>Priority Flag</code>. Priority flag contains an illegal or unsupported value.</td>\n</tr>\n<tr>\n<td>ESME_RINVREGDLVFLG</td>\n<td>0x00000007</td>\n<td>7</td>\n<td>Invalid <code>Registered Delivery Flag</code>.  <br />Registered field contains an invalid setting.</td>\n</tr>\n<tr>\n<td>ESME_RSYSERR</td>\n<td>0x00000008</td>\n<td>8</td>\n<td>System Error.  <br />MC system error indicating that all or part of the MC is currently unavailable. This can be returned in any response PDU.</td>\n</tr>\n<tr>\n<td>ESME_RINVSRCADR</td>\n<td>0x0000000A</td>\n<td>10</td>\n<td>Invalid <code>Source Address</code>.</td>\n</tr>\n<tr>\n<td>ESME_RINVDSTADR</td>\n<td>0x0000000B</td>\n<td>11</td>\n<td>Invalid <code>Destination Address</code>.</td>\n</tr>\n<tr>\n<td>ESME_RINVMSGID</td>\n<td>0x0000000C</td>\n<td>12</td>\n<td><code>Message ID</code> is invalid.</td>\n</tr>\n<tr>\n<td>ESME_RBINDFAIL</td>\n<td>0x0000000D</td>\n<td>13</td>\n<td>Bind Failed.  <br />A generic failure scenario for a bind attempt. This may be due to a provisioning error, incorrect password or other reason. A MC will typically return this error for an invalid <code>system_id</code>, <code>system_type</code>, <code>password</code> or other attribute that may cause a bind failure.</td>\n</tr>\n<tr>\n<td>ESME_RINVPASWD</td>\n<td>0x0000000E</td>\n<td>14</td>\n<td>Invalid <code>Password</code>.  <br />Password field in bind PDU is invalid. This is usually returned when the length is too short or too long. It is not supposed to be returned when the ESME has specified the incorrect password.</td>\n</tr>\n<tr>\n<td>ESME_RINVSYSID</td>\n<td>0x0000000F</td>\n<td>15</td>\n<td>Invalid <code>System ID</code>.  <br />The System ID field in bind PDU is invalid. This is usually returned when the length is too short or too long. It is not supposed to be returned when the ESME has specified the incorrect system id.</td>\n</tr>\n<tr>\n<td>ESME_RCANCELFAIL</td>\n<td>0x00000011</td>\n<td>17</td>\n<td>Cancel SM Failed.  <br />Generic failure error for cancel_sm operation.</td>\n</tr>\n<tr>\n<td>ESME_RREPLACEFAIL</td>\n<td>0x00000013</td>\n<td>19</td>\n<td>Replace SM Failed.  <br />Generic failure for replace_sm operation.</td>\n</tr>\n<tr>\n<td>ESME_RMSGQFUL</td>\n<td>0x00000014</td>\n<td>20</td>\n<td>Message Queue Full.  <br />Used to indicate a resource error within the MC. This may be interpreted as the maximum number of messages addressed to a single destination or a global maximum of undelivered messages within the MC.</td>\n</tr>\n<tr>\n<td>ESME_RINVSERTYP</td>\n<td>0x00000015</td>\n<td>21</td>\n<td>Invalid Service Type.  <br />Service type is rejected either because it is not recognised by the MC or because its length is not within the defined range.</td>\n</tr>\n<tr>\n<td>ESME_RINVNUMDESTS</td>\n<td>0x00000033</td>\n<td>51</td>\n<td>Invalid number of destinations.  <br />The <code>number_of_dests</code> field in the <em>submit_multi</em> PDU is invalid.</td>\n</tr>\n<tr>\n<td>ESME_RINVDLNAME</td>\n<td>0x00000034</td>\n<td>52</td>\n<td>Invalid Distribution List name.  <br />The <code>dl_name</code> field specified in the <em>submit_multi</em> PDU is either invalid, or non-existent.</td>\n</tr>\n<tr>\n<td>ESME_RINVDESTFLAG</td>\n<td>0x00000040</td>\n<td>64</td>\n<td>Destination flag is invalid (<em>submit_multi</em>).  <br />The <code>dest_flag</code> field in the <em>submit_multi</em> PDU has been encoded with an invalid setting.</td>\n</tr>\n<tr>\n<td>ESME_RINVSUBREP</td>\n<td>0x00000042</td>\n<td>66</td>\n<td>Submit w/replace functionality has been requested where it is either unsupported or inappropriate for the particular MC. This can typically occur with <em>submit_multi</em> where the context of “replace if present” is often a best effort operation and MCs may not support the feature in <em>submit_multi</em>.  <br />Another reason for returning this error would be where the feature has been denied to an ESME.</td>\n</tr>\n<tr>\n<td>ESME_RINVESMCLASS</td>\n<td>0x00000043</td>\n<td>67</td>\n<td>Invalid <code>esm_class</code> field data.  <br />The <code>esm_class</code> field has an unsupported setting.</td>\n</tr>\n<tr>\n<td>ESME_RCNTSUBDL</td>\n<td>0x00000044</td>\n<td>68</td>\n<td>Cannot Submit to Distribution List.  <br />Distribution lists are not supported, are denied or unavailable.</td>\n</tr>\n<tr>\n<td>ESME_RSUBMITFAIL</td>\n<td>0x00000045</td>\n<td>69</td>\n<td><em>submit_sm</em>, <em>data_sm</em> or <em>submit_multi</em> failed. Generic failure.  <br />Generic failure error for submission operations.</td>\n</tr>\n<tr>\n<td>ESME_RINVSRCTON</td>\n<td>0x00000048</td>\n<td>72</td>\n<td>Invalid <code>Source address TON</code>.  <br />The source TON of the message is either invalid or unsupported.</td>\n</tr>\n<tr>\n<td>ESME_RINVSRCNPI</td>\n<td>0x00000049</td>\n<td>73</td>\n<td>Invalid <code>Source address NPI</code>.  <br />The source NPI of the message is either invalid or unsupported.</td>\n</tr>\n<tr>\n<td>ESME_RINVDSTTON</td>\n<td>0x00000050</td>\n<td>80</td>\n<td>Invalid <code>Destination address TON</code>.  <br />The destination TON of the message is either invalid or unsupported.</td>\n</tr>\n<tr>\n<td>ESME_RINVDSTNPI</td>\n<td>0x00000051</td>\n<td>81</td>\n<td>Invalid <code>Destination address NPI</code>.  <br />The destination NPI of the message is either invalid or unsupported.</td>\n</tr>\n<tr>\n<td>ESME_RINVSYSTYP</td>\n<td>0x00000053</td>\n<td>83</td>\n<td>Invalid <code>system_type</code> field.  <br />The <code>System type</code> of bind PDU has an incorrect length or contains illegal characters.</td>\n</tr>\n<tr>\n<td>ESME_RINVREPFLAG</td>\n<td>0x00000054</td>\n<td>84</td>\n<td>Invalid <code>replace_if_present</code> flag.  <br />The <code>replace_if_present</code> flag has been encoded with an invalid or unsupported setting.</td>\n</tr>\n<tr>\n<td>ESME_RINVNUMMSGS</td>\n<td>0x00000055</td>\n<td>85</td>\n<td>Invalid number of messages.</td>\n</tr>\n<tr>\n<td>ESME_RTHROTTLED</td>\n<td>0x00000058</td>\n<td>88</td>\n<td>Throttling error (ESME has exceeded allowed message limits).  <br />This type of error is usually returned where an ESME has exceeded a predefined messaging rate restriction applied by the operator.</td>\n</tr>\n<tr>\n<td>ESME_RINVSCHED</td>\n<td>0x00000061</td>\n<td>97</td>\n<td>Invalid <code>Scheduled Delivery Time</code>.</td>\n</tr>\n<tr>\n<td>ESME_RINVEXPIRY</td>\n<td>0x00000062</td>\n<td>98</td>\n<td>Invalid message <code>validity period</code> (Expiry time).</td>\n</tr>\n<tr>\n<td>ESME_RINVDFTMSGID</td>\n<td>0x00000063</td>\n<td>99</td>\n<td>Predefined Message ID is Invalid or specified predefined message was not found.  <br />The default (pre-defined) message id is either invalid or refers to a non-existent pre-defined message.</td>\n</tr>\n<tr>\n<td>ESME_RX_T_APPN</td>\n<td>0x00000064</td>\n<td>100</td>\n<td>ESME Receiver Temporary App Error Code.  <br />RX or TRX ESME is unable to process a delivery due to a temporary problem and is requesting that the message be retried at some future point.</td>\n</tr>\n<tr>\n<td>ESME_RX_P_APPN</td>\n<td>0x00000065</td>\n<td>101</td>\n<td>ESME Receiver Permanent App Error Code.  <br />RX or TRX ESME is unable to process a delivery due to a permanent problem relating to the given destination address and is requesting that the message and all other messages queued to the same destination should NOT be retried any further.</td>\n</tr>\n<tr>\n<td>ESME_RX_R_APPN</td>\n<td>0x00000066</td>\n<td>102</td>\n<td>ESME Receiver Reject Message Error Code.  <br />RX or TRX ESME is unable to process a delivery due to a problem relating to the given message and is requesting that the message is rejected and not retried. This does not affect other messages queued for the same ESME or destination address.</td>\n</tr>\n<tr>\n<td>ESME_RQUERYFAIL</td>\n<td>0x00000067</td>\n<td>103</td>\n<td><em>query_sm</em> request failed.  <br />Generic failure scenario for a query request.</td>\n</tr>\n<tr>\n<td>ESME_RINVTLVSTREAM</td>\n<td>0x000000C0</td>\n<td>192</td>\n<td>Error in the optional part of the PDU Body.  <br />Decoding of TLVs (Optional Parameters) has resulted in one of the following scenarios:  <br />  <br />- PDU decoding completed with 1-3 octets of data remaining, indicating a corrupt PDU.  <br />  <br />- A TLV indicated a length that was not present in the remaining PDU data (e.g. a TLV specifying a length of 10 where only 6 octets of PDU data remain).</td>\n</tr>\n<tr>\n<td>ESME_RTLVNOTALLWD</td>\n<td>0x000000C1</td>\n<td>193</td>\n<td>TLV not allowed.  <br />A TLV has been used in an invalid context, either inappropriate or deliberately rejected by the operator.</td>\n</tr>\n<tr>\n<td>ESME_RINVTLVLEN</td>\n<td>0x000000C2</td>\n<td>194</td>\n<td>Invalid Parameter Length.  <br />A TLV has specified a length that is considered invalid.</td>\n</tr>\n<tr>\n<td>ESME_RMISSINGTLV</td>\n<td>0x000000C3</td>\n<td>195</td>\n<td>Expected TLV missing.  <br />A mandatory TLV such as the <code>message_payload</code> TLV within a <em>data_sm</em> PDU is missing.</td>\n</tr>\n<tr>\n<td>ESME_RINVTLVVAL</td>\n<td>0x000000C4</td>\n<td>196</td>\n<td>Invalid TLV Value.  <br />The data content of a TLV is invalid and cannot be decoded.</td>\n</tr>\n<tr>\n<td>ESME_RDELIVERYFAILURE</td>\n<td>0x000000FE</td>\n<td>254</td>\n<td>Transaction Delivery Failure. A <em>data_sm</em> or <em>submit_sm</em> operation issued in transaction mode has resulted in a failed delivery.</td>\n</tr>\n<tr>\n<td>ESME_RUNKNOWNERR</td>\n<td>0x000000FF</td>\n<td>255</td>\n<td>Unknown Error.  <br />Some unexpected error has occurred.</td>\n</tr>\n<tr>\n<td>ESME_RSERTYPUNAUTH</td>\n<td>0x00000100</td>\n<td>256</td>\n<td>ESME Not authorised to use specified <code>service_type</code>.  <br />Specific <code>service_type</code> has been denied for use by the given ESME.</td>\n</tr>\n<tr>\n<td>ESME_RPROHIBITED</td>\n<td>0x00000101</td>\n<td>257</td>\n<td>ESME Prohibited from using specified operation.  <br />The PDU request was recognised but is denied to the ESME.</td>\n</tr>\n<tr>\n<td>ESME_RSERTYPUNAVAIL</td>\n<td>0x00000102</td>\n<td>258</td>\n<td>Specified <code>service_type</code> is unavailable.  <br />Due to a service outage within the MC, a service is unavailable.</td>\n</tr>\n<tr>\n<td>ESME_RSERTYPDENIED</td>\n<td>0x00000103</td>\n<td>259</td>\n<td>Specified <code>service_type</code> is denied.  <br />Due to inappropriate message content wrt. the selected <code>service_type</code>.</td>\n</tr>\n<tr>\n<td>ESME_RINVDCS</td>\n<td>0x00000104</td>\n<td>260</td>\n<td>Invalid <code>Data Coding Scheme</code>.  <br />Specified DCS is invalid or MC does not support it.</td>\n</tr>\n<tr>\n<td>ESME_RINVSRCADDRSUBUNIT</td>\n<td>0x00000105</td>\n<td>261</td>\n<td>Source Address Subunit is invalid.</td>\n</tr>\n<tr>\n<td>ESME_RINVDSTADDRSUBUNIT</td>\n<td>0x00000106</td>\n<td>262</td>\n<td>Destination Address Subunit is invalid.</td>\n</tr>\n<tr>\n<td>ESME_RINVBCASTFREQINT</td>\n<td>0x00000107</td>\n<td>263</td>\n<td>Broadcast Frequency Interval is invalid.  <br />Specified value is either invalid or not supported.</td>\n</tr>\n<tr>\n<td>ESME_RINVBCASTALIAS_NAME</td>\n<td>0x00000108</td>\n<td>264</td>\n<td>Broadcast Alias Name is invalid.  <br />Specified value has an incorrect length or contains invalid/unsupported characters.</td>\n</tr>\n<tr>\n<td>ESME_RINVBCASTAREAFMT</td>\n<td>0x00000109</td>\n<td>265</td>\n<td>Broadcast Area Format is invalid.  <br />Specified value violates protocol or is unsupported.</td>\n</tr>\n<tr>\n<td>ESME_RINVNUMBCAST_AREAS</td>\n<td>0x0000010A</td>\n<td>266</td>\n<td>Number of Broadcast Areas is invalid.  <br />Specified value violates protocol or is unsupported.</td>\n</tr>\n<tr>\n<td>ESME_RINVBCASTCNTTYPE</td>\n<td>0x0000010B</td>\n<td>267</td>\n<td>Broadcast Content Type is invalid.  <br />Specified value violates protocol or is unsupported.</td>\n</tr>\n<tr>\n<td>ESME_RINVBCASTMSGCLASS</td>\n<td>0x0000010C</td>\n<td>268</td>\n<td>Broadcast Message Class is invalid.  <br />Specified value violates protocol or is unsupported.</td>\n</tr>\n<tr>\n<td>ESME_RBCASTFAIL</td>\n<td>0x0000010D</td>\n<td>269</td>\n<td><em>broadcast_sm</em> operation failed.</td>\n</tr>\n<tr>\n<td>ESME_RBCASTQUERYFAIL</td>\n<td>0x0000010E</td>\n<td>270</td>\n<td><em>query_broadcast_sm</em> operation failed.</td>\n</tr>\n<tr>\n<td>ESME_RBCASTCANCELFAIL</td>\n<td>0x0000010F</td>\n<td>271</td>\n<td><em>cancel_broadcast_sm</em> operation failed.</td>\n</tr>\n<tr>\n<td>ESME_RINVBCAST_REP</td>\n<td>0x00000110</td>\n<td>272</td>\n<td>Number of Repeated Broadcasts is invalid.  <br />Specified value violates protocol or is unsupported.</td>\n</tr>\n<tr>\n<td>ESME_RINVBCASTSRVGRP</td>\n<td>0x00000111</td>\n<td>273</td>\n<td>Broadcast Service Group is invalid.  <br />Specified value violates protocol or is unsupported.</td>\n</tr>\n<tr>\n<td>ESME_RINVBCASTCHANIND</td>\n<td>0x00000112</td>\n<td>274</td>\n<td>Broadcast Channel Indicator is invalid.  <br />Specified value violates protocol or is unsupported.</td>\n</tr>\n<tr>\n<td><em>DELIVRD</em></td>\n<td></td>\n<td></td>\n<td>Sms delivered to the destination number</td>\n</tr>\n<tr>\n<td>UNDELIV</td>\n<td></td>\n<td></td>\n<td>Sms could not be delivered to the destination number</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}},"urlObject":{"path":["api_v3","sms",":id"],"host":["https://plataforma.connectus.la"],"query":[],"variable":[{"description":{"content":"<p>The ID of the SMS whose status is to be retrieved</p>\n","type":"text/plain"},"type":"any","value":"Sms ID","key":"id"}]}},"response":[{"id":"d5427a95-8486-425b-958c-eda124dedac2","name":"SMS status retrieved","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/sms/status/:id","host":["{{baseUrl}}"],"path":["sms","status",":id"],"variable":[{"key":"id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"<string>\"\n}"},{"id":"c24616f9-c13d-4b49-9448-374f72bfe343","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/sms/status/:id","host":["{{baseUrl}}"],"path":["sms","status",":id"],"variable":[{"key":"id"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"52a19035-a1f7-41e8-9946-668b52a4622f","name":"SMS not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"}],"url":{"raw":"{{baseUrl}}/sms/status/:id","host":["{{baseUrl}}"],"path":["sms","status",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"ce36958a-ea10-44de-8c04-8fb608e80dc3"},{"name":"Retrieve all sms info by delivery","id":"1176205b-d61a-48ee-b5d9-00c6e3923340","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://plataforma.connectus.la/api_v3/sms/delivery_info?delivery_id=<string>","description":"<h2 id=\"description\"><strong>Description</strong></h2>\n<p>Retrieves all SMS associated with a delivery.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}},"urlObject":{"path":["api_v3","sms","delivery_info"],"host":["https://plataforma.connectus.la"],"query":[{"description":{"content":"<p>The ID of the delivery from which you want to GET the SMS</p>\n","type":"text/plain"},"key":"delivery_id","value":"<string>"}],"variable":[]}},"response":[],"_postman_id":"1176205b-d61a-48ee-b5d9-00c6e3923340"},{"name":"Retrieve all sms between date range","id":"6872dc2c-60c7-4184-8f3a-15014ed00a51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://plataforma.connectus.la/api_v3/sms/date_report?begin_date=<date>&end_date=<date>","description":"<h2 id=\"description\">Description</h2>\n<p>This endpoint retrieves SMS messages sent within the specified date range. The dates are provided through the <code>begin_date</code> and <code>end_date</code> query parameters.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}},"urlObject":{"path":["api_v3","sms","date_report"],"host":["https://plataforma.connectus.la"],"query":[{"description":{"content":"<p>Start date for filtering sent SMS. Only SMS sent from this date (inclusive) will be included. Format: YYYY-MM-DD.</p>\n","type":"text/plain"},"key":"begin_date","value":"<date>"},{"description":{"content":"<p>End date for filtering sent SMS. Only SMS sent up to this date (inclusive) will be included. Format: YYYY-MM-DD.</p>\n","type":"text/plain"},"key":"end_date","value":"<date>"}],"variable":[]}},"response":[],"_postman_id":"6872dc2c-60c7-4184-8f3a-15014ed00a51"}],"id":"c141e3b6-5ca8-4117-8488-cefdd13321e4","description":"<p>This SMS API provides three main endpoints to manage SMS communications securely. Users can send individual SMS messages, retrieve the status of a specific SMS, and fetch statuses of SMS messages over a specified date range. The date parameters should be provided in the YYYY-MM-DD format. User roles, which control access to these endpoints, must be assigned by an administrator through the platform available at</p>\n<p><a href=\"https://plataforma.connectus.la/es/admin/account_and_company/index\">https://plataforma.connectus.la/es/admin/account_and_company/index</a>.</p>\n<p>Each endpoint supports API Key authentication methods to ensure secure access.</p>\n","_postman_id":"c141e3b6-5ca8-4117-8488-cefdd13321e4","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}}},{"name":"Subclient","item":[{"name":"Retrieve client by ID","id":"cc8ff81d-95ec-420f-9be1-668758272a3f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"https://plataforma.connectus.la/api_v3/clients/:id","description":"<h2 id=\"description\">Description</h2>\n<p>Retrieves the details of a client, including both their balances and identification.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}},"urlObject":{"path":["api_v3","clients",":id"],"host":["https://plataforma.connectus.la"],"query":[],"variable":[{"description":{"content":"<p>The ID of the Client to be retrieved</p>\n","type":"text/plain"},"type":"any","value":"Client ID","key":"id"}]}},"response":[{"id":"e04ea819-961d-478f-8159-a86d30039c0f","name":"Client retrieved","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":{"raw":"https://plataforma.connectus.la/api_v3/clients/:id","protocol":"https","host":["plataforma","connectus","la"],"path":["api_v3","clients",":id"],"variable":[{"key":"id","value":"lpa22mae"}]}},"code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"id\": 11,\r\n    \"id_account\": 2311,\r\n    \"name\": \"colegioranitadedarwin\",\r\n    \"balance\": 12,\r\n    \"avatar\": null,\r\n    \"id_unique\": \"lpa22mae\",\r\n    \"deleted\": \"F\",\r\n    \"created_at\": \"Mon, 09 Jan 2023 13:30:07.000000000 -03 -03:00\",\r\n    \"updated_at\": \"Mon, 09 Jan 2023 13:30:07.000000000 -03 -03:00\"\r\n}"},{"id":"21203a76-b98a-4596-a782-496ba9038012","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/clients/:id","host":["{{baseUrl}}"],"path":["clients",":id"],"variable":[{"key":"id","value":""}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"cc8ff81d-95ec-420f-9be1-668758272a3f"},{"name":"Update client by ID","id":"0074fb6a-480f-41cd-bfae-4ed69dced6c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"test2\"\n}","options":{"raw":{"language":"json"}}},"url":"https://plataforma.connectus.la/api_v3/clients/:id","description":"<h2 id=\"description\"><strong>Description:</strong></h2>\n<p>Updates the name of a subclient identified by the provided ID.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}},"urlObject":{"path":["api_v3","clients",":id"],"host":["https://plataforma.connectus.la"],"query":[],"variable":[{"description":{"content":"<p>ID of client who wants to be updated</p>\n","type":"text/plain"},"type":"any","value":"Client ID","key":"id"}]}},"response":[{"id":"3d9d5624-416a-44a6-b4cc-82760600442b","name":"Client updated","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"test2\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://plataforma.connectus.la/api_v3/clients/:id","protocol":"https","host":["plataforma","connectus","la"],"path":["api_v3","clients",":id"],"variable":[{"key":"id","value":"lpa22mae"}]}},"code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 11,\n    \"id_account\": 2311,\n    \"name\": \"colegioupdated\",\n    \"balance\": 15,\n    \"avatar\": null,\n    \"id_unique\": \"lpa22mae\",\n    \"deleted\": \"F\",\n    \"created_at\": \"Mon, 09 Jan 2023 13:30:07.000000000 -03 -03:00\",\n    \"updated_at\": \"Mon, 09 Jan 2023 13:30:07.000000000 -03 -03:00\"\n}"},{"id":"cfd843e4-8361-4c84-9ed9-4892ad78b635","name":"Unauthorized","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"test2\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/clients/:id","host":["{{baseUrl}}"],"path":["clients",":id"],"variable":[{"key":"id","value":""}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"0074fb6a-480f-41cd-bfae-4ed69dced6c5"},{"name":"Retrieve all clients","id":"053b3ddd-9ee8-4413-b5e5-9c8c7d1ea58a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://plataforma.connectus.la/api_v3/clients","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}},"urlObject":{"path":["api_v3","clients"],"host":["https://plataforma.connectus.la"],"query":[],"variable":[]}},"response":[{"id":"dfb9b789-8b5c-49ad-a673-38f3799e6f61","name":"All clients retrieved","originalRequest":{"method":"GET","header":[],"url":"https://plataforma.connectus.la/api_v3/clients"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"free_sms_balance_by_country\": [\n            {\n                \"id_country\": 1,\n                \"country_name\": \"Chile\",\n                \"balance\": 178808\n            },\n            {\n                \"id_country\": 2,\n                \"country_name\": \"Mexico\",\n                \"balance\": 10393\n            },\n            {\n                \"id_country\": 3,\n                \"country_name\": \"Peru\",\n                \"balance\": 56026\n            },\n            {\n                \"id_country\": 4,\n                \"country_name\": \"Ecuador\",\n                \"balance\": 1657\n            },\n            {\n                \"id_country\": 5,\n                \"country_name\": \"Estados Unidos\",\n                \"balance\": 31254\n            },\n            {\n                \"id_country\": 6,\n                \"country_name\": \"Colombia\",\n                \"balance\": 11582\n            },\n            {\n                \"id_country\": 7,\n                \"country_name\": \"Argentina\",\n                \"balance\": 7467\n            },\n            {\n                \"id_country\": 8,\n                \"country_name\": \"Brasil\",\n                \"balance\": 0\n            },\n            {\n                \"id_country\": 10,\n                \"country_name\": \"Costa Rica\",\n                \"balance\": 994\n            },\n            {\n                \"id_country\": 12,\n                \"country_name\": \"Uruguay\",\n                \"balance\": 0\n            },\n            {\n                \"id_country\": 13,\n                \"country_name\": \"Paraguay\",\n                \"balance\": 5\n            },\n            {\n                \"id_country\": 14,\n                \"country_name\": \"Bolivia\",\n                \"balance\": 0\n            },\n            {\n                \"id_country\": 15,\n                \"country_name\": \"Guatemala\",\n                \"balance\": 10\n            }\n        ],\n        \"free_email_balance\": 64025,\n        \"free_whatsapp_balance\": 0,\n        \"clients\": [\n            {\n                \"name\": \"Matias 2\",\n                \"id_unique\": \"da82la12\",\n                \"created_at\": \"2019-07-17T01:35:41.000-04:00\",\n                \"updated_at\": \"2019-07-17T03:51:54.000-04:00\",\n                \"balance\": {\n                    \"sms_balance\": [\n                        {\n                            \"id_country\": 1,\n                            \"country_name\": \"Chile\",\n                            \"balance\": 78\n                        },\n                        {\n                            \"id_country\": 2,\n                            \"country_name\": \"Mexico\",\n                            \"balance\": 0\n                        },\n                        {\n                            \"id_country\": 3,\n                            \"country_name\": \"Peru\",\n                            \"balance\": 0\n                        },\n                        {\n                            \"id_country\": 4,\n                            \"country_name\": \"Ecuador\",\n                            \"balance\": 0\n                        },\n                        {\n                            \"id_country\": 5,\n                            \"country_name\": \"Estados Unidos\",\n                            \"balance\": 0\n                        },\n                        {\n                            \"id_country\": 6,\n                            \"country_name\": \"Colombia\",\n                            \"balance\": 43\n                        },\n                        {\n                            \"id_country\": 7,\n                            \"country_name\": \"Argentina\",\n                            \"balance\": 0\n                        },\n                        {\n                            \"id_country\": 8,\n                            \"country_name\": \"Brasil\",\n                            \"balance\": 0\n                        },\n                        {\n                            \"id_country\": 10,\n                            \"country_name\": \"Costa Rica\",\n                            \"balance\": 0\n                        },\n                        {\n                            \"id_country\": 12,\n                            \"country_name\": \"Uruguay\",\n                            \"balance\": 0\n                        },\n                        {\n                            \"id_country\": 13,\n                            \"country_name\": \"Paraguay\",\n                            \"balance\": 0\n                        },\n                        {\n                            \"id_country\": 14,\n                            \"country_name\": \"Bolivia\",\n                            \"balance\": 0\n                        },\n                        {\n                            \"id_country\": 15,\n                            \"country_name\": \"Guatemala\",\n                            \"balance\": 0\n                        }\n                    ],\n                    \"email_balance\": 0,\n                    \"whatsapp_balance\": 0\n                }\n            }\n        ]\n    }\n}"},{"id":"afde6c19-77dc-4a37-8a1a-357e710110e1","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/clients"},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"053b3ddd-9ee8-4413-b5e5-9c8c7d1ea58a"},{"name":"Add balance to a client by client ID","id":"8d2d6ed4-0edb-449e-a802-c7f873700a13","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 28,\n    \"product\": 1,\n    \"id_country\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://plataforma.connectus.la/api_v3/clients/:id/add_balance","description":"<h2 id=\"description\">Description</h2>\n<p>Adds a specified amount of balance to the client identified by the provided ID.</p>\n<h2 id=\"parameters\"><strong>Parameters</strong></h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>amount</code></td>\n<td><code>Integer</code></td>\n<td><strong>Yes</strong></td>\n<td>Amount of balance to add.</td>\n</tr>\n<tr>\n<td><code>product</code></td>\n<td><code>Integer</code></td>\n<td><strong>Yes</strong></td>\n<td>Type of product to add credit (1 SMS, 2 Email, 3 Whatsapp).</td>\n</tr>\n<tr>\n<td><code>id_country</code></td>\n<td><code>Integer</code></td>\n<td>Only if product is 1</td>\n<td>Country to add balance (only necessary if the product is SMS).</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}},"urlObject":{"path":["api_v3","clients",":id","add_balance"],"host":["https://plataforma.connectus.la"],"query":[],"variable":[{"description":{"content":"<p>(Required)</p>\n","type":"text/plain"},"type":"any","value":"Client ID","key":"id"}]}},"response":[{"id":"f356b119-952f-4d64-b873-2934f4b89975","name":"Balance added","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": 28,\n    \"product\": 1,\n    \"id_country\": 1\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://plataforma.connectus.la/api_v3/clients/:id/add_balance","host":["https://plataforma.connectus.la"],"path":["api_v3","clients",":id","add_balance"],"variable":[{"key":"id","value":"792e188d"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"message\": \"Balance added successfully\"\r\n}"},{"id":"4d558fbf-4cff-4d0a-a2ba-d1a70f6e4131","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/clients"},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"8d2d6ed4-0edb-449e-a802-c7f873700a13"},{"name":"Remove balance of a client by client ID","id":"462705a0-1ebb-441e-9a4c-2f99547c8322","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"amount\": 69,\n    \"product\": 1,\n    \"id_country\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://plataforma.connectus.la/api_v3/clients/:id/remove_balance","description":"<h2 id=\"description\">Description</h2>\n<p>Removes specified amount of balance to the client identified by the provided ID.</p>\n<h2 id=\"parameters\"><strong>Parameters</strong></h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>amount</code></td>\n<td><code>Integer</code></td>\n<td><strong>Yes</strong></td>\n<td>Amount of balance to remove.</td>\n</tr>\n<tr>\n<td><code>product</code></td>\n<td><code>Integer</code></td>\n<td><strong>Yes</strong></td>\n<td>Type of product to remove balance (1 SMS, 2 Email, 3 Whatsapp).</td>\n</tr>\n<tr>\n<td><code>id_country</code></td>\n<td><code>Integer</code></td>\n<td>Only if product is 1</td>\n<td>Country to remove balance (only necessary if the product is SMS).</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}},"urlObject":{"path":["api_v3","clients",":id","remove_balance"],"host":["https://plataforma.connectus.la"],"query":[],"variable":[{"description":{"content":"<p>(Required)</p>\n","type":"text/plain"},"type":"any","value":"Client ID","key":"id"}]}},"response":[{"id":"badd2017-3a98-4460-845c-973205f0efc2","name":"Balance removed","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"amount\": 69,\n    \"product\": 1,\n    \"id_country\": 1\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://plataforma.connectus.la/api_v3/clients/:id/remove_balance","host":["https://plataforma.connectus.la"],"path":["api_v3","clients",":id","remove_balance"],"variable":[{"key":"id","value":"792e188d"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"message\": \"Balance removed successfully\"\r\n}"},{"id":"a726517e-8757-44b3-8390-d8252a84aa5e","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/clients"},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"462705a0-1ebb-441e-9a4c-2f99547c8322"},{"name":"Create a new client","id":"0e912702-ccb8-46a0-8c32-3b3141c84a96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"test 100\"\n}","options":{"raw":{"language":"json"}}},"url":"https://plataforma.connectus.la/api_v3/clients","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}},"urlObject":{"path":["api_v3","clients"],"host":["https://plataforma.connectus.la"],"query":[],"variable":[]}},"response":[{"id":"b2e1ef52-3ac1-4db0-93ff-aaf8eb934966","name":"Client created","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"test 100\"\n}","options":{"raw":{"language":"json"}}},"url":"https://plataforma.connectus.la/api_v3/clients"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"id\": 11,\r\n    \"id_account\": 2311,\r\n    \"name\": \"test 100\",\r\n    \"balance\": 12,\r\n    \"avatar\": null,\r\n    \"id_unique\": \"9sd0lmn2\",\r\n    \"deleted\": \"F\",\r\n    \"created_at\": \"Mon, 09 Jan 2023 13:30:07.000000000 -03 -03:00\",\r\n    \"updated_at\": \"Mon, 09 Jan 2023 13:30:07.000000000 -03 -03:00\"\r\n}"},{"id":"0cfd0224-772d-404a-94a5-3f60c4ead7c8","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":"{{baseUrl}}/clients"},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"0e912702-ccb8-46a0-8c32-3b3141c84a96"}],"id":"0f4684e1-c93b-4b98-affb-73f33b8339ab","description":"<h2 id=\"description\">Description</h2>\n<p>Generate sub-clients as accounting accounts. You can assign available balance for each service so that when sending, it will be deducted from each sub-client.</p>\n<h2 id=\"considerations\">Considerations</h2>\n<p>• The SMS API must include the destination country, each balance is separated according to this value.</p>\n<p>• The email and WhatsApp APIs have homogeneous costs.</p>\n<p>• In case there are clients and their ID is not sent, the amount will be deducted from the unassigned balance. If there is no unassigned balance, the message will not be sent.</p>\n","event":[{"listen":"prerequest","script":{"id":"0e1f95de-1533-4868-a8b8-2ecc7a746be6","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"1fb923e6-4761-4626-90a1-8384cca5b838","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"0f4684e1-c93b-4b98-affb-73f33b8339ab","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}}},{"name":"Short Link","item":[{"name":"Retrieve link events","id":"ad7c9dff-e87e-47fe-8478-7141f0dc58f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://plataforma.connectus.la/api_v3/short_link/312321","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}},"urlObject":{"path":["api_v3","short_link","312321"],"host":["https://plataforma.connectus.la"],"query":[],"variable":[]}},"response":[{"id":"8163744d-3260-4a03-8757-5a2bc124937e","name":"Retrieve link events","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"localhost:3000/api_v3/short_link/events?short_link=cnct.us/13neyY","host":["localhost"],"port":"3000","path":["api_v3","short_link","events"],"query":[{"key":"short_link","value":"cnct.us/13neyY","description":"(Required)"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"link\": \"https://www.connectus.cl\",\n    \"clicks\": 3258\n}"},{"id":"80821029-113a-4825-ab77-1467049e092b","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:3000/api_v3/short_link/events?short_link=<string>","host":["localhost"],"port":"3000","path":["api_v3","short_link","events"],"query":[{"key":"short_link","value":"<string>","description":"(Required)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"3db9ebb6-c07f-47c9-98b1-c54a498ccbea","name":"Short link not found","originalRequest":{"method":"GET","header":[],"url":{"raw":"localhost:3000/api_v3/short_link/events?short_link=<string>","host":["localhost"],"port":"3000","path":["api_v3","short_link","events"],"query":[{"key":"short_link","value":"<string>","description":"(Required)"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"ad7c9dff-e87e-47fe-8478-7141f0dc58f9"},{"name":"Create a short link","id":"03a420c5-569c-455f-ab55-342aef4c64b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"link\": \"https://www.connectus.cl\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://plataforma.connectus.la/api_v3/short_link","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}},"urlObject":{"path":["api_v3","short_link"],"host":["https://plataforma.connectus.la"],"query":[],"variable":[]}},"response":[{"id":"dc8ac1c8-5e1b-4475-ab78-d7f834a71233","name":"Short link created successfully","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"link\": \"https://www.connectus.cl\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:3000/api_v3/short_link"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"short_link\": \"cnct.us/13neyY\"\n}"},{"id":"136dfdc5-6795-4031-9362-1a5f3d3121be","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"link\": \"https://www.connectus.cl\"\r\n}","options":{"raw":{"language":"json"}}},"url":"localhost:3000/api_v3/short_link"},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"03a420c5-569c-455f-ab55-342aef4c64b0"}],"id":"05c4d5d8-90c5-4005-aae1-f7bf9feb13e2","description":"<p>Connectus link shortener, you can manage click tracking data. To use it, you must have the option enabled, for which you need to send an email to <a href=\"mailto:contacto@connectus.cl\">contacto@connectus.cl</a></p>\n","_postman_id":"05c4d5d8-90c5-4005-aae1-f7bf9feb13e2","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}}},{"name":"Email","item":[{"name":"Retrieve the status from an Email by ID","id":"16545a53-dc7f-46c7-bb41-be03e1bca2c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://plataforma.connectus.la/api_v3/email/:id","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}},"urlObject":{"path":["api_v3","email",":id"],"host":["https://plataforma.connectus.la"],"query":[],"variable":[{"type":"any","value":"","key":"id"}]}},"response":[{"id":"94a781fb-8bcd-4d1f-af04-e1b0ae0bf593","name":"Status retrieved","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/email/status/:id","host":["{{baseUrl}}"],"path":["email","status",":id"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"<string>\"\n}"},{"id":"7c024b81-6099-452f-96bc-e1c894dc3919","name":"Bad request","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/email/status/:id","host":["{{baseUrl}}"],"path":["email","status",":id"],"variable":[{"key":"id","value":""}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"f7202be8-de30-4230-a2b7-07f839ce480c","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{baseUrl}}/email/status/:id","host":["{{baseUrl}}"],"path":["email","status",":id"],"variable":[{"key":"id","value":""}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"You must submit an API key\"\n}"}],"_postman_id":"16545a53-dc7f-46c7-bb41-be03e1bca2c2"},{"name":"Send OTP Email","id":"47121896-4174-469a-ae7b-1419ab4b922f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"dst_email\": \"eczec1@gmail.com\",\r\n  \"src_email\": \"eczec1@gmail.com\",\r\n  \"subject\": \"Asunto importante\",\r\n  \"email_content\": \"<h1>HTML Email</h1>\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://plataforma.connectus.la/api_v3/email/send_otp_email","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}},"urlObject":{"path":["api_v3","email","send_otp_email"],"host":["https://plataforma.connectus.la"],"query":[],"variable":[]}},"response":[{"id":"4cd625dd-bcac-408e-a717-695adf1179a2","name":"Email successfully sent","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"dst_email\": \"cliente@correo.com\",\r\n  \"src_email\": \"contacto@empresa.cl\",\r\n  \"subject\": \"Asunto importante\",\r\n  \"email_content\": \"El pedido X se encuentra en camino.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/email/send_email"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"<string>\"\n}"},{"id":"7a1fa883-5937-4929-9a23-f695108d84a2","name":"Bad request","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"dst_email\": \"cliente@correo.com\",\r\n  \"src_email\": \"contacto@empresa.cl\",\r\n  \"subject\": \"Asunto importante\",\r\n  \"email_content\": \"El pedido X se encuentra en camino.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/email/send_email"},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"0a55e1fa-78ce-4a66-b685-dfa68a3a33bf","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"dst_email\": \"cliente@correo.com\",\r\n  \"src_email\": \"contacto@empresa.cl\",\r\n  \"subject\": \"Asunto importante\",\r\n  \"email_content\": \"El pedido X se encuentra en camino.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/email/send_email"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"You must submit an API key\"\n}"}],"_postman_id":"47121896-4174-469a-ae7b-1419ab4b922f"},{"name":"Send Single Email","id":"fd293695-4f42-492a-888b-c879d950c599","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"id_client\": \"a1476f56\",\r\n  \"dst_email\": \"eczec1@gmail.com\",\r\n  \"src_email\": \"eczec1@gmail.com\",\r\n  \"subject\": \"Asunto importante\",\r\n  \"email_content\": \"<h1>HTML Email</h1>\",\r\n  \"id_delivery\": \"484ed6ca9e0341799ffa4bad4a1d907c\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://plataforma.connectus.la/api_v3/email/send_single","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}},"urlObject":{"path":["api_v3","email","send_single"],"host":["https://plataforma.connectus.la"],"query":[],"variable":[]}},"response":[{"id":"1c295b98-a6b6-4b6c-b07e-823670ab3d85","name":"Email successfully sent","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"dst_email\": \"cliente@correo.com\",\r\n  \"src_email\": \"contacto@empresa.cl\",\r\n  \"subject\": \"Asunto importante\",\r\n  \"email_content\": \"El pedido X se encuentra en camino.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/email/send_email"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"<string>\"\n}"},{"id":"76767f9f-014d-447b-a2f6-238d93d1eb4d","name":"Bad request","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"dst_email\": \"cliente@correo.com\",\r\n  \"src_email\": \"contacto@empresa.cl\",\r\n  \"subject\": \"Asunto importante\",\r\n  \"email_content\": \"El pedido X se encuentra en camino.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/email/send_email"},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"ed04fc93-cdbc-41a9-a9dc-7458d6efc8aa","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n  \"dst_email\": \"cliente@correo.com\",\r\n  \"src_email\": \"contacto@empresa.cl\",\r\n  \"subject\": \"Asunto importante\",\r\n  \"email_content\": \"El pedido X se encuentra en camino.\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/email/send_email"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"You must submit an API key\"\n}"}],"_postman_id":"fd293695-4f42-492a-888b-c879d950c599"},{"name":"Get current email balance of an user","id":"37353eb9-9541-481c-9d6c-0dd3b399e158","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://plataforma.connectus.la/api_v3/email/balance","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}},"urlObject":{"path":["api_v3","email","balance"],"host":["https://plataforma.connectus.la"],"query":[],"variable":[]}},"response":[{"id":"50d8b658-0a6d-4ede-99e5-b12fea339b2e","name":"Balance retrieved","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"{{baseUrl}}/email/balance"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\r\n    \"balance\": 2312\r\n}"},{"id":"753670d9-e805-4762-b98c-0f27de430d96","name":"Bad request","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"{{baseUrl}}/email/balance"},"status":"Bad Request","code":400,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"373eb296-302a-4f13-bec8-2fb196a59abc","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"{{baseUrl}}/email/balance"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"You must submit an API key\"\n}"}],"_postman_id":"37353eb9-9541-481c-9d6c-0dd3b399e158"}],"id":"7e88e527-60f1-4e72-807b-a29cfa298852","description":"<p>Send emails to different addresses. To use the API, you must have an assigned origin email, which can be done through the platform <a href=\"https://plataforma.connectus.la\">https://plataforma.connectus.la</a> or by writing to <a href=\"mailto:contacto@connectus.cl\">contacto@connectus.cl</a></p>\n<p>Optional parameters:</p>\n<p>• id_delivery: Unique delivery ID. If this parameter is present, the email will be assigned to an already created delivery.</p>\n<p>• It cannot be a delivery that has already been executed.</p>\n<p>• The delivery parameter must be id_product=2.</p>\n<p>• id_client: Unique ID of the sub-client to whom the email sending should be charged.</p>\n","_postman_id":"7e88e527-60f1-4e72-807b-a29cfa298852","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}}},{"name":"Whatsapp","item":[{"name":"send_whatsapp","id":"e900eebc-8356-4627-b686-6f769ca63fa4","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"src_number\": \"56999944837\",\n    \"dst_number\": \"56987688060\",\n    \"whatsapp_content\": \"Test\",\n    \"id_client\": \"a1476f56\",\n    \"id_delivery\": \"484ed6ca9e0341799ffa4bad4a1d907c\"\n}","options":{"raw":{"language":"json"}}},"url":"https://plataforma.connectus.la/api_v3/whatsapp/send_message","description":"<p>This API endpoint is used to send a WhatsApp message. The request should be sent via an HTTP POST method to the specified URL. The request body should include the source number, destination number, and the content of the WhatsApp message.</p>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<ul>\n<li><code>src_number</code>: The source number from which the WhatsApp message will be sent.</li>\n<li><code>dst_number</code>: The destination number to which the WhatsApp message will be sent.</li>\n<li><code>whatsapp_content</code>: The content of the WhatsApp message.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The API returns a status code of 401 for unauthorized access along with an error message in the response body.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}},"urlObject":{"path":["api_v3","whatsapp","send_message"],"host":["https://plataforma.connectus.la"],"query":[],"variable":[]}},"response":[],"_postman_id":"e900eebc-8356-4627-b686-6f769ca63fa4"},{"name":"status","id":"a82420fd-773b-4dcf-9b67-74e6ad501584","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://plataforma.connectus.la/api_v3/whatsapp/status?message_id=0a3b773f79cf4f72842ed9818c89c523","description":"<p>This API endpoint allows you to send a WhatsApp message.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><code>message_id</code> (string, required): The ID of the message to be sent.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li>Status: 401</li>\n<li><code>error</code> (string): Describes the error encountered during the request.</li>\n</ul>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}},"urlObject":{"path":["api_v3","whatsapp","status"],"host":["https://plataforma.connectus.la"],"query":[{"key":"message_id","value":"0a3b773f79cf4f72842ed9818c89c523"}],"variable":[]}},"response":[],"_postman_id":"a82420fd-773b-4dcf-9b67-74e6ad501584"},{"name":"messages","id":"01987e52-f9dc-4716-bd9e-20f59070aed2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://plataforma.connectus.la/api_v3/whatsapp/messages?src_number=56999944837&dst_number=56987688060","description":"<p>This API endpoint allows you to send a WhatsApp message.</p>\n<h3 id=\"request-body\">Request Body</h3>\n<ul>\n<li><code>message_id</code> (string, required): The ID of the message to be sent.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<ul>\n<li>Status: 401</li>\n<li><code>error</code> (string): Describes the error encountered during the request.</li>\n</ul>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}},"urlObject":{"path":["api_v3","whatsapp","messages"],"host":["https://plataforma.connectus.la"],"query":[{"key":"src_number","value":"56999944837"},{"key":"dst_number","value":"56987688060"}],"variable":[]}},"response":[],"_postman_id":"01987e52-f9dc-4716-bd9e-20f59070aed2"}],"id":"9fe4f191-dbe9-45ea-bcae-bf0c8f1f6ad1","description":"<p>Send WhatsApp messages to different addresses. To use the API, you must have an assigned origin number; for this, write to <a href=\"https://mailto:contacto@connectus.cl\">contacto@connectus.cl</a>.</p>\n<p>Optional parameters:</p>\n<p>• id_delivery: Unique delivery ID. If this parameter is present, the WhatsApp message will be assigned to an already created delivery.</p>\n<p>• It cannot be a delivery that has already been executed.</p>\n<p>• The delivery parameter must be id_product=3.</p>\n<p>• id_client: Unique ID of the sub-client to whom the WhatsApp message sending should be charged.</p>\n","_postman_id":"9fe4f191-dbe9-45ea-bcae-bf0c8f1f6ad1","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}}},{"name":"Account","item":[{"name":"Retrieve account info","id":"9809aff0-a7a2-447b-bf72-b74850960d15","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://plataforma.connectus.la/api_v3/account","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}},"urlObject":{"path":["api_v3","account"],"host":["https://plataforma.connectus.la"],"query":[],"variable":[]}},"response":[{"id":"22c2e80a-9abb-447e-8502-7027f6cadd9d","name":"Account retrieved","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"{{baseUrl}}/account/84f71863b7f64738aabc97afed7cd54d"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"id_account\": \"84f71863b7f64738aabc97afed7cd54d\",\n    \"name\": \"empresa SpA\",\n    \"country\": \"Chile\",\n    \"phone\": 56990324203,\n    \"email\": \"contacto@empresa.cl\",\n    \"sms_status_hook_url\": \"https://www.empresa.cl/endpoints_sms/status\",\n    \"sms_incoming_hook_url\": \"https://www.empresa.cl/endpoints_sms/status\",\n    \"purchases\": [\n        {\n            \"status\": \"COMPLETED\",\n            \"payment_method\": \"PAYPAL\",\n            \"country\": \"Chile\",\n            \"price\": 1621365,\n            \"price_with_tax\": 2013727,\n            \"datetime\": \"29-05-19 15:32:08\",\n            \"currency\": \"CLP\",\n            \"id_purchase\": \"9b625dac70654fb58f1250702aab4355\"\n        },\n        {\n            \"status\": \"COMPLETED\",\n            \"payment_method\": \"TRANSFER\",\n            \"country\": \"Chile\",\n            \"price\": 1362492,\n            \"price_with_tax\": 11900,\n            \"datetime\": \"23-09-19 15:01:55\",\n            \"currency\": \"CLP\",\n            \"id_purchase\": \"7145a64a41a3438f9362e6d02f34201c\"\n        },\n        {\n            \"status\": \"COMPLETED\",\n            \"payment_method\": \"KHIPU\",\n            \"country\": \"Chile\",\n            \"price\": 9613860,\n            \"price_with_tax\": 11440493,\n            \"datetime\": \"24-11-19 12:25:30\",\n            \"currency\": \"CLP\",\n            \"id_purchase\": \"f2db5749e38f425f93c6110b36e23a60\"\n        }\n    ],\n    \"users\": [\n        {\n            \"name\": \"Pedro Apellido\",\n            \"type\": \"ADMIN\",\n            \"phone\": 56990324203,\n            \"email\": \"pedro@empresa.cl\",\n            \"banned\": false\n        },\n        {\n            \"name\": \"Juan Apellido\",\n            \"type\": \"USER\",\n            \"phone\": null,\n            \"email\": \"juan@empresa.cl\",\n            \"banned\": false\n        },\n        {\n            \"name\": \"Diego Apellido\",\n            \"type\": \"USER\",\n            \"phone\": null,\n            \"email\": \"diego@empresa.cl\",\n            \"banned\": false\n        }\n    ],\n    \"src_numbers\": [\n        {\n            \"src_number\": 56442340006,\n            \"is_default\": false,\n            \"country\": \"Chile\"\n        },\n        {\n            \"src_number\": 54442340601,\n            \"is_default\": true,\n            \"country\": \"México\"\n        },\n        {\n            \"src_number\": 56442341000,\n            \"is_default\": true,\n            \"country\": \"Chile\"\n        }\n    ],\n    \"src_emails\": [\n        {\n            \"src_email\": \"contacto@empresa.cl\",\n            \"is_default\": true,\n            \"is_verified\": true\n        },\n        {\n            \"src_email\": \"finanzas@empresa.cl\",\n            \"is_default\": false,\n            \"is_verified\": true\n        }\n    ]\n}"},{"id":"15fd7bae-5e77-4970-b3ee-c95ebe8df574","name":"Unauthorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{baseUrl}}/account/:id","host":["{{baseUrl}}"],"path":["account",":id"],"variable":[{"key":"id","value":"<string>","description":"(Requied)"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"9809aff0-a7a2-447b-bf72-b74850960d15"}],"id":"f1e9e2a9-ea82-499b-8b31-ee264e48205b","description":"<p>Gets the information of the associated account.</p>\n","_postman_id":"f1e9e2a9-ea82-499b-8b31-ee264e48205b","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}}},{"name":"Delivery","item":[{"name":"Retrieve delivery info","id":"0db5ef51-9036-41cc-a488-71ed70ff2f5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://plataforma.connectus.la/api_v3/deliveries/e4a1dbb9e10a4f0abf058c42984980d4","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}},"urlObject":{"path":["api_v3","deliveries","e4a1dbb9e10a4f0abf058c42984980d4"],"host":["https://plataforma.connectus.la"],"query":[],"variable":[]}},"response":[],"_postman_id":"0db5ef51-9036-41cc-a488-71ed70ff2f5a"},{"name":"Create delivery","id":"9ad35e2b-1c13-41dc-8936-b8b297341018","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"delivery\":{\n        \"name\": \"test-api-email\",\n        \"deliver_at\": \"2024-07-20 12:00:00\",\n        \"id_product\": 1\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://plataforma.connectus.la/api_v3/deliveries","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}},"urlObject":{"path":["api_v3","deliveries"],"host":["https://plataforma.connectus.la"],"query":[],"variable":[]}},"response":[],"_postman_id":"9ad35e2b-1c13-41dc-8936-b8b297341018"},{"name":"Update delivery","id":"b3ed2723-68a9-45cb-882f-d9ba52b84617","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"delivery\":{\n        \"name\": \"test\",\n        \"deliver_at\": \"2024-06-20 14:00:00\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://plataforma.connectus.la/api_v3/deliveries/33d0b01af7484f94ae23c24c63282053","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}},"urlObject":{"path":["api_v3","deliveries","33d0b01af7484f94ae23c24c63282053"],"host":["https://plataforma.connectus.la"],"query":[],"variable":[]}},"response":[],"_postman_id":"b3ed2723-68a9-45cb-882f-d9ba52b84617"}],"id":"4614ee9e-5b82-473a-a2ac-3cae398bd86a","description":"<p>Generate a delivery. This can be scheduled for any time in the future. The id_product parameter defines the type of product for which the delivery is created.</p>\n<p>1: SMS</p>\n<p>2: WhatsApp</p>\n<p>3: Email</p>\n<p>It returns an ID which can be used in the SMS, Email, and WhatsApp endpoints.</p>\n","_postman_id":"4614ee9e-5b82-473a-a2ac-3cae398bd86a","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}}},{"name":"Whatsapp QR","item":[{"name":"Auth","item":[{"name":"Obtener QR","id":"47ef3e9c-dc46-46d4-b62e-697874d24be2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearer_token_whatsappqr}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://whatsappqr.connectus.la/qr","urlObject":{"protocol":"https","path":["qr"],"host":["whatsappqr","connectus","la"],"query":[],"variable":[]}},"response":[],"_postman_id":"47ef3e9c-dc46-46d4-b62e-697874d24be2"},{"name":"Ver el estado de autenticación del usuario","id":"ac7244bb-b812-418d-b527-0102348d6914","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearer_token_whatsappqr}}"}]},"isInherited":false},"method":"GET","header":[],"url":"https://whatsappqr.connectus.la/status","urlObject":{"protocol":"https","path":["status"],"host":["whatsappqr","connectus","la"],"query":[],"variable":[]}},"response":[],"_postman_id":"ac7244bb-b812-418d-b527-0102348d6914"}],"id":"d84fe642-5a35-4daf-a2f4-96a8d62c53e0","description":"<p>The <code>/me</code> endpoints let you manage information about the authenticated user.</p>\n","_postman_id":"d84fe642-5a35-4daf-a2f4-96a8d62c53e0","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}}},{"name":"Groups","item":[{"name":"Crear grupo","id":"67794a01-b920-4b7c-93dd-87b39cdfd00c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearer_token_whatsappqr}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"prueba con whatsapp qr\",\r\n    \"numbers\": [\"584141924112\", \"584148566479\"],\r\n    \"options\": {}\r\n}","options":{"raw":{"language":"json"}}},"url":"https://whatsappqr.connectus.la/create-group","urlObject":{"protocol":"https","path":["create-group"],"host":["whatsappqr","connectus","la"],"query":[],"variable":[]}},"response":[],"_postman_id":"67794a01-b920-4b7c-93dd-87b39cdfd00c"},{"name":"Añadir participantes a un grupo","id":"2bcf6fbc-78a3-4142-8d2e-8263dbd8969c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearer_token_whatsappqr}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"groupName\": \"prueba con whatsapp qr\",\r\n    \"numbers\": [\"34624477715\", \"584148580061\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://whatsappqr.connectus.la/add-participants","urlObject":{"protocol":"https","path":["add-participants"],"host":["whatsappqr","connectus","la"],"query":[],"variable":[]}},"response":[],"_postman_id":"2bcf6fbc-78a3-4142-8d2e-8263dbd8969c"},{"name":"Generar enlace de invitación a un grupo","id":"98593b24-832c-4907-bf47-78d786d8725c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearer_token_whatsappqr}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"groupName\": \"prueba con whatsapp qr\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://whatsappqr.connectus.la/generate-invite-link","urlObject":{"protocol":"https","path":["generate-invite-link"],"host":["whatsappqr","connectus","la"],"query":[],"variable":[]}},"response":[],"_postman_id":"98593b24-832c-4907-bf47-78d786d8725c"},{"name":"Eliminar participantes de un grupo","id":"42b75d6e-9938-4b16-88e0-23a6a4cf0357","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearer_token_whatsappqr}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"groupName\": \"prueba con whatsapp qr\",\r\n    \"numbers\": [\"34624477715\", \"584148580061\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://whatsappqr.connectus.la/remove-participants","urlObject":{"protocol":"https","path":["remove-participants"],"host":["whatsappqr","connectus","la"],"query":[],"variable":[]}},"response":[],"_postman_id":"42b75d6e-9938-4b16-88e0-23a6a4cf0357"},{"name":"Dar permisos de administrador a participantes","id":"45919216-a44c-47a4-8361-feee9701ae75","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearer_token_whatsappqr}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"groupName\": \"prueba con whatsapp qr\",\r\n    \"numbers\": [\"584141924112\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://whatsappqr.connectus.la/make-group-admins","urlObject":{"protocol":"https","path":["make-group-admins"],"host":["whatsappqr","connectus","la"],"query":[],"variable":[]}},"response":[],"_postman_id":"45919216-a44c-47a4-8361-feee9701ae75"},{"name":"Quitar permisos de administrador a participantes","id":"a7ffa31e-1d28-4ac0-a04f-ad885a9b0edd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearer_token_whatsappqr}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"groupName\": \"prueba con whatsapp qr\",\r\n    \"numbers\": [\"584141924112\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://whatsappqr.connectus.la/demote-group-admins","urlObject":{"protocol":"https","path":["demote-group-admins"],"host":["whatsappqr","connectus","la"],"query":[],"variable":[]}},"response":[],"_postman_id":"a7ffa31e-1d28-4ac0-a04f-ad885a9b0edd"},{"name":"Cambiar información de un grupo","id":"cda11d77-929f-4022-a266-12daf9e3edcf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearer_token_whatsappqr}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"groupName\": \"prueba con whatsapp qr\",\r\n    \"newSubject\": \"Nuevo nombre de grupo\",\r\n    \"newDescription\": \"Nueva descripcion de grupo\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://whatsappqr.connectus.la/update-group-info","urlObject":{"protocol":"https","path":["update-group-info"],"host":["whatsappqr","connectus","la"],"query":[],"variable":[]}},"response":[],"_postman_id":"cda11d77-929f-4022-a266-12daf9e3edcf"},{"name":"Enviar mensaje a un grupo","id":"57dd569e-aac0-4e1d-a968-4fde1d8f6d62","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearer_token_whatsappqr}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"groupName\": \"Nuevo nombre de grupo\",\r\n    \"message\": \"Mensaje de prueba\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://whatsappqr.connectus.la/send-message-to-group","urlObject":{"protocol":"https","path":["send-message-to-group"],"host":["whatsappqr","connectus","la"],"query":[],"variable":[]}},"response":[],"_postman_id":"57dd569e-aac0-4e1d-a968-4fde1d8f6d62"},{"name":"Obtener últimos mensajes de un grupo","id":"3fd69cbd-c2d8-4590-8b31-26c8b3254236","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearer_token_whatsappqr}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"groupName\": \"Nuevo nombre de grupo\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://whatsappqr.connectus.la/get-last-group-messages","urlObject":{"protocol":"https","path":["get-last-group-messages"],"host":["whatsappqr","connectus","la"],"query":[],"variable":[]}},"response":[],"_postman_id":"3fd69cbd-c2d8-4590-8b31-26c8b3254236"}],"id":"690050c5-89eb-47ed-be3e-d8bebd7029c7","_postman_id":"690050c5-89eb-47ed-be3e-d8bebd7029c7","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}}},{"name":"Messages","item":[{"name":"Enviar mensaje a un número","id":"a9d61cff-bff9-4ae4-8481-481dad2ee142","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearer_token_whatsappqr}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"number\": \"584141992998\",\r\n    \"message\": \"Hola desde la API de Connectus\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://whatsappqr.connectus.la/send","urlObject":{"protocol":"https","path":["send"],"host":["whatsappqr","connectus","la"],"query":[],"variable":[]}},"response":[],"_postman_id":"a9d61cff-bff9-4ae4-8481-481dad2ee142"},{"name":"Obtener últimos mensajes de un número","id":"d1de41f9-ee93-4740-8380-97faebe2b8fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{bearer_token_whatsappqr}}"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n    \"number\": \"584141992998\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://whatsappqr.connectus.la/get-last-messages","urlObject":{"protocol":"https","path":["get-last-messages"],"host":["whatsappqr","connectus","la"],"query":[],"variable":[]}},"response":[],"_postman_id":"d1de41f9-ee93-4740-8380-97faebe2b8fb"}],"id":"1fac135e-a973-4cd2-94ea-f8eae131b831","_postman_id":"1fac135e-a973-4cd2-94ea-f8eae131b831","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}}}],"id":"35d4631a-29db-4228-8743-f218c8551ca9","_postman_id":"35d4631a-29db-4228-8743-f218c8551ca9","description":"","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]},"isInherited":true,"source":{"_postman_id":"8a430d36-6278-4665-be24-a114b3a7a698","id":"8a430d36-6278-4665-be24-a114b3a7a698","name":"Connectus API Service","type":"collection"}}}],"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{api_user}}"},{"key":"password","value":"{{api_key}}"}]}},"event":[{"listen":"prerequest","script":{"id":"3205f384-539c-4fe2-83cb-1cfd7a5469b9","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"d91a177a-d951-4110-863b-c431932b2d42","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"BaseUrl","value":"https://plataforma.connectus.la"}]}