{"info":{"_postman_id":"325e3e7d-8dff-4eba-a2c7-847be8fd0773","name":"Citrus Pesquisas de Satisfação","description":"<html><head></head><body><p>A <strong>Citrus Survey API</strong> oferece um conjunto completo de <em>endpoints</em> para gerenciar o ciclo de vida de <strong>Pesquisas de Satisfação</strong> (<strong>CES, CSAT, NPS</strong>). Desde a criação até coleta de respostas e acompanhamento de progresso, incluindo gerenciamento de modelos, clientes de API, autenticação e integração com filas de atendimento.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"39004890","collectionId":"325e3e7d-8dff-4eba-a2c7-847be8fd0773","publishedId":"2sB3HgP2y4","public":true,"customColor":{"top-bar":"C8DF00","right-sidebar":"303030","highlight":"C8DF00"},"publishDate":"2025-08-27T19:22:51.000Z"},"item":[{"name":"Pré-requisitos","item":[],"id":"e5561beb-7fd4-4b4a-9b8c-0a0676d03a43","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Requisito</th>\n<th>Detalhes</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>Autenticação (JWT)</strong></td>\n<td>Você deve obter <strong>tokens de acesso e de renovação</strong> via endpoint de login. Utilize o <code>accessToken</code> no header <code>Authorization: Bearer</code> . Esse token expira, então use o <code>refreshToken</code> para renová-lo quando necessário.</td>\n</tr>\n<tr>\n<td><strong>Formato JSON</strong></td>\n<td>Todos os requests e responses utilizam o formato <code>application/json</code>.</td>\n</tr>\n<tr>\n<td><strong>Padrão de datas</strong></td>\n<td>Datas são enviadas e recebidas no formato ISO 8601 (<code>YYYY-MM-DDTHH:MM:SSZ</code>).</td>\n</tr>\n<tr>\n<td><strong>Permissões</strong></td>\n<td>Algumas operações exigem privilégios especiais (por exemplo, para criar um cliente da API ou definir configurações de pesquisa).</td>\n</tr>\n<tr>\n<td><strong>Uso correto dos DTOs</strong></td>\n<td>A API adota o padrão <strong>DTO (Data Transfer Object)</strong>: objetos como <code>SurveyDTO</code>, <code>ApiClientFormDTO</code>, <code>SurveyResponseResultDTO</code>, etc., são usados para transportar dados entre cliente e servidor. Essas estruturas são documentadas em detalhes na seção de “Campos Retornados”.</td>\n</tr>\n<tr>\n<td><strong>Validação de enum</strong></td>\n<td>Campos do tipo enum (como <code>surveyType</code>, <code>surveyTypeCSAT</code>) aceitam somente valores válidos, conforme descrito nos modelos (por exemplo, <code>CSAT</code>, <code>NPS</code>, <code>CES</code>, ou <code>EMOJI</code>, <code>NUMERIC</code>).</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"e5561beb-7fd4-4b4a-9b8c-0a0676d03a43"},{"name":"Autenticação","item":[{"name":"Validar Autenticação do Usuário","id":"316a33a4-a22e-4312-948d-903f63af676b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"//api/auth/validate","description":"<p>Verifica se o <em>token</em> de autenticação fornecido no cabeçalho da requisição é válido e ainda está ativo.  </p>\n<p>Caso a validação seja bem-sucedida, retorna um <em>status</em> <strong>200 OK</strong>.</p>\n","urlObject":{"path":["api","auth","validate"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"209565f7-b60c-459c-9c2d-6908b51ffd20","name":"200 -OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","disabled":true}],"url":"//api/auth/validate"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"}],"_postman_id":"316a33a4-a22e-4312-948d-903f63af676b"},{"name":"Registrar/Criar Novo Usuário","id":"5e869194-4131-4a8a-8ca1-687b5ef3ee43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"name\": \"string\",\n  \"email\": \"string\",\n  \"tenantId\": \"string\",\n  \"description\": \"string\",\n  \"active\": true,\n  \"isAdmin\": true,\n  \"createdAt\": \"2025-08-27T18:14:33.630Z\",\n  \"updatedAt\": \"2025-08-27T18:14:33.630Z\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/auth/register","description":"<p>Ao enviar os dados obrigatórios no corpo da requisição, o sistema cria a conta e retorna as credenciais de autenticação (<em>tokens</em>) para que o usuário possa acessar imediatamente.</p>\n","urlObject":{"path":["api","auth","register"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"9b62c2b5-331f-472b-bf52-a1c28edbbf51","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":true},{"key":"Accept","value":"application/json","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"active\": false,\n  \"email\": \"string\",\n  \"isAdmin\": true,\n  \"name\": \"string\",\n  \"tenantId\": \"st\",\n  \"id\": \"e6df2ecc-b978-8fe8-bdb4-6dc831959a6e\",\n  \"description\": \"string\",\n  \"createdAt\": \"2016-04-26T08:00:02.914Z\",\n  \"updatedAt\": \"2002-02-26T17:20:38.877Z\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/auth/register"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"accessToken\": \"string\",\n  \"refreshToken\": \"st\",\n  \"expiresIn\": 4447\n}"}],"_postman_id":"5e869194-4131-4a8a-8ca1-687b5ef3ee43"},{"name":"Refresh Token","id":"c4388acf-ce0f-4ed8-8838-0662981727e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"refreshToken\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/auth/refresh","description":"<p>Este <em>endpoint</em> é utilizado para gerar um novo <strong>accessToken</strong> a partir de um <strong>refreshToken</strong> válido.<br />O processo garante que o usuário continue autenticado sem a necessidade de realizar <em>login</em> novamente, desde que o <strong>refresh token</strong> ainda esteja ativo.</p>\n","urlObject":{"path":["api","auth","refresh"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"66ed85f1-081f-4878-a906-af3fed0313d4","name":"200 -  OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":true},{"key":"Accept","value":"application/json","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"refreshToken\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/auth/refresh"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"accessToken\": \"string\",\n  \"refreshToken\": \"string\",\n  \"expiresIn\": 4447\n}"}],"_postman_id":"c4388acf-ce0f-4ed8-8838-0662981727e8"},{"name":"Logout","id":"dce374d5-c9ff-41d0-b4a3-735004ad2a9a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"refreshToken\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/auth/logout","description":"<p>Utilizado para encerrar a sessão de um usuário autenticado, invalidando o <strong>refreshToken</strong> associado.<br />Após o <em>logout</em>, o usuário precisará realizar um novo <em>login</em> para obter credenciais válidas de acesso.</p>\n","urlObject":{"path":["api","auth","logout"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"112cdaf7-0cc5-49bd-b145-362f8b92d49b","name":"204 - No Content","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"refreshToken\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/auth/logout"},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"dce374d5-c9ff-41d0-b4a3-735004ad2a9a"},{"name":"Login - Create Authentication Token","id":"a8eb432e-1b2b-443d-b851-fc254e751032","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"apiKey\": \"string\",\n  \"tenantId\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/auth/login","description":"<p>Utilizado para autenticar um usuário através de uma chave de API (<strong>apiKey</strong>) e um identificador de <strong>tenant</strong> (<strong>tenantId</strong>).<br />O <em>login</em> gera <em>tokens</em> de acesso que permitem consumir os demais <em>endpoints</em> da API de forma segura.</p>\n","urlObject":{"path":["api","auth","login"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"9339d7a0-79a5-4f13-b998-3587e25888c6","name":"200 - OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":true},{"key":"Accept","value":"application/json","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"apiKey\": \"string\",\n  \"tenantId\": \"string\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/auth/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"accessToken\": \"string\",\n  \"refreshToken\": \"string\",\n  \"expiresIn\": 4447\n}"}],"_postman_id":"a8eb432e-1b2b-443d-b851-fc254e751032"}],"id":"8cb01a82-12f1-4fc5-86a3-e1224d1e5422","description":"<p><em>Endpoints</em> de <strong>Autenticação/Autorização (Auth )</strong> para:</p>\n<ul>\n<li><p><strong>Identificar o cliente/usuário</strong> que está acessando a API.</p>\n</li>\n<li><p><strong>Gerar</strong> <em><strong>tokens</strong></em> <strong>de acesso</strong> (API Key).</p>\n</li>\n<li><p><strong>Gerenciar sessões</strong> (<em>login</em>, <em>logout, refresh</em> de <em>token</em>).</p>\n</li>\n<li><p><strong>Restringir permissões</strong>.</p>\n</li>\n</ul>\n","_postman_id":"8cb01a82-12f1-4fc5-86a3-e1224d1e5422"},{"name":"Clientes da API","item":[{"name":"Obter todos os clientes da API","id":"1926b682-299f-4b5c-9510-4b71af96b64b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"//api/api-clients\n ","description":"<p>Retorna uma lista de todos os clientes da API cadastrados. Requer privilégios de <strong>Administrador</strong>.</p>\n","urlObject":{"path":["api","api-clients\n "],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"715f1465-4d18-453e-a28b-09f4aed0a18e","name":"200 - Clientes encontrados com sucesso","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","disabled":true}],"url":"//api/api-clients"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"name\": \"string\",\n  \"email\": \"string\",\n  \"active\": true,\n  \"isAdmin\": true,\n  \"description\": \"string\",\n  \"createdAt\": \"2025-08-27T14:48:25.692Z\",\n  \"updatedAt\": \"2025-08-27T14:48:25.692Z\"\n}"},{"id":"8e1a48eb-c63e-49dd-a625-b6c9078d0bea","name":"401 - Error","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","disabled":true}],"url":"//api/api-clients"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"5217de90-7f94-46fb-8484-8d3433656eb3","name":"403 - Acesso negado - Requer privilégios de Administrador","originalRequest":{"method":"GET","header":[],"url":"//api/api-clients"},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"1926b682-299f-4b5c-9510-4b71af96b64b"},{"name":"Obter cliente da API por ID","id":"10117bdb-63a1-4f24-8a14-56390a08de86","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"//api/api-clients/:id","description":"<p>Retorna um cliente da API específico pelo seu ID. Requer privilégios de <strong>Administrador</strong>.</p>\n","urlObject":{"path":["api","api-clients",":id"],"host":["/"],"query":[],"variable":[{"description":{"content":"<p>(Required) ID do cliente da API</p>\n","type":"text/plain"},"type":"any","value":"388d2e73-f6be-9eff-a6fa-2c902052c5fc","key":"id"}]}},"response":[{"id":"a0ba478b-409d-4917-9626-d184c5d9b4bf","name":"200 - Cliente encontrado com sucesso","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","disabled":true}],"url":{"raw":"//api/api-clients/:id","path":["","api","api-clients",":id"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"name\": \"string\",\n  \"email\": \"string\",\n  \"active\": true,\n  \"isAdmin\": true,\n  \"description\": \"string\",\n  \"createdAt\": \"2025-08-27T14:50:13.381Z\",\n  \"updatedAt\": \"2025-08-27T14:50:13.381Z\"\n}"},{"id":"2fca8f43-72f7-45f2-8c77-67d2c4602fc5","name":"403 - Acesso negado - Requer privilégios de Administrador","originalRequest":{"method":"GET","header":[],"url":{"raw":"//api/api-clients/:id","host":["/"],"path":["api","api-clients",":id"],"variable":[{"key":"id","value":""}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""},{"id":"f5329464-366a-4815-a038-ba2634bc5d01","name":"404 - Cliente não encontrado","originalRequest":{"method":"GET","header":[],"url":{"raw":"//api/api-clients/:id","host":["/"],"path":["api","api-clients",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"10117bdb-63a1-4f24-8a14-56390a08de86"},{"name":"Criar novo cliente da API","id":"10904c32-252b-4e86-ac48-9ed8d835d085","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"name\": \"string\",\n  \"email\": \"string\",\n  \"tenantId\": \"string\",\n  \"description\": \"string\",\n  \"active\": true,\n  \"isAdmin\": true,\n  \"createdAt\": \"2025-08-27T14:33:40.256Z\",\n  \"updatedAt\": \"2025-08-27T14:33:40.256Z\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/api-clients","description":"<p>Cria um novo cliente da API com as credenciais especificadas. Requer privilégios de Administrador.</p>\n","urlObject":{"path":["api","api-clients"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"58dbc312-8fab-4493-be2d-44c096b8fe98","name":"201 - Cliente criado com sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":true},{"key":"Accept","value":"application/json","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"active\": false,\n  \"email\": \"string\",\n  \"isAdmin\": true,\n  \"name\": \"string\",\n  \"tenantId\": \"st\",\n  \"id\": \"e6df2ecc-b978-8fe8-bdb4-6dc831959a6e\",\n  \"description\": \"string\",\n  \"createdAt\": \"2016-04-26T08:00:02.914Z\",\n  \"updatedAt\": \"2002-02-26T17:20:38.877Z\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/api-clients"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"name\": \"string\",\n  \"email\": \"string\",\n  \"active\": true,\n  \"isAdmin\": true,\n  \"description\": \"string\",\n  \"createdAt\": \"2025-08-27T14:51:11.969Z\",\n  \"updatedAt\": \"2025-08-27T14:51:11.969Z\"\n}"},{"id":"96aa7351-21a9-4176-a07f-3ddb9a9a8d14","name":"400 - Requisição inválida ou e-mail já em uso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":true},{"key":"Accept","value":"application/json","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"active\": false,\n  \"email\": \"string\",\n  \"isAdmin\": true,\n  \"name\": \"string\",\n  \"tenantId\": \"st\",\n  \"id\": \"e6df2ecc-b978-8fe8-bdb4-6dc831959a6e\",\n  \"description\": \"string\",\n  \"createdAt\": \"2016-04-26T08:00:02.914Z\",\n  \"updatedAt\": \"2002-02-26T17:20:38.877Z\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/api-clients"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"string"},{"id":"0133a852-6e11-4a08-b916-217a370f68ab","name":"403 - Acesso negado - Requer privilégios de Administrador","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"active\": false,\n  \"email\": \"string\",\n  \"isAdmin\": true,\n  \"name\": \"string\",\n  \"tenantId\": \"st\",\n  \"id\": \"e6df2ecc-b978-8fe8-bdb4-6dc831959a6e\",\n  \"description\": \"string\",\n  \"createdAt\": \"2016-04-26T08:00:02.914Z\",\n  \"updatedAt\": \"2002-02-26T17:20:38.877Z\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/api-clients"},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"10904c32-252b-4e86-ac48-9ed8d835d085"},{"name":"Atualizar cliente da API","id":"c2daf7b5-88ce-442f-bca8-525dd749d34d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"name\": \"string\",\n  \"email\": \"string\",\n  \"tenantId\": \"string\",\n  \"description\": \"string\",\n  \"active\": true,\n  \"isAdmin\": true,\n  \"createdAt\": \"2025-08-27T14:37:24.052Z\",\n  \"updatedAt\": \"2025-08-27T14:37:24.052Z\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/api-clients/:id","description":"<p>Atualiza um cliente existente. Requer privilégios de Administrador.</p>\n","urlObject":{"path":["api","api-clients",":id"],"host":["/"],"query":[],"variable":[{"description":{"content":"<p>(Required) ID do cliente da API</p>\n","type":"text/plain"},"type":"any","value":"388d2e73-f6be-9eff-a6fa-2c902052c5fc","key":"id"}]}},"response":[{"id":"ed22c069-a3d7-4ceb-b264-90e84c1fb83c","name":"200 - Cliente atualizado com sucesso","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":true},{"key":"Accept","value":"application/json","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"active\": false,\n  \"email\": \"string\",\n  \"isAdmin\": true,\n  \"name\": \"string\",\n  \"tenantId\": \"st\",\n  \"id\": \"e6df2ecc-b978-8fe8-bdb4-6dc831959a6e\",\n  \"description\": \"string\",\n  \"createdAt\": \"2016-04-26T08:00:02.914Z\",\n  \"updatedAt\": \"2002-02-26T17:20:38.877Z\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//api/api-clients/:id","path":["","api","api-clients",":id"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"name\": \"string\",\n  \"email\": \"string\",\n  \"active\": true,\n  \"isAdmin\": true,\n  \"description\": \"string\",\n  \"createdAt\": \"2025-08-27T14:52:51.777Z\",\n  \"updatedAt\": \"2025-08-27T14:52:51.777Z\"\n}"},{"id":"be7610d1-6330-47c5-b1b1-03c5a3bfa055","name":"400 - Requisição inválida ou e-mail já em uso","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":true},{"key":"Accept","value":"application/json","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"active\": false,\n  \"email\": \"string\",\n  \"isAdmin\": true,\n  \"name\": \"string\",\n  \"tenantId\": \"st\",\n  \"id\": \"e6df2ecc-b978-8fe8-bdb4-6dc831959a6e\",\n  \"description\": \"string\",\n  \"createdAt\": \"2016-04-26T08:00:02.914Z\",\n  \"updatedAt\": \"2002-02-26T17:20:38.877Z\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//api/api-clients/:id","host":["/"],"path":["api","api-clients",":id"],"variable":[{"key":"id","value":""}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"string"},{"id":"f1d11fa6-ac74-4c02-8dd3-cdcde94ab262","name":"403 - Acesso negado - Requer privilégios de Administrador","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"active\": false,\n  \"email\": \"string\",\n  \"isAdmin\": true,\n  \"name\": \"string\",\n  \"tenantId\": \"st\",\n  \"id\": \"e6df2ecc-b978-8fe8-bdb4-6dc831959a6e\",\n  \"description\": \"string\",\n  \"createdAt\": \"2016-04-26T08:00:02.914Z\",\n  \"updatedAt\": \"2002-02-26T17:20:38.877Z\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//api/api-clients/:id","host":["/"],"path":["api","api-clients",":id"],"variable":[{"key":"id","value":""}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"27525b25-9ca0-44af-bb3e-0faa2710a107","name":"404 - Cliente não encontrado","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"active\": false,\n  \"email\": \"string\",\n  \"isAdmin\": true,\n  \"name\": \"string\",\n  \"tenantId\": \"st\",\n  \"id\": \"e6df2ecc-b978-8fe8-bdb4-6dc831959a6e\",\n  \"description\": \"string\",\n  \"createdAt\": \"2016-04-26T08:00:02.914Z\",\n  \"updatedAt\": \"2002-02-26T17:20:38.877Z\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//api/api-clients/:id","host":["/"],"path":["api","api-clients",":id"],"variable":[{"key":"id","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"c2daf7b5-88ce-442f-bca8-525dd749d34d"},{"name":"Regenerar chave de API","id":"d7c53a7f-7cf4-483c-8fa4-d4e344e82b2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"//api/api-clients/:id/regenerate-key","description":"<p>Gera uma nova chave de API para um cliente existente. Requer privilégios de Administrador.</p>\n","urlObject":{"path":["api","api-clients",":id","regenerate-key"],"host":["/"],"query":[],"variable":[{"description":{"content":"<p>(Required) ID do cliente da API</p>\n","type":"text/plain"},"type":"any","value":"388d2e73-f6be-9eff-a6fa-2c902052c5fc","key":"id"}]}},"response":[{"id":"63fcaca6-803a-43f0-8f1f-92b4a21bd5cf","name":"200 - Chave de API regenerada com sucesso","originalRequest":{"method":"PUT","header":[{"key":"Accept","value":"application/json","disabled":true}],"url":{"raw":"//api/api-clients/:id/regenerate-key","path":["","api","api-clients",":id","regenerate-key"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"name\": \"string\",\n  \"email\": \"string\",\n  \"active\": true,\n  \"isAdmin\": true,\n  \"description\": \"string\",\n  \"createdAt\": \"2025-08-27T14:39:52.143Z\",\n  \"updatedAt\": \"2025-08-27T14:39:52.143Z\"\n}"},{"id":"68443314-e333-48b0-baea-31ee10ffe9df","name":"403 - Acesso negado - Requer privilégios de Administrador","originalRequest":{"method":"PUT","header":[],"url":{"raw":"//api/api-clients/:id/regenerate-key","host":["/"],"path":["api","api-clients",":id","regenerate-key"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"59c0bbda-aa9f-4a43-b14a-db5ff406ffbc","name":"404 - Cliente não encontrado","originalRequest":{"method":"PUT","header":[],"url":{"raw":"//api/api-clients/:id/regenerate-key","host":["/"],"path":["api","api-clients",":id","regenerate-key"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"d7c53a7f-7cf4-483c-8fa4-d4e344e82b2f"},{"name":"Excluir cliente da API","id":"41802927-8cf6-4d83-a1c9-9c1a68f87f55","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"//api/api-clients/:id","description":"<p>Exclui um cliente existente da API. Requer privilégios de Administrador.</p>\n","urlObject":{"path":["api","api-clients",":id"],"host":["/"],"query":[],"variable":[{"description":{"content":"<p>(Required) ID do cliente da API</p>\n","type":"text/plain"},"type":"any","value":"388d2e73-f6be-9eff-a6fa-2c902052c5fc","key":"id"}]}},"response":[{"id":"e71f52b0-bff7-44aa-ace3-2c281b5b8140","name":"204 - Cliente excluído com sucesso","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"//api/api-clients/:id","host":["/"],"path":["api","api-clients",":id"],"variable":[{"key":"id"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"6bd32de7-a5b8-4b59-8866-bfd3a234109c","name":"403 - Acesso negado - Requer privilégios de Administrador","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"//api/api-clients/:id","host":["/"],"path":["api","api-clients",":id"],"variable":[{"key":"id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null},{"id":"a264c878-0cfb-4d5a-a844-6623218a4b2a","name":"404 - Cliente não encontrado","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"//api/api-clients/:id","host":["/"],"path":["api","api-clients",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"41802927-8cf6-4d83-a1c9-9c1a68f87f55"}],"id":"d4fe1a29-193f-4d79-aeac-e03acdec27f9","description":"<p>Permite gerenciar clientes da API de Pesquisas de Satisafação (<strong>CES</strong>, <strong>CSAT</strong>, <strong>NPS</strong> ).</p>\n<p>Requer <strong>privilégios de Administrador</strong>.</p>\n<ul>\n<li><p>Obter todos os clientes da API.</p>\n</li>\n<li><p>Obter Cliente da API por ID.</p>\n</li>\n<li><p>Criar novo cliente da API.</p>\n</li>\n<li><p>Atualizar cliente da API.</p>\n</li>\n<li><p>Regenerar chave de API.</p>\n</li>\n<li><p>Excluir cliente da API.</p>\n</li>\n</ul>\n","_postman_id":"d4fe1a29-193f-4d79-aeac-e03acdec27f9"},{"name":"Pesquisas","item":[{"name":"Obter todas as pesquisas","id":"34d5d462-81fe-437b-81f5-127fe015f939","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"//api/surveys?surveyName=string&active=true&integrationId=0340a037-9e77-f4cc-6bd6-07e843b4291e","description":"<p>Retorna uma lista de todas as pesquisas cadastradas.</p>\n","urlObject":{"path":["api","surveys"],"host":["/"],"query":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"key":"surveyName","value":"string"},{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"key":"active","value":"true"},{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"key":"integrationId","value":"0340a037-9e77-f4cc-6bd6-07e843b4291e"}],"variable":[]}},"response":[{"id":"7d4d64c1-ea80-4a40-848d-cc2f31fe5cfd","name":"200 - Pesquisas encontradas com sucesso","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","disabled":true}],"url":{"raw":"//api/surveys?surveyName=string&active=false&integrationId=urn:uuid:0340a037-9e77-f4cc-6bd6-07e843b4291e","host":["/"],"path":["api","surveys"],"query":[{"key":"surveyName","value":"string","description":"(Required) "},{"key":"active","value":"false","description":"(Required) "},{"key":"integrationId","value":"urn:uuid:0340a037-9e77-f4cc-6bd6-07e843b4291e","description":"(Required) "}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"tenantId\": \"string\",\n  \"surveyName\": \"string\",\n  \"createdAt\": \"2025-08-27T16:32:24.972Z\",\n  \"finishedAt\": \"2025-08-27T16:32:24.972Z\",\n  \"active\": true,\n  \"surveyType\": \"CSAT\",\n  \"surveyTypeCSAT\": \"EMOJI\",\n  \"surveyTypeDescription\": \"string\",\n  \"questions\": [\n    {\n      \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"questionDescription\": \"string\",\n      \"surveyHeader\": \"string\",\n      \"questionOrder\": 0,\n      \"optionsResponseId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"optionsResponseDescription\": \"string\",\n      \"finalMessage\": true,\n      \"response\": {\n        \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n        \"surveyQuestionId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n        \"surveyResponse\": \"string\",\n        \"ticketId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n        \"createdAt\": \"2025-08-27T16:32:24.973Z\"\n      }\n    }\n  ],\n  \"queueRelations\": [\n    {\n      \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"queueId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"integrationId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n    }\n  ]\n}"}],"_postman_id":"34d5d462-81fe-437b-81f5-127fe015f939"},{"name":"Obter pesquisa por ID","id":"67da1be1-bbcc-49f1-adeb-e4e21a4f7cdd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"//api/surveys/:id","description":"<p>Retorna uma pesquisa específica pelo seu ID.</p>\n","urlObject":{"path":["api","surveys",":id"],"host":["/"],"query":[],"variable":[{"description":{"content":"<p>ID da pesquisa</p>\n","type":"text/plain"},"type":"any","value":"0340a037-9e77-f4cc-6bd6-07e843b4291e","key":"id"}]}},"response":[{"id":"b905e9af-ebfd-42ee-ad6b-109071d1d3f3","name":"200 - Pesquisa encontrada com sucesso","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","disabled":true}],"url":{"raw":"//api/surveys/:id","host":["/"],"path":["api","surveys",":id"],"variable":[{"key":"id","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"tenantId\": \"string\",\n  \"surveyName\": \"string\",\n  \"createdAt\": \"2025-08-27T16:35:57.569Z\",\n  \"finishedAt\": \"2025-08-27T16:35:57.569Z\",\n  \"active\": true,\n  \"surveyType\": \"CSAT\",\n  \"surveyTypeCSAT\": \"EMOJI\",\n  \"surveyTypeDescription\": \"string\",\n  \"questions\": [\n    {\n      \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"questionDescription\": \"string\",\n      \"surveyHeader\": \"string\",\n      \"questionOrder\": 0,\n      \"optionsResponseId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"optionsResponseDescription\": \"string\",\n      \"finalMessage\": true,\n      \"response\": {\n        \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n        \"surveyQuestionId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n        \"surveyResponse\": \"string\",\n        \"ticketId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n        \"createdAt\": \"2025-08-27T16:35:57.569Z\"\n      }\n    }\n  ],\n  \"queueRelations\": [\n    {\n      \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"queueId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"integrationId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n    }\n  ]\n}"},{"id":"ae727081-4a43-4fe0-b5df-2f3cab59e039","name":"404 - Pesquisa não encontrada","originalRequest":{"method":"GET","header":[],"url":{"raw":"//api/surveys/:id","host":["/"],"path":["api","surveys",":id"],"variable":[{"key":"id"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"67da1be1-bbcc-49f1-adeb-e4e21a4f7cdd"},{"name":"Verificar status da pesquisa","id":"37450e39-76fd-49e1-8034-33a6ac4a032e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"//api/surveys/queue/:queueId/ticket/:ticketId/status","description":"<p>Verifica se um cliente está com uma pesquisa ativa para uma determinada fila.</p>\n","urlObject":{"path":["api","surveys","queue",":queueId","ticket",":ticketId","status"],"host":["/"],"query":[],"variable":[{"description":{"content":"<p>(Required) ID da fila</p>\n","type":"text/plain"},"type":"any","value":"388d2e73-f6be-9eff-a6fa-2c902052c5fc","key":"queueId"},{"description":{"content":"<p>(Required) ID do ticket</p>\n","type":"text/plain"},"type":"any","value":"388d2e73-f6be-9eff-a6fa-2c902052c5fc","key":"ticketId"}]}},"response":[{"id":"93215eff-6d75-464c-8309-27dee5d77114","name":"200 - Status verificado com sucesso","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","disabled":true}],"url":{"raw":"//api/surveys/queue/:queueId/ticket/:ticketId/status","host":["/"],"path":["api","surveys","queue",":queueId","ticket",":ticketId","status"],"variable":[{"key":"queueId","value":""},{"key":"ticketId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"inSurvey\": true,\n  \"surveyId\": \"urn:uuid:c3333aac-e60c-6a81-1a63-d0841b07f5e7\",\n  \"surveyName\": \"string\"\n}"}],"_postman_id":"37450e39-76fd-49e1-8034-33a6ac4a032e"},{"name":"Obter pergunta atual da pesquisa","id":"bac8ed88-1d08-44c2-abea-24fd45ef72df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"//api/surveys/queue/:queueId/ticket/:ticketId/current","description":"<p>Obtém a pesquisa, a pergunta atual e a próxima pergunta para um cliente.</p>\n","urlObject":{"path":["api","surveys","queue",":queueId","ticket",":ticketId","current"],"host":["/"],"query":[],"variable":[{"description":{"content":"<p>(Required) ID da fila</p>\n","type":"text/plain"},"type":"any","value":"urn:uuid:388d2e73-f6be-9eff-a6fa-2c902052c5fc","key":"queueId"},{"description":{"content":"<p>(Required) ID do ticket</p>\n","type":"text/plain"},"type":"any","value":"urn:uuid:388d2e73-f6be-9eff-a6fa-2c902052c5fc","key":"ticketId"}]}},"response":[{"id":"6f2cf24f-ec7a-4400-83ac-789d84fa73cc","name":"200 - Pergunta atual obtida com sucesso","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","disabled":true}],"url":{"raw":"//api/surveys/queue/:queueId/ticket/:ticketId/current","host":["/"],"path":["api","surveys","queue",":queueId","ticket",":ticketId","current"],"variable":[{"key":"queueId","value":"","description":"ID da Fila"},{"key":"ticketId","value":"","description":"ID do Ticket"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"surveyId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"surveyName\": \"string\",\n  \"currentQuestion\": {\n    \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n    \"questionDescription\": \"string\",\n    \"surveyHeader\": \"string\",\n    \"questionOrder\": 0,\n    \"options\": [\n      \"string\"\n    ],\n    \"finalMessage\": true\n  },\n  \"nextQuestion\": {\n    \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n    \"questionDescription\": \"string\",\n    \"surveyHeader\": \"string\",\n    \"questionOrder\": 0,\n    \"options\": [\n      \"string\"\n    ],\n    \"finalMessage\": true\n  },\n  \"progress\": {\n    \"current\": 0,\n    \"total\": 0,\n    \"hasNextQuestion\": true\n  }\n}"},{"id":"4be4b8ca-adcb-4c9c-9436-198e72e43063","name":"404 - Pesquisa ativa não encontrada ou todas as perguntas já foram respondidas","originalRequest":{"method":"GET","header":[],"url":{"raw":"//api/surveys/queue/:queueId/ticket/:ticketId/current","host":["/"],"path":["api","surveys","queue",":queueId","ticket",":ticketId","current"],"variable":[{"key":"queueId"},{"key":"ticketId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"bac8ed88-1d08-44c2-abea-24fd45ef72df"},{"name":"Criar nova pesquisa","id":"1ec92f0d-818c-487e-ad4a-390ede08a3e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"surveyName\": \"string\",\n  \"active\": true,\n  \"surveyType\": \"CSAT\",\n  \"surveyTypeCSAT\": \"EMOJI\",\n  \"createdAt\": \"2025-08-27T16:58:38.586Z\",\n  \"finishedAt\": \"2025-08-27T16:58:38.586Z\",\n  \"questions\": [\n    {\n      \"questionDescription\": \"string\",\n      \"surveyHeader\": \"string\",\n      \"questionOrder\": 0,\n      \"optionsResponse\": [\n        {\n          \"description\": \"string\"\n        }\n      ],\n      \"finalMessage\": true\n    }\n  ],\n  \"queueRelations\": [\n    {\n      \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"queueId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"integrationId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"subjectId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/surveys","description":"<p>Cria uma nova pesquisa com as perguntas especificadas.</p>\n","urlObject":{"path":["api","surveys"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"6db8388b-ee50-48fa-b132-b95383eb3d5e","name":"201 - Pesquisa criada com sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":true},{"key":"Accept","value":"application/json","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"active\": true,\n  \"questions\": [\n    {\n      \"finalMessage\": false,\n      \"questionOrder\": 7161,\n      \"questionDescription\": \"string\",\n      \"surveyHeader\": \"string\",\n      \"optionsResponse\": [\n        {\n          \"description\": \"string\"\n        },\n        {\n          \"description\": \"string\"\n        }\n      ]\n    },\n    {\n      \"finalMessage\": false,\n      \"questionOrder\": 3862,\n      \"questionDescription\": \"string\",\n      \"surveyHeader\": \"string\",\n      \"optionsResponse\": [\n        {\n          \"description\": \"string\"\n        },\n        {\n          \"description\": \"string\"\n        }\n      ]\n    }\n  ],\n  \"queueRelations\": [\n    {\n      \"integrationId\": \"urn:uuid:2ac69824-87bb-5e34-f5d5-c58df6ed0c97\",\n      \"queueId\": \"48315956-567c-309d-3ddf-655e42e463ce\",\n      \"subjectId\": \"a1737ec0-cde9-2555-340c-8a6b581109a6\",\n      \"id\": \"urn:uuid:fcb1d950-368e-63e1-4803-7972d670d346\"\n    },\n    {\n      \"integrationId\": \"009d2416-3775-3d06-92b4-4db203ff6546\",\n      \"queueId\": \"b48046d1-a5c3-c599-92ad-8f1f6fa37870\",\n      \"subjectId\": \"urn:uuid:aa8638cb-04fb-0dbd-706e-157184abdefc\",\n      \"id\": \"urn:uuid:5948e448-ebf3-da30-10b9-f7c2b69bd04f\"\n    }\n  ],\n  \"surveyName\": \"string\",\n  \"surveyType\": \"CES\",\n  \"id\": \"urn:uuid:4413ba6e-4cd6-cec6-fa69-35c1c2dc219b\",\n  \"surveyTypeCSAT\": \"NUMERIC\",\n  \"createdAt\": \"1947-11-21T11:10:09.627Z\",\n  \"finishedAt\": \"2015-12-02T07:44:58.273Z\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/surveys"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"tenantId\": \"string\",\n  \"surveyName\": \"string\",\n  \"createdAt\": \"2025-08-27T16:58:38.587Z\",\n  \"finishedAt\": \"2025-08-27T16:58:38.587Z\",\n  \"active\": true,\n  \"surveyType\": \"CSAT\",\n  \"surveyTypeCSAT\": \"EMOJI\",\n  \"surveyTypeDescription\": \"string\",\n  \"questions\": [\n    {\n      \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"questionDescription\": \"string\",\n      \"surveyHeader\": \"string\",\n      \"questionOrder\": 0,\n      \"optionsResponseId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"optionsResponseDescription\": \"string\",\n      \"finalMessage\": true,\n      \"response\": {\n        \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n        \"surveyQuestionId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n        \"surveyResponse\": \"string\",\n        \"ticketId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n        \"createdAt\": \"2025-08-27T16:58:38.587Z\"\n      }\n    }\n  ],\n  \"queueRelations\": [\n    {\n      \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"queueId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"integrationId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n    }\n  ]\n}"},{"id":"35c4453e-2b42-4fcc-93ec-3a67fb48a75c","name":"400 - Requisição inválida","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":true},{"key":"Accept","value":"application/json","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"active\": true,\n  \"questions\": [\n    {\n      \"finalMessage\": false,\n      \"questionOrder\": 7161,\n      \"questionDescription\": \"string\",\n      \"surveyHeader\": \"string\",\n      \"optionsResponse\": [\n        {\n          \"description\": \"string\"\n        },\n        {\n          \"description\": \"string\"\n        }\n      ]\n    },\n    {\n      \"finalMessage\": false,\n      \"questionOrder\": 3862,\n      \"questionDescription\": \"string\",\n      \"surveyHeader\": \"string\",\n      \"optionsResponse\": [\n        {\n          \"description\": \"string\"\n        },\n        {\n          \"description\": \"string\"\n        }\n      ]\n    }\n  ],\n  \"queueRelations\": [\n    {\n      \"integrationId\": \"urn:uuid:2ac69824-87bb-5e34-f5d5-c58df6ed0c97\",\n      \"queueId\": \"48315956-567c-309d-3ddf-655e42e463ce\",\n      \"subjectId\": \"a1737ec0-cde9-2555-340c-8a6b581109a6\",\n      \"id\": \"urn:uuid:fcb1d950-368e-63e1-4803-7972d670d346\"\n    },\n    {\n      \"integrationId\": \"009d2416-3775-3d06-92b4-4db203ff6546\",\n      \"queueId\": \"b48046d1-a5c3-c599-92ad-8f1f6fa37870\",\n      \"subjectId\": \"urn:uuid:aa8638cb-04fb-0dbd-706e-157184abdefc\",\n      \"id\": \"urn:uuid:5948e448-ebf3-da30-10b9-f7c2b69bd04f\"\n    }\n  ],\n  \"surveyName\": \"string\",\n  \"surveyType\": \"CES\",\n  \"id\": \"urn:uuid:4413ba6e-4cd6-cec6-fa69-35c1c2dc219b\",\n  \"surveyTypeCSAT\": \"NUMERIC\",\n  \"createdAt\": \"1947-11-21T11:10:09.627Z\",\n  \"finishedAt\": \"2015-12-02T07:44:58.273Z\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/surveys"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"string"},{"id":"a8670dd9-1939-48ee-9786-ed8aa864742e","name":"500 - Erro interno do servidor","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":true},{"key":"Accept","value":"application/json","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"active\": true,\n  \"questions\": [\n    {\n      \"finalMessage\": false,\n      \"questionOrder\": 7161,\n      \"questionDescription\": \"string\",\n      \"surveyHeader\": \"string\",\n      \"optionsResponse\": [\n        {\n          \"description\": \"string\"\n        },\n        {\n          \"description\": \"string\"\n        }\n      ]\n    },\n    {\n      \"finalMessage\": false,\n      \"questionOrder\": 3862,\n      \"questionDescription\": \"string\",\n      \"surveyHeader\": \"string\",\n      \"optionsResponse\": [\n        {\n          \"description\": \"string\"\n        },\n        {\n          \"description\": \"string\"\n        }\n      ]\n    }\n  ],\n  \"queueRelations\": [\n    {\n      \"integrationId\": \"urn:uuid:2ac69824-87bb-5e34-f5d5-c58df6ed0c97\",\n      \"queueId\": \"48315956-567c-309d-3ddf-655e42e463ce\",\n      \"subjectId\": \"a1737ec0-cde9-2555-340c-8a6b581109a6\",\n      \"id\": \"urn:uuid:fcb1d950-368e-63e1-4803-7972d670d346\"\n    },\n    {\n      \"integrationId\": \"009d2416-3775-3d06-92b4-4db203ff6546\",\n      \"queueId\": \"b48046d1-a5c3-c599-92ad-8f1f6fa37870\",\n      \"subjectId\": \"urn:uuid:aa8638cb-04fb-0dbd-706e-157184abdefc\",\n      \"id\": \"urn:uuid:5948e448-ebf3-da30-10b9-f7c2b69bd04f\"\n    }\n  ],\n  \"surveyName\": \"string\",\n  \"surveyType\": \"CES\",\n  \"id\": \"urn:uuid:4413ba6e-4cd6-cec6-fa69-35c1c2dc219b\",\n  \"surveyTypeCSAT\": \"NUMERIC\",\n  \"createdAt\": \"1947-11-21T11:10:09.627Z\",\n  \"finishedAt\": \"2015-12-02T07:44:58.273Z\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/surveys"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"string"}],"_postman_id":"1ec92f0d-818c-487e-ad4a-390ede08a3e8"},{"name":"Inativar e criar nova pesquisa","id":"04b759fa-ca47-4b57-8ea4-06cd95d6c7d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"surveyName\": \"string\",\n  \"active\": true,\n  \"surveyType\": \"CSAT\",\n  \"surveyTypeCSAT\": \"EMOJI\",\n  \"createdAt\": \"2025-08-27T17:04:29.918Z\",\n  \"finishedAt\": \"2025-08-27T17:04:29.918Z\",\n  \"questions\": [\n    {\n      \"questionDescription\": \"string\",\n      \"surveyHeader\": \"string\",\n      \"questionOrder\": 0,\n      \"optionsResponse\": [\n        {\n          \"description\": \"string\"\n        }\n      ],\n      \"finalMessage\": true\n    }\n  ],\n  \"queueRelations\": [\n    {\n      \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"queueId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"integrationId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"subjectId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n    }\n  ]\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/surveys/:id/edit","description":"<p>Inativar pesquisa anterior e criar nova pesquisa.</p>\n","urlObject":{"path":["api","surveys",":id","edit"],"host":["/"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"cd8856fd-b126-4929-a2dd-e82143cc01ac","key":"id"}]}},"response":[{"id":"2e206827-76c3-4acb-bade-3ff8847e62da","name":"201 - Pesquisa criada com sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":true},{"key":"Accept","value":"application/json","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"active\": true,\n  \"questions\": [\n    {\n      \"finalMessage\": false,\n      \"questionOrder\": 7161,\n      \"questionDescription\": \"string\",\n      \"surveyHeader\": \"string\",\n      \"optionsResponse\": [\n        {\n          \"description\": \"string\"\n        },\n        {\n          \"description\": \"string\"\n        }\n      ]\n    },\n    {\n      \"finalMessage\": false,\n      \"questionOrder\": 3862,\n      \"questionDescription\": \"string\",\n      \"surveyHeader\": \"string\",\n      \"optionsResponse\": [\n        {\n          \"description\": \"string\"\n        },\n        {\n          \"description\": \"string\"\n        }\n      ]\n    }\n  ],\n  \"queueRelations\": [\n    {\n      \"integrationId\": \"urn:uuid:2ac69824-87bb-5e34-f5d5-c58df6ed0c97\",\n      \"queueId\": \"48315956-567c-309d-3ddf-655e42e463ce\",\n      \"subjectId\": \"a1737ec0-cde9-2555-340c-8a6b581109a6\",\n      \"id\": \"urn:uuid:fcb1d950-368e-63e1-4803-7972d670d346\"\n    },\n    {\n      \"integrationId\": \"009d2416-3775-3d06-92b4-4db203ff6546\",\n      \"queueId\": \"b48046d1-a5c3-c599-92ad-8f1f6fa37870\",\n      \"subjectId\": \"urn:uuid:aa8638cb-04fb-0dbd-706e-157184abdefc\",\n      \"id\": \"urn:uuid:5948e448-ebf3-da30-10b9-f7c2b69bd04f\"\n    }\n  ],\n  \"surveyName\": \"string\",\n  \"surveyType\": \"CES\",\n  \"id\": \"urn:uuid:4413ba6e-4cd6-cec6-fa69-35c1c2dc219b\",\n  \"surveyTypeCSAT\": \"NUMERIC\",\n  \"createdAt\": \"1947-11-21T11:10:09.627Z\",\n  \"finishedAt\": \"2015-12-02T07:44:58.273Z\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//api/surveys/:id/edit","host":["/"],"path":["api","surveys",":id","edit"],"variable":[{"key":"id","value":""}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"tenantId\": \"string\",\n  \"surveyName\": \"string\",\n  \"createdAt\": \"2025-08-27T17:04:29.921Z\",\n  \"finishedAt\": \"2025-08-27T17:04:29.921Z\",\n  \"active\": true,\n  \"surveyType\": \"CSAT\",\n  \"surveyTypeCSAT\": \"EMOJI\",\n  \"surveyTypeDescription\": \"string\",\n  \"questions\": [\n    {\n      \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"questionDescription\": \"string\",\n      \"surveyHeader\": \"string\",\n      \"questionOrder\": 0,\n      \"optionsResponseId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"optionsResponseDescription\": \"string\",\n      \"finalMessage\": true,\n      \"response\": {\n        \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n        \"surveyQuestionId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n        \"surveyResponse\": \"string\",\n        \"ticketId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n        \"createdAt\": \"2025-08-27T17:04:29.921Z\"\n      }\n    }\n  ],\n  \"queueRelations\": [\n    {\n      \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"queueId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"integrationId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n    }\n  ]\n}"},{"id":"2cce517c-50e8-46b3-b1ab-20300b1ffe1b","name":"400 - Requisição inválida","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":true},{"key":"Accept","value":"application/json","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"active\": true,\n  \"questions\": [\n    {\n      \"finalMessage\": false,\n      \"questionOrder\": 7161,\n      \"questionDescription\": \"string\",\n      \"surveyHeader\": \"string\",\n      \"optionsResponse\": [\n        {\n          \"description\": \"string\"\n        },\n        {\n          \"description\": \"string\"\n        }\n      ]\n    },\n    {\n      \"finalMessage\": false,\n      \"questionOrder\": 3862,\n      \"questionDescription\": \"string\",\n      \"surveyHeader\": \"string\",\n      \"optionsResponse\": [\n        {\n          \"description\": \"string\"\n        },\n        {\n          \"description\": \"string\"\n        }\n      ]\n    }\n  ],\n  \"queueRelations\": [\n    {\n      \"integrationId\": \"urn:uuid:2ac69824-87bb-5e34-f5d5-c58df6ed0c97\",\n      \"queueId\": \"48315956-567c-309d-3ddf-655e42e463ce\",\n      \"subjectId\": \"a1737ec0-cde9-2555-340c-8a6b581109a6\",\n      \"id\": \"urn:uuid:fcb1d950-368e-63e1-4803-7972d670d346\"\n    },\n    {\n      \"integrationId\": \"009d2416-3775-3d06-92b4-4db203ff6546\",\n      \"queueId\": \"b48046d1-a5c3-c599-92ad-8f1f6fa37870\",\n      \"subjectId\": \"urn:uuid:aa8638cb-04fb-0dbd-706e-157184abdefc\",\n      \"id\": \"urn:uuid:5948e448-ebf3-da30-10b9-f7c2b69bd04f\"\n    }\n  ],\n  \"surveyName\": \"string\",\n  \"surveyType\": \"CES\",\n  \"id\": \"urn:uuid:4413ba6e-4cd6-cec6-fa69-35c1c2dc219b\",\n  \"surveyTypeCSAT\": \"NUMERIC\",\n  \"createdAt\": \"1947-11-21T11:10:09.627Z\",\n  \"finishedAt\": \"2015-12-02T07:44:58.273Z\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//api/surveys/:id/edit","host":["/"],"path":["api","surveys",":id","edit"],"variable":[{"key":"id","value":""}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"string"},{"id":"d2bd211a-5baf-4d47-bc23-a5799822e395","name":"500 - Erro interno do servidor","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":true},{"key":"Accept","value":"application/json","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"active\": true,\n  \"questions\": [\n    {\n      \"finalMessage\": false,\n      \"questionOrder\": 7161,\n      \"questionDescription\": \"string\",\n      \"surveyHeader\": \"string\",\n      \"optionsResponse\": [\n        {\n          \"description\": \"string\"\n        },\n        {\n          \"description\": \"string\"\n        }\n      ]\n    },\n    {\n      \"finalMessage\": false,\n      \"questionOrder\": 3862,\n      \"questionDescription\": \"string\",\n      \"surveyHeader\": \"string\",\n      \"optionsResponse\": [\n        {\n          \"description\": \"string\"\n        },\n        {\n          \"description\": \"string\"\n        }\n      ]\n    }\n  ],\n  \"queueRelations\": [\n    {\n      \"integrationId\": \"urn:uuid:2ac69824-87bb-5e34-f5d5-c58df6ed0c97\",\n      \"queueId\": \"48315956-567c-309d-3ddf-655e42e463ce\",\n      \"subjectId\": \"a1737ec0-cde9-2555-340c-8a6b581109a6\",\n      \"id\": \"urn:uuid:fcb1d950-368e-63e1-4803-7972d670d346\"\n    },\n    {\n      \"integrationId\": \"009d2416-3775-3d06-92b4-4db203ff6546\",\n      \"queueId\": \"b48046d1-a5c3-c599-92ad-8f1f6fa37870\",\n      \"subjectId\": \"urn:uuid:aa8638cb-04fb-0dbd-706e-157184abdefc\",\n      \"id\": \"urn:uuid:5948e448-ebf3-da30-10b9-f7c2b69bd04f\"\n    }\n  ],\n  \"surveyName\": \"string\",\n  \"surveyType\": \"CES\",\n  \"id\": \"urn:uuid:4413ba6e-4cd6-cec6-fa69-35c1c2dc219b\",\n  \"surveyTypeCSAT\": \"NUMERIC\",\n  \"createdAt\": \"1947-11-21T11:10:09.627Z\",\n  \"finishedAt\": \"2015-12-02T07:44:58.273Z\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//api/surveys/:id/edit","host":["/"],"path":["api","surveys",":id","edit"],"variable":[{"key":"id","value":""}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"string"}],"_postman_id":"04b759fa-ca47-4b57-8ea4-06cd95d6c7d2"},{"name":"Finalizar pesquisa","id":"c09df3dc-9654-4498-ba8d-d18639041032","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"//api/surveys/queue/:queueId/ticket/:ticketId/finish","description":"<p>Finaliza a pesquisa para um cliente específico.</p>\n","urlObject":{"path":["api","surveys","queue",":queueId","ticket",":ticketId","finish"],"host":["/"],"query":[],"variable":[{"description":{"content":"<p>(Required) ID da fila</p>\n","type":"text/plain"},"type":"any","value":"388d2e73-f6be-9eff-a6fa-2c902052c5fc","key":"queueId"},{"description":{"content":"<p>(Required) ID do ticket</p>\n","type":"text/plain"},"type":"any","value":"388d2e73-f6be-9eff-a6fa-2c902052c5fc","key":"ticketId"}]}},"response":[{"id":"5fa004b6-9575-4bd0-88ed-48c618468a8a","name":"200 - Pesquisa finalizada com sucesso","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","disabled":true}],"url":{"raw":"//api/surveys/queue/:queueId/ticket/:ticketId/finish","path":["","api","surveys","queue",":queueId","ticket",":ticketId","finish"],"variable":[{"key":"queueId","value":"","description":"ID da Fila"},{"key":"ticketId","value":"","description":"ID do Ticket"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"message\": \"string\",\n  \"surveyId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"completedAt\": \"2025-08-27T17:08:47.951Z\"\n}"},{"id":"2c0e93c0-ff2b-4183-8237-50c86a20aeaa","name":"404 - Pesquisa ativa não encontrada","originalRequest":{"method":"POST","header":[],"url":{"raw":"//api/surveys/queue/:queueId/ticket/:ticketId/finish","host":["/"],"path":["api","surveys","queue",":queueId","ticket",":ticketId","finish"],"variable":[{"key":"queueId"},{"key":"ticketId"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"c09df3dc-9654-4498-ba8d-d18639041032"},{"name":"Ativar pesquisas","id":"7ac12b32-4f4d-4230-8f02-6be3da46a40d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"[\n  \"string\",\n  \"string\"\n]","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/surveys/activates","description":"<p>Ativar pesquisas informando uma lista de IDs.</p>\n","urlObject":{"path":["api","surveys","activates"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"f30f68b1-c7b3-435c-89ce-02509f64a7b8","name":"204 - Pesquisa criada com sucesso","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":true},{"key":"Accept","value":"application/json","disabled":true}],"body":{"mode":"raw","raw":"[\n  \"string\",\n  \"string\"\n]","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/surveys/activates"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"tenantId\": \"string\",\n  \"surveyName\": \"string\",\n  \"createdAt\": \"2025-08-27T17:12:40.882Z\",\n  \"finishedAt\": \"2025-08-27T17:12:40.882Z\",\n  \"active\": true,\n  \"surveyType\": \"CSAT\",\n  \"surveyTypeCSAT\": \"EMOJI\",\n  \"surveyTypeDescription\": \"string\",\n  \"questions\": [\n    {\n      \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"questionDescription\": \"string\",\n      \"surveyHeader\": \"string\",\n      \"questionOrder\": 0,\n      \"optionsResponseId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"optionsResponseDescription\": \"string\",\n      \"finalMessage\": true,\n      \"response\": {\n        \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n        \"surveyQuestionId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n        \"surveyResponse\": \"string\",\n        \"ticketId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n        \"createdAt\": \"2025-08-27T17:12:40.882Z\"\n      }\n    }\n  ],\n  \"queueRelations\": [\n    {\n      \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"queueId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"integrationId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n    }\n  ]\n}"},{"id":"aa695e24-c901-4110-87b9-79a141c76d1b","name":"400 - Requisição inválida","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":true},{"key":"Accept","value":"application/json","disabled":true}],"body":{"mode":"raw","raw":"[\n  \"string\",\n  \"string\"\n]","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/surveys/activates"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"string"},{"id":"d47207cd-c963-4fd6-8add-32e5fa468719","name":"500 - Erro interno do servidor","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":true},{"key":"Accept","value":"application/json","disabled":true}],"body":{"mode":"raw","raw":"[\n  \"string\",\n  \"string\"\n]","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/surveys/activates"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"string"}],"_postman_id":"7ac12b32-4f4d-4230-8f02-6be3da46a40d"},{"name":"Inativar pesquisas","id":"5ea9866e-9ce1-4ef2-8f6e-77e4579f0392","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"[\n  \"string\",\n  \"string\"\n]","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/surveys/inactivates","description":"<p>Inativar pesquisas informando uma lista de IDs.</p>\n","urlObject":{"path":["api","surveys","inactivates"],"host":["/"],"query":[],"variable":[]}},"response":[{"id":"8c3a80e1-e0d6-4912-97c3-78be97143b18","name":"204 - Pesquisa criada com sucesso","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":true},{"key":"Accept","value":"application/json","disabled":true}],"body":{"mode":"raw","raw":"[\n  \"string\",\n  \"string\"\n]","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/surveys/inactivates"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"tenantId\": \"string\",\n  \"surveyName\": \"string\",\n  \"createdAt\": \"2025-08-27T17:17:15.280Z\",\n  \"finishedAt\": \"2025-08-27T17:17:15.280Z\",\n  \"active\": true,\n  \"surveyType\": \"CSAT\",\n  \"surveyTypeCSAT\": \"EMOJI\",\n  \"surveyTypeDescription\": \"string\",\n  \"questions\": [\n    {\n      \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"questionDescription\": \"string\",\n      \"surveyHeader\": \"string\",\n      \"questionOrder\": 0,\n      \"optionsResponseId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"optionsResponseDescription\": \"string\",\n      \"finalMessage\": true,\n      \"response\": {\n        \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n        \"surveyQuestionId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n        \"surveyResponse\": \"string\",\n        \"ticketId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n        \"createdAt\": \"2025-08-27T17:17:15.281Z\"\n      }\n    }\n  ],\n  \"queueRelations\": [\n    {\n      \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"queueId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n      \"integrationId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n    }\n  ]\n}"},{"id":"b2a91113-a6a6-46c9-a583-4f02a7c2b27c","name":"400 - Requisição inválida","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":true},{"key":"Accept","value":"application/json","disabled":true}],"body":{"mode":"raw","raw":"[\n  \"string\",\n  \"string\"\n]","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/surveys/inactivates"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"string"},{"id":"7313f6e0-4ee9-4c2d-8541-5e5b1ba403bf","name":"500 - Erro interno do servidor","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json","disabled":true},{"key":"Accept","value":"application/json","disabled":true}],"body":{"mode":"raw","raw":"[\n  \"string\",\n  \"string\"\n]","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/surveys/inactivates"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"string"}],"_postman_id":"5ea9866e-9ce1-4ef2-8f6e-77e4579f0392"}],"id":"357016bc-a379-4aba-b78c-37ef4b4bbfa0","description":"<p>Permite gerenciar Pesquisas de Satisfação (<strong>CES, CSAT, NPS</strong>):</p>\n<ul>\n<li><p>Obter todas as pesquisas.</p>\n</li>\n<li><p>Obter pesquisas por ID.</p>\n</li>\n<li><p>Obter pergunta atual da pesquisa.</p>\n</li>\n<li><p>Verificar <em>status</em> de pesquisa.</p>\n</li>\n<li><p>Criar nova pesquisa.</p>\n</li>\n<li><p>Inativar pesquisa e criar uma nova.</p>\n</li>\n<li><p>Finalizar pesquisa.</p>\n</li>\n<li><p>Ativar pesquisas.</p>\n</li>\n<li><p>Inativar pesquisas.</p>\n</li>\n</ul>\n","_postman_id":"357016bc-a379-4aba-b78c-37ef4b4bbfa0"},{"name":"Controlador de Perguntas de Pesquisas","item":[{"name":"Initialize Search","id":"10cfcbc4-93ee-4345-b79a-55cb687c8c09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"//api/surveys-questions/initialize/:queueId/:integrationId","description":"<p><em>Endpoint</em> responsável por inicializar as perguntas de uma pesquisa associada a uma fila específica (queueId) e a uma integração (integrationId).</p>\n<p>Ele retorna a primeira pergunta configurada para a pesquisa, incluindo o enunciado, ordem de exibição e as opções de resposta disponíveis.</p>\n","urlObject":{"path":["api","surveys-questions","initialize",":queueId",":integrationId"],"host":["/"],"query":[],"variable":[{"description":{"content":"<p>(Required) ID da Fila</p>\n","type":"text/plain"},"type":"any","value":"388d2e73-f6be-9eff-a6fa-2c902052c5fc","key":"queueId"},{"description":{"content":"<p>(Required) ID do Integration</p>\n","type":"text/plain"},"type":"any","value":"388d2e73-f6be-9eff-a6fa-2c902052c5fc","key":"integrationId"}]}},"response":[{"id":"926d516a-cb4d-4d2b-b4f1-389b092bcbb4","name":"200 - OK","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","disabled":true}],"url":{"raw":"//api/surveys-questions/initialize/:queueId/:integrationId","path":["","api","surveys-questions","initialize",":queueId",":integrationId"],"variable":[{"key":"queueId","value":""},{"key":"integrationId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"questionDescription\": \"string\",\n  \"surveyHeader\": \"string\",\n  \"questionOrder\": 0,\n  \"optionsResponse\": [\n    {\n      \"description\": \"string\"\n    }\n  ],\n  \"finalMessage\": true\n}"}],"_postman_id":"10cfcbc4-93ee-4345-b79a-55cb687c8c09"}],"id":"93eba7c0-5cbe-4c14-852b-8aa309f9d929","description":"<p>O <strong>survey-question-controller</strong> permite gerenciar as operações de <strong>CRUD</strong> (Criar, Ler/Buscar, Atualizar e Deletar) sobre perguntas de Pesquisas.</p>\n","_postman_id":"93eba7c0-5cbe-4c14-852b-8aa309f9d929"},{"name":"Respostas de Pesquisas","item":[{"name":"Salvar resposta de pergunta","id":"8b9fca93-6774-4293-b4bf-3ffcfffc9488","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"surveyResponse\": \"string\",\n  \"ticketId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n  \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":"//api/surveys/responses/queue/:queueId/integration-id/:integrationId","description":"<p>Salva a resposta de um cliente para a pergunta atual e retorna informações sobre a próxima pergunta.</p>\n","urlObject":{"path":["api","surveys","responses","queue",":queueId","integration-id",":integrationId"],"host":["/"],"query":[],"variable":[{"description":{"content":"<p>(Required) ID da fila</p>\n","type":"text/plain"},"type":"any","value":"388d2e73-f6be-9eff-a6fa-2c902052c5fc","key":"queueId"},{"description":{"content":"<p>(Required) ID do integration</p>\n","type":"text/plain"},"type":"any","value":"388d2e73-f6be-9eff-a6fa-2c902052c5fc","key":"integrationId"}]}},"response":[{"id":"178447b2-1287-41d8-8d02-a640e4b0cd4b","name":"200 - Resposta salva com sucesso","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":true},{"key":"Accept","value":"application/json","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"surveyResponse\": \"string\",\n  \"ticketId\": \"urn:uuid:9919668a-e2c1-8f7b-eea5-0d6764bbcab3\",\n  \"id\": \"8e6cf8f6-a2f2-4376-d4b0-b46b8266cfbf\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//api/surveys/responses/queue/:queueId/integration-id/:integrationId","path":["","api","surveys","responses","queue",":queueId","integration-id",":integrationId"],"variable":[{"key":"queueId","value":""},{"key":"integrationId","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": true,\n  \"nextQuestion\": {\n    \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n    \"questionDescription\": \"string\",\n    \"surveyHeader\": \"string\",\n    \"questionOrder\": 0,\n    \"options\": [\n      \"string\"\n    ],\n    \"finalMessage\": true\n  },\n  \"progress\": {\n    \"current\": 0,\n    \"total\": 0,\n    \"hasNextQuestion\": true\n  },\n  \"surveyCompleted\": true\n}"},{"id":"5a03657c-c40a-4eba-9232-3a5d5c07ee18","name":"404 - Pesquisa ativa não encontrada ou todas as perguntas já foram respondidas","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","disabled":true}],"body":{"mode":"raw","raw":"{\n  \"surveyResponse\": \"string\",\n  \"ticketId\": \"urn:uuid:9919668a-e2c1-8f7b-eea5-0d6764bbcab3\",\n  \"id\": \"8e6cf8f6-a2f2-4376-d4b0-b46b8266cfbf\"\n}","options":{"raw":{"headerFamily":"json","language":"json"}}},"url":{"raw":"//api/surveys/responses/queue/:queueId/integration-id/:integrationId","host":["/"],"path":["api","surveys","responses","queue",":queueId","integration-id",":integrationId"],"variable":[{"key":"queueId","value":""},{"key":"integrationId","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"8b9fca93-6774-4293-b4bf-3ffcfffc9488"}],"id":"4b3d67db-2375-42f1-bda5-52b38afede5c","description":"<p>Gerencia respostas das pesquisas.</p>\n","_postman_id":"4b3d67db-2375-42f1-bda5-52b38afede5c"},{"name":"Campos Retornados","item":[{"name":"Pesquisa","item":[],"id":"4d82e39e-850d-44b9-a460-0c79c2f9da62","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>uuid</td>\n<td>Identificador único da pesquisa</td>\n</tr>\n<tr>\n<td>tenantId</td>\n<td>string</td>\n<td>Identificador do tenant (cliente)</td>\n</tr>\n<tr>\n<td>surveyName</td>\n<td>string</td>\n<td>Nome da pesquisa</td>\n</tr>\n<tr>\n<td>createdAt</td>\n<td>date-time</td>\n<td>Data/hora de criação</td>\n</tr>\n<tr>\n<td>finishedAt</td>\n<td>date-time</td>\n<td>Data/hora de finalização (se houver)</td>\n</tr>\n<tr>\n<td>active</td>\n<td>boolean</td>\n<td>Indica se a pesquisa está ativa</td>\n</tr>\n<tr>\n<td>surveyType</td>\n<td>string</td>\n<td>Tipo de pesquisa (<strong>CSAT, NPS, CES</strong>)</td>\n</tr>\n<tr>\n<td>surveyTypeCSAT</td>\n<td>string</td>\n<td>Subtipo quando surveyType é CSAT (<strong>EMOJI, NUMERIC</strong>)</td>\n</tr>\n<tr>\n<td>surveyTypeDescription</td>\n<td>string</td>\n<td>Descrição do tipo de pesquisa</td>\n</tr>\n<tr>\n<td>questions</td>\n<td>array</td>\n<td>Lista de questões da pesquisa (SurveyQuestionDTO)</td>\n</tr>\n<tr>\n<td>queueRelations</td>\n<td>array</td>\n<td>Relações com filas de atendimento</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"4d82e39e-850d-44b9-a460-0c79c2f9da62"},{"name":"Questão de pesquisa","item":[],"id":"d92c9171-a821-4df0-ae90-5e75fcedab86","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>uuid</td>\n<td>Identificador único da questão</td>\n</tr>\n<tr>\n<td>questionDescription</td>\n<td>string</td>\n<td>Texto da questão</td>\n</tr>\n<tr>\n<td>surveyHeader</td>\n<td>string</td>\n<td>Cabeçalho ou título da pesquisa</td>\n</tr>\n<tr>\n<td>questionOrder</td>\n<td>number</td>\n<td>Ordem da questão</td>\n</tr>\n<tr>\n<td>optionsResponseId</td>\n<td>string</td>\n<td>Identificador da opção de resposta</td>\n</tr>\n<tr>\n<td>optionsResponseDescription</td>\n<td>string</td>\n<td>Texto da opção de resposta</td>\n</tr>\n<tr>\n<td>finalMessage</td>\n<td>string</td>\n<td>Mensagem final exibida</td>\n</tr>\n<tr>\n<td>response</td>\n<td>objeto</td>\n<td>Objeto com a resposta (SurveyResponseDTO)</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"d92c9171-a821-4df0-ae90-5e75fcedab86"},{"name":"Resposta de pesquisa","item":[],"id":"d1392b6a-8804-4480-9e84-a5fb3e6a5158","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>uuid</td>\n<td>Identificador único da resposta</td>\n</tr>\n<tr>\n<td>surveyQuestionId</td>\n<td>uuid</td>\n<td>ID da questão relacionada</td>\n</tr>\n<tr>\n<td>surveyResponse</td>\n<td>string</td>\n<td>Texto ou valor da resposta</td>\n</tr>\n<tr>\n<td>ticketId</td>\n<td>uuid</td>\n<td>ID do ticket associado</td>\n</tr>\n<tr>\n<td>createdAt</td>\n<td>date-time</td>\n<td>Data/hora em que a resposta foi registrada</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"d1392b6a-8804-4480-9e84-a5fb3e6a5158"},{"name":"Relação de fila de pesquisa","item":[],"id":"a49114dc-148e-44db-a4ca-def118135e45","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>uuid</td>\n<td>Identificador único da relação entre a pesquisa e a fila</td>\n</tr>\n<tr>\n<td>queueId</td>\n<td>uuid</td>\n<td>Identificador da fila de atendimento associada à pesquisa</td>\n</tr>\n<tr>\n<td>integrationId</td>\n<td>uuid</td>\n<td>Identificador da integração vinculada à pesquisa e à fila</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"a49114dc-148e-44db-a4ca-def118135e45"},{"name":"ApiClientFormDTO","item":[],"id":"5273376f-d356-4d5a-b268-5aec944e5154","description":"<p>Dados do cliente da API a ser criado.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>uuid</td>\n<td>Não</td>\n<td>Identificador único do cliente da API</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>Sim</td>\n<td>Nome do cliente da API</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td>Sim</td>\n<td>E-mail do cliente da API</td>\n</tr>\n<tr>\n<td>tenantId</td>\n<td>string</td>\n<td>Sim</td>\n<td>Identificador do tenant (organização)</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n<td>Não</td>\n<td>Descrição adicional do cliente</td>\n</tr>\n<tr>\n<td>active</td>\n<td>boolean</td>\n<td>Sim</td>\n<td>Indica se o cliente da API está ativo</td>\n</tr>\n<tr>\n<td>isAdmin</td>\n<td>boolean</td>\n<td>Sim</td>\n<td>Indica se o cliente da API tem privilégios de admin</td>\n</tr>\n<tr>\n<td>createdAt</td>\n<td>date-time</td>\n<td>Não</td>\n<td>Data e hora de criação</td>\n</tr>\n<tr>\n<td>updatedAt</td>\n<td>date-time</td>\n<td>Não</td>\n<td>Data e hora da última atualização</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"5273376f-d356-4d5a-b268-5aec944e5154"},{"name":"ApiClientListDTO","item":[],"id":"e9023077-1c85-4724-9400-9228b24d8e75","description":"<p>Dados listados de clientes da API.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>uuid</td>\n<td>Identificador único do cliente da API</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>Nome do cliente da API</td>\n</tr>\n<tr>\n<td>email</td>\n<td>string</td>\n<td>E-mail do cliente da API</td>\n</tr>\n<tr>\n<td>active</td>\n<td>boolean</td>\n<td>Indica se o cliente da API está ativo</td>\n</tr>\n<tr>\n<td>isAdmin</td>\n<td>boolean</td>\n<td>Indica se o cliente da API tem privilégios de admin</td>\n</tr>\n<tr>\n<td>description</td>\n<td>string</td>\n<td>Descrição adicional do cliente</td>\n</tr>\n<tr>\n<td>createdAt</td>\n<td>date-time</td>\n<td>Data e hora de criação</td>\n</tr>\n<tr>\n<td>updatedAt</td>\n<td>date-time</td>\n<td>Data e hora da última atualização</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"e9023077-1c85-4724-9400-9228b24d8e75"},{"name":"SurveyFormDTO","item":[],"id":"ca998e75-78df-460c-a7e1-dfa5fd69f309","description":"<p>Dados da pesquisa a ser criada.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>uuid</td>\n<td>Não</td>\n<td>Identificador único da pesquisa</td>\n</tr>\n<tr>\n<td>surveyName</td>\n<td>string</td>\n<td>Sim</td>\n<td>Nome da pesquisa</td>\n</tr>\n<tr>\n<td>active</td>\n<td>boolean</td>\n<td>Sim</td>\n<td>Indica se a pesquisa está ativa</td>\n</tr>\n<tr>\n<td>surveyType</td>\n<td>string</td>\n<td>Sim</td>\n<td>Tipo da pesquisa (<strong>CSAT, NPS, CES</strong>)</td>\n</tr>\n<tr>\n<td>surveyTypeCSAT</td>\n<td>string</td>\n<td>Não</td>\n<td>Subtipo quando surveyType é CSAT (<strong>EMOJI, NUMERIC</strong>)</td>\n</tr>\n<tr>\n<td>createdAt</td>\n<td>date-time</td>\n<td>Não</td>\n<td>Data e hora de criação da pesquisa</td>\n</tr>\n<tr>\n<td>finishedAt</td>\n<td>date-time</td>\n<td>Não</td>\n<td>Data e hora de finalização da pesquisa</td>\n</tr>\n<tr>\n<td>questions</td>\n<td>array</td>\n<td>Sim</td>\n<td>Lista de questões da pesquisa (SurveyQuestionForm)</td>\n</tr>\n<tr>\n<td>queueRelations</td>\n<td>array</td>\n<td>Sim</td>\n<td>Relações entre pesquisa e filas (SurveyQueueRelationFormDTO)</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"ca998e75-78df-460c-a7e1-dfa5fd69f309"},{"name":"SurveyOptionResponseFormDTO","item":[],"id":"405a3174-af4d-458e-92c4-88c33733318f","description":"<p>Opções de resposta de uma questão da pesquisa.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>description</td>\n<td>string</td>\n<td>Sim</td>\n<td>Texto da opção de resposta exibida</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"405a3174-af4d-458e-92c4-88c33733318f"},{"name":"SurveyQuestionForm","item":[],"id":"4a47224f-93a2-49e1-b0cc-6373b027fe93","description":"<p>Dados de uma questão da pesquisa.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>questionDescription</td>\n<td>string</td>\n<td>Não</td>\n<td>Texto da questão</td>\n</tr>\n<tr>\n<td>surveyHeader</td>\n<td>string</td>\n<td>Não</td>\n<td>Cabeçalho da pesquisa ou grupo de questões</td>\n</tr>\n<tr>\n<td>questionOrder</td>\n<td>integer (int32)</td>\n<td>Sim</td>\n<td>Ordem de exibição da questão</td>\n</tr>\n<tr>\n<td>optionsResponse</td>\n<td>array (SurveyOptionResponseFormDTO)</td>\n<td>Não</td>\n<td>Lista de opções de resposta possíveis</td>\n</tr>\n<tr>\n<td>finalMessage</td>\n<td>boolean</td>\n<td>Sim</td>\n<td>Indica se a questão possui mensagem final associada</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"4a47224f-93a2-49e1-b0cc-6373b027fe93"},{"name":"SurveyQueueRelationFormDTO","item":[],"id":"d9dd2978-e852-403f-9d49-5cf0c4b2744e","description":"<p>Relacionamento da pesquisa com filas de atendimento.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>uuid</td>\n<td>Não</td>\n<td>Identificador único da relação</td>\n</tr>\n<tr>\n<td>queueId</td>\n<td>uuid</td>\n<td>Sim</td>\n<td>Identificador da fila de atendimento</td>\n</tr>\n<tr>\n<td>integrationId</td>\n<td>uuid</td>\n<td>Sim</td>\n<td>Identificador da integração vinculada</td>\n</tr>\n<tr>\n<td>subjectId</td>\n<td>uuid</td>\n<td>Sim</td>\n<td>Identificador do assunto relacionado à pesquisa na fila</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"d9dd2978-e852-403f-9d49-5cf0c4b2744e"},{"name":"SurveyResponseForm","item":[],"id":"1ccd5cd0-549c-4f42-96b7-94348b2eaee2","description":"<p>Dados da resposta de uma questão da pesquisa.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>surveyResponse</td>\n<td>string</td>\n<td>Não</td>\n<td>Texto ou valor da resposta</td>\n</tr>\n<tr>\n<td>ticketId</td>\n<td>uuid</td>\n<td>Não</td>\n<td>Identificador do ticket associado</td>\n</tr>\n<tr>\n<td>id</td>\n<td>uuid</td>\n<td>Não</td>\n<td>Identificador único da resposta</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"1ccd5cd0-549c-4f42-96b7-94348b2eaee2"},{"name":"SurveyProgressDTO","item":[],"id":"711bf132-2d60-4a6a-8d54-80036b07018f","description":"<p>Informações de progresso da pesquisa em andamento.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>current</td>\n<td>integer (int32)</td>\n<td>Número da questão atual</td>\n</tr>\n<tr>\n<td>total</td>\n<td>integer (int32)</td>\n<td>Quantidade total de questões da pesquisa</td>\n</tr>\n<tr>\n<td>hasNextQuestion</td>\n<td>boolean</td>\n<td>Indica se ainda há próxima questão a ser respondida</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"711bf132-2d60-4a6a-8d54-80036b07018f"},{"name":"SurveyQuestionInfoDTO","item":[],"id":"71a5400c-9bbc-4ea5-a89e-687c6e17f983","description":"<p>Informações detalhadas de uma questão da pesquisa.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>uuid</td>\n<td>Identificador único da questão</td>\n</tr>\n<tr>\n<td>questionDescription</td>\n<td>string</td>\n<td>Texto da questão</td>\n</tr>\n<tr>\n<td>surveyHeader</td>\n<td>string</td>\n<td>Cabeçalho da pesquisa ou grupo da questão</td>\n</tr>\n<tr>\n<td>questionOrder</td>\n<td>integer (int32)</td>\n<td>Ordem da questão na pesquisa</td>\n</tr>\n<tr>\n<td>options</td>\n<td>array</td>\n<td>Lista de opções de resposta possíveis</td>\n</tr>\n<tr>\n<td>finalMessage</td>\n<td>boolean</td>\n<td>Indica se a questão possui mensagem final associada</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"71a5400c-9bbc-4ea5-a89e-687c6e17f983"},{"name":"SurveyResponseResultDTO","item":[],"id":"dd49d64a-3e33-4006-897e-bf83a914afb0","description":"<p>Resultado de uma resposta de pesquisa.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>success</td>\n<td>boolean</td>\n<td>Indica se a resposta foi registrada com sucesso</td>\n</tr>\n<tr>\n<td>nextQuestion</td>\n<td>objeto (SurveyQuestionInfoDTO)</td>\n<td>Próxima questão a ser respondida, se houver</td>\n</tr>\n<tr>\n<td>progress</td>\n<td>objeto (SurveyProgressDTO)</td>\n<td>Informações de progresso da pesquisa em andamento</td>\n</tr>\n<tr>\n<td>surveyCompleted</td>\n<td>boolean</td>\n<td>Indica se a pesquisa foi concluída</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"dd49d64a-3e33-4006-897e-bf83a914afb0"},{"name":"SurveyFinishResponseDTO","item":[],"id":"d38a4fdf-74c3-4c71-95a0-416098074f9c","description":"<p>Resposta ao finalizar a pesquisa.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>success</td>\n<td>boolean</td>\n<td>Indica se a finalização ocorreu com sucesso</td>\n</tr>\n<tr>\n<td>message</td>\n<td>string</td>\n<td>Mensagem de confirmação ou status</td>\n</tr>\n<tr>\n<td>surveyId</td>\n<td>uuid</td>\n<td>Identificador da pesquisa finalizada</td>\n</tr>\n<tr>\n<td>completedAt</td>\n<td>date-time</td>\n<td>Data e hora de conclusão da pesquisa</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"d38a4fdf-74c3-4c71-95a0-416098074f9c"},{"name":"JwtFormDTO","item":[],"id":"9e612b05-9dfc-4473-ba38-10c5c0db71a1","description":"<p><em>Tokens</em> de autenticação JWT.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>accessToken</td>\n<td>string</td>\n<td>Token de acesso usado nas requisições</td>\n</tr>\n<tr>\n<td>refreshToken</td>\n<td>string</td>\n<td>Token usado para renovar o accessToken</td>\n</tr>\n<tr>\n<td>expiresIn</td>\n<td>integer(int64)</td>\n<td>Tempo de expiração do accessToken (em segundos)</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"9e612b05-9dfc-4473-ba38-10c5c0db71a1"},{"name":"RefreshTokenFormDTO","item":[],"id":"9bc0b4a3-c6b5-4943-9933-1642cf6a4e42","description":"<p>Dados para renovação do <em>token</em>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>refreshToken</td>\n<td>string</td>\n<td>Sim</td>\n<td>Token de atualização obtido no login</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"9bc0b4a3-c6b5-4943-9933-1642cf6a4e42"},{"name":"AuthFormDTO","item":[],"id":"6440172b-6d7b-4b66-b895-fa180e81d5c0","description":"<p>Dados de autenticação inicial.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Obrigatório</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>apiKey</td>\n<td>string</td>\n<td>Sim</td>\n<td>Chave da API usada para autenticação</td>\n</tr>\n<tr>\n<td>tenantId</td>\n<td>string</td>\n<td>Sim</td>\n<td>Identificador do tenant (cliente)</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"6440172b-6d7b-4b66-b895-fa180e81d5c0"},{"name":"SurveyFilter","item":[],"id":"29133321-ebef-425d-8866-11bda61663cf","description":"<p>Filtros aplicáveis às pesquisas.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>surveyName</td>\n<td>string</td>\n<td>Nome da pesquisa</td>\n</tr>\n<tr>\n<td>active</td>\n<td>boolean</td>\n<td>Indica se a pesquisa está ativa</td>\n</tr>\n<tr>\n<td>integrationId</td>\n<td>uuid</td>\n<td>Identificador da integração relacionada à pesquisa</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"29133321-ebef-425d-8866-11bda61663cf"},{"name":"SurveyStatusDTO","item":[],"id":"09b2650e-f06c-4624-a9cd-79061c155bbd","description":"<p><em>Status</em> atual da pesquisa.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>inSurvey</td>\n<td>boolean</td>\n<td>Indica se há uma pesquisa em andamento</td>\n</tr>\n<tr>\n<td>surveyId</td>\n<td>uuid</td>\n<td>Identificador da pesquisa</td>\n</tr>\n<tr>\n<td>surveyName</td>\n<td>string</td>\n<td>Nome da pesquisa</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"09b2650e-f06c-4624-a9cd-79061c155bbd"},{"name":"SurveyCurrentDTO","item":[],"id":"bf2e78dc-d0d3-4447-8e61-a150f8bc5fb0","description":"<p>Questão atual e progresso de uma pesquisa em andamento.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Campo</th>\n<th>Tipo</th>\n<th>Descrição</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>surveyId</td>\n<td>uuid</td>\n<td>Identificador da pesquisa em andamento</td>\n</tr>\n<tr>\n<td>surveyName</td>\n<td>string</td>\n<td>Nome da pesquisa</td>\n</tr>\n<tr>\n<td>currentQuestion</td>\n<td>objeto (SurveyQuestionInfoDTO)</td>\n<td>Questão atual a ser respondida</td>\n</tr>\n<tr>\n<td>nextQuestion</td>\n<td>objeto (SurveyQuestionInfoDTO)</td>\n<td>Próxima questão da pesquisa, se houver</td>\n</tr>\n<tr>\n<td>progress</td>\n<td>objeto (SurveyProgressDTO)</td>\n<td>Informações sobre o progresso da pesquisa em andamento</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"bf2e78dc-d0d3-4447-8e61-a150f8bc5fb0"}],"id":"36787274-6c1c-4295-bd3a-888ff00d5c32","description":"<p>A depender do \"Tipo\" de requisição feita serão retornados campos específicos, como descrito a seguir:</p>\n","_postman_id":"36787274-6c1c-4295-bd3a-888ff00d5c32"}],"variable":[{"key":"baseUrl","value":"/"}]}