{"info":{"_postman_id":"c3bb0770-9075-4dcc-b4b8-a5b48a43a891","name":"API - Track CXM","description":"<html><head></head><body><img src=\"https://content.pstmn.io/81772cd2-f2b9-4d13-bf59-db43e81e3395/TG9nb19UcmFja0NYTV9Db3ItMS5wbmc=\" alt=\"\" height=\"122\" width=\"225\"></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"2979833","collectionId":"c3bb0770-9075-4dcc-b4b8-a5b48a43a891","publishedId":"2sBXijLYEt","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-03-24T20:58:41.000Z"},"item":[{"name":"Documentação (pt-BR)","item":[{"name":"Listar pesquisas da Track CXM","id":"6ff3fd13-6256-48f5-b4b2-7efb2c54ba36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/surveys","description":"<p>Em algumas solicitações na <strong>API</strong> <strong>Track</strong> <strong>CXM</strong>, você será perguntado a qual pesquisa se refere à solicitação. Este endpoint lista todas as pesquisas CXM para uma determinada organização.</p>\n<p>Parâmetros Permitidos:</p>\n<ul>\n<li><p><strong>include_questions</strong>:</p>\n<ul>\n<li><p><strong>True</strong>: Exibe as informações detalhadas das perguntas das pesquisas da <strong>Track CXM</strong>.</p>\n</li>\n<li><p><strong>False</strong>: Não exibe as informações detalhadas das perguntas das pesquisas da <strong>Track CXM.</strong></p>\n</li>\n</ul>\n</li>\n<li><p><strong>limit</strong>:</p>\n<ul>\n<li>Quantidade de registros de pesqusias da <strong>Track CXM</strong> por página.</li>\n</ul>\n</li>\n<li><p><strong>page</strong>:</p>\n<ul>\n<li>Número da página a ser exibida na paginação das pesquisas da <strong>Track CXM</strong>.</li>\n</ul>\n</li>\n</ul>\n<h6 id=\"response-json\">Response json</h6>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"surveys\": [ //Lista de pesquisas\n            {\n                \"uuid\": \"...\", //Id\n                \"name\": \"...\", //Nome da pesquisa\n                \"public_hash\": \"...\" //Identificador(hash) da pesquisa\n                \"questions\": [\n                    {\n                        \"title\": \"...\", // Titulo da pergunta\n                        \"type\": \"...\", // Tipo da pergunta\n                        \"public_hash\": \"...\", // Public Hash da pergunta \n                        \"is_obligatory\": true,\n                        \"comments_enabled\": true,\n                        \"accepted_answers\": \"...\",\n                        \"composite_metrics\": [\n                            {\n                               \"title\": \"Categoria 1\",\n                               \"type\": \"like_dislike\",\n                               \"public_hash\": \"ABCD\",\n                               \"accepted_answers\": {\n                                         \"like\": 1,\n                                         \"dislike\": 0\n                                },\n                              }\n                          ]\n                    },\n                    {...}\n            },\n            {...}\n        ]\n    }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6652cff6-2332-4209-b2c2-865f3a087923","id":"6652cff6-2332-4209-b2c2-865f3a087923","name":"Documentação (pt-BR)","type":"folder"}},"urlObject":{"path":["v1","organizations","{{organization_uuid}}","surveys"],"host":["{{url_api}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6ff3fd13-6256-48f5-b4b2-7efb2c54ba36"},{"name":"Inserir respostas na Track CXM","id":"f8e3f91c-f3f9-4424-9b90-7b7895fa1608","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"customer\": {\n            \"email\": \"...\",\n            \"name\": \"...\",\n            \"identificador\": \"...\",\n            \"atributos_de_cliente\": \"...\" // adicionar atributos de cliente\n        },\n        \"interaction\":{\n            \"atributo_de_interacao_1\": \"...\",\n            \"atributo_de_interacao_2\": \"...\"  // adicionar atributos de interação          \n        },\n        \"distribution_channel\": \"11\", //Canal de Distribuição E-mail\n        \"response_time\": 11050, //Tempo de Resposta (Opcional)\n        \"answered_at\": 1714075101, //Data/Hora da Resposta no formato timestamp | A data de envio é considerada a data de importação das respostas\n        \"questions\": [\n                        {\n                            \"public_hash\": \"cuWI\", //id da pergunta\n                            \"answer\": {\n                                \"response\": 8,//nota do usuário\n                                \"comment\": \"Muito bom\"//comentário da pergunta\n                            }\n                        },\n                        {\n                            \"public_hash\": \"usUN\", //id da pergunta\n                            \"answer\": {\n                                \"response\": 4\n                            }\n                        },\n                        {\n                            \"public_hash\": \"bHjJ\", //id da pergunta\n                            \"answer\": {\n                                \"response\": 1\n                            }\n                        },\n                        {\n                            \"public_hash\": \"lTqq\",\n                            \"answer\":{\n                                \"comment\": \"Achei pessimo\"\n                            }\n                        }\n                    ]\n    }\n\n]","options":{"raw":{"language":"json"}}},"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/surveys/{{survey_uuid}}/answers","description":"<p>Para obter o survey_uuid utilize o endpoint de Listar Pesquisas da <strong>Track CXM</strong> e copie o campo uuid.</p>\n<p>Esse endpoint permite que você realize a inserção de respostas na plataforma da <strong>Track CXM</strong> através da <strong>API Track CXM</strong>. O Body deve seguir o modelo abaixo:</p>\n<h6 id=\"response-json\">Response json</h6>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"customer\": {\n            \"email\": \"...\",\n            \"name\": \"...\",\n            \"identificador\": \"...\" // adicionar o valor do atributo identificador da conta, ex: Para caso de CPF, adicionar o dado de CPF do cliente (O atributo identificador fica visível na página de Organização da Track CXM)\n         },\n        \"interaction\":{\n            \"atributo_de_interacao_1\": \"...\",\n            \"atributo_de_interacao_2\": \"...\"  // adicionar atributos de interação          \n        },\n        \"distribution_channel\": \"11\", //Canal de Distribuição E-mail\n        \"response_time\": 11050, //Tempo de Resposta (Opcional) \n        \"answered_at\": 1714075101, //Data/Hora da Resposta no formato timestamp  | A data de envio é considerada a data de importação das respostas\n        \"questions\": [\n                        {\n                            \"public_hash\": \"cuWI\", //id da pergunta\n                            \"answer\": {\n                                \"response\": 8,//nota do usuário\n                                \"comment\": \"Muito bom\"//comentário da pergunta\n                            }\n                        },\n                        {\n                            \"public_hash\": \"usUN\", //id da pergunta\n                            \"answer\": {\n                                \"response\": 4\n                            }\n                        },\n                        {\n                            \"public_hash\": \"bHjJ\", //id da pergunta\n                            \"answer\": {\n                                \"response\": 1\n                            }\n                        },\n                        {\n                            \"public_hash\": \"lTqq\",\n                            \"answer\":{\n                                \"comment\": \"Achei pessimo\"\n                            }\n                        }\n                    ]\n    }\n]\n\n</code></pre>\n<ul>\n<li><p><strong>Para obter o public_hash da pergunta, utilizei o endpoint Listar Pesquisas da CXM, passando o parâmetro include_questions=true.</strong></p>\n</li>\n<li><p><strong>Caso a pergunta seja de like e dislike, basta passar os valores 1 (like) ou 0 (dislike). Exemplo: “response” = 1. O mesmo vale para perguntas da métrica composta.</strong></p>\n</li>\n<li><p>No campo <strong>distribution_channel</strong> somente é aceito o valor 11.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6652cff6-2332-4209-b2c2-865f3a087923","id":"6652cff6-2332-4209-b2c2-865f3a087923","name":"Documentação (pt-BR)","type":"folder"}},"urlObject":{"path":["v1","organizations","{{organization_uuid}}","surveys","{{survey_uuid}}","answers"],"host":["{{url_api}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f8e3f91c-f3f9-4424-9b90-7b7895fa1608"},{"name":"Listar status de distribuições da Track CXM","id":"38a3b0f4-20a2-442c-9f59-b7ffbba68db3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/distributions/{{distribution_uuid}}/dispatch_status?history=false&interaction_attributes=false&customer_attributes=false","description":"<p>Este endpoint lista os status de cada cliente participante de uma distribuição da <strong>Track CXM</strong> via E-mail, SMS Link ou WhatsApp.</p>\n<h3 id=\"endpoint\">Endpoint:</h3>\n<p><code>GET /v1/organizações/{{organization_uuid}}/distribuições/{{distribution_uuid}}/status_de_envio?historico=false&amp;interactipn_attribyutes=false&amp;customer_attributes=false</code></p>\n<h3 id=\"parâmetros\">Parâmetros:</h3>\n<p><code>distribution_uuid</code> (String): Identificador único da distribuição.</p>\n<h3 id=\"parâmetros-de-consulta\">Parâmetros de Consulta:</h3>\n<p><code>history</code> (Booleano): Especifica se deve incluir o histórico de mudanças de status.</p>\n<ul>\n<li><p><code>false</code>: Apenas o último status de cada cliente dessa distribuição será listado.</p>\n</li>\n<li><p><code>true</code>: Todos os status de cada cliente dessa distribuição serão listados, ordenados por status.</p>\n</li>\n</ul>\n<p><code>interaction_attributes</code> (Booleano): O endpoint pode fornecer os dados com ou sem atributos de interação.</p>\n<ul>\n<li><p><code>true</code>: Lista todos os atributos da interação.</p>\n</li>\n<li><p><code>false</code>: Não lista os atributos da interação.</p>\n</li>\n</ul>\n<p><code>customer_attributes</code> (Booleano): O endpoint pode fornecer os dados com ou sem atributos de cliente.</p>\n<ul>\n<li><p><code>true</code>: Lista todos os atributos do cliente.</p>\n</li>\n<li><p><code>false</code>: Não lista os atributos do cliente.</p>\n</li>\n</ul>\n<p><code>page</code> (Inteiro [Opcional]): O endpoint pode fornecer os dados da página solicitada.</p>\n<ul>\n<li><p>Quando esse parametro é informado no endpoint, a resposta vem com a quantidade de registros e paginas total, de acordo com o limit informado</p>\n</li>\n<li><p>Quando esse parâmetro <strong>não é informado ou é informado o valor 0</strong> no endpoint, a API retorna a listagem de todos os registros limitados por 50 ou pela quantidade informada no parâmetro <code>limit</code></p>\n</li>\n<li><p>Quando o limit não é informado, mas páge sim, o valor do limit padrão é 50</p>\n</li>\n</ul>\n<p><code>limit</code> (Inteiro [Opcional]): O endpoint pode fornecer a quantidade de registros de acordo com o número informado no parametro limit</p>\n<ul>\n<li><p>Quando esse parametro é informado no endpoint, a resposta vem com a quantidade de registros e paginas total, de acordo com o limit informado</p>\n</li>\n<li><p>Valor máximo: 100</p>\n</li>\n<li><p>Quando o page não é informado, mas o limit sim, o valor padrão do page é 1</p>\n</li>\n</ul>\n<p><strong>Importante</strong>: Caso o endpoint seja utilizado para os canais Link ou QR Code, informaremos apenas o status do sucesso de criação da distribuição, uma vez que não existem envios pela plataforma <strong>Track</strong> <strong>CXM</strong>, pois são dependentes do usuário.</p>\n<p>Status retornados no endpoint para distribuições via E-mail, SMS Link ou WhatsApp:</p>\n<ul>\n<li><p>Enviado</p>\n</li>\n<li><p>Recebido</p>\n</li>\n<li><p>Aberta</p>\n</li>\n<li><p>Clicada</p>\n</li>\n<li><p>Erro - Dropped</p>\n</li>\n<li><p>Erro - Bounce</p>\n</li>\n<li><p>Erro - Blocked</p>\n</li>\n</ul>\n<p><strong>Response JSON para history=false</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": [\n        {\n            \"name\": \"name\",\n            \"phone\": \"1111111111\",\n            \"email\": \"email@email.com\",\n            \"date\": \"05/01/2023 às 11:08\",\n            \"status\": \"Enviado\"\n        }\n    ],\n    \"success\": 1,\n    \"message\": \"\"\n}\n\n</code></pre>\n<h6 id=\"response-json-para-historytrue\"><strong>Response json para history=true</strong></h6>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": [\n        {\n            \"name\": \"name\",\n            \"phone\": \"1111111111\",\n            \"email\": \"email@email.com\",\n            \"date\": \"05/01/2023 às 11:08\",\n            “status_1“: \"Enviado\",\n            “date_2“: \"20/01/2023 às 09:27\",\n            “status_2“: \"Recebido\",\n            “date_3“: “20/01/2023 às 09:48\",\n            \"status_3“: \"Aberto\",\n            “date_4“: “20/01/2023 às 09:55\",\n            “status_4“: \"Clicado\",\n        }\n    ],\n    \"success\": 1,\n    \"message\": \"\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6652cff6-2332-4209-b2c2-865f3a087923","id":"6652cff6-2332-4209-b2c2-865f3a087923","name":"Documentação (pt-BR)","type":"folder"}},"urlObject":{"path":["v1","organizations","{{organization_uuid}}","distributions","{{distribution_uuid}}","dispatch_status"],"host":["{{url_api}}"],"query":[{"key":"history","value":"false"},{"key":"interaction_attributes","value":"false"},{"key":"customer_attributes","value":"false"}],"variable":[]}},"response":[],"_postman_id":"38a3b0f4-20a2-442c-9f59-b7ffbba68db3"},{"name":"Listar Atributos da Track CXM","id":"d2c4aa8b-6c96-4269-86df-31d52b782cb4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/attributes","description":"<p>Para criar uma nova distribuição na <strong>Track CXM</strong>, será solicitada uma lista contendo os atributos dos clientes. Neste endpoint, você pode listar todos os atributos da organização.</p>\n<p><strong>Parâmetros Permitidos:</strong></p>\n<ul>\n<li><strong>organization_uuid</strong>: Identificador único da organização cujos atributos deseja listar.</li>\n</ul>\n<h6 id=\"response-json\">Response json</h6>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"atributtes\": [ //Lista de atributos\n            {\n                \"uuid\": \"...\", //Identificador\n                \"name\": \"...\" //Nome do atributo      \n            },\n            {...}\n        ],\n    }\n}\n\n</code></pre>\n<p>Esta estrutura retorna todos os atributos existentes na plataforma <strong>Track CXM</strong>, para uma organização</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6652cff6-2332-4209-b2c2-865f3a087923","id":"6652cff6-2332-4209-b2c2-865f3a087923","name":"Documentação (pt-BR)","type":"folder"}},"urlObject":{"path":["v1","organizations","{{organization_uuid}}","attributes"],"host":["{{url_api}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"d2c4aa8b-6c96-4269-86df-31d52b782cb4"},{"name":"Listar Templates da Track CXM","id":"4215399b-474a-451a-b989-d0572fe88482","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/templates","description":"<p>Para criar uma nova distribuição na <strong>Track CXM</strong>, você poderá informar os templates. Neste endpoint, você pode listar todos os templates da organização.</p>\n<p><strong>Parâmetros Permitidos:</strong></p>\n<ul>\n<li><strong>organization_uuid</strong>: Identificador único da organização cujos templates deseja listar.</li>\n</ul>\n<h6 id=\"response-json\">Response json</h6>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"templates\": [ //Lista de templates\n            {\n                \"type\": \"...\",//thanks | expired | invite | reminder\n                \"name\": \"...\", //Template nome\n                \"public_hash\": \"...\"//Template Hash   \n            },\n            {...}\n        ],\n    }\n}\n\n</code></pre>\n<p>Esta estrutura retorna todos os templates disponíveis para a organização, indicando o tipo de cada template, facilitando a seleção e utilização dos mesmos na criação de novas distribuições na plataforma <strong>Track CXM</strong>.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6652cff6-2332-4209-b2c2-865f3a087923","id":"6652cff6-2332-4209-b2c2-865f3a087923","name":"Documentação (pt-BR)","type":"folder"}},"urlObject":{"path":["v1","organizations","{{organization_uuid}}","templates"],"host":["{{url_api}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4215399b-474a-451a-b989-d0572fe88482"},{"name":"Listar Integrações da Track CXM","id":"befc5125-944f-46a2-bf40-d26fdcfb821f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/integrations","description":"<p>Para recuperar todas as integrações de uma organizaço na plataforma <strong>Track CXM</strong>, você pode utilizar o seguinte endpoint. Este endpoint lista todas as integrações onfiguradas para uma determinada organização.</p>\n<p><strong>Parâmetros Permitidos:</strong></p>\n<ul>\n<li><strong>organization_uuid</strong>: Identificador único da organização cujas integrações de WhatsApp deseja listar.</li>\n</ul>\n<h6 id=\"response-json\">Response json</h6>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": [\n        {\n            \"uuid\": \"uuid_integracao\",\n            \"name\": \"nome_integracao\",\n            \"phone\": \"telefone_integracao\",\n            \"hash\": \"public_hash_integracao\"\n        }\n    ],\n    \"success\": 1,\n    \"message\": \"\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6652cff6-2332-4209-b2c2-865f3a087923","id":"6652cff6-2332-4209-b2c2-865f3a087923","name":"Documentação (pt-BR)","type":"folder"}},"urlObject":{"path":["v1","organizations","{{organization_uuid}}","integrations"],"host":["{{url_api}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"befc5125-944f-46a2-bf40-d26fdcfb821f"},{"name":"Listar Interações da Track CXM","id":"0ef5243c-f3d2-414e-8e51-2956b5d2f78a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/interactions?start=2024-08-01&end=2025-08-30","description":"<p>Este endpoint permite recuperar as notas dos usuários na plataforma <strong>Track CXM</strong> em formato JSON. A API é atualizada apenas no final do dia. Isso significa que os dados mais recentes disponíveis nela são os do dia anterior. Para garantir que você sempre tenha acesso aos dados mais atualizados, configure a data de consulta como d-1.</p>\n<p><strong>Exemplo</strong>: Se hoje for dia 14 de março de 2024, você deve configurar a data final de consulta (end) como 13 de março de 2024.</p>\n<p><strong>Parâmetros Permitidos:</strong></p>\n<ul>\n<li><p><strong>answer_status</strong>:</p>\n<ul>\n<li><p><strong>1</strong>: Interações Respondidas</p>\n</li>\n<li><p><strong>2</strong>: Parciais</p>\n</li>\n<li><p><strong>3</strong>: Completo e Parcial</p>\n</li>\n</ul>\n</li>\n<li><p><strong>start</strong> e <strong>end</strong> (obrigatório):</p>\n<ul>\n<li><p>Filtra as interações por intervalo de datas de resposta (até 3 meses).</p>\n</li>\n<li><p>Formato esperado: AAAA-MM-DD</p>\n</li>\n</ul>\n</li>\n<li><p><strong>survey_hash</strong>:</p>\n<ul>\n<li>Filtra as interações por public_hash/identificador da pesquisa.</li>\n</ul>\n</li>\n<li><p><strong>distribution_hash</strong>:</p>\n<ul>\n<li>Filtra as interações pelo public_hash da distribuição.</li>\n</ul>\n</li>\n<li><p><strong>limit</strong>:</p>\n<ul>\n<li>Quantidade de registros por página (máximo de 100).</li>\n</ul>\n</li>\n<li><p><strong>page</strong>:</p>\n<ul>\n<li>Número da página a ser exibida na paginação.</li>\n</ul>\n</li>\n</ul>\n<p><strong>Obsevações dos Dados de Retorno:</strong></p>\n<p>Os dados de retorno relacionados aos atributos de cliente e interação correspondem às informações da linha do arquivo importado para a distribuição à qual a interação pertence.</p>\n<h6 id=\"response-json\">Response json</h6>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"interactions\": [\n            {\n                \"uuid\": \"uuid da interação\",\n                \"survey\": {\n                    \"uuid\": \"uuid da pesquisa\",\n                    \"name\": \"nome da pesquisa\",\n                    \"public_hash\": \"identificador da pesquisa\"\n                },\n                \"customer\": {\n                    \"uuid\": \"uuid do usuário\",\n                    \"name\": \"nome do usuário\",\n                    \"email\": \"email do usuário\",\n                    \"phone\": \"telefone do usuário\",\n                    \"identifier\": \"identificador do usuário\",\n                    \"metadata\": [\"atributos de cliente\"]\n                },\n                \"distribution\": {\n                    \"uuid\": \"uuid da distribuição\",\n                    \"distribution_channel\": \"canal de disparo\",\n                    \"distributed_at\": \"data do disparo\",\n                    \"public_hash\": \"identificador da pesquisa\"\n                },\n                \"answered_at\": \"data da resposta\",\n                \"health_score\": 100,\n                \"answers\": [\n                    {\n                        \"item_type\": \"tipo da pergunta\",\n                        \"question\": \"texto da pergunta\",\n                        \"answer\": \"nota do usuário\",\n                        \"comment\": \"comentáro do usuário\",\n                        \"created_at\": \"data da resposta do usuário\"\n                    }\n                ],\n                \"metadata\": [\"atributos de interação\"],\n                \"categories\": [\"categorias vinculadas\"],\n                \"answer_channel\": \"canal de resposta\"\n            }\n        ],\n        \"total_rows\": 1, /*total de linhas*/ \n        \"total_pages\": 1 /*total de páginas*/\n    },\n    \"success\": 1,\n    \"message\": \"\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6652cff6-2332-4209-b2c2-865f3a087923","id":"6652cff6-2332-4209-b2c2-865f3a087923","name":"Documentação (pt-BR)","type":"folder"}},"urlObject":{"path":["v1","organizations","{{organization_uuid}}","interactions"],"host":["{{url_api}}"],"query":[{"key":"start","value":"2024-08-01"},{"key":"end","value":"2025-08-30"}],"variable":[]}},"response":[],"_postman_id":"0ef5243c-f3d2-414e-8e51-2956b5d2f78a"},{"name":"Criar uma distribuição na Track CXM","id":"8ce40203-81a9-4c91-90ee-6ca29a8cb08d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"survey_uuid\": \"...\",\n    \"distribution_channel\": \"...\",\n    \"distribution_name\": \"...\",\n    \"schedule_at\": \"...\",\n    \"validity_at\": \"...\",\n    \"reminder_at\": \"...\",\n    \"is_anonymous\": \"...\",\n    \"template_invite_hash\": \"...\",\n    \"template_reminder_hash\": \"...\",\n    \"template_expired_hash\": \"...\",\n    \"template_thanks_hash\": \"...\",\n    \"import_lines\": [\n        {\n            \"name\": \"...\",\n            \"email\": \"...\",\n            \"cpf\": \"...\"\n        }\n    ],\n    \"whatsapp_template\": {\n       \"name\": \"template-nome-exemplo\", //nome do template\n       \"language\": \"pt_BR\", //idioma do template\n       \"variables\": [\"customer.name\", \"interaction.produto\"], //variáveis presentes no template\n       \"id_provider\": \"ID do template\" //id do template, solicitar ao time de suporte da Track\n   }, // Obrigatório para distribuições whatsapp\n   \"whatsapp_integration_uuid\": \"a726be1e-7be0-4add-b983-9c0e46a693db\"//uuid fixo da integração ","options":{"raw":{"language":"json"}}},"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/distributions","description":"<p>Para criar uma nova distribuição na <strong>Track CXM</strong>, é necessário informar apenas o identificador da pesquisa e as linhas para importação. Todos os demais campos são opcionais.</p>\n<p><strong>Importante:</strong> O <code>import_lines</code> é um array com os dados da interação que serão inseridos no sistema. Neste objeto, além dos dados estáticos como nome do customer, email e phone, poderão ser inseridos atributos de customer e interação que foram previamente cadastrados no sistema.</p>\n<p><strong>Canais de distribuição:</strong></p>\n<ul>\n<li><p>email</p>\n</li>\n<li><p>smslink</p>\n</li>\n<li><p>whatsapp</p>\n</li>\n</ul>\n<p><strong>Atributos obrigatórios:</strong></p>\n<ul>\n<li><p>survey_uuid</p>\n</li>\n<li><p>distribution_channel (smslink, email, whatsapp, link, qrcode, linklist)</p>\n</li>\n</ul>\n<p><strong>Atributos para distribuições com lembrete:</strong></p>\n<ul>\n<li><p>reminder_channel (smslink, email, whatsapp, link, qrcode, linklist)</p>\n<ul>\n<li>Caso o reminder_channel não seja informado, o canal utilizado no lembrete será o principal</li>\n</ul>\n</li>\n<li><p>reminder_at (timestamp)</p>\n<ul>\n<li>Caso o reminder_at no seja informado, a distribuição de lembrete não ocorrerá</li>\n</ul>\n</li>\n</ul>\n<p><strong>Disparo via WhatsApp:</strong><br />Para distribuições via WhatsApp, é importante informar o template utilizado.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>   \"whatsapp_template\": {\n       \"name\": \"template-nome-exemplo\",\n       \"language\": \"pt_BR\",\n       \"variables\": [\"customer.name\", \"interaction.produto\"],\n       \"id_provider\": \"ID do template\"  //id do template, solicitar ao time de suporte da Track\n   }\n\n</code></pre><p>Assim como o uuid de integração do whatsapp</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"whatsapp_integration_uuid\": \"a726be1e-7be0-4add-b983-9c0e46a693db\"//uuid fixo da integração \n\n</code></pre><p>O número de envio é opcional</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"whatsapp_number\": \"5531900000000\"//numero configurado na conta da twilio\n\n</code></pre><p>Para distribuições via whatsapp que forem configuradas para envio de lembrete, é importante adicionar o template de lembrete além do template da mensagem principal:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"whatsapp_template\": {\n        \"name\": \"nome do template\",\n        \"language\": \"idioma do template\",\n        \"variables\": [\"customer.name\", \"interaction.produto\"] // variáveis necessárias no template\n    },\n    \"whatsapp_reminder_template\": {\n        \"name\": \"nome do template\",\n        \"language\": \"idioma do template\",\n        \"variables\": [\"customer.name\", \"interaction.produto\"] // variáveis necessárias no template\n    }\n\n</code></pre><h4 id=\"parâmetros-da-requisição\">Parâmetros da Requisição</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"survey_uuid\": \"...\", //(Obrigatório)\n    \"distribution_channel\": \"...\", //(Obrigatório) string email | smslink | whatsapp\n    \"reminder_channel\": \"...\", //(Opcional) string email | smslink | whatsapp\n    \"distribution_name\": \"...\", //(Opcional) string\n    \"schedule_at\": \"...\", //(Opcional) timestamp unix 9999999999\n    \"validity_at\": \"...\", //(Opcional) timestamp unix 9999999999\n    \"reminder_at\": \"...\", //(Opcional)  timestamp unix 9999999999\n    \"is_anonymous\": \"...\", //(Opcional) bool default false\n    \"template_invite_hash\": \"...\",//(Opcional) hash of template type invite\n    \"template_reminder_hash\": \"...\",//(Opcional) hash of template type reminder\n    \"template_expired_hash\": \"...\",//(Opcional) hash of template type expired\n    \"template_thanks_hash\": \"...\",//(Opcional) hash of template type thanks\n    \"import_lines\": [\n        {\n            \"name\": \"...\",\n            \"email\": \"...\",\n            \"cpf\": \"...\"\n            //...\n        }\n        //{...}\n    ],\n    \"whatsapp_template\": {\n        \"name\": \"template-nome-exemplo\",\n        \"language\": \"pt_BR\",\n        \"variables\": [\"customer.name\", \"interaction.produto\"], //variáveis presentes no template\n       \"id_provider\": \"ID do template\" //id do template, solicitar ao time de suporte da Track \n    }, // Obrigatório para distribuições whatsapp\n    \"whatsapp_integration_uuid\": \"a726be1e-7be0-4add-b983-9c0e46a693db\"//uuid fixo da integração \n} \n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6652cff6-2332-4209-b2c2-865f3a087923","id":"6652cff6-2332-4209-b2c2-865f3a087923","name":"Documentação (pt-BR)","type":"folder"}},"urlObject":{"path":["v1","organizations","{{organization_uuid}}","distributions"],"host":["{{url_api}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8ce40203-81a9-4c91-90ee-6ca29a8cb08d"},{"name":"Criar uma distribuição do tipo LinkList na Track CXM","id":"57be5894-98ce-4801-8f27-60f57863e1fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"survey_uuid\": \"...\",\n    \"distribution_name\": \"...\",\n\t\"validity_at\": \"...\",\n    \"async\": \"...\",\n\t\"shortened_link\": \"...\",\n\t\"callback_url\": \"...\",\n    \"import_lines\": [\n        {\n            \"name\": \"...\",\n            \"email\": \"...\",\n            \"cpf\": \"...\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/distributions/createLinkList","description":"<p>Para criar uma nova distribuição do tipo lista de links na <strong>Track CXM</strong>, você só precisa fornecer o identificador da pesquisa e as linhas para importação, sendo todos os outros campos opcionais.</p>\n<p><strong>Importante:</strong> O <code>import_lines</code> é um array com os dados da interação que serão inseridos no sistema. Neste objeto, além dos dados estáticos como nome do cliente, email e telefone, você pode inserir atributos de cliente e interação que foram previamente cadastrados no sistema.</p>\n<p><strong>Observação:</strong> O sistema possui um limite de 50 <code>import_lines</code> para requisições com o parâmetro <code>{\"async\": false}</code>. Se o parâmetro for passado como true ou se o <code>import_lines</code> tiver mais itens que o limite estipulado, o processamento será realizado em segundo plano e, assim que finalizado, irá notificar via POST na URL passada como <code>{\"callback_url\": \"...\"}</code>.</p>\n<h6 id=\"resposta-json\">Resposta json</h6>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"distribution_uuid\": \"...\",\n    \"distribution_name\": \"...\",\n    \"callback_url\": \"...\",\n    \"shortened_link\": \"...\",\n    \"survey_uuid\": \"...\",\n    \"validity_at\": \"...\",\n    \"template_survey_expired_hash\": \"...\",\n    \"template_survey_thanks_hash\": \"...\",\n    \"import_lines\": [\n        {\n            \"name\": \"...\",\n            \"email\": \"...\",\n            \"cpf\": \"...\"\n            //...\n        }\n        //{...}\n    ]\n}\n\n</code></pre>\n<h4 id=\"parâmetros-da-requisição\">Parâmetros da Requisição</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"survey_uuid\": \"...\", //(Requerido)\n    \"distribution_name\": \"...\",//(Opcional) string\n    \"validity_at\": \"...\", //(Opcional) timestamp unix 9999999999\n    \"async\": true, //(Opcional) bool\n    \"shortened_link\": true //(Requerido) bool\n    \"callback_url\": \"...\", //(Requerido se async true) url\n    \"template_survey_expired_hash\": \"...\",//(Opcional) hash do template type expired\n    \"template_survey_thanks_hash\": \"...\",//(Opcional) hash do template type thanks\n    \"import_lines\": [\n        {\n            \"name\": \"...\",\n            \"email\": \"...\",\n            \"cpf\": \"...\"\n            //...\n        }\n        //{...}\n    ]\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6652cff6-2332-4209-b2c2-865f3a087923","id":"6652cff6-2332-4209-b2c2-865f3a087923","name":"Documentação (pt-BR)","type":"folder"}},"urlObject":{"path":["v1","organizations","{{organization_uuid}}","distributions","createLinkList"],"host":["{{url_api}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"57be5894-98ce-4801-8f27-60f57863e1fb"},{"name":"Listar uma distribuição na Track CXM","id":"458d4685-f4c9-4fcf-986a-23a06bb91fba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/distributions/{{distribution_uuid}}","description":"<p>Este endpoint permite consultar os detalhes de uma distribuição específica na plataforma <strong>Track CXM</strong>.</p>\n<h3 id=\"request\">Request</h3>\n<p><code>GET {{url_api}}/v1/organizations/{{organization_uuid}}/distributions/{{distribution_uuid}}</code></p>\n<h3 id=\"route-parameters\">Route Parameters</h3>\n<ul>\n<li><p><code>{{organization_uuid}}</code> (String): O identificador único da organização.</p>\n</li>\n<li><p><code>{{distribution_uuid}}</code> (String): O identificador único da distribuição.</p>\n</li>\n<li><p><code>{{limit}}</code>: Quantidade de registros que serão exibidos por página (Máximo 100 | valor padrão: 100)</p>\n</li>\n<li><p><code>{{page}}</code>: Página em que deseja visualizar os registros</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>A resposta contm informaçes detalhadas da distribuiço</p>\n<h6 id=\"response-json\">Response json</h6>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n   \"data\":{\n      \"uuid\":\"...\",//string\n      \"distribution_name\":\"...\",//string\n      \"distribution_chanel\":\"...\",//int\n      \"survey_uuid\":\"...\",//string\n      \"survey_name\":\"...\",//string\n      \"schedule_at\":\"...\",//time\n      \"validity_at\":\"...\",//time\n      \"reminder_at\":\"...\",//time\n      \"counter\":\"...\",//int\n      \"distributed_at\":\"...\",//time\n      \"added\":\"...\",//int\n      \"valid\":\"...\",//int\n      \"processed\":\"...\",//int\n      \"delivered\":\"...\",//int\n      \"opened\":\"...\",//int\n      \"clicked\":\"...\",//int\n      \"failed\":\"...\",//int\n      \"answered\":\"...\",//int\n      \"done\":\"...\",//int\n      \"partial\":\"...\",//int\n      \"invalid\":\"...\",//int\n      \"not_delivered\":\"...\",//int\n      \"invalid_errors\":{\n         \"error_no_customer_counter\":\"...\",//int\n         \"error_duplicated_customer_counter\":\"...\",//int\n         \"error_duplicated_channel_counter\":\"...\",//int\n         \"error_unknown_channel_counter\":\"...\",//int\n         \"error_no_channel_counter\":\"...\",//int\n         \"error_identifier_format_counter\":\"...\",//int\n         \"error_channel_attribute_format_counter\":\"...\",//int\n         \"error_parse_counter\":\"...\" //int\n      },\n      \"not_delivered_errors\":{\n         \"error_unsubscribed_channel_counter\":\"...\",//int\n         \"error_blockrule_counter\":\"...\",//int\n         \"error_blocked_counter\":\"...\",//int\n         \"error_quarantine_counter\":\"...\" //int\n      },\n      \"total_processed_counter\":\"...\",//int\n      \"error_response_counter\":\"...\",//int\n      \"sender_type\":\"...\",//int\n      \"distribution_hash\":\"...\",//string\n      \"survey_hash\":\"...\",//string\n      \"organization_hash\":\"...\",//string\n      \"created_at\":\"...\"//time\n   }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6652cff6-2332-4209-b2c2-865f3a087923","id":"6652cff6-2332-4209-b2c2-865f3a087923","name":"Documentação (pt-BR)","type":"folder"}},"urlObject":{"path":["v1","organizations","{{organization_uuid}}","distributions","{{distribution_uuid}}"],"host":["{{url_api}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"458d4685-f4c9-4fcf-986a-23a06bb91fba"},{"name":"Reenviar uma distribuição na Track CXM","id":"c3d2b169-99a3-4470-aefd-3bbd02a992c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/distributions/{{distribution_uuid}}/resend","description":"<p>Este endpoint permite reenviar uma distribuição específica na plataforma <strong>Track CXM</strong>.</p>\n<h3 id=\"requisição\">Requisição</h3>\n<p><code>POST {{url_api}}/v1/organizations/{{organization_uuid}}/distributions/{{distribution_uuid}}/resend</code></p>\n<h3 id=\"parâmetros-de-rota\">Parâmetros de Rota</h3>\n<ul>\n<li><p><code>{{organization_uuid}}</code>: O identificador único da organização.</p>\n</li>\n<li><p><code>{{distribution_uuid}}</code>: O identificador único da distribuição.</p>\n</li>\n</ul>\n<h3 id=\"corpo-da-requisição\">Corpo da Requisição</h3>\n<p>O corpo da requisição deve estar vazio.</p>\n<h3 id=\"cabeçalhos-da-requisição\">Cabeçalhos da Requisição</h3>\n<ul>\n<li><code>Authorization</code>: Token de autenticação.</li>\n</ul>\n<h3 id=\"códigos-de-resposta\">Códigos de Resposta</h3>\n<ul>\n<li><p><code>200 OK</code>: O reenvio da distribuição foi bem-sucedido.</p>\n</li>\n<li><p><code>404 Not Found</code>: A distribuição especificada não foi encontrada.</p>\n</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6652cff6-2332-4209-b2c2-865f3a087923","id":"6652cff6-2332-4209-b2c2-865f3a087923","name":"Documentação (pt-BR)","type":"folder"}},"urlObject":{"path":["v1","organizations","{{organization_uuid}}","distributions","{{distribution_uuid}}","resend"],"host":["{{url_api}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c3d2b169-99a3-4470-aefd-3bbd02a992c1"},{"name":"Listar Todas Distribuições de Uma Pesquisa da Track CXM","id":"4b8c7e68-dee3-4b58-86e1-97733768101e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/distributions/surveys/{{survey_uuid}}","description":"<p>Este endpoint permite listar todas as distribuições associadas a uma pesquisa específica na plataforma <strong>Track CXM</strong>.</p>\n<h3 id=\"requisição\">Requisição</h3>\n<p><code>GET {{url_api}}/v1/organizations/{{organization_uuid}}/distributions/surveys/{{survey_uuid}}</code></p>\n<h3 id=\"parâmetros-de-rota\">Parâmetros de Rota</h3>\n<ul>\n<li><p><code>{{organization_uuid}}</code>: O identificador único da organização.</p>\n</li>\n<li><p><code>{{survey_uuid}}</code>: O identificador único da pesquisa.</p>\n</li>\n<li><p><code>{{limit}}</code>: Quantidade de registros que serão exibidos por página (Máximo 100 | valor padrão: 100)</p>\n</li>\n<li><p><code>{{page}}</code>: Página em que deseja visualizar os registros</p>\n</li>\n<li><p><code>{{start}}</code>: Data de inicio</p>\n</li>\n<li><p><code>{{end}}</code>: Data de fim</p>\n</li>\n</ul>\n<p>Start e End são referentes ao período de criação da distribuição:</p>\n<ul>\n<li><p>Período máximo: 3 meses</p>\n</li>\n<li><p>Data de inicio deve ser menor que data de fim</p>\n</li>\n<li><p>Data de fim deve ser maior que data de inicio</p>\n</li>\n<li><p>Se adicionada data de inicio, deve ser adicionada a data de fim</p>\n</li>\n<li><p>Se adicionada data de fim, deve ser adicionada a data de inicio</p>\n</li>\n</ul>\n<h6 id=\"response-json\">Response json</h6>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"data\": {\n    \"distributions\": [\n      {\n        \"uuid\": \"...\", //string\n        \"distribution_name\": \"...\", //string\n        \"distribution_chanel\": \"...\", //int\n        \"survey_uuid\": \"...\", //string\n        \"survey_name\": \"...\", //string\n        \"schedule_at\": \"...\", //time\n        \"validity_at\": \"...\", //time\n        \"reminder_at\": \"...\", //time\n        \"counter\": \"...\", //int\n        \"distributed_at\": \"...\", //time\n        \"added\": \"...\", //int\n        \"valid\": \"...\", //int\n        \"processed\": \"...\", //int\n        \"delivered\": \"...\", //int\n        \"opened\": \"...\", //int\n        \"clicked\": \"...\", //int\n        \"failed\": \"...\", //int\n        \"answered\": \"...\", //int\n        \"done\": \"...\", //int\n        \"partial\": \"...\", //int\n        \"invalid\": \"...\", //int\n        \"not_delivered\": \"...\", //int\n        \"invalid_errors\": {\n          \"error_no_customer_counter\": \"...\", //int\n          \"error_duplicated_customer_counter\": \"...\", //int\n          \"error_duplicated_channel_counter\": \"...\", //int\n          \"error_unknown_channel_counter\": \"...\", //int\n          \"error_no_channel_counter\": \"...\", //int\n          \"error_identifier_format_counter\": \"...\", //int\n          \"error_channel_attribute_format_counter\": \"...\", //int\n          \"error_parse_counter\": \"...\" //int\n        },\n        \"not_delivered_errors\": {\n          \"error_unsubscribed_channel_counter\": \"...\", //int\n          \"error_blockrule_counter\": \"...\", //int\n          \"error_blocked_counter\": \"...\", //int\n          \"error_quarantine_counter\": \"...\" //int\n        },\n        \"total_processed_counter\": \"...\", //int\n        \"error_response_counter\": \"...\", //int\n        \"sender_type\": \"...\", //int\n        \"distribution_hash\": \"...\", //string\n        \"survey_hash\": \"...\", //string\n        \"organization_hash\": \"...\", //string\n        \"created_at\": \"...\" //time\n      },\n      {...}, //Other distributions\n    ]\n  }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6652cff6-2332-4209-b2c2-865f3a087923","id":"6652cff6-2332-4209-b2c2-865f3a087923","name":"Documentação (pt-BR)","type":"folder"}},"urlObject":{"path":["v1","organizations","{{organization_uuid}}","distributions","surveys","{{survey_uuid}}"],"host":["{{url_api}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4b8c7e68-dee3-4b58-86e1-97733768101e"},{"name":"Exportar dados da Track CXM","id":"1e26dd11-ce05-4600-8895-a97e6dbbf82a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/exports/{{resource}}","description":"<p>Para exportar os dados na plataforma <strong>Track CXM</strong>, será necessário informar apenas o recurso que se pretende exportar conforme lista abaixo:</p>\n<ol>\n<li><p>Interações <code>int: 1</code></p>\n</li>\n<li><p>Clientes <code>int: 2</code></p>\n</li>\n<li><p>Distribuições <code>int: 3</code></p>\n</li>\n<li><p>Pesquisas <code>int: 6</code></p>\n</li>\n<li><p>Loops <code>int: 7</code></p>\n</li>\n</ol>\n<h4 id=\"atributos\">Atributos</h4>\n<ol>\n<li><p><strong>survey_hash (String)</strong>: O identificador único da pesquisa. Pode ser utilizado para filtrar os dados referentes a uma pesquisa específica em exportações de <strong>interações</strong> e <strong>distribuições</strong>.</p>\n</li>\n<li><p><strong>with_quotes (Boolean)</strong>: Este atributo é responsável por fornecer uma formatação diferente para o arquivo CSV gerado.</p>\n<ul>\n<li><p><strong>true</strong>: Se informado como \"true\", o CSV será gerado com os campos de texto entre aspas e a separação dos campos será feita utilizando ponto e vírgula (;).</p>\n</li>\n<li><p><strong>false</strong>: Se informado como \"false\", os campos de texto não estarão entre aspas e a separação dos campos será feita utilizando vírgula (,).O atributo \"with_quotes\" se aplica a todas as tipos de exportações disponíveis.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>distribution_hash (String)</strong>: O identificador único da distribuiço. Pode ser utilizado para filtrar os dados referentes a uma distribuiço específica em exportações de <strong>interações</strong>.</p>\n</li>\n<li><p><strong>answer_status (Inteiro)</strong>: Status atual da resposta do cliente para a pesquisa em exportações de <strong>interações</strong>, podendo ser:</p>\n<ol>\n<li><p><strong>Totalmente respondidas = 1</strong></p>\n</li>\n<li><p><strong>Parcialmente respondidas = 2</strong></p>\n</li>\n<li><p><strong>Totalmente ou Parcialmente respondidas = 3</strong></p>\n</li>\n</ol>\n</li>\n<li><p><strong>loop_uuid (String):</strong> Identificador único do grupo de loop. Pode ser utilizado para filtrar os dados referentes a um grupo de loop específico em exportações de loops.</p>\n</li>\n<li><p><strong>dealt_status (Inteiro):</strong> Status atual do ticket do loop em exportações de loops, podendo ser:</p>\n<ol>\n<li><p><strong>Abertos = 1</strong></p>\n</li>\n<li><p><strong>Em Andamento = 2</strong></p>\n</li>\n<li><p><strong>Concluído = 3</strong></p>\n</li>\n</ol>\n</li>\n</ol>\n<h4 id=\"exemplo-de-body\">Exemplo de Body:</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Body:\n{\n    \"survey_hash\": \"ABCD\",\n    \"with_quotes\": true, \n    \"distribution_hash\": \"ABCD\",\n    \"answer_status\": 1 ,\n    \"loop_uuid\": \"ABCD\",\n    \"dealt_status\": 2 \n}\n\n</code></pre><p><strong>A resposta é apenas o código de status 200 se tudo estiver ok</strong>.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6652cff6-2332-4209-b2c2-865f3a087923","id":"6652cff6-2332-4209-b2c2-865f3a087923","name":"Documentação (pt-BR)","type":"folder"}},"urlObject":{"path":["v1","organizations","{{organization_uuid}}","exports","{{resource}}"],"host":["{{url_api}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1e26dd11-ce05-4600-8895-a97e6dbbf82a"},{"name":"Listar as Exportações da Track CXM","id":"f2ba4a41-1072-41c7-96da-62163d363b0c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/exports/{{resource}}","description":"<p>Este endpoint permite listar todas as exportações de dados realizadas na plataforma <strong>Track CXM</strong>.</p>\n<h3 id=\"requisição\">Requisição</h3>\n<p><code>GET {{url_api}}/v1/organizations/{{organization_uuid}}/exports</code></p>\n<h3 id=\"parâmetros-de-rota\">Parâmetros de Rota</h3>\n<ul>\n<li><code>{{organization_uuid}}</code>: O identificador único da organização.</li>\n</ul>\n<h3 id=\"resposta\">Resposta</h3>\n<p>A resposta será uma lista de todas as exportações realizadas, incluindo informações sobre cada exportação, como o recurso exportado, a data e hora da exportação, entre outros.</p>\n<h6 id=\"response-json\">Response json</h6>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"exports\": [\n            {\n                \"uuid\": \"...\",\n                \"name\": \"...\",\n                \"status\": \"...\",\n                \"csv_url\": \"...\",\n                \"created_at\": \"...\"\n            },\n            {...} //Exports\n        ]\n    }\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6652cff6-2332-4209-b2c2-865f3a087923","id":"6652cff6-2332-4209-b2c2-865f3a087923","name":"Documentação (pt-BR)","type":"folder"}},"urlObject":{"path":["v1","organizations","{{organization_uuid}}","exports","{{resource}}"],"host":["{{url_api}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f2ba4a41-1072-41c7-96da-62163d363b0c"},{"name":"Integração da  Track CXM via Webhook","id":"6b2f20cb-7df9-4e59-884c-82cbee7a8e51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"events\": [\n        {\n            \"type\": \"...\",\n            \"interaction_uuid\": \"...\",\n            \"distribution_uuid\": \"...\",\n            \"survey_uuid\": \"...\",\n            \"survey_name\": \"...\",\n            \"survey_public_hash\": \"...\",\n            \"answered_at\": \"...\",\n            \"distributed_at\": \"...\",\n            \"answered_channel\": \"...\",\n            \"distribution_channel\": \"...\",\n            \"health_score\": \"...\",\n            \"answers\": [\n                {\n                    \"item_uuid\": \"...\",\n                    \"question_type\": \"...\",\n                    \"question\": \"...\",\n                    \"answer\": \"...\",\n                    \"comment\": \"...\",\n                    \"other_option\": \"...\"\n                }\n            ],\n            \"customer\": {\n                \"name\": \"...\",\n                \"email\": \"...\", \n                \"phone\": \"...\",\n                \"attributes\": [\n                    {\n                        \"uuid\": \"...\", \n                        \"name\": \"...\",\n                        \"value\": \"...\"\n                    }\n                ]\n            },\n            \"interaction_attributes\": [\n                {\n                    \"uuid\": \"...\",\n                    \"name\": \"...\", \n                    \"value\": \"...\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{your_url_here}}","description":"<p>Um webhook é uma forma elegante de ser notificado sempre que houver um evento em suas pesquisas na plataforma <strong>Track CXM</strong>. Siga as etapas abaixo para configurar e receber notificações via POST em seu sistema.</p>\n<p>Para configurar o webhook é necessário acessar seu painel na plataforma track.co e navegar para:</p>\n<h3 id=\"configuração-do-webhook\">Configuração do Webhook</h3>\n<ol>\n<li><p>Acesse o painel de administração na plataforma <strong>Track CXM</strong>.</p>\n</li>\n<li><p>Navegue para as configurações da sua conta.</p>\n</li>\n<li><p>Procure a seção de integrações.</p>\n</li>\n<li><p>Ative a opção para configurar um novo webhook.</p>\n</li>\n<li><p>Insira o URL de destino para as notificações do webhook. Certifique-se de que este URL seja acessível pelo seu sistema e esteja configurado para receber e processar solicitações POST.</p>\n</li>\n<li><p>Escolha quais eventos você deseja receber notificações. Por exemplo, você pode optar por receber notificações para novas respostas, atualizações de distribuições, etc.</p>\n</li>\n</ol>\n<p><strong>Depois de configurado corretamente o webhook seu sistema irá receber notificações via POST sempre que houver algum evento.</strong></p>\n<h4 id=\"parâmetros-da-requisição\">Parâmetros da Requisição</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"events\": [\n        {\n            \"type\": \"...\",\n            \"interaction_uuid\": \"...\", // uuid v4\n            \"distribution_uuid\": \"...\", // uuid v4\n            \"survey_uuid\": \"...\", // uuid v4\n            \"survey_name\": \"...\", // string\n            \"survey_public_hash\": \"...\", // string\n            \"answered_at\": \"...\", // unix timestamp (integer)\n            \"distributed_at\": \"...\", // unix timestamp (integer)\n            \"answered_channel\": \"...\", // web, widget, sms\n            \"distribution_channel\": \"...\", // email, sms, widget, link, linklist, qrcode\n            \"health_score\": \"...\", // integer\n            \"answers\": [\n                {\n                    \"item_uuid\": \"...\", // uuid v4\n                    \"question_type\": \"...\", // nps_relational, nps_transactional, ces, ces2, csat, ratings, emoji, thumbs, multiple_choice, open\n                    \"question\": \"...\", // string\n                    \"answer\": \"...\", // string or array for multiple_choice (Ex.: [\"answer A\",\"answer B\"])\n                    \"comment\": \"...\", // string\n                    \"other_option\": \"...\" // string (outra opção para múltipla escolha)\n                },\n                {...}\n            ],\n            \"customer\": {\n                \"name\": \"...\", // string\n                \"email\": \"...\", // email string\n                \"phone\": \"...\", // integer\n                \"attributes\": [\n                    {\n                        \"uuid\": \"...\", // uuid v4\n                        \"name\": \"...\", // string\n                        \"value\": \"...\" // string\n                    }\n                ]\n            },\n            \"interaction_attributes\": [\n                {\n                    \"uuid\": \"...\", // string\n                    \"name\": \"...\", // string\n                    \"value\": \"...\" // string\n                }\n            ]\n        }\n    ]\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6652cff6-2332-4209-b2c2-865f3a087923","id":"6652cff6-2332-4209-b2c2-865f3a087923","name":"Documentação (pt-BR)","type":"folder"}},"urlObject":{"host":["{{your_url_here}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6b2f20cb-7df9-4e59-884c-82cbee7a8e51"},{"name":"Listar distribuições de todas as pesquisas vinculadas à um grupo de pesquisa","id":"6f9a334f-8850-4ef9-9d2c-a4cfa11712fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/distributions/survey-groups/{{survey_group_uuid}}","description":"<p>Este endpoint permite listar todas as distribuições de todas as pesquisas vinculadas à um determinado grupo de pesquisa.</p>\n<h3 id=\"endpoint\">Endpoint:</h3>\n<p><code>GET /v1/organizations/{{organization_uuid}}/distributions/survey-groups/{{survey_group_uuid}}?start=2026-03-01&amp;end=2026-03-02&amp;limit=10&amp;page=1</code></p>\n<h3 id=\"parâmetros\">Parâmetros:</h3>\n<p><code>distribution_uuid</code> (String): Identificador único da distribuição.</p>\n<p><code>survey_group_uuid</code> (String): Identificador único do grupo de pesquisa.</p>\n<h3 id=\"parâmetros-de-consulta\"><strong>Parâmetros de consulta:</strong></h3>\n<ul>\n<li><p><strong>start</strong> e <strong>end</strong> (ambos obrigatórios, se forem usados):</p>\n<ul>\n<li><p>Filtra as interações por intervalo de datas de resposta (até 3 meses).</p>\n</li>\n<li><p>Formato esperado: AAAA-MM-DD</p>\n</li>\n</ul>\n</li>\n<li><p><strong>limit</strong>:</p>\n<ul>\n<li>Quantidade de registros por página (máximo de 100).</li>\n</ul>\n</li>\n<li><p><strong>page</strong>:</p>\n<ul>\n<li>Número da página a ser exibida na paginação.</li>\n</ul>\n</li>\n</ul>\n<h6 id=\"response-json\">Response json</h6>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"data\": {\n    \"distribution\": [\n      {\n        \"uuid\": \"0b1caa77-0f6e-4b9e-9637-faa3cf6dbd6c\",\n        \"distribution_name\": \"Anônima 3/12/2026, 5:11:05 PM\",\n        \"distribution_chanel\": 6,\n        \"survey_uuid\": \"33b2ba35-d466-4eea-95e5-0b5ecdf47f4d\",\n        \"survey_name\": \"xxxx\",\n        \"schedule_at\": null,\n        \"validity_at\": null,\n        \"reminder_at\": null,\n        \"counter\": 1,\n        \"distributed_at\": 0,\n        \"added\": 0,\n        \"valid\": 0,\n        \"processed\": 0,\n        \"delivered\": 0,\n        \"opened\": 0,\n        \"clicked\": 0,\n        \"answered\": 0,\n        \"done\": 0,\n        \"partial\": 0,\n        \"failed\": 0,\n        \"invalid\": 0,\n        \"not_delivered\": 0,\n        \"invalid_errors\": {\n          \"error_channel_attribute_format_counter\": 0,\n          \"error_duplicated_channel_counter\": 0,\n          \"error_duplicated_customer_counter\": 0,\n          \"error_identifier_format_counter\": 0,\n          \"error_no_channel_counter\": 0,\n          \"error_no_customer_counter\": 0,\n          \"error_parse_counter\": 0,\n          \"error_unknown_channel_counter\": 0\n        },\n        \"not_delivered_errors\": {\n          \"error_blocked_counter\": 0,\n          \"error_blockrule_counter\": 0,\n          \"error_quarantine_counter\": 0,\n          \"error_unsubscribed_channel_counter\": 0\n        },\n        \"error_response_counter\": 0,\n        \"sender_type\": 0,\n        \"survey_hash\": \"xxxx\",\n        \"distribution_hash\": \"xxxx\",\n        \"organization_hash\": \"xxxx\",\n        \"created_at\": 1773346281\n      }\n    ],\n    \"total\": 1,\n    \"pages\": 1,\n    \"current_page\": 1,\n    \"per_page\": 100\n  },\n  \"success\": 1,\n  \"message\": \"\",\n  \"cache_timestamp\": 0\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"6652cff6-2332-4209-b2c2-865f3a087923","id":"6652cff6-2332-4209-b2c2-865f3a087923","name":"Documentação (pt-BR)","type":"folder"}},"urlObject":{"path":["v1","organizations","{{organization_uuid}}","distributions","survey-groups","{{survey_group_uuid}}"],"host":["{{url_api}}"],"query":[{"disabled":true,"description":{"content":"<p>Data de ínicio (obrigatório se tiver end)</p>\n","type":"text/plain"},"key":"start","value":"2026-03-01"},{"disabled":true,"description":{"content":"<p>Data de fim (obrigatório se tiver start)</p>\n","type":"text/plain"},"key":"end","value":"2026-03-02"},{"disabled":true,"description":{"content":"<p>Quantidade de itens por página (opcional)</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"disabled":true,"description":{"content":"<p>Número da página (opcional)</p>\n","type":"text/plain"},"key":"page","value":"1"}],"variable":[]}},"response":[],"_postman_id":"6f9a334f-8850-4ef9-9d2c-a4cfa11712fc"}],"id":"6652cff6-2332-4209-b2c2-865f3a087923","description":"<hr />\n<h1 id=\"bem-vindo-à-documentação-pública-da-api-track-cxm\">Bem-vindo à Documentação Pública da API Track CXM!</h1>\n<p><strong>Sua porta de entrada para uma integração completa e personalizada</strong></p>\n<p>A <strong>Track CXM</strong> coloca à disposição de seus clientes uma API robusta, permitindo a integração perfeita da nossa plataforma com diversos outros sistemas. Através da <strong>API Track CXM</strong>, você tem acesso a um universo de funcionalidades que facilitam a coleta, o tratamento e a análise de dados, impulsionando a experiência do cliente em sua empresa.</p>\n<p><strong>Distribuição de pesquisas e extração de dados sob medida</strong></p>\n<p>Com a <strong>API Track CXM</strong>, você tem o poder de:</p>\n<ul>\n<li><p><strong>Distribuir pesquisas armazenadas da Track CXM de forma estratégica:</strong> Crie e distribua pesquisas personalizadas para diferentes públicos, coletando feedback valioso e insights acionáveis que impulsionam a satisfação do cliente.</p>\n</li>\n<li><p><strong>Extrair dados armazenados da Track CXM com precisão:</strong> Acesse e extraia dados relevantes de forma automatizada, enriquecendo sua base de conhecimento e otimizando processos internos.</p>\n</li>\n<li><p><strong>Realizar ações personalizadas para sua organização através de dados armazenados na Track CXM:</strong> Automatize tarefas e workflows com base nos dados coletados, agilizando a resolução de problemas e aprimorando a experiência do cliente.</p>\n</li>\n</ul>\n<p><strong>Integração sob medida para suas necessidades</strong></p>\n<p>A <strong>API Track CXM</strong> foi projetada para oferecer flexibilidade total, permitindo que você personalize a integração de acordo com as necessidades específicas do seu negócio. Seja qual for o seu cenário, a <strong>Track CXM</strong> oferece a solução ideal para integrar-se perfeitamente à sua infraestrutura tecnológica.</p>\n<p><strong>Explore mais recursos de integração Track CXM</strong></p>\n<p>A <strong>Track CXM</strong> vai além da API, oferecendo diversas outras opções de integração para atender às suas necessidades:</p>\n<ul>\n<li><p><strong>Integração via Webhook na Track CXM:</strong> Receba notificações em tempo real sobre eventos importantes da plataforma Track CXM.</p>\n</li>\n<li><p><strong>Integração via SFTP na Track CXM:</strong> Transfira dados de forma segura e automatizada entre a Track CXM e seus sistemas.</p>\n</li>\n<li><p><strong>Integração via Widget na Track CXM:</strong> Integre a <strong>Track CXM</strong> diretamente em seu site ou aplicativo, coletando feedback instantâneo dos seus clientes.</p>\n</li>\n</ul>\n<p><strong>Acesse a</strong> <a href=\"https://help.track.co/\"><b>Central de Ajuda</b></a> <strong>Track CXM para mais informações</strong></p>\n<p>Para saber mais sobre os recursos da <strong>API Track CXM</strong>, tirar dúvidas sobre a plataforma ou explorar outras opções de integração, acesse nossa <a href=\"https://help.track.co/\"><b>Central de Ajuda</b></a> completa e detalhada. Nossa equipe de especialistas está sempre à disposição para te auxiliar em cada etapa da sua jornada de integração.</p>\n<p><strong>Lembre-se:</strong></p>\n<p>Antes de iniciar a integração com a <strong>Track CXM</strong>, é fundamental ler toda a documentação com atenção. Os terminais da API são organizados de forma linear e complementar, garantindo uma integração completa e eficiente.</p>\n<p>Com a <strong>API Track CXM</strong>, você tem tudo para transformar a experiência do cliente em sua empresa. Comece hoje mesmo a integrar a Track CXM e desfrute dos benefícios de uma plataforma completa e versátil.</p>\n<hr />\n<h1 id=\"token-de-autenticação-e-identificador-da-organização-para-integração-com-a-api-track-cxm\">TOKEN DE AUTENTICAÇÃO E IDENTIFICADOR DA ORGANIZAÇÃO PARA INTEGRAÇÃO COM A API TRACK CXM</h1>\n<p><strong>Garantindo acesso seguro e personalizado à API Track CXM</strong></p>\n<p>Para garantir uma integração segura e personalizada com a <strong>API Track CXM</strong>, é necessário utilizar um token de autenticação exclusivo e o identificador da sua organização. Esses dados funcionam como chaves de acesso que permitem à <strong>API Track CXM</strong> identificar e validar sua requisição, assegurando que apenas usuários autorizados possam acessar os recursos da plataforma.</p>\n<p><strong>Obtendo suas credenciais de autenticação da API Track CXM:</strong></p>\n<ul>\n<li><p><strong>Acesse seu painel na plataforma</strong> <a href=\"https://app.track.co/\"><b>Track CXM</b></a><strong>: I</strong>nicie o processo de autenticação acessando o painel de controle da <strong>Track CXM</strong> com suas credenciais de login habituais.</p>\n</li>\n<li><p><strong>Dentro da plataforma Track CXM, navegue para Configurações &gt; Integrações &gt; API:</strong> No menu principal do painel, localize a seção \"Configurações\" e, em seguida, clique em \"Integrações\". Dentro da área de integrações, selecione a opção \"API\".</p>\n</li>\n<li><p><strong>Ative a integração via API Track CXM:</strong> Para habilitar o uso da <strong>API Track CXM</strong>, clique no botão \"Ativar API\". Essa ação permitirá que você gere o token de autenticação e o identificador da organização necessários para a integração.</p>\n</li>\n<li><p><strong>Recupere seu TOKEN e UUID da organização armazenados na plataforma Track CXM:</strong> Após ativar a <strong>API Track CXM</strong>, você terá acesso ao seu token de autenticação único e ao identificador da organização (UUID). Armazene essas informações com segurança, pois serão essenciais para realizar solicitações à <strong>API Track CXM</strong>.</p>\n</li>\n</ul>\n<p><strong>Observações importantes:</strong></p>\n<ul>\n<li><p><strong>Segurança em primeiro lugar para acesso à API Track CXM:</strong> O token de autenticação e o identificador da organização são informações confidenciais. Mantenha-os em local seguro e evite compartilhá-los com terceiros.</p>\n</li>\n<li><p><strong>Suporte da Track CXM ao seu alcance:</strong> Em caso de dúvidas ou dificuldades durante o processo de obtenção das credenciais de autenticação, entre em contato com nossa equipe de suporte técnico da <strong>Track CXM</strong>. Estamos sempre à disposição para auxiliar e garantir uma experiência de integração tranquila e eficiente.</p>\n</li>\n</ul>\n<p><strong>Com o token de autenticação e o identificador da organização em mãos, você estará pronto para desfrutar de todos os recursos da API Track CXM e realizar integrações personalizadas que impulsionarão a experiência do cliente em sua empresa.</strong></p>\n<hr />\n<h1 id=\"limites-de-uso-request-limit\">LIMITES DE USO (REQUEST LIMIT)</h1>\n<p>As chamadas da nossa API são limitadas em 2.000 requisições por minuto. A integração deverá se adequar a este limite para evitar que as requisições retornem erro.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Escopo</strong></th>\n<th><strong>Requisições por minuto (RPM)</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Todas as chamadas da API Pública</td>\n<td>2.000</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h1 id=\"padrões-da-api-track-cxm\">PADRÕES DA API TRACK CXM</h1>\n<p>Em todas as solicitações para a <strong>API Track CXM</strong> será necessário informar um <code>Bearer token</code> no cabeçalho da requisição:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-http\">Authorization: Bearer {{token_here}}\n\n</code></pre>\n<h2 id=\"1---formato-de-resposta-da-api-track-cxm\">1 - FORMATO DE RESPOSTA DA API TRACK CXM</h2>\n<p>Todas as respostas da <strong>API Track CXM</strong> seguem o padrão <code>JSON</code>. Este também é o padrão no qual o cliente deve passar os dados na solicitação.</p>\n<p><strong>Envie no cabeçalho:</strong> <strong><code>Content-Type:application/json</code></strong></p>\n<h2 id=\"2---url-padrão-da-api-track-cxm\">2 - URL PADRÃO DA API TRACK CXM</h2>\n<p>Todas requisições da documentação da <strong>API Track CXM</strong> devem ser efetuadas para: <code>https://api.track.co</code></p>\n<h2 id=\"3---padrão-de-erros-da-api-track-cxm\">3 - PADRÃO DE ERROS DA API TRACK CXM</h2>\n<p>Sempre que o código de status http retornado pela <strong>API Track CXM</strong> for diferente de <strong><code>200</code></strong>, o servidor responderá com o seguinte padrão:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"\",\n    \"success\": \"\"\n}\n\n</code></pre>\n<hr />\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"cb81bc7e-0c78-40df-a51a-5768cbaafe56"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"faadf7b1-2331-42ba-8045-247b82533367"}}],"_postman_id":"6652cff6-2332-4209-b2c2-865f3a087923"},{"name":"Documentation (en-US)","item":[{"name":"List Surveys From the Track CXM platform","id":"1e12c477-a71e-4913-97d2-a46fd43e7d8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/surveys","description":"<p>This endpoint retrieves a list of surveys available for a given organization on the <strong>Track CXM</strong> platform.</p>\n<h3 id=\"endpoint\">Endpoint</h3>\n<p><code>GET /v1/organizations/{{organization_uuid}}/surveys</code></p>\n<h3 id=\"parameters\">Parameters</h3>\n<ul>\n<li><p><code>include_questions</code> (Boolean): Specifies whether detailed question information should be displayed.</p>\n<ul>\n<li><p><code>True</code>: Displays detailed question information.</p>\n</li>\n<li><p><code>False</code>: Does not display detailed question information.</p>\n</li>\n</ul>\n</li>\n<li><p><code>limit</code> (Integer): Number of records per page.</p>\n</li>\n<li><p><code>page</code> (Integer): Page number to be displayed in pagination.</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response will contain a list of surveys with their basic information such as survey ID, name, and creation date.</p>\n<h6 id=\"response-json\">Response json</h6>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"surveys\": [ //Lista de pesquisas\n            {\n                \"uuid\": \"...\", //Id\n                \"name\": \"...\", //Nome da pesquisa\n                \"public_hash\": \"...\" //Identificador(hash) da pesquisa\n                \"questions\": [\n                    {\n                        \"title\": \"...\", // Titulo da pergunta\n                        \"type\": \"...\", // Tipo da pergunta\n                        \"public_hash\": \"...\", // Public Hash da pergunta \n                        \"is_obligatory\": true,\n                        \"comments_enabled\": true,\n                        \"accepted_answers\": \"...\",\n                        \"composite_metrics\": [\n                            {\n                               \"title\": \"Categoria 1\",\n                               \"type\": \"like_dislike\",\n                               \"public_hash\": \"ABCD\",\n                               \"accepted_answers\": {\n                                         \"like\": 1,\n                                         \"dislike\": 0\n                                },\n                              }\n                          ]\n                    },\n                    {...}\n            },\n            {...}\n        ]\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["v1","organizations","{{organization_uuid}}","surveys"],"host":["{{url_api}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1e12c477-a71e-4913-97d2-a46fd43e7d8a"},{"name":"Insert Answer From the Track CXM platform","id":"88f671a2-79e0-487a-9b25-7e4ab96b59ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"customer\": {\n            \"email\": \"...\",\n            \"name\": \"...\",\n            \"identificador\": \"...\"\n        },\n        \"interaction\":{\n            \"interaction_attribute_1\": \"...\",\n            \"interaction_attribute_2\": \"...\"            \n        },\n        \"distribution_channel\": \"11\", //Distribution Channel API\n        \"response_time\": 11050, //Response Time (Optional)\n        \"answered_at\": 1714075101, //Response Date/Time in timestamp format\n        \"questions\": [\n                        {\n                            \"public_hash\": \"cuWI\", //question id\n                            \"answer\": {\n                                \"response\": 8,//user note\n                                \"comment\": \"Very good\"//question comment\n                            }\n                        },\n                        {\n                            \"public_hash\": \"usUN\", //question id\n                            \"answer\": {\n                                \"response\": 4\n                            }\n                        },\n                        {\n                            \"public_hash\": \"bHjJ\", //question id\n                            \"answer\": {\n                                \"response\": 1\n                            }\n                        },\n                        {\n                            \"public_hash\": \"lTqq\",\n                            \"answer\":{\n                                \"comment\": \"I thought it was terrible\"\n                            }\n                        }\n                    ]\n    }\n]","options":{"raw":{"language":"json"}}},"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/surveys/{{survey_uuid}}/answers","description":"<p>This endpoint enables the insertion of responses into the <strong>Track CXM</strong> platform via the <strong>API Track CXM</strong>.</p>\n<h3 id=\"endpoint\">Endpoint</h3>\n<p><code>POST /v1/organizations/{{organization_uuid}}/surveys/{{survey_uuid}}/answers</code></p>\n<h3 id=\"request-body\">Request Body</h3>\n<p>The request body must follow the model below:</p>\n<h6 id=\"response-json\">Response json</h6>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n    {\n        \"customer\": {\n            \"email\": \"...\",\n            \"name\": \"...\",\n            \"identificador\": \"...\" add the value of the account identifier attribute, e.g.: In the case of CPF, add the customer's CPF data (The identifier attribute is visible on the Track CXM Organization page)\n      },\n        \"interaction\":{\n            \"interaction_attribute_1\": \"...\",\n            \"interaction_attribute_2\": \"...\"            \n        },\n        \"distribution_channel\": \"11\", //Distribution Channel Email\n        \"response_time\": 11050, //Response Time (Optional)\n        \"answered_at\": 1714075101, //Response Date/Time in timestamp format\n        \"questions\": [\n                        {\n                            \"public_hash\": \"cuWI\", //question id\n                            \"answer\": {\n                                \"response\": 8,//user note\n                                \"comment\": \"Very good\"//question comment\n                            }\n                        },\n                        {\n                            \"public_hash\": \"usUN\", //question id\n                            \"answer\": {\n                                \"response\": 4\n                            }\n                        },\n                        {\n                            \"public_hash\": \"bHjJ\", //question id\n                            \"answer\": {\n                                \"response\": 1\n                            }\n                        },\n                        {\n                            \"public_hash\": \"lTqq\",\n                            \"answer\":{\n                                \"comment\": \"I thought it was terrible\"\n                            }\n                        }\n                    ]\n    }\n]\n\n</code></pre>\n<ul>\n<li><p>To obtain the public_hash of the question, I used the List Surveys endpoint, passing the include_questions=true parameter.</p>\n</li>\n<li><p>If the question is about like and dislike, simply enter the values 1 (like) or 0 (dislike). Example: “response” = 1. The same goes for composite metric questions.</p>\n</li>\n<li><p>In the distribution channel field, I only accept channels 11: api</p>\n</li>\n</ul>\n","urlObject":{"path":["v1","organizations","{{organization_uuid}}","surveys","{{survey_uuid}}","answers"],"host":["{{url_api}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"88f671a2-79e0-487a-9b25-7e4ab96b59ed"},{"name":"List distributions status From the Track CXM platform","id":"c1be2e12-f3c9-43fe-b8fc-185197baadcb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/distributions/{{distribution_uuid}}/dispatch_status?history=false&interaction_attributes=false&customer_attributes=false","description":"<p>This endpoint retrieves the status of each customer participating in a distribution via Email, SMS Link, or WhatsApp on the <strong>Track CXM</strong> platform.</p>\n<h3 id=\"endpoint\">Endpoint</h3>\n<p><code>GET /v1/organizações/{{organization_uuid}}/distribuições/{{distribution_uuid}}/status_de_envio?historico=false&amp;interactipn_attribyutes=false&amp;customer_attributes=false</code></p>\n<h3 id=\"parameters\">Parameters</h3>\n<ul>\n<li><code>distribution_uuid</code> (String): The unique identifier of the distribution.</li>\n</ul>\n<h3 id=\"query-parameters\">Query Parameters</h3>\n<ul>\n<li><p><code>history</code> (Boolean): Specifies whether to include status change history.</p>\n<ul>\n<li><p><code>false</code>: Only the last status for each client of that distribution will be listed.</p>\n</li>\n<li><p><code>true</code>: All statuses of each client of that distribution will be listed, sorted by status.</p>\n</li>\n</ul>\n</li>\n<li><p><code>interaction_attributes</code> (Boolean):The endpoint can provide the data with or without interaction attributes</p>\n<ul>\n<li><code>true</code>: list all attributes of that interaction</li>\n</ul>\n</li>\n<li><p><code>customer_attributes</code> (Boolean): The endpoint can provide the data with or without customer attributes:</p>\n<ul>\n<li><code>true</code>: list all attributes of that customer</li>\n</ul>\n</li>\n<li><p><code>page</code> Integer [Optional]): The endpoint can provide the data for the requested page.</p>\n<ul>\n<li><p>When this parameter is provided in the endpoint, the response includes the total number of records and pages, according to the specified limit.</p>\n</li>\n<li><p>When this parameter <strong>is not provided or the value 0</strong> is provided in the endpoint, the API returns the list of all records limited by 50 or by the quantity provided in the <code>limit</code> parameter</p>\n</li>\n<li><p>When the limit is not provided but the page is, the default limit value is 50.</p>\n</li>\n</ul>\n</li>\n<li><p><code>limit</code> (Integer [Optional]): The endpoint can provide the number of records based on the number specified in the limit parameter.</p>\n<ul>\n<li><p>When this parameter is provided in the endpoint, the response includes the total number of records and pages, according to the specified limit.</p>\n</li>\n<li><p>Maximum value: 100</p>\n</li>\n<li><p>When the page is not provided but the limit is, the default value for the page is 1.</p>\n</li>\n</ul>\n</li>\n</ul>\n<p><strong>Important</strong>: If the endpoint is used for the Link or QR Code channels, we will only report the status of the successful creation of the distribution, since there are no shipments through the platform since they are dependent on the user.</p>\n<p><strong>Statuses returned on the endpoint for distributions via Email, SMS Link or WhatsApp:</strong></p>\n<ul>\n<li><p>Enviado (Sent)</p>\n</li>\n<li><p>Recebido (Received)</p>\n</li>\n<li><p>Aberta (Opened)</p>\n</li>\n<li><p>Clicada (Clicked)</p>\n</li>\n<li><p>Error - Dropped</p>\n</li>\n<li><p>Error - Bounce</p>\n</li>\n<li><p>Error - Blocked</p>\n</li>\n</ul>\n<h6 id=\"response-json-for-historyfalse\"><strong>Response json for history=false</strong></h6>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": [\n        {\n            \"name\": \"name\",\n            \"phone\": \"1111111111\",\n            \"email\": \"email@email.com\",\n            \"date\": \"05/01/2023 às 11:08\",\n            \"status\": \"Enviado\"\n        }\n    ],\n    \"success\": 1,\n    \"message\": \"\"\n}\n\n</code></pre>\n<h6 id=\"response-json-for-historytrue\"><strong>Response json for history=true</strong></h6>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": [\n        {\n            \"name\": \"name\",\n            \"phone\": \"1111111111\",\n            \"email\": \"email@email.com\",\n            \"date\": \"05/01/2023 às 11:08\",\n            “status_1“: \"Enviado\",\n            “date_2“: \"20/01/2023 às 09:27\",\n            “status_2“: \"Recebido\",\n            “date_3“: “20/01/2023 às 09:48\",\n            \"status_3“: \"Aberto\",\n            “date_4“: “20/01/2023 às 09:55\",\n            “status_4“: \"Clicado\",\n        }\n    ],\n    \"success\": 1,\n    \"message\": \"\"\n}\n\n</code></pre>\n","urlObject":{"path":["v1","organizations","{{organization_uuid}}","distributions","{{distribution_uuid}}","dispatch_status"],"host":["{{url_api}}"],"query":[{"key":"history","value":"false"},{"key":"interaction_attributes","value":"false"},{"key":"customer_attributes","value":"false"}],"variable":[]}},"response":[],"_postman_id":"c1be2e12-f3c9-43fe-b8fc-185197baadcb"},{"name":"List Attributes From the Track CXM platform","id":"e7c0c8f8-708c-4ddf-a3bd-99c32873b4ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/attributes","description":"<p>This endpoint retrieves a list of all attributes of the organization on the <strong>Track CXM</strong> platform, which can be used when creating a new distribution and providing customer details.</p>\n<h3 id=\"endpoint\">Endpoint</h3>\n<p><code>GET /v1/organizations/{{organization_uuid}}/attributes</code></p>\n<h3 id=\"response\">Response</h3>\n<p>The response will be a JSON containing a list of attributes of the organization.</p>\n<h6 id=\"response-json\">Response json</h6>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"atributtes\": [ //List of atributtes\n            {\n                \"uuid\": \"...\", //Atributte identifier\n                \"name\": \"...\" //Atributte name        \n            },\n            {...}\n        ],\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["v1","organizations","{{organization_uuid}}","attributes"],"host":["{{url_api}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e7c0c8f8-708c-4ddf-a3bd-99c32873b4ab"},{"name":"List Templates From the Track CXM platform","id":"e12fcdf2-a474-4c5f-ba68-97d94cb62b93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/templates","description":"<p>This endpoint retrieves a list of all templates of the organization on the <strong>Track CXM</strong> platform, which can be used when creating a new distribution and selecting templates.</p>\n<h3 id=\"endpoint\">Endpoint</h3>\n<p><code>GET /v1/organizations/{{organization_uuid}}/templates</code></p>\n<h3 id=\"response\">Response</h3>\n<p>The response will be a JSON containing a list of templates of the organization.</p>\n<h6 id=\"response-json\">Response json</h6>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"templates\": [ //List of templates\n            {\n                \"type\": \"...\",//thanks | expired | invite | reminder\n                \"name\": \"...\", //Template name\n                \"public_hash\": \"...\"//Template Hash   \n            },\n            {...}\n        ],\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["v1","organizations","{{organization_uuid}}","templates"],"host":["{{url_api}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e12fcdf2-a474-4c5f-ba68-97d94cb62b93"},{"name":"List Integrations From the Track CXM platform","id":"16103048-c56a-4cee-9416-545c710c3ddb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/integrations","description":"<p>To retrieve all integrations of an organization on the <strong>Track CXM</strong> platform, you can use the following endpoint. This endpoint lists all integrations configured for a specific organization.</p>\n<h3 id=\"endpoint\">Endpoint</h3>\n<p><code>GET /organizations/{organization_uuid}/integrations</code></p>\n<h3 id=\"parameters\">Parameters</h3>\n<ul>\n<li><code>organization_uuid</code> (String): The unique identifier of the organization whose WhatsApp integrations you want to list.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response will be a JSON containing a list of all integrations configured for the organization.</p>\n<h6 id=\"response-json\">Response json</h6>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": [\n        {\n            \"uuid\": \"integration_uuid\",\n            \"name\": \"integration_name\",\n            \"phone\": \"integration_phone\",\n            \"hash\": \"integration_hash\"\n        }\n    ],\n    \"success\": 1,\n    \"message\": \"\"\n}\n\n</code></pre>\n","urlObject":{"path":["v1","organizations","{{organization_uuid}}","integrations"],"host":["{{url_api}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"16103048-c56a-4cee-9416-545c710c3ddb"},{"name":"List Interactions From the Track CXM platform","id":"af7bb9a7-4dac-4ea9-a601-d784a7401bbb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/interactions","description":"<p>This endpoint enables the retrieval of user notes in JSON format on the <strong>Track CXM</strong> platform. The API is updated only at the end of the day. This means that the most recent data available in it is from the previous day. To ensure that you always have access to the most up-to-date data, configure the query date as d-1.</p>\n<h3 id=\"endpoint\">Endpoint</h3>\n<p><code>GET /v1/organizations/{{organization_uuid}}/interactions</code></p>\n<h3 id=\"parameters\">Parameters</h3>\n<ul>\n<li><p><code>answer_status</code> (Integer): Specifies the status of interactions to filter by.</p>\n<ul>\n<li><p><code>1</code>: Responded Interactions</p>\n</li>\n<li><p><code>2</code>: Partial Interactions</p>\n</li>\n<li><p><code>3</code>: Complete and Partial Interactions</p>\n</li>\n</ul>\n</li>\n<li><p><code>start</code> (Date, Required): Start date of the response date range. Format: YYYY-MM-DD.</p>\n</li>\n<li><p><code>end</code> (Date, Required): End date of the response date range. Format: YYYY-MM-DD.</p>\n</li>\n<li><p><code>survey_hash</code> (String): Filters interactions by the public hash/identifier of the survey.</p>\n</li>\n<li><p><code>distribution_hash</code> (String): Filters interactions by the public hash of the distribution.</p>\n</li>\n<li><p><code>limit</code> (Integer): Number of records per page (maximum of 100).</p>\n</li>\n<li><p><code>page</code> (Integer): Page number to be displayed in pagination.</p>\n</li>\n</ul>\n<p><strong>Return Data Notes:</strong></p>\n<p>The return data related to the customer and interaction attributes correspond to the information from the row of the imported file for the distribution to which the interaction belongs.</p>\n<h6 id=\"response-json\">Response json</h6>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"interactions\": [\n            {\n                \"uuid\": \"Unique identifier for the interaction\",\n                \"survey\": {\n                    \"uuid\": \"Unique identifier for the survey\",\n                    \"name\": \"Name of the survey\",\n                    \"public_hash\": \"Public identifier for the survey\"\n                },\n                \"customer\": {\n                    \"uuid\": \"Unique identifier for the user\",\n                    \"name\": \"Name of the user.\",\n                    \"email\": \"Email address of the user\",\n                    \"phone\": \"Phone number of the user\",\n                    \"identifier\": \"User identifier within the platform\",\n                    \"metadata\": [\"List of additional user attributes\"]\n                },\n                \"distribution\": {\n                    \"uuid\": \"Unique identifier for the distribution\",\n                    \"distribution_channel\": \"Channel used to send the survey\",\n                    \"distributed_at\": \"Date and time the survey was sent\",\n                    \"public_hash\": \"Public identifier for the distribution\"\n                },\n                \"answered_at\": \"Date and time the user responded to the survey\",\n                \"health_score\": 100,\n                \"answers\": [\n                    {\n                        \"item_type\": \"Type of the answered question\",\n                        \"question\": \"Text of the answered question\",\n                        \"answer\": \"User's rating for the question\",\n                        \"comment\": \"User's additional comment for the question\",\n                        \"created_at\": \"Date and time the user answered the question\"\n                    }\n                ],\n                \"metadata\": [\"List of additional interaction attributes\"],\n                \"categories\": [\"Categories associated with the interaction\"],\n                \"answer_channel\": \"Channel used by the user to respond to the survey\"\n            }\n        ],\n        \"total_rows\": 1, /*Total number of rows in the query*/ \n        \"total_pages\": 1 /*Total number of pages with results for the query*/\n    },\n    \"success\": 1,\n    \"message\": \"\"\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c3bb0770-9075-4dcc-b4b8-a5b48a43a891","id":"c3bb0770-9075-4dcc-b4b8-a5b48a43a891","name":"API - Track CXM","type":"collection"}},"urlObject":{"path":["v1","organizations","{{organization_uuid}}","interactions"],"host":["{{url_api}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"af7bb9a7-4dac-4ea9-a601-d784a7401bbb"},{"name":"Create a Distribution From the Track CXM platform","id":"72f77d14-ec27-4a69-9108-1b1d89d0c8bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"survey_uuid\": \"...\",\n    \"distribution_channel\": \"...\",\n    \"distribution_name\": \"...\",\n    \"schedule_at\": \"...\",\n    \"validity_at\": \"...\",\n    \"reminder_at\": \"...\",\n    \"is_anonymous\": \"...\",\n    \"template_invite_hash\": \"...\",\n    \"template_reminder_hash\": \"...\",\n    \"template_expired_hash\": \"...\",\n    \"template_thanks_hash\": \"...\",\n    \"import_lines\": [\n        {\n            \"name\": \"...\",\n            \"email\": \"...\",\n            \"cpf\": \"...\"\n        }\n    ],\n    \"whatsapp_template\": {\n        \"name\": \"template-name-example\",\n        \"language\": \"en_US\",\n        \"variables\": [\"customer.name\", \"interaction.produto\"]\n    }, \n    \"whatsapp_integration_uuid\": \"a726be1e-7be0-4add-b983-9c0e46a693db\"// static uuid \n}","options":{"raw":{"language":"json"}}},"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/distributions","description":"<p>To create a new distribution in <strong>Track CXM</strong> plataform, it is necessary to inform only the research identifier and the lines for import, all other fields being optional.</p>\n<p>Important: import_lines is an array with the interaction data that will be inserted in the system, in this object, in addition to the static data such as customer name, email, and phone, customer and interaction attributes that were previously registered can be inserted in the system.</p>\n<p><strong>Response is only http status code 200 if all is ok</strong>.</p>\n<h4 id=\"distributions-channels\">Distributions Channels:</h4>\n<ol>\n<li><p>email</p>\n</li>\n<li><p>smslink</p>\n</li>\n<li><p>whatsapp</p>\n</li>\n</ol>\n<p><strong>Mandatory attributes:</strong></p>\n<ul>\n<li><p>survey_uuid</p>\n</li>\n<li><p>distribution_channel (smslink, email, whatsapp, link, qrcode, linklist)</p>\n</li>\n</ul>\n<p><strong>Attributes for distributions with reminder:</strong></p>\n<ul>\n<li><p>reminder_channel (smslink, email, whatsapp, link, qrcode, linklist)</p>\n<ul>\n<li>If the reminder_channel is not provided, the channel used for the reminder will be the primary one.</li>\n</ul>\n</li>\n<li><p>reminder_at (timestamp)</p>\n<ul>\n<li>If the reminder_at is not provided, the reminder distribution will not occur.</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"whatsapp-distribution\">Whatsapp Distribution:</h3>\n<p>For distributions via WhatsApp, it is important to inform the used template:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code> \"whatsapp_template\": {\n       \"name\": \"template-nome-exemplo\", // template name\n       \"language\": \"pt_BR\", // template language\n       \"variables\": [\"customer.name\", \"interaction.produto\"], //variables present in the template\n       \"id_provider\": \"ID do template\" //template id, ask Track support team\n   }\n\n</code></pre><p>Also, the WhatsApp integration UUID is necessary:<br />\"whatsapp_integration_uuid\": \"integration_uuid\" // Mandatory for WhatsApp distributions</p>\n<p>For distributions via WhatsApp that are configured to send reminders, it is important to add the reminder template in addition to the main message template:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>\"whatsapp_template\": {\n    \"name\": \"template name\",\n    \"language\": \"template language\",\n    \"variables\": [\"customer.name\", \"interaction.product\"] // variables required in the template\n},\n\"whatsapp_reminder_template\": {\n    \"name\": \"template name\",\n    \"language\": \"template language\",\n    \"variables\": [\"customer.name\", \"interaction.product\"] // variables required in the template\n}\n\n</code></pre><h4 id=\"request-params\">Request params</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"survey_uuid\": \"...\", //(Required)\n    \"distribution_channel\": \"...\", //(Required) string email | smslink | whatsapp\n    \"reminder_channel\": \"...\", //(Optional) string email | smslink | whatsapp\n    \"distribution_name\": \"...\", //(Optional) string\n    \"schedule_at\": \"...\", //(Optional) timestamp unix 9999999999\n    \"validity_at\": \"...\", //(Optional) timestamp unix 9999999999\n    \"reminder_at\": \"...\", //(Optional)  timestamp unix 9999999999\n    \"is_anonymous\": \"...\", //(Optional) bool default false\n    \"template_invite_hash\": \"...\",//(Optional) hash of template type invite\n    \"template_reminder_hash\": \"...\",//(Optional) hash of template type reminder\n    \"template_expired_hash\": \"...\",//(Optional) hash of template type expired\n    \"template_thanks_hash\": \"...\",//(Optional) hash of template type thanks\n    \"import_lines\": [\n        {\n            \"name\": \"...\",\n            \"email\": \"...\",\n            \"cpf\": \"...\"\n            //...\n        }\n        //{...}\n    ],\n    \"whatsapp_template\": {\n        \"name\": \"template-name-example\",\n        \"language\": \"en_US\",\n        \"variables\": [\"customer.name\", \"interaction.produto\"], \n        \"id_provider\": \"ID do template\" //template id, ask Track support team\n    }, // Required for whatsapp distribution\n    \"whatsapp_integration_uuid\": \"a726be1e-7be0-4add-b983-9c0e46a693db\"//static uuid\n}\n\n</code></pre>\n","urlObject":{"path":["v1","organizations","{{organization_uuid}}","distributions"],"host":["{{url_api}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"72f77d14-ec27-4a69-9108-1b1d89d0c8bf"},{"name":"Create a Distribution LinkList From the Track CXM platform","id":"2dabf769-0672-4a7e-a072-e0f435ac9425","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"survey_uuid\": \"...\",\n    \"distribution_name\": \"...\",\n\t\"validity_at\": \"...\",\n    \"async\": \"...\",\n\t\"shortened_link\": \"...\",\n\t\"callback_url\": \"...\",\n    \"import_lines\": [\n        {\n            \"name\": \"...\",\n            \"email\": \"...\",\n            \"cpf\": \"...\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/distributions/createLinkList","description":"<p>To create a new linklist distribution in <strong>Track CXM</strong> plataform, it is necessary to inform only the research identifier and the lines for import, all other fields being optional.</p>\n<p>Important: import_lines is an array with the interaction data that will be inserted in the system, in this object, in addition to the static data such as customer name, email, and phone, customer and interaction attributes that were previously registered can be inserted in the system</p>\n<p>Note: the system has a limit of 50 <code>import_lines</code> for requests with parameter<code>{\"async\": false}</code>if the parameter is passed as <code>true</code> or the <code>import_lines</code> has more items than the stipulated limit, processing will be performed in backgroud and once finished will notify <code>POST</code> in the url passed as <code>{\"callback_url\": \"...\"}</code>.</p>\n<h6 id=\"response-json\">Response json</h6>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"distribution_uuid\": \"...\",\n    \"distribution_name\": \"...\",\n    \"callback_url\": \"...\",\n    \"shortened_link\": \"...\",\n    \"survey_uuid\": \"...\",\n    \"validity_at\": \"...\",\n    \"template_expired_hash\": \"...\",\n    \"template_thanks_hash\": \"...\",\n    \"import_lines\": [\n        {\n            \"name\": \"...\",\n            \"email\": \"...\",\n            \"cpf\": \"...\"\n            //...\n        }\n        //{...}\n    ]\n}\n\n</code></pre>\n<h4 id=\"request-params\">Request Params</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"survey_uuid\": \"...\", //(Required)\n    \"distribution_name\": \"...\",//(Optional) string\n    \"validity_at\": \"...\", //(Optional) timestamp unix 9999999999\n    \"async\": true, //(Optional) bool\n    \"shortened_link\": true //(Required) bool\n    \"callback_url\": \"...\", //(Required if async true) url\n    \"template_survey_expired_hash\": \"...\",//(Optional) hash of template type expired\n    \"template_survey_thanks_hash\": \"...\",//(Optional) hash of template type thanks\n    \"import_lines\": [\n        {\n            \"name\": \"...\",\n            \"email\": \"...\",\n            \"cpf\": \"...\"\n            //...\n        }\n        //{...}\n    ]\n}\n\n</code></pre>\n","urlObject":{"path":["v1","organizations","{{organization_uuid}}","distributions","createLinkList"],"host":["{{url_api}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2dabf769-0672-4a7e-a072-e0f435ac9425"},{"name":"List a Distribution From the Track CXM platform","id":"9d6b30cb-c6bc-46fc-b5ad-29be74bb3682","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/distributions/{{distribution_uuid}}","description":"<p>This endpoint allows querying the details of a specific distribution on the <strong>Track</strong> CXM platform.</p>\n<h3 id=\"request\">Request</h3>\n<p><code>GET {{url_api}}/v1/organizations/{{organization_uuid}}/distributions/{{distribution_uuid}}</code></p>\n<h3 id=\"route-parameters\">Route Parameters</h3>\n<ul>\n<li><p><code>{{organization_uuid}}</code> (String): The unique identifier of the organization.</p>\n</li>\n<li><p><code>{{distribution_uuid}}</code> (String): The unique identifier of the distribution.</p>\n</li>\n<li><p><code>{{limit}}</code>: Number of records to display per page (Maximum 100 | Default value: 100)</p>\n</li>\n<li><p><code>{{page}}</code>: Page where you want to view the records</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response will contain detailed information about the specified distribution.</p>\n<h6 id=\"response-json\">Response json</h6>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n   \"data\":{\n      \"uuid\":\"...\",//string\n      \"distribution_name\":\"...\",//string\n      \"distribution_chanel\":\"...\",//int\n      \"survey_uuid\":\"...\",//string\n      \"survey_name\":\"...\",//string\n      \"schedule_at\":\"...\",//time\n      \"validity_at\":\"...\",//time\n      \"reminder_at\":\"...\",//time\n      \"counter\":\"...\",//int\n      \"distributed_at\":\"...\",//time\n      \"added\":\"...\",//int\n      \"valid\":\"...\",//int\n      \"processed\":\"...\",//int\n      \"delivered\":\"...\",//int\n      \"opened\":\"...\",//int\n      \"clicked\":\"...\",//int\n      \"failed\":\"...\",//int\n      \"answered\":\"...\",//int\n      \"done\":\"...\",//int\n      \"partial\":\"...\",//int\n      \"invalid\":\"...\",//int\n      \"not_delivered\":\"...\",//int\n      \"invalid_errors\":{\n         \"error_no_customer_counter\":\"...\",//int\n         \"error_duplicated_customer_counter\":\"...\",//int\n         \"error_duplicated_channel_counter\":\"...\",//int\n         \"error_unknown_channel_counter\":\"...\",//int\n         \"error_no_channel_counter\":\"...\",//int\n         \"error_identifier_format_counter\":\"...\",//int\n         \"error_channel_attribute_format_counter\":\"...\",//int\n         \"error_parse_counter\":\"...\" //int\n      },\n      \"not_delivered_errors\":{\n         \"error_unsubscribed_channel_counter\":\"...\",//int\n         \"error_blockrule_counter\":\"...\",//int\n         \"error_blocked_counter\":\"...\",//int\n         \"error_quarantine_counter\":\"...\" //int\n      },\n      \"total_processed_counter\":\"...\",//int\n      \"error_response_counter\":\"...\",//int\n      \"sender_type\":\"...\",//int\n      \"distribution_hash\":\"...\",//string\n      \"survey_hash\":\"...\",//string\n      \"organization_hash\":\"...\",//string\n      \"created_at\":\"...\"//time\n   }\n}\n\n</code></pre>\n","urlObject":{"path":["v1","organizations","{{organization_uuid}}","distributions","{{distribution_uuid}}"],"host":["{{url_api}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9d6b30cb-c6bc-46fc-b5ad-29be74bb3682"},{"name":"Resend a Distribution From the Track CXM platform","id":"9d710797-6500-496c-9a3d-61923a26f671","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/distributions/{{distribution_uuid}}/resend","description":"<p>This endpoint allows resending a specific distribution on the <strong>Track CXM</strong> platform.</p>\n<h3 id=\"request\">Request</h3>\n<p><code>POST {{url_api}}/v1/organizations/{{organization_uuid}}/distributions/{{distribution_uuid}}/resend</code></p>\n<h3 id=\"route-parameters\">Route Parameters</h3>\n<ul>\n<li><p><code>{{organization_uuid}}</code> (String): The unique identifier of the organization.</p>\n</li>\n<li><p><code>{{distribution_uuid}}</code> (String): The unique identifier of the distribution.</p>\n</li>\n</ul>\n<h3 id=\"request-body\">Request Body</h3>\n<p>The request body should be empty.</p>\n<h3 id=\"request-headers\">Request Headers</h3>\n<ul>\n<li><code>Authorization</code>: Authentication token.</li>\n</ul>\n<h3 id=\"response-codes\">Response Codes</h3>\n<ul>\n<li><p><code>200 OK</code>: The distribution resend was successful.</p>\n</li>\n<li><p><code>404 Not Found</code>: The specified distribution was not found.</p>\n</li>\n</ul>\n","urlObject":{"path":["v1","organizations","{{organization_uuid}}","distributions","{{distribution_uuid}}","resend"],"host":["{{url_api}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9d710797-6500-496c-9a3d-61923a26f671"},{"name":"List All Distribution Of Survey From the Track CXM platform","id":"1cd24404-717c-4c63-b98e-e226b2816b36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/distributions/surveys/{{survey_uuid}}","description":"<p>This endpoint allows listing all distributions associated with a specific survey on the <strong>Track CXM</strong> platform.</p>\n<h3 id=\"request\">Request</h3>\n<p><code>GET {{url_api}}/v1/organizations/{{organization_uuid}}/distributions/surveys/{{survey_uuid}}</code></p>\n<h3 id=\"route-parameters\">Route Parameters</h3>\n<ul>\n<li><p><code>{{organization_uuid}}</code> (String): The unique identifier of the organization.</p>\n</li>\n<li><p><code>{{survey_uuid}}</code> (String): The unique identifier of the survey.</p>\n</li>\n<li><p><code>{{limit}}</code>: Number of records to display per page (Maximum 100 | Default value: 100)</p>\n</li>\n<li><p><code>{{page}}</code>: Page where you want to view the records</p>\n</li>\n<li><p><code>{{</code>start<code>}}</code>: Start date</p>\n</li>\n<li><p><code>{{</code>end<code>}}</code>End date  </p>\n<p>  Start and End refer to the distribution creation period:</p>\n</li>\n<li><p>Maximum period: 3 months</p>\n</li>\n<li><p>Start date must be earlier than end date</p>\n</li>\n<li><p>End date must be later than start date</p>\n</li>\n<li><p>If a start date is provided, an end date must also be provided</p>\n</li>\n<li><p>If an end date is provided, a start date must also be provided</p>\n</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response will contain a list of distributions associated with the specified survey.</p>\n<h6 id=\"response-json\">Response json</h6>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"data\": {\n    \"distributions\": [\n      {\n        \"uuid\": \"...\", //string\n        \"distribution_name\": \"...\", //string\n        \"distribution_chanel\": \"...\", //int\n        \"survey_uuid\": \"...\", //string\n        \"survey_name\": \"...\", //string\n        \"schedule_at\": \"...\", //time\n        \"validity_at\": \"...\", //time\n        \"reminder_at\": \"...\", //time\n        \"counter\": \"...\", //int\n        \"distributed_at\": \"...\", //time\n        \"added\": \"...\", //int\n        \"valid\": \"...\", //int\n        \"processed\": \"...\", //int\n        \"delivered\": \"...\", //int\n        \"opened\": \"...\", //int\n        \"clicked\": \"...\", //int\n        \"failed\": \"...\", //int\n        \"answered\": \"...\", //int\n        \"done\": \"...\", //int\n        \"partial\": \"...\", //int\n        \"invalid\": \"...\", //int\n        \"not_delivered\": \"...\", //int\n        \"invalid_errors\": {\n          \"error_no_customer_counter\": \"...\", //int\n          \"error_duplicated_customer_counter\": \"...\", //int\n          \"error_duplicated_channel_counter\": \"...\", //int\n          \"error_unknown_channel_counter\": \"...\", //int\n          \"error_no_channel_counter\": \"...\", //int\n          \"error_identifier_format_counter\": \"...\", //int\n          \"error_channel_attribute_format_counter\": \"...\", //int\n          \"error_parse_counter\": \"...\" //int\n        },\n        \"not_delivered_errors\": {\n          \"error_unsubscribed_channel_counter\": \"...\", //int\n          \"error_blockrule_counter\": \"...\", //int\n          \"error_blocked_counter\": \"...\", //int\n          \"error_quarantine_counter\": \"...\" //int\n        },\n        \"total_processed_counter\": \"...\", //int\n        \"error_response_counter\": \"...\", //int\n        \"sender_type\": \"...\", //int\n        \"distribution_hash\": \"...\", //string\n        \"survey_hash\": \"...\", //string\n        \"organization_hash\": \"...\", //string\n        \"created_at\": \"...\" //time\n      },\n      {...}, //Other distributions\n    ]\n  }\n}\n\n</code></pre>\n","urlObject":{"path":["v1","organizations","{{organization_uuid}}","distributions","surveys","{{survey_uuid}}"],"host":["{{url_api}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1cd24404-717c-4c63-b98e-e226b2816b36"},{"name":"Create Export From the Track CXM platform","id":"a03009ed-d09c-4ff1-85c1-36684d2c8421","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/exports/{{resource}}","description":"<p>To export data of <strong>Track CXM</strong> plataform, it will be necessary to inform only the resource you intend to export according to the list below:</p>\n<ol>\n<li><p>Interactions <code>int: 1</code></p>\n</li>\n<li><p>Customers <code>int: 2</code></p>\n</li>\n<li><p>Distributions <code>int: 3</code></p>\n</li>\n<li><p>Surveys <code>int: 6</code></p>\n</li>\n<li><p>Loops <code>int: 7</code></p>\n</li>\n</ol>\n<h4 id=\"attributes\">Attributes</h4>\n<ol>\n<li><p><strong>survey_hash (String)</strong>: The unique identifier of the survey. It can be used to filter data related to a specific survey in exports of <strong>interactions</strong> and <strong>distributions</strong>.</p>\n</li>\n<li><p><strong>with_quotes (Boolean)</strong>: This attribute is responsible for providing a different formatting for the generated CSV file.</p>\n<ul>\n<li><p><strong>true</strong>: If set to \"true\", the CSV will be generated with text fields enclosed in quotes and fields separated by semicolons (;).</p>\n</li>\n<li><p><strong>false</strong>: If set to \"false\", text fields will not be enclosed in quotes, and fields will be separated by commas (,).The \"with_quotes\" attribute applies to all types of available exports.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>distribution_hash (String)</strong>: The unique identifier of the distribution. It can be used to filter data related to a specific distribution in exports of <strong>interactions</strong> .</p>\n</li>\n<li><p><strong>answer_status (Integer):</strong> Current status of the customer's response to the survey, which can be:</p>\n<ol>\n<li><p><strong>Fully answered = 1</strong></p>\n</li>\n<li><p><strong>Partially answered = 2</strong></p>\n</li>\n<li><p><strong>Fully or Partially answered = 3</strong></p>\n</li>\n</ol>\n</li>\n<li><p><strong>loop_uuid (String):</strong> Unique identifier of the loop group. It can be used to filter data related to a specific loop group in loop exports.</p>\n</li>\n<li><p><strong>dealt_status (Integer):</strong> Current status of the loop ticket in loop exports, which can be:</p>\n<ol>\n<li><p><strong>Open = 1</strong></p>\n</li>\n<li><p><strong>In Progress = 2</strong></p>\n</li>\n<li><p><strong>Completed = 3</strong></p>\n</li>\n</ol>\n</li>\n</ol>\n<h4 id=\"body-example\">Body Example:</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Body\n{\n    \"survey_hash\": \"ABCD\",\n    \"with_quotes\": true,\n    \"distribution_hash\": \"ABCD\",\n    \"answer_status\": 1,\n    \"loop_uuid\": \"ABCD\",\n    \"dealt_status\": 2 \n}\n\n</code></pre><p><strong>Response is only http status code 200 if all is ok</strong>.</p>\n","urlObject":{"path":["v1","organizations","{{organization_uuid}}","exports","{{resource}}"],"host":["{{url_api}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a03009ed-d09c-4ff1-85c1-36684d2c8421"},{"name":"List All Exports From the Track CXM platform","id":"1620c7dd-84ff-49b5-89b3-23a80bd66f2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/exports/{{resource}}","description":"<p>This endpoint allows listing all data exports performed on the <strong>Track</strong> CXM platform.</p>\n<h3 id=\"request\">Request</h3>\n<p><code>GET {{url_api}}/v1/organizations/{{organization_uuid}}/exports</code></p>\n<h3 id=\"route-parameters\">Route Parameters</h3>\n<ul>\n<li><code>{{organization_uuid}}</code> (String): The unique identifier of the organization.</li>\n</ul>\n<h3 id=\"response\">Response</h3>\n<p>The response will be a JSON containing a list of all data exports performed by the organization.</p>\n<h6 id=\"response-json\">Response json</h6>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"data\": {\n        \"exports\": [\n            {\n                \"uuid\": \"...\",\n                \"name\": \"...\",\n                \"status\": \"...\",\n                \"csv_url\": \"...\",\n                \"created_at\": \"...\"\n            },\n            {...} //Exports\n        ]\n    }\n}\n\n</code></pre>\n","urlObject":{"path":["v1","organizations","{{organization_uuid}}","exports","{{resource}}"],"host":["{{url_api}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1620c7dd-84ff-49b5-89b3-23a80bd66f2f"},{"name":"Track CXM integration via Webhook","id":"cf20f211-be26-4644-9a52-02dfffba6da0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{your_token_here}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"events\": [\n        {\n            \"type\": \"...\",\n            \"interaction_uuid\": \"...\", \n            \"distribution_uuid\": \"...\", \n            \"survey_uuid\": \"...\",\n            \"survey_name\": \"...\",\n            \"survey_public_hash\": \"...\",\n            \"answered_at\": \"...\",\n            \"distributed_at\": \"...\",\n            \"answered_channel\": \"...\",\n            \"distribution_channel\": \"...\",\n            \"health_score\": \"...\",\n            \"answers\": [\n                {\n                    \"item_uuid\": \"...\", \n                    \"question_type\": \"...\",\n                    \"question\": \"...\",\n                    \"answer\": \"...\",\n                    \"comment\": \"...\",\n                    \"other_option\": \"...\"\n                },\n            ],\n            \"customer\": {\n                \"name\": \"...\",\n                \"email\": \"...\",\n                \"phone\": \"...\",\n                \"attributes\": [\n                    {\n                        \"uuid\": \"...\", \n                        \"name\": \"...\", \n                        \"value\": \"...\"\n                    }\n                ]\n            },\n            \"interaction_attributes\": [\n                {\n                    \"uuid\": \"...\",\n                    \"name\": \"...\",\n                    \"value\": \"...\"\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{your_url_here}}","description":"<p>A webhook is an elegant way to be notified whenever there is an event in your surveys on the <strong>Track CXM</strong> platform. Follow the steps below to configure and receive notifications via POST in your system.</p>\n<h3 id=\"1-access-your-cxm-platform-dashboard\">1. Access Your CXM Platform Dashboard</h3>\n<ul>\n<li>Log in to your admin panel on the CXM platform.</li>\n</ul>\n<h3 id=\"2-navigate-to-account-settings\">2. Navigate to Account Settings</h3>\n<ul>\n<li>Go to the settings section of your account.</li>\n</ul>\n<h3 id=\"3-access-integrations\">3. Access Integrations</h3>\n<ul>\n<li>Look for the integrations section.</li>\n</ul>\n<h3 id=\"4-configure-new-webhook\">4. Configure New Webhook</h3>\n<ul>\n<li>Enable the option to configure a new webhook.</li>\n</ul>\n<h3 id=\"5-enter-destination-url\">5. Enter Destination URL</h3>\n<ul>\n<li>Insert the destination URL for webhook notifications. Ensure that this URL is accessible by your system and configured to receive and process POST requests.</li>\n</ul>\n<h3 id=\"6-choose-events\">6. Choose Events</h3>\n<ul>\n<li>Choose which events you want to receive notifications for. For example, you can opt to receive notifications for new responses, distribution updates, etc.</li>\n</ul>\n<h3 id=\"7-save-configuration\">7. Save Configuration</h3>\n<ul>\n<li>Save the webhook configuration.</li>\n</ul>\n<h3 id=\"notification-handling\">Notification Handling</h3>\n<p>After correctly configuring the webhook, your system will receive notifications via POST whenever there is an event.</p>\n<h4 id=\"request-params\">Request params</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"events\": [\n        {\n            \"type\": \"...\",\n            \"interaction_uuid\": \"...\", // uuid v4\n            \"distribution_uuid\": \"...\", // uuid v4\n            \"survey_uuid\": \"...\", // uuid v4\n            \"survey_name\": \"...\", // string\n            \"survey_public_hash\": \"...\", // string\n            \"answered_at\": \"...\", // unix timestamp (integer)\n            \"distributed_at\": \"...\", // unix timestamp (integer)\n            \"answered_channel\": \"...\", // web, widget, sms\n            \"distribution_channel\": \"...\", // email, sms, widget, link, linklist, qrcode\n            \"health_score\": \"...\", // integer\n            \"answers\": [\n                {\n                    \"item_uuid\": \"...\", // uuid v4\n                    \"question_type\": \"...\", // nps_relational, nps_transactional, ces, ces2, csat, ratings, emoji, thumbs, multiple_choice, open\n                    \"question\": \"...\", // string\n                    \"answer\": \"...\", // string or array for multiple_choice (Ex.: [\"answer A\",\"answer B\"])\n                    \"comment\": \"...\", // string\n                    \"other_option\": \"...\" // string (outra opção para múltipla escolha)\n                },\n                {...}\n            ],\n            \"customer\": {\n                \"name\": \"...\", // string\n                \"email\": \"...\", // email string\n                \"phone\": \"...\", // integer\n                \"attributes\": [\n                    {\n                        \"uuid\": \"...\", // uuid v4\n                        \"name\": \"...\", // string\n                        \"value\": \"...\" // string\n                    }\n                ]\n            },\n            \"interaction_attributes\": [\n                {\n                    \"uuid\": \"...\", // string\n                    \"name\": \"...\", // string\n                    \"value\": \"...\" // string\n                }\n            ]\n        }\n    ]\n}\n\n</code></pre>\n","urlObject":{"host":["{{your_url_here}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cf20f211-be26-4644-9a52-02dfffba6da0"},{"name":"List all survey distributions by research group","id":"91264f5e-3f29-49a5-ae54-ba842da5b999","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url_api}}/v1/organizations/{{organization_uuid}}/distributions/survey-groups/{{survey_group_uuid}}","description":"<p>This endpoint allows you to retrieve and list all distributions for all surveys linked to a specific research group.</p>\n<h3 id=\"endpoint\"><strong>Endpoint</strong></h3>\n<p><code>GET /v1/organizations/{{organization_uuid}}/distributions/survey-groups/{{survey_group_uuid}}?start=2026-03-01&amp;end=2026-03-02&amp;limit=10&amp;page=1</code></p>\n<h3 id=\"path-parameters\"><strong>Path Parameters</strong></h3>\n<ul>\n<li><p><strong>organization_uuid</strong> (String): Unique identifier for the organization.</p>\n</li>\n<li><p><strong>survey_group_uuid</strong> (String): Unique identifier for the research group.</p>\n</li>\n</ul>\n<h3 id=\"query-parameters\"><strong>Query Parameters</strong></h3>\n<ul>\n<li><p><strong>start</strong> and <strong>end</strong> (Required if one is used):<br />  Filters interactions by response date range (up to a 3-month interval).<br />  <strong>Format:</strong> <code>YYYY-MM-DD</code></p>\n</li>\n<li><p><strong>limit</strong> (Integer):<br />  Number of records per page (Maximum: 100).<br />  <strong>Default:</strong> 10</p>\n</li>\n<li><p><strong>page</strong> (Integer):<br />  The page number to be displayed for pagination.</p>\n</li>\n</ul>\n<h6 id=\"response-json\">Response json</h6>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"data\": {\n    \"distribution\": [\n      {\n        \"uuid\": \"0b1caa77-0f6e-4b9e-9637-faa3cf6dbd6c\",\n        \"distribution_name\": \"Anônima 3/12/2026, 5:11:05 PM\",\n        \"distribution_chanel\": 6,\n        \"survey_uuid\": \"33b2ba35-d466-4eea-95e5-0b5ecdf47f4d\",\n        \"survey_name\": \"xxxx\",\n        \"schedule_at\": null,\n        \"validity_at\": null,\n        \"reminder_at\": null,\n        \"counter\": 1,\n        \"distributed_at\": 0,\n        \"added\": 0,\n        \"valid\": 0,\n        \"processed\": 0,\n        \"delivered\": 0,\n        \"opened\": 0,\n        \"clicked\": 0,\n        \"answered\": 0,\n        \"done\": 0,\n        \"partial\": 0,\n        \"failed\": 0,\n        \"invalid\": 0,\n        \"not_delivered\": 0,\n        \"invalid_errors\": {\n          \"error_channel_attribute_format_counter\": 0,\n          \"error_duplicated_channel_counter\": 0,\n          \"error_duplicated_customer_counter\": 0,\n          \"error_identifier_format_counter\": 0,\n          \"error_no_channel_counter\": 0,\n          \"error_no_customer_counter\": 0,\n          \"error_parse_counter\": 0,\n          \"error_unknown_channel_counter\": 0\n        },\n        \"not_delivered_errors\": {\n          \"error_blocked_counter\": 0,\n          \"error_blockrule_counter\": 0,\n          \"error_quarantine_counter\": 0,\n          \"error_unsubscribed_channel_counter\": 0\n        },\n        \"error_response_counter\": 0,\n        \"sender_type\": 0,\n        \"survey_hash\": \"xxxx\",\n        \"distribution_hash\": \"xxxx\",\n        \"organization_hash\": \"xxxx\",\n        \"created_at\": 1773346281\n      }\n    ],\n    \"total\": 1,\n    \"pages\": 1,\n    \"current_page\": 1,\n    \"per_page\": 100\n  },\n  \"success\": 1,\n  \"message\": \"\",\n  \"cache_timestamp\": 0\n}\n\n</code></pre>\n","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c3bb0770-9075-4dcc-b4b8-a5b48a43a891","id":"c3bb0770-9075-4dcc-b4b8-a5b48a43a891","name":"API - Track CXM","type":"collection"}},"urlObject":{"path":["v1","organizations","{{organization_uuid}}","distributions","survey-groups","{{survey_group_uuid}}"],"host":["{{url_api}}"],"query":[{"disabled":true,"description":{"content":"<p>Data de ínicio (obrigatório se tiver end)</p>\n","type":"text/plain"},"key":"start","value":"2026-03-01"},{"disabled":true,"description":{"content":"<p>Data de fim (obrigatório se tiver start)</p>\n","type":"text/plain"},"key":"end","value":"2026-03-02"},{"disabled":true,"description":{"content":"<p>Quantidade de itens por página (opcional)</p>\n","type":"text/plain"},"key":"limit","value":"10"},{"disabled":true,"description":{"content":"<p>Número da página (opcional)</p>\n","type":"text/plain"},"key":"page","value":"1"}],"variable":[]}},"response":[],"_postman_id":"91264f5e-3f29-49a5-ae54-ba842da5b999"}],"id":"e90ca531-481a-45e4-92fc-c521b008a1a1","description":"<hr />\n<h2 id=\"welcome-to-the-track-cxm-public-api-documentation\">Welcome to the Track CXM Public API Documentation!</h2>\n<p><strong>Your gateway to a comprehensive and personalized integration</strong></p>\n<p><strong>Track CXM</strong> provides its customers with a robust API, enabling seamless integration of our platform with various other systems. Through the <strong>Track CXM API</strong>, you gain access to a universe of functionalities that facilitate data collection, processing, and analysis, driving customer experience in your company.</p>\n<p><strong>Custom-tailored survey distribution and data extraction</strong></p>\n<p>With the Track CXM API, you have the power to:</p>\n<ul>\n<li><p><strong>Strategically distribute stored Track CXM surveys:</strong> Create and distribute personalized surveys to different audiences, collecting valuable feedback and actionable insights that boost customer satisfaction.</p>\n</li>\n<li><p><strong>Accurately extract stored Track CXM data:</strong> Access and extract relevant data in an automated manner, enriching your knowledge base and optimizing internal processes.</p>\n</li>\n<li><p><strong>Perform personalized actions for your organization based on data stored in Track CXM:</strong> Automate tasks and workflows based on the collected data, streamlining problem resolution and enhancing the customer experience.</p>\n</li>\n</ul>\n<p><strong>Tailored integration for your needs</strong></p>\n<p>The Track CXM API is designed to offer total flexibility, allowing you to customize the integration according to the specific needs of your business. Whatever your scenario, Track CXM offers the ideal solution to seamlessly integrate with your technological infrastructure.</p>\n<p><strong>Explore more Track CXM integration features</strong></p>\n<p>Track CXM goes beyond the API, offering several other integration options to meet your needs:</p>\n<ul>\n<li><p><strong>Webhook integration on Track CXM:</strong> Receive real-time notifications about important events on the Track CXM platform.</p>\n</li>\n<li><p><strong>SFTP integration on Track CXM:</strong> Securely and automatically transfer data between Track CXM and your systems.</p>\n</li>\n<li><p><strong>Widget integration on Track CXM:</strong> Integrate Track CXM directly into your website or application, collecting instant feedback from your customers.</p>\n</li>\n</ul>\n<p><strong>Access the Track CXM</strong> <a href=\"https://help.track.co/\"><b>Help Center</b></a> <strong>for more information</strong></p>\n<p>To learn more about Track CXM API features, ask questions about the platform, or explore other integration options, access our comprehensive and detailed <a href=\"https://help.track.co/\"><b>Help Center</b></a>. Our team of experts is always available to assist you at every step of your integration journey.</p>\n<p><strong>Remember:</strong></p>\n<p>Before starting the integration with <strong>Track CXM</strong>, it is essential to read all the documentation carefully. <strong>The CXM API</strong> endpoints are organized in a linear and complementary way, ensuring a complete and efficient integration.</p>\n<p>With the <strong>Track CXM API</strong>, you have everything you need to transform the customer experience in your company. Start integrating <strong>Track CXM</strong> today and enjoy the benefits of a complete and versatile platform.</p>\n<hr />\n<h2 id=\"authentication-token-and-organization-identifier-for-integration-with-the-track-cxm-api\">AUTHENTICATION TOKEN AND ORGANIZATION IDENTIFIER FOR INTEGRATION WITH THE TRACK CXM API</h2>\n<p><strong>Ensuring secure and personalized access to the Track CXM API</strong></p>\n<p>To ensure a secure and personalized integration with the <strong>Track CXM API</strong>, it is necessary to use a unique authentication token and your organization's identifier. This data acts as access keys that allow the <strong>Track CXM API</strong> to identify and validate your request, ensuring that only authorized users can access the platform's resources.</p>\n<p><strong>Obtaining your Track CXM API authentication credentials:</strong></p>\n<ol>\n<li><p><strong>Access your dashboard on the</strong> <a href=\"https://app.track.co/\"><b>Track CXM Plataform</b></a><strong>:</strong> Start the authentication process by accessing the Track CXM control panel with your usual login credentials.</p>\n</li>\n<li><p><strong>Within the Track CXM platform, navigate to Settings &gt; Integrations &gt; API:</strong> In the main panel menu, locate the \"Settings\" section and then click on \"Integrations\". Within the integrations area, select the \"API\" option.</p>\n</li>\n<li><p><strong>Activate Track CXM API integration:</strong> To enable the use of the Track CXM API, click on the \"Activate API\" button. This action will allow you to generate the authentication token and organization identifier required for the integration.</p>\n</li>\n<li><p><strong>Retrieve your TOKEN and organization UUID stored on the Track CXM platform:</strong> After activating the <strong>Track CXM API</strong>, you will have access to your unique authentication token and organization identifier (UUID). Store this information securely, as it will be essential for making requests to the <strong>Track CXM API</strong>.</p>\n</li>\n</ol>\n<p><strong>Important notes:</strong></p>\n<ul>\n<li><p><strong>Security first for Track CXM API access:</strong> The authentication token and organization identifier are confidential information. Keep them in a safe place and avoid sharing them with third parties.</p>\n</li>\n<li><p><strong>Track CXM support at your fingertips:</strong> If you have any questions or difficulties during the process of obtaining authentication credentials, please contact our Track CXM technical support team. We are always available to assist you and ensure a smooth and efficient integration experience.</p>\n</li>\n</ul>\n<p>With the authentication token and organization identifier in hand, you will be ready to enjoy all the features of the Track CXM API and perform personalized integrations that will boost the customer experience in your company.</p>\n<hr />\n<h1 id=\"rate-limits\">RATE LIMITS</h1>\n<p>Our API calls are limited to 2.000 requests per minute. Integration should adjust to this limit to prevent requests from returning error.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Escope</strong></th>\n<th><strong>Requests per minute (RPM)</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>All requests on Track CXM public API</td>\n<td>2000</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"track-cxm-api-standards\">TRACK CXM API STANDARDS</h2>\n<p><strong>Authorization</strong></p>\n<p>In all requests to the <strong>Track CXM API</strong>, it will be necessary to inform a <code>Bearer token</code> in the request header:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-http\">Authorization: Bearer {{token_here}}\n\n</code></pre>\n<h2 id=\"api-response-format\"><strong>API RESPONSE FORMAT</strong></h2>\n<p>All Track CXM API responses follow the JSON standard. This is also the standard in which</p>\n<p><strong>send on header:</strong> <strong><code>Content-Type:application/json</code></strong></p>\n<h2 id=\"track-cxm-api-default-url\">Track CXM API Default URL</h2>\n<p><strong>All requests to the Track CXM API should be made to:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://api.track.co\n\n</code></pre><p>This is the standard URL for all API endpoints, ensuring a consistent and streamlined integration experience.</p>\n<h2 id=\"track-cxm-api-error-standard\">Track CXM API Error Standard</h2>\n<p>Whenever the HTTP status code returned by the Track CXM API is different from 200, the server will respond with the following error pattern:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"message\": \"\",\n    \"success\": \"\"\n}\n\n</code></pre>\n<hr />\n","_postman_id":"e90ca531-481a-45e4-92fc-c521b008a1a1","auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":true,"source":{"_postman_id":"c3bb0770-9075-4dcc-b4b8-a5b48a43a891","id":"c3bb0770-9075-4dcc-b4b8-a5b48a43a891","name":"API - Track CXM","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[]}},"event":[{"listen":"prerequest","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"9d19cff3-3ae2-4234-ab4d-4f5cf50e7fce"}},{"listen":"test","script":{"type":"text/javascript","packages":{},"exec":[""],"id":"90e23651-b306-42a1-81a0-bf9f670cf4a6"}}]}