Recupere o histórico de conversas de um canal para auditar interações, analisar métricas ou depurar fluxos. Este endpoint retorna mensagens enviadas e recebidas com suporte a paginação e filtros de tempo.
Endpoint
GET https://api.jelou.ai/v1/external/messages/history/{botId}
Parâmetros de Path
Campo
Localização
Tipo
Obrigatório
Descrição
botId
Path
string
Sim
Identificador único do canal cujo histórico você deseja consultar.
Parâmetros de Query
Campo
Localização
Tipo
Obrigatório
Valor padrão
Descrição
limit
Query
integer
Não
10
Número de mensagens a solicitar. Máximo: 50.
page
Query
integer
Não
1
Número da página.
startAt
Query
date
Não
-
Data de início do intervalo a consultar. Formato ISO 8601.
endAt
Query
date
Não
-
Data de término do intervalo a consultar. Formato ISO 8601.
clientId
Query
string
Não
-
Filtra o histórico por um clientId específico associado às suas integrações.
messageId
Query
string
Não
-
Retorna a conversa que contém a mensagem com este identificador.
Se você omitir campos opcionais, a API aplicará valores padrão para entregar a primeira página com as mensagens mais recentes.
{ "message": ["The Channel could not be found at the moment."], "statusMessage": "failed", "status": 0, "error": { "code": "E1019", "key": "BOT_NOT_FOUND", "description": "Error to be thrown when trying to get a channel.", "developerMessages": { "es": "El botId no se encuentra en la base de datos o ha sido eliminado.", "en": "The botId is not found in the database or has been deleted." }, "clientMessages": { "es": "El canal no se pudo encontrar por el momento.", "en": "The Channel could not be found at the moment." } }}
422 - Entidade não processável
{ "message": ["The values entered are not correct."], "statusMessage": "failed", "status": 0, "error": { "code": "E0422", "key": "VALIDATOR_ERROR", "description": "Error to be thrown when cannot process request because of incoming values", "developerMessages": { "es": "Los valores del request no son correctos para ser procesados.", "en": "The request values are not correct for processing." }, "clientMessages": { "es": "Los valores ingresados no son correctos.", "en": "The values entered are not correct." } }, "validationError": { "startAt": [ { "es": "el campo startAt debe ser una fecha", "en": "the startAt field must be a Date" } ] }}
500 - Erro Interno do Servidor
{ "message": ["We are having trouble processing your request. Please try again later."], "statusMessage": "failed", "status": 0, "error": { "code": "E0000", "key": "UNKNOWN_ERROR", "description": "Error to be thrown when it couldn't be determined the reason of failure", "developerMessages": { "es": "Error inesperado ocurrido, revisar logs.", "en": "Unexpected error occurred, check logs." }, "clientMessages": { "es": "Estamos teniendo problemas procesando la solicitud. Por favor intenta más tarde.", "en": "We are having trouble processing your request. Please try again later." } }}
Detalhes da Resposta
Objeto pagination
Campo
Tipo
Descrição
limit
integer
Número de registros por página.
page
integer
Página atual.
total
integer
Total de registros.
offset
integer
Deslocamento a partir do início.
totalPages
integer
Total de páginas disponíveis.
Objeto results
Campo
Tipo
Descrição
recipient
object
Informações do destinatário (id, names).
sender
object
Informações do remetente (id, name, type).
by
string
Indica quem enviou a mensagem: bot ou user.
messageId
string
Identificador único da mensagem.
status
string
Status da mensagem: DELIVERED_USER, DELIVERED_CHANNEL, READ, etc.
bubble
object
Conteúdo da mensagem (type, text, mediaUrl, etc.).
createdAt
date
Data de criação da mensagem no formato ISO 8601.
Limites e restrições
Limites importantes:
limit: O valor máximo permitido é 50
page: Deve ser um inteiro positivo
startAt/endAt: Devem estar no formato ISO 8601 (ex.: 2025-01-15T10:30:00.000Z)
Autorizações
Authorization
string
header
obrigatório
Basic authentication using Base64 encoded clientId:clientSecret
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Jelou AI Docs","colors":{"primary":"#00B3C7","light":"#07C983","dark":"#15803D"},"logo":"https://mintcdn.com/jelouai/ohdyHu3U1l_f83jb/assets/images/logo.svg?fit=max\u0026auto=format\u0026n=ohdyHu3U1l_f83jb\u0026q=85\u0026s=96492f65ef93712f99d972c31ad08e09","favicon":"https://mintcdn.com/jelouai/ULgwEHLikEppkuDq/favicon.ico?fit=max\u0026auto=format\u0026n=ULgwEHLikEppkuDq\u0026q=85\u0026s=4b1610b2f8d778f447cb4f67c565d9d3","api":{"mdx":{"auth":{"method":"basic"},"server":"https://api.jelou.ai"}},"navbar":{"primary":{"type":"button","label":"Empezar","href":"https://apps.jelou.ai/signup"}},"footer":{"socials":{"x":"https://x.com/JelouAI","github":"https://github.com/Jeloulatam","linkedin":"https://linkedin.com/company/jelou-ai"}},"fonts":{"heading":{"family":"DM Sans","weight":700,"source":"assets/fonts/dm-sans-700.woff2","format":"woff2"},"body":{"family":"Inter","weight":400,"source":"assets/fonts/inter-400.woff2","format":"woff2"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"languages":[{"language":"es","default":true,"href":""},{"language":"en","href":"en"},{"language":"pt-BR","href":"pt"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"jelouai","hasAudioNarration":false,"actualSubdomain":"jelouai","customDomains":["docs.jelou.ai"],"gitSource":{"type":"github","owner":"jeloulatam","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0350f15d82e313e75660ea","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"es","tag":"Brain Studio","count":262},{"language":"pt-BR","tag":"Brain Studio","count":262},{"language":"en","tag":"Brain Studio","count":252},{"language":"es","tag":"Marketplace","count":94},{"language":"pt-BR","tag":"Marketplace","count":94},{"language":"en","tag":"Marketplace","count":84},{"language":"es","tag":"API","count":81},{"language":"en","tag":"API","count":80},{"language":"pt-BR","tag":"API","count":80},{"language":"es","tag":"Pagos","count":62},{"language":"pt-BR","tag":"Pagamentos","count":62},{"language":"es","tag":"Desarrollador","count":59},{"language":"en","tag":"Developer","count":59},{"language":"pt-BR","tag":"Desenvolvedor","count":59},{"language":"es","tag":"Functions","count":56},{"language":"en","tag":"Functions","count":56},{"language":"en","tag":"Payments","count":52},{"language":"es","tag":"Proveedores de pago","count":47},{"language":"pt-BR","tag":"Provedores de Pagamento","count":47},{"language":"es","tag":"Nodos","count":43},{"language":"en","tag":"Nodes","count":43},{"language":"pt-BR","tag":"Nós","count":43},{"language":"en","tag":"Payment Providers","count":37},{"language":"es","tag":"Configuración","count":30},{"language":"pt-BR","tag":"Configuração","count":30},{"language":"en","tag":"Configuration","count":29},{"language":"pt-BR","tag":"Funções","count":29},{"language":"pt-BR","tag":"Functions","count":27},{"language":"es","tag":"Jelou Shop","count":26},{"language":"en","tag":"Jelou Shop","count":26},{"language":"default","tag":"API","count":9},{"language":"default","tag":"Datum","count":4},{"language":"default","tag":"Widget","count":3},{"language":"default","tag":"Campañas","count":1},{"language":"default","tag":"Recursos","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"[email protected]","showHelpButton":true}},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[{"_id":"695f0dc1ce817ff266c09160","deploymentId":"690b5c0b3fecf134e9284503","questionText":"¿Cómo funciona la memoria?","status":"active","generatedBy":"manual","createdAt":"2026-01-08T01:52:01.463Z","updatedAt":"2026-01-08T01:52:10.189Z","__v":0},{"_id":"695f0db5ce817ff266c0868e","deploymentId":"690b5c0b3fecf134e9284503","questionText":"¿Cómo obtengo el teléfono del usuario?","status":"active","generatedBy":"manual","createdAt":"2026-01-08T01:51:49.283Z","updatedAt":"2026-01-08T01:51:49.283Z","__v":0},{"_id":"695f0da0ce817ff266c076de","deploymentId":"690b5c0b3fecf134e9284503","questionText":"¿Cómo escribo un buen prompt?","status":"active","generatedBy":"manual","createdAt":"2026-01-08T01:51:28.820Z","updatedAt":"2026-01-08T01:52:05.727Z","__v":0}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/inter-400.woff2') format('woff2')}@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/inter-500.woff2') format('woff2')}@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/inter-600.woff2') format('woff2')}@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/inter-700.woff2') format('woff2')}@font-face{font-family:'DM Sans';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/dm-sans-400.woff2') format('woff2')}@font-face{font-family:'DM Sans';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/dm-sans-500.woff2') format('woff2')}@font-face{font-family:'DM Sans';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/dm-sans-600.woff2') format('woff2')}@font-face{font-family:'DM Sans';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/dm-sans-700.woff2') format('woff2')}:root{--font-family-headings-custom: \"DM Sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", system-ui, sans-serif;--font-family-body: \"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", system-ui, sans-serif}body,p,span,div,li,td,th,label,input,textarea,select,button{font-family:var(--font-family-body)}h1,h2,h3,h4,h5,h6,article h1,article h2,article h3,article h4,article h5,article h6,main h1,main h2,main h3,main h4,main h5,main h6,section h1,section h2,section h3,section h4,section h5,section h6,[class*=\"heading\"],[class*=\"Heading\"],[class*=\"title\"],[class*=\"Title\"],[class*=\"h1\"],[class*=\"h2\"],[class*=\"h3\"],[class*=\"h4\"],[class*=\"h5\"],[class*=\"h6\"],[class*=\"H1\"],[class*=\"H2\"],[class*=\"H3\"],[class*=\"H4\"],[class*=\"H5\"],[class*=\"H6\"]{font-family:var(--font-family-headings-custom)!important}footer a[href*=\"mintlify\"],footer a[href*=\"mintlify.com\"],footer a[href*=\"mintlify.io\"],footer [class*=\"powered\"],footer [class*=\"Powered\"],footer [class*=\"mintlify\"],footer [class*=\"Mintlify\"],footer p:has(a[href*=\"mintlify\"]),footer div:has(a[href*=\"mintlify\"]){display:none!important;visibility:hidden!important}.mp-country-selector>div{border:1px solid rgba(0, 179, 199, 0.25);border-left:4px solid #00B3C7;border-radius:0.5rem;background:rgba(0, 179, 199, 0.05)}"}]}
{"page":{"pagePath":"pt/api/conversas/historico","slug":"/pt/api/conversas/historico","pageMetadata":{"title":"Histórico de chat","description":"Consulte o histórico de mensagens de um canal","openapi":"GET /v1/external/messages/history/{botId}","href":"/pt/api/conversas/historico"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Consulte o histórico de mensagens de um canal\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,hr:`hr`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,Heading,Note,Table,Tip}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Recupere o histórico de conversas de um canal para auditar interações, analisar métricas ou depurar fluxos. Este endpoint retorna mensagens enviadas e recebidas com suporte a paginação e filtros de tempo.`}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`endpoint`,children:`Endpoint`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`GET https://api.jelou.ai/v1/external/messages/history/{botId}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`parâmetros-de-path`,children:`Parâmetros de Path`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Campo`}),_jsx(_components.th,{children:`Localização`}),_jsx(_components.th,{children:`Tipo`}),_jsx(_components.th,{children:`Obrigatório`}),_jsx(_components.th,{children:`Descrição`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`botId`})}),_jsx(_components.td,{children:`Path`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Sim`}),_jsx(_components.td,{children:`Identificador único do canal cujo histórico você deseja consultar.`})]})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`parâmetros-de-query`,children:`Parâmetros de Query`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Campo`}),_jsx(_components.th,{children:`Localização`}),_jsx(_components.th,{children:`Tipo`}),_jsx(_components.th,{children:`Obrigatório`}),_jsx(_components.th,{children:`Valor padrão`}),_jsx(_components.th,{children:`Descrição`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`limit`})}),_jsx(_components.td,{children:`Query`}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Não`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`10`}),_jsx(_components.td,{children:`Número de mensagens a solicitar. Máximo: 50.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`page`})}),_jsx(_components.td,{children:`Query`}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Não`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1`}),_jsx(_components.td,{children:`Número da página.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`startAt`})}),_jsx(_components.td,{children:`Query`}),_jsx(_components.td,{children:`date`}),_jsx(_components.td,{children:`Não`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`-`}),_jsx(_components.td,{children:`Data de início do intervalo a consultar. Formato ISO 8601.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`endAt`})}),_jsx(_components.td,{children:`Query`}),_jsx(_components.td,{children:`date`}),_jsx(_components.td,{children:`Não`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`-`}),_jsx(_components.td,{children:`Data de término do intervalo a consultar. Formato ISO 8601.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`clientId`})}),_jsx(_components.td,{children:`Query`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Não`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`-`}),_jsx(_components.td,{children:`Filtra o histórico por um clientId específico associado às suas integrações.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`messageId`})}),_jsx(_components.td,{children:`Query`}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Não`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`-`}),_jsx(_components.td,{children:`Retorna a conversa que contém a mensagem com este identificador.`})]})]})]}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`Se você omitir campos opcionais, a API aplicará valores padrão para entregar a primeira página com as mensagens mais recentes.`})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`exemplos-de-requisição`,children:`Exemplos de Requisição`}),`\n`,_jsx(Heading,{level:`3`,id:`consulta-básica`,children:`Consulta básica`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.jelou.ai/v1/external/messages/history/BOT_ID?limit=10\u0026page=1'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Basic {{Base64EncodedUsername:Password}}'`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`com-filtro-de-data`,children:`Com filtro de data`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.jelou.ai/v1/external/messages/history/BOT_ID?limit=20\u0026page=1\u0026startAt=2025-01-01T00:00:00.000Z\u0026endAt=2025-01-31T23:59:59.000Z'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Basic {{Base64EncodedUsername:Password}}'`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`com-filtro-de-cliente`,children:`Com filtro de cliente`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GET`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --url`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.jelou.ai/v1/external/messages/history/BOT_ID?limit=10\u0026page=1\u0026clientId=CLIENT_ID'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Authorization: Basic {{Base64EncodedUsername:Password}}'`})]}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`respostas`,children:`Respostas`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`200 - Resposta bem-sucedida`,id:`200-resposta-bem-sucedida`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`31`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`31`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"pagination\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"limit\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`10`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"page\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"total\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"offset\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"totalPages\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"_metadata\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"results\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"recipient\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"RECIPIENT_ID\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"names\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Example Customer\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"sender\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BOT_ID\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Meu Canal\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"WhatsApp\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"by\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bot\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"messageId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"msg-12345-67890-4a38-abcde-fghij\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"DELIVERED_USER\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"bubble\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"TEXT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"text\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Hello, welcome to Jelou\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-01-15T10:30:00.000Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(Accordion,{title:`401 - Não Autorizado`,id:`401-nao-autorizado`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Authentication failed\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(Accordion,{title:`404 - Não Encontrado`,id:`404-nao-encontrado`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`18`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`18`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The Channel could not be found at the moment.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"statusMessage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"failed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"E1019\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BOT_NOT_FOUND\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Error to be thrown when trying to get a channel.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"developerMessages\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"es\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"El botId no se encuentra en la base de datos o ha sido eliminado.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"en\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The botId is not found in the database or has been deleted.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"clientMessages\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"es\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"El canal no se pudo encontrar por el momento.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"en\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The Channel could not be found at the moment.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(Accordion,{title:`422 - Entidade não processável`,id:`422-entidade-nao-processavel`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`26`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`26`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The values entered are not correct.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"statusMessage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"failed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"E0422\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"VALIDATOR_ERROR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Error to be thrown when cannot process request because of incoming values\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"developerMessages\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"es\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Los valores del request no son correctos para ser procesados.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"en\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The request values are not correct for processing.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"clientMessages\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"es\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Los valores ingresados no son correctos.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"en\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"The values entered are not correct.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"validationError\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"startAt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"es\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"el campo startAt debe ser una fecha\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"en\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"the startAt field must be a Date\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(Accordion,{title:`500 - Erro Interno do Servidor`,id:`500-erro-interno-do-servidor`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`18`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`18`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"message\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"We are having trouble processing your request. Please try again later.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"statusMessage\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"failed\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"code\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"E0000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"UNKNOWN_ERROR\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"description\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Error to be thrown when it couldn't be determined the reason of failure\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"developerMessages\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"es\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Error inesperado ocurrido, revisar logs.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"en\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Unexpected error occurred, check logs.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"clientMessages\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"es\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Estamos teniendo problemas procesando la solicitud. Por favor intenta más tarde.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"en\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"We are having trouble processing your request. Please try again later.\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`detalhes-da-resposta`,children:`Detalhes da Resposta`}),`\n`,_jsx(Heading,{level:`3`,id:`objeto-pagination`,children:`Objeto pagination`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Campo`}),_jsx(_components.th,{children:`Tipo`}),_jsx(_components.th,{children:`Descrição`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`limit`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Número de registros por página.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`page`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Página atual.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`total`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Total de registros.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`offset`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Deslocamento a partir do início.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`totalPages`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Total de páginas disponíveis.`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`objeto-results`,children:`Objeto results`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Campo`}),_jsx(_components.th,{children:`Tipo`}),_jsx(_components.th,{children:`Descrição`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`recipient`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Informações do destinatário (id, names).`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`sender`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Informações do remetente (id, name, type).`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`by`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Indica quem enviou a mensagem: `,_jsx(_components.code,{children:`bot`}),` ou `,_jsx(_components.code,{children:`user`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`messageId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Identificador único da mensagem.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`status`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Status da mensagem: `,_jsx(_components.code,{children:`DELIVERED_USER`}),`, `,_jsx(_components.code,{children:`DELIVERED_CHANNEL`}),`, `,_jsx(_components.code,{children:`READ`}),`, etc.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`bubble`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Conteúdo da mensagem (type, text, mediaUrl, etc.).`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`createdAt`})}),_jsx(_components.td,{children:`date`}),_jsx(_components.td,{children:`Data de criação da mensagem no formato ISO 8601.`})]})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`limites-e-restrições`,children:`Limites e restrições`}),`\n`,_jsxs(Note,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Limites importantes:`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`limit`}),`: O valor máximo permitido é `,_jsx(_components.code,{children:`50`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`page`}),`: Deve ser um inteiro positivo`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`startAt/endAt`}),`: Devem estar no formato ISO 8601 (ex.: `,_jsx(_components.code,{children:`2025-01-15T10:30:00.000Z`}),`)`]}),`\n`]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Histórico de chat","description":"Consulte o histórico de mensagens de um canal","openapi":"GET /v1/external/messages/history/{botId}","href":"/pt/api/conversas/historico"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Endpoint","slug":"endpoint","depth":2,"children":[]},{"title":"Parâmetros de Path","slug":"parâmetros-de-path","depth":2,"children":[]},{"title":"Parâmetros de Query","slug":"parâmetros-de-query","depth":2,"children":[]},{"title":"Exemplos de Requisição","slug":"exemplos-de-requisição","depth":2,"children":[{"title":"Consulta básica","slug":"consulta-básica","depth":3,"children":[]},{"title":"Com filtro de data","slug":"com-filtro-de-data","depth":3,"children":[]},{"title":"Com filtro de cliente","slug":"com-filtro-de-cliente","depth":3,"children":[]}]},{"title":"Respostas","slug":"respostas","depth":2,"children":[]},{"title":"Detalhes da Resposta","slug":"detalhes-da-resposta","depth":2,"children":[{"title":"Objeto pagination","slug":"objeto-pagination","depth":3,"children":[]},{"title":"Objeto results","slug":"objeto-results","depth":3,"children":[]}]},{"title":"Limites e restrições","slug":"limites-e-restrições","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Get Chat History","description":"Consulte o histórico de mensagens de um canal","operationId":"getChatHistory","tags":["Conversations"],"parameters":["f1a64c4c-08fd-4e47-8ebb-7cb7c02042fd","723243cf-cb7f-4577-991d-20edbcdba28c","ba3849ca-6d85-4eaa-a2dd-7596d2506f34","3398027b-6c9c-410d-af85-093c8af99564","73b757f5-8d70-4ce7-b97d-c25a50b70bf4","f2fe43de-392b-4f30-86a8-7ad78b0af124","4b8160c2-9b16-46e6-b721-cc4016e57a64"],"responses":{"200":"c1c0a805-82c5-418f-a2dd-11ee92d13143","401":"bd543503-e291-4a56-823f-575441ab4456","404":"9acf2b95-dbc9-4fdc-8667-9e872816961c","422":"c2a6989b-848b-4a1b-b927-318d2d373bab"},"method":"get","type":"path","servers":["ffd2ef4c-48bc-4927-880f-9a948f6ec1a5"],"security":["a4d713bc-88b4-4508-a850-75f81e054966"],"path":"/v1/external/messages/history/{botId}","baseUrlOptions":["https://api.jelou.ai"],"title":"Get Chat History","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"f1a64c4c-08fd-4e47-8ebb-7cb7c02042fd":{"name":"botId","in":"path","required":true,"schema":{"type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}},"723243cf-cb7f-4577-991d-20edbcdba28c":{"name":"limit","in":"query","schema":{"type":"integer","default":10,"maximum":50,"uniqueKey":"","typeLabel":"integer"}},"ba3849ca-6d85-4eaa-a2dd-7596d2506f34":{"name":"page","in":"query","schema":{"type":"integer","default":1,"uniqueKey":"","typeLabel":"integer"}},"3398027b-6c9c-410d-af85-093c8af99564":{"name":"startAt","in":"query","schema":{"type":"string","format":"date-time","uniqueKey":"","typeLabel":"string\u003cdate-time>"}},"73b757f5-8d70-4ce7-b97d-c25a50b70bf4":{"name":"endAt","in":"query","schema":{"type":"string","format":"date-time","uniqueKey":"","typeLabel":"string\u003cdate-time>"}},"f2fe43de-392b-4f30-86a8-7ad78b0af124":{"name":"clientId","in":"query","schema":{"type":"string","uniqueKey":"","typeLabel":"string"}},"4b8160c2-9b16-46e6-b721-cc4016e57a64":{"name":"messageId","in":"query","schema":{"type":"string","uniqueKey":"","typeLabel":"string"}}},"responses":{"c1c0a805-82c5-418f-a2dd-11ee92d13143":{"description":"History retrieved successfully","content":{"application/json":{"schema":{"type":"object","properties":{"pagination":{"type":"object","properties":{"limit":{"type":"integer","uniqueKey":"pagination.limit","typeLabel":"integer"},"page":{"type":"integer","uniqueKey":"pagination.page","typeLabel":"integer"},"total":{"type":"integer","uniqueKey":"pagination.total","typeLabel":"integer"},"offset":{"type":"integer","uniqueKey":"pagination.offset","typeLabel":"integer"},"totalPages":{"type":"integer","uniqueKey":"pagination.totalPages","typeLabel":"integer"}},"uniqueKey":"pagination","typeLabel":"object"},"_metadata":{"type":"object","uniqueKey":"_metadata","typeLabel":"object"},"results":{"type":"array","items":{"type":"object","properties":{"recipient":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"results.items.[INDEX].recipient.id","typeLabel":"string"},"names":{"type":"string","uniqueKey":"results.items.[INDEX].recipient.names","typeLabel":"string"}},"uniqueKey":"results.items.[INDEX].recipient","typeLabel":"object"},"sender":{"type":"object","properties":{"id":{"type":"string","uniqueKey":"results.items.[INDEX].sender.id","typeLabel":"string"},"name":{"type":"string","uniqueKey":"results.items.[INDEX].sender.name","typeLabel":"string"},"type":{"type":"string","uniqueKey":"results.items.[INDEX].sender.type","typeLabel":"string"}},"uniqueKey":"results.items.[INDEX].sender","typeLabel":"object"},"by":{"type":"string","enum":["bot","user"],"uniqueKey":"results.items.[INDEX].by","typeLabel":"enum\u003cstring>"},"messageId":{"type":"string","uniqueKey":"results.items.[INDEX].messageId","typeLabel":"string"},"status":{"type":"string","uniqueKey":"results.items.[INDEX].status","typeLabel":"string"},"bubble":{"type":"object","properties":{"type":{"type":"string","uniqueKey":"results.items.[INDEX].bubble.type","typeLabel":"string"},"text":{"type":"string","uniqueKey":"results.items.[INDEX].bubble.text","typeLabel":"string"},"mediaUrl":{"type":"string","uniqueKey":"results.items.[INDEX].bubble.mediaUrl","typeLabel":"string"}},"uniqueKey":"results.items.[INDEX].bubble","typeLabel":"object"},"createdAt":{"type":"string","format":"date-time","uniqueKey":"results.items.[INDEX].createdAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"results.items.[INDEX]","typeLabel":"object"},"uniqueKey":"results","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"pagination":{"limit":123,"page":123,"total":123,"offset":123,"totalPages":123},"_metadata":{},"results":[{"recipient":{"id":"\u003cstring>","names":"\u003cstring>"},"sender":{"id":"\u003cstring>","name":"\u003cstring>","type":"\u003cstring>"},"by":"bot","messageId":"\u003cstring>","status":"\u003cstring>","bubble":{"type":"\u003cstring>","text":"\u003cstring>","mediaUrl":"\u003cstring>"},"createdAt":"2023-11-07T05:31:56Z"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"bd543503-e291-4a56-823f-575441ab4456":{"description":"Unauthorized - Invalid authentication credentials","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","uniqueKey":"message.oneOf.1.items.[INDEX]","typeLabel":"string"},"uniqueKey":"message.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"message","typeLabel":"string | string[]"},"statusMessage":{"type":"string","uniqueKey":"statusMessage","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"status","typeLabel":"integer"},"error":{"type":"object","properties":{"code":{"type":"string","uniqueKey":"error.code","typeLabel":"string"},"key":{"type":"string","uniqueKey":"error.key","typeLabel":"string"},"description":{"type":"string","uniqueKey":"error.description","typeLabel":"string"},"developerMessages":{"type":"object","uniqueKey":"error.developerMessages","typeLabel":"object"},"clientMessages":{"type":"object","uniqueKey":"error.clientMessages","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"},"validationError":{"type":"object","uniqueKey":"validationError","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","statusMessage":"\u003cstring>","status":123,"error":{"code":"\u003cstring>","key":"\u003cstring>","description":"\u003cstring>","developerMessages":{},"clientMessages":{}},"validationError":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"9acf2b95-dbc9-4fdc-8667-9e872816961c":{"description":"Not found - Resource not found","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","uniqueKey":"message.oneOf.1.items.[INDEX]","typeLabel":"string"},"uniqueKey":"message.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"message","typeLabel":"string | string[]"},"statusMessage":{"type":"string","uniqueKey":"statusMessage","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"status","typeLabel":"integer"},"error":{"type":"object","properties":{"code":{"type":"string","uniqueKey":"error.code","typeLabel":"string"},"key":{"type":"string","uniqueKey":"error.key","typeLabel":"string"},"description":{"type":"string","uniqueKey":"error.description","typeLabel":"string"},"developerMessages":{"type":"object","uniqueKey":"error.developerMessages","typeLabel":"object"},"clientMessages":{"type":"object","uniqueKey":"error.clientMessages","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"},"validationError":{"type":"object","uniqueKey":"validationError","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","statusMessage":"\u003cstring>","status":123,"error":{"code":"\u003cstring>","key":"\u003cstring>","description":"\u003cstring>","developerMessages":{},"clientMessages":{}},"validationError":{}}}},"exampleType":"generated"}},"exampleType":"generated"},"c2a6989b-848b-4a1b-b927-318d2d373bab":{"description":"Unprocessable entity - Validation error","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"oneOf":[{"type":"string","uniqueKey":"message.oneOf.0","typeLabel":"string"},{"type":"array","items":{"type":"string","uniqueKey":"message.oneOf.1.items.[INDEX]","typeLabel":"string"},"uniqueKey":"message.oneOf.1","typeLabel":"string[]"}],"uniqueKey":"message","typeLabel":"string | string[]"},"statusMessage":{"type":"string","uniqueKey":"statusMessage","typeLabel":"string"},"status":{"type":"integer","uniqueKey":"status","typeLabel":"integer"},"error":{"type":"object","properties":{"code":{"type":"string","uniqueKey":"error.code","typeLabel":"string"},"key":{"type":"string","uniqueKey":"error.key","typeLabel":"string"},"description":{"type":"string","uniqueKey":"error.description","typeLabel":"string"},"developerMessages":{"type":"object","uniqueKey":"error.developerMessages","typeLabel":"object"},"clientMessages":{"type":"object","uniqueKey":"error.clientMessages","typeLabel":"object"}},"uniqueKey":"error","typeLabel":"object"},"validationError":{"type":"object","uniqueKey":"validationError","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"\u003cstring>","statusMessage":"\u003cstring>","status":123,"error":{"code":"\u003cstring>","key":"\u003cstring>","description":"\u003cstring>","developerMessages":{},"clientMessages":{}},"validationError":{}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"a4d713bc-88b4-4508-a850-75f81e054966":{"basicAuth":{"type":"http","scheme":"basic","description":"Basic authentication using Base64 encoded clientId:clientSecret","scopes":[],"schemeName":"basicAuth"}}},"servers":{"ffd2ef4c-48bc-4927-880f-9a948f6ec1a5":{"url":"https://api.jelou.ai","description":"Production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"basic","description":"Basic authentication using Base64 encoded clientId:clientSecret","scopes":[],"schemeName":"basicAuth"},"schema":{"title":"Basic Auth","type":"object","description":"Basic authentication using Base64 encoded clientId:clientSecret","isRequired":true,"properties":{"username":{"type":"string","uniqueKey":"username","isRequired":true,"typeLabel":"string","deprecated":false},"password":{"type":"string","uniqueKey":"password","isRequired":true,"typeLabel":"string","deprecated":false}},"additionalProperties":false,"deprecated":false},"schemeName":"basicAuth","name":"Authorization"}],"title":"basicAuth"}]},"originalFileLocation":"api/openapi.json"},"subdomain":"jelouai","siteName":"Jelou AI Docs","title":"Histórico de chat - Jelou AI Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"es":{"href":"/","matchLevel":4},"en":{"href":"/en","matchLevel":4},"pt-BR":{"href":"/pt/api/conversas/historico","matchLevel":0}}},"lastModified":"2026-11-11T20:59:53.291Z","originalFileLocation":"pt/api/conversas/historico.mdx","locale":"pt-BR"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Consulte o histórico de mensagens de um canal\">\u003cmeta data-mint-head name=\"application-name\" content=\"Jelou AI Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/jelouai/tavu7utr1-GgLh9T/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/jelouai/tavu7utr1-GgLh9T/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/jelouai/tavu7utr1-GgLh9T/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/jelouai/tavu7utr1-GgLh9T/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/jelouai/tavu7utr1-GgLh9T/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/jelouai/tavu7utr1-GgLh9T/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/jelouai/tavu7utr1-GgLh9T/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/jelouai/tavu7utr1-GgLh9T/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/jelouai/tavu7utr1-GgLh9T/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Histórico de chat - Jelou AI Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Consulte o histórico de mensagens de um canal\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Jelou AI Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.jelou.ai/pt/api/conversas/historico\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://jelouai.mintlify.site/_mintlify/api/og/v2?division=Conversa%C3%A7%C3%B5es\u0026amp;title=Hist%C3%B3rico+de+chat\u0026amp;description=Consulte+o+hist%C3%B3rico+de+mensagens+de+um+canal\u0026amp;theme=9fb9e78bcf7a6885243bee03\u0026amp;signature=430bd550ff94118f385a0811a292622d25288ac150932145b760eaf88c3020ea\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Histórico de chat - Jelou AI Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Consulte o histórico de mensagens de um canal\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://jelouai.mintlify.site/_mintlify/api/og/v2?division=Conversa%C3%A7%C3%B5es\u0026amp;title=Hist%C3%B3rico+de+chat\u0026amp;description=Consulte+o+hist%C3%B3rico+de+mensagens+de+um+canal\u0026amp;theme=9fb9e78bcf7a6885243bee03\u0026amp;signature=430bd550ff94118f385a0811a292622d25288ac150932145b760eaf88c3020ea\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/jelouai/tavu7utr1-GgLh9T/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Jelou AI Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#00B3C7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.jelou.ai/pt/api/conversas/historico\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/pt/api/conversas/historico.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.jelou.ai/#organization\",\"name\":\"Jelou AI Docs\",\"url\":\"https://docs.jelou.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/jelouai/ohdyHu3U1l_f83jb/assets/images/logo.svg?fit=max\u0026auto=format\u0026n=ohdyHu3U1l_f83jb\u0026q=85\u0026s=96492f65ef93712f99d972c31ad08e09\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.jelou.ai#website\",\"name\":\"Jelou AI Docs\",\"url\":\"https://docs.jelou.ai\",\"publisher\":{\"@id\":\"https://docs.jelou.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.jelou.ai/pt/api/conversas/historico#webpage\",\"url\":\"https://docs.jelou.ai/pt/api/conversas/historico\",\"name\":\"Histórico de chat\",\"description\":\"Consulte o histórico de mensagens de um canal\",\"dateModified\":\"2026-11-11T20:59:53.291Z\",\"isPartOf\":{\"@id\":\"https://docs.jelou.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.jelou.ai/pt/api/conversas/historico#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.jelou.ai/pt/api/conversas/historico#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Jelou AI Docs\",\"item\":\"https://docs.jelou.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Histórico de chat\",\"item\":\"https://docs.jelou.ai/pt/api/conversas/historico\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.jelou.ai/pt/api/conversas/historico#apireference\",\"headline\":\"Histórico de chat\",\"name\":\"Histórico de chat\",\"description\":\"Consulte o histórico de mensagens de um canal\",\"url\":\"https://docs.jelou.ai/pt/api/conversas/historico\",\"mainEntityOfPage\":{\"@id\":\"https://docs.jelou.ai/pt/api/conversas/historico#webpage\"},\"dateModified\":\"2026-11-11T20:59:53.291Z\",\"publisher\":{\"@id\":\"https://docs.jelou.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.jelou.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Jelou AI Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Jelou AI Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/pt/api/conversas/historico.md","siteName":"Jelou AI Docs","nav":{"global":null,"languages":[{"language":"es","default":true,"pages":[{"title":"es","href":"/"}]},{"language":"en","pages":[{"title":"en","href":"/en"}]},{"language":"pt-BR","tabs":[{"tab":"Brain Studio","pages":[{"title":"Brain Studio","href":"/pt"}]},{"tab":"Databases","pages":[{"title":"Databases","href":"/pt/guias/datum/introducao"}]},{"tab":"Functions","pages":[{"title":"Functions","href":"/pt/guias/funcoes"}]},{"tab":"API","groups":[{"group":"Referência de API","pages":[{"title":"Introdução","href":"/pt/api/introducao"}]},{"group":"Enviar Mensagens","icon":"message","pages":[{"title":"Introdução","href":"/pt/api/enviar-mensagens/introducao"},{"title":"Enviar Mensagens","sidebarTitle":"Enviar Mensagens","openapi":"POST /v1/bots/{botId}/messages","href":"/pt/api/enviar-mensagens/envio-de-mensagens"},{"group":"Tipos de Mensagem","pages":[{"title":"Mensagem de Texto","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/pt/api/enviar-mensagens/texto"},{"title":"Mensagem com Opções","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/pt/api/enviar-mensagens/texto-com-opcoes"},{"title":"Respostas Rápidas","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/pt/api/enviar-mensagens/respuestas-rapidas"},{"title":"Imagem","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/pt/api/enviar-mensagens/imagem"},{"title":"Áudio","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/pt/api/enviar-mensagens/audio"},{"title":"Vídeo","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/pt/api/enviar-mensagens/video"},{"title":"Arquivo","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/pt/api/enviar-mensagens/arquivo"},{"title":"Sticker","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/pt/api/enviar-mensagens/sticker"},{"title":"Localização","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/pt/api/enviar-mensagens/localizacao"},{"title":"Contato","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/pt/api/enviar-mensagens/contacto"},{"title":"Solicitação de Localização","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/pt/api/enviar-mensagens/solicitacao-localizacao"},{"title":"Solicitar Contato","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/pt/api/enviar-mensagens/solicitacao-contato"},{"title":"URL Externa","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/pt/api/enviar-mensagens/botao-url"},{"title":"Whatsapp Flows","openapi":"POST /v1/bots/{botId}/users/{userId}/flow_message","tag":"WhatsApp","href":"/pt/api/enviar-mensagens/botao-fluxo"},{"title":"Chamada","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/pt/api/enviar-mensagens/botao-chamada"},{"title":"Carrossel","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/pt/api/enviar-mensagens/carrossel"}]},{"title":"Workflows","href":"/pt/api/enviar-mensagens/configurar-skill"}]},{"group":"Campanhas","icon":"send","pages":[{"group":"Modelos","pages":[{"title":"Obter Templates","openapi":"GET /v1/bots/{botId}/templates","href":"/pt/api/campanhas/obter-plantillas"},{"title":"Criar Template","openapi":"POST /v1/bots/{botId}/templates","href":"/pt/api/campanhas/criar-plantilla"}]},{"title":"Envio Individual (1-1)","openapi":"POST /v2/whatsapp/{botId}/hsm","href":"/pt/api/campanhas/envio-individual"},{"title":"Envio em Massa","openapi":"POST /v1/hsm/file","href":"/pt/api/campanhas/envio-masivo"},{"title":"Notificações","openapi":"GET /v1/external/bots/{botId}/notifications","href":"/pt/api/campanhas/notificaciones"},{"title":"Obtener Campañas","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/campaigns","href":"/api-reference/campaigns/obtener-campañas"},{"title":"Atualizar campanha","openapi":"PUT /v1/campaigns/{campaignId}","href":"/pt/api/campanhas/atualizar-campanha"},{"title":"Cancelar campanha","openapi":"DELETE /v1/campaigns/{campaignId}","href":"/pt/api/campanhas/cancelar-campanha"}]},{"group":"Jelou Shop","icon":"store","pages":[{"title":"Primeiros passos","href":"/pt/api/shop/introducao"},{"group":"Filiais","pages":[{"title":"Criar filial","api":"POST https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/branches","href":"/pt/api/shop/filiais/criar"},{"title":"Listar filiais","api":"GET https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/branches","href":"/pt/api/shop/filiais/listar"},{"title":"Obter filial","api":"GET https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/branches/{branch_id}","href":"/pt/api/shop/filiais/obter"},{"title":"Atualizar filial","api":"PATCH https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/branches/{branch_id}","href":"/pt/api/shop/filiais/atualizar"},{"title":"Excluir filial","api":"DELETE https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/branches/{branch_id}","href":"/pt/api/shop/filiais/excluir"},{"title":"Pesquisar filiais","api":"POST https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/branches/search","href":"/pt/api/shop/filiais/pesquisar"}]},{"group":"Categorias","pages":[{"title":"Criar e atualizar categorias","api":"POST https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/batch/categories/upsert","href":"/pt/api/shop/categorias/upsert"},{"title":"Listar categorias","api":"GET https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/categories","href":"/pt/api/shop/categorias/listar"},{"title":"Obter categoria","api":"GET https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/categories/{category_id}","href":"/pt/api/shop/categorias/obter"},{"title":"Atualizar categoria","api":"PATCH https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/categories/{category_id}","href":"/pt/api/shop/categorias/atualizar"},{"title":"Excluir categoria","api":"DELETE https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/categories/{category_id}","href":"/pt/api/shop/categorias/excluir"}]},{"group":"Produtos","pages":[{"title":"Produtos","api":"POST https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/batch/products/upsert_by_sku","href":"/pt/api/shop/produtos/upsert"},{"title":"Listar produtos","api":"GET https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/products","href":"/pt/api/shop/produtos/listar"},{"title":"Pesquisar produtos","api":"POST https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/products/search","href":"/pt/api/shop/produtos/pesquisar"}]},{"group":"Promoções","pages":[{"title":"Criar cupom","api":"POST https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/coupons","href":"/pt/api/shop/cupons/criar"},{"title":"Listar cupons","api":"GET https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/coupons","href":"/pt/api/shop/cupons/listar"},{"title":"Obter cupom","api":"GET https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/coupons/{coupon_id}","href":"/pt/api/shop/cupons/obter"},{"title":"Atualizar cupom","api":"PATCH https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/coupons/{coupon_id}","href":"/pt/api/shop/cupons/atualizar"},{"title":"Excluir cupom","api":"DELETE https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/coupons/{coupon_id}","href":"/pt/api/shop/cupons/excluir"},{"title":"Pesquisar cupons","api":"POST https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/coupons/search","href":"/pt/api/shop/cupons/pesquisar"}]},{"group":"Configuração","pages":[{"title":"Configurações da loja","description":"Configure a moeda, os impostos, o idioma e a disponibilidade de produtos da sua loja.","api":"PATCH https://gateway.jelou.ai/ecommerce/v1/apps/{app_id}/settings","href":"/pt/api/shop/configuracao/loja"}]}]},{"group":"Conversações","icon":"clock-rotate-left","pages":[{"title":"Histórico de chat","openapi":"GET /v1/external/messages/history/{botId}","href":"/pt/api/conversas/historico"},{"title":"Conversas de agentes","description":"Consulte conversas atendidas por agentes humanos","openapi":"POST /v1/metrics/conversations/attended/external","href":"/pt/api/conversas/conversas-assessores"}]},{"group":"Etiquetas","icon":"tag","pages":[{"title":"Gestão de etiquetas","sidebarTitle":"Gestão de etiquetas","href":"/pt/api/etiquetas/gestao-de-etiquetas"}]},{"group":"Métricas","icon":"chart-line","pages":[{"title":"Estatísticas de operadores","openapi":"GET /v1/metrics/conversations/external/stats","href":"/pt/api/metricas/estatisticas-operadores"}]},{"group":"Usuários","icon":"user","pages":[{"title":"Status do usuário","openapi":"GET /v1/users/{userId}/state","href":"/pt/api/usuarios/estado"},{"title":"Cache do usuário","sidebarTitle":"Cache do Usuário","href":"/pt/api/usuarios/cache-de-usuario"}]},{"group":"Clientes","icon":"address-book","pages":[{"title":"Criar cliente","sidebarTitle":"Criar cliente","api":"POST https://gateway.jelou.ai/platform/v3/companies/clients","href":"/pt/api/clientes/crear-cliente"}]},{"group":"Recursos","icon":"folder","pages":[{"title":"Refrescar Recurso URL","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/external/assets/refresh","href":"/api-reference/resources/refrescar-recurso-url"}]},{"group":"Widget","icon":"grid-2","pages":[{"title":"Crear Usuarios","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/widget/user","href":"/api-reference/widget/crear-usuarios"},{"title":"Crear Widgets","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/widget/create","href":"/api-reference/widget/crear-widgets"},{"title":"Enviar mensaje al chat","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/rooms/{roomId}/message","href":"/api-reference/widget/enviar-mensaje-al-chat"}]},{"group":"Datum","icon":"database","pages":[{"title":"Obter informações dos bancos de dados","sidebarTitle":"Obter bancos de dados","openapi":"GET /v2/databases","href":"/pt/api/Datum/obter-informacao-bases-de-dados"},{"title":"Crear registro","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v2/databases/{databaseId}/rows","href":"/api-reference/datum/crear-registro"},{"title":"Obtener registro","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v2/databases/{databaseId}/rows/{rowId}","href":"/api-reference/datum/obtener-registro"},{"title":"Actualizar un registro","deprecated":null,"version":null,"openapi":"/api/openapi.json put /v2/databases/{databaseId}/rows/{rowId}","href":"/api-reference/datum/actualizar-un-registro"},{"title":"Eliminar registro","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /v2/databases/{databaseId}/rows/{rowId}","href":"/api-reference/datum/eliminar-registro"}]},{"group":"Painel de Atendimento Externo","icon":"headset","pages":[{"group":"Processo de integração","pages":[{"title":"Painel de Atendimento Externo","sidebarTitle":"Introdução","href":"/pt/api/pma-custom/introduccion"},{"title":"Assinatura HMAC-SHA256","sidebarTitle":"Assinatura","href":"/pt/api/pma-custom/firma-hmac"}]},{"group":"Integração","pages":[{"title":"Criar integração","sidebarTitle":"Criar integração","openapi":"POST /v1/external-support/{projectId}","href":"/pt/api/pma-custom/crear-integracion"},{"title":"Obter integração","sidebarTitle":"Obter integração","openapi":"GET /v1/external-support/{projectId}","href":"/pt/api/pma-custom/obtener-integracion"},{"title":"Atualizar integração","sidebarTitle":"Atualizar integração","openapi":"PATCH /v1/external-support/{projectId}","href":"/pt/api/pma-custom/actualizar-integracion"},{"title":"Excluir integração","sidebarTitle":"Excluir integração","openapi":"DELETE /v1/external-support/{projectId}","href":"/pt/api/pma-custom/eliminar-integracion"},{"title":"Regenerar signing secret","sidebarTitle":"Regenerar secret","openapi":"POST /v1/external-support/{projectId}/secret/regenerate","href":"/pt/api/pma-custom/regenerar-secret"}]},{"group":"Conversa","pages":[{"title":"Iniciar conversa","sidebarTitle":"Iniciar conversa","openapi":"POST /v1/external-support/{projectId}/conversations/start","href":"/pt/api/pma-custom/iniciar-conversacion"},{"title":"Encerrar conversa","sidebarTitle":"Encerrar conversa","openapi":"POST /v1/external-support/{projectId}/conversations/close","href":"/pt/api/pma-custom/cerrar-conversacion"},{"title":"Consultar conversa","sidebarTitle":"Consultar conversa","openapi":"GET /v1/external-support/{projectId}/conversations/{conversationId}","href":"/pt/api/pma-custom/consultar-conversacion"}]},{"group":"Mensagens","pages":[{"title":"Receber mensagem do usuário final","sidebarTitle":"Receber mensagem","href":"/pt/api/pma-custom/recibir-mensajes"},{"title":"Enviar mensagem ao usuário final","sidebarTitle":"Enviar mensagem","href":"/pt/api/pma-custom/enviar-mensajes"}]}]},{"group":"Canal Personalizado","icon":"webhook","pages":[{"title":"Canal personalizado","sidebarTitle":"Introdução","href":"/pt/api/custom-channel/introducao"},{"title":"Enviar interação","sidebarTitle":"Enviar interação","href":"/pt/api/custom-channel/enviar-interacao"},{"title":"Formato da resposta","sidebarTitle":"Formato da resposta","href":"/pt/api/custom-channel/formato-resposta"},{"title":"Consultar status","sidebarTitle":"Consultar status","href":"/pt/api/custom-channel/consultar-estado"},{"title":"Assinatura HMAC-SHA256","sidebarTitle":"Assinatura HMAC","href":"/pt/api/custom-channel/assinatura-hmac"}]},{"group":"Gestão de Memória","icon":"brain","pages":[{"title":"Gestão de Memória","sidebarTitle":"Introdução","href":"/pt/api/memoria/introduccion"},{"group":"Leitura","pages":[{"title":"Obter registros","sidebarTitle":"Obter registros","openapi":"POST /v2/memory/users/get-all","href":"/pt/api/memoria/obtener-registros"},{"title":"Obter um registro","sidebarTitle":"Obter um registro","openapi":"POST /v2/memory/users/find-one","href":"/pt/api/memoria/obtener-registro"}]},{"group":"Escrita","pages":[{"title":"Salvar registros","sidebarTitle":"Salvar registros","openapi":"POST /v2/memory/users/set","href":"/pt/api/memoria/guardar-registros"}]}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/pt/changelog"}]},{"tab":"Voice","pages":[{"title":"Voice","href":"/pt/guias/voice/introduction"}]}]}]},"basePath":"","title":"Histórico de chat - Jelou AI Docs","deploymentId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","buildId":"dpl_Em2U4NQQ2N2DE3HPbPUJVZLnAtvc","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-_HcdDqS2.js","snippetPresets-CXnm-WO6.js","utils-Dg59J__o.js","style-to-object-BY3JEAdk.js","utils-D8TRpdk7.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-B6QaxWc5.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DeMZ-lcM.js","_Uint8Array-BjA2mcVW.js","isObject-FP1Yky1u.js","Page-DuqezyvM.js","CodeSnippet-B373COAT.js","DynamicMarkdown-5yMTCLas.js","SectionHeading-BxT1HYfP.js","icon-DYJTTD3g.js","ApiExamples-cjPyMv63.js","usePlaygroundInputsStore-D7BWoaw4.js","shallow-Z1ceDNSG.js","isEqual-BObTuQrO.js","CodeSnippets-D1UZ1AE-.js","getApiPlaygroundDisplay-CfL-UuDS.js","MethodPill-4AyycJeu.js","getPastedJson-Bp3WV6cN.js","Check2Icon-PhZu6Gry.js","axios-CsQoIw0U.js","Markdown-Dy9a8hT8.js","AssistantPageLink-87tSPwGm.js","dist-CXMB3QQU.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}