Retrieve the conversation history of a channel to audit interactions, analyze metrics, or debug flows. This endpoint returns sent and received messages with support for pagination and time filters.
Endpoint
GET https://api.jelou.ai/v1/external/messages/history/{botId}
Path Parameters
Field
Location
Type
Required
Description
botId
Path
string
Yes
Unique identifier of the channel whose history you want to query.
Query Parameters
Field
Location
Type
Required
Default value
Description
limit
Query
integer
No
10
Number of messages to request. Maximum: 50.
page
Query
integer
No
1
Page number.
startAt
Query
date
No
-
Start date of the range to query. ISO 8601 format.
endAt
Query
date
No
-
End date of the range to query. ISO 8601 format.
clientId
Query
string
No
-
Filters the history by a specific clientId associated with your integrations.
messageId
Query
string
No
-
Returns the conversation that contains the message with this identifier.
If you omit optional fields, the API will apply default values to deliver the first page with the most recent messages.
{ "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 - Unprocessable Entity
{ "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 - Internal Server Error
{ "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." } }}
Response Detail
pagination object
Field
Type
Description
limit
integer
Number of records per page.
page
integer
Current page.
total
integer
Total records.
offset
integer
Offset from the beginning.
totalPages
integer
Total available pages.
results object
Field
Type
Description
recipient
object
Recipient information (id, names).
sender
object
Sender information (id, name, type).
by
string
Indicates who sent the message: bot or user.
messageId
string
Unique message identifier.
status
string
Message status: DELIVERED_USER, DELIVERED_CHANNEL, READ, etc.
bubble
object
Message content (type, text, mediaUrl, etc.).
createdAt
date
Message creation date in ISO 8601 format.
Limits and restrictions
Important limits:
limit: Maximum allowed value is 50
page: Must be a positive integer
startAt/endAt: Must be in ISO 8601 format (e.g.: 2025-01-15T10:30:00.000Z)
Authorizations
Authorization
string
header
required
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":"6b084f5091ec34b505a02503","clientVersion":"0.0.4336","searchFilterCounts":[{"language":"es","tag":"Brain Studio","count":262},{"language":"en","tag":"Brain Studio","count":262},{"language":"pt-BR","tag":"Brain Studio","count":262},{"language":"es","tag":"Marketplace","count":94},{"language":"en","tag":"Marketplace","count":94},{"language":"pt-BR","tag":"Marketplace","count":94},{"language":"es","tag":"API","count":86},{"language":"en","tag":"API","count":85},{"language":"pt-BR","tag":"API","count":85},{"language":"es","tag":"Pagos","count":62},{"language":"en","tag":"Payments","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":"es","tag":"Proveedores de pago","count":47},{"language":"en","tag":"Payment Providers","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":"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":"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":"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":"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":"turbopuffer-dual-write","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":"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":"en/api/conversaciones/historial","slug":"/en/api/conversaciones/historial","pageMetadata":{"title":"Chat history","description":"Query the message history of a channel","openapi":"GET /v1/external/messages/history/{botId}","href":"/en/api/conversaciones/historial"},"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: \"Query the message history of a channel\"\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:`Retrieve the conversation history of a channel to audit interactions, analyze metrics, or debug flows. This endpoint returns sent and received messages with support for pagination and time filters.`}),`\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:`path-parameters`,children:`Path Parameters`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Location`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Description`})]})}),_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:`Yes`}),_jsx(_components.td,{children:`Unique identifier of the channel whose history you want to query.`})]})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`query-parameters`,children:`Query Parameters`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Location`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`Default value`}),_jsx(_components.th,{children:`Description`})]})}),_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:`No`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`10`}),_jsx(_components.td,{children:`Number of messages to request. Maximum: 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:`No`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`1`}),_jsx(_components.td,{children:`Page number.`})]}),_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:`No`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`-`}),_jsx(_components.td,{children:`Start date of the range to query. ISO 8601 format.`})]}),_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:`No`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`-`}),_jsx(_components.td,{children:`End date of the range to query. ISO 8601 format.`})]}),_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:`No`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`-`}),_jsx(_components.td,{children:`Filters the history by a specific clientId associated with your integrations.`})]}),_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:`No`}),_jsx(_components.td,{\"data-numeric\":`true`,children:`-`}),_jsx(_components.td,{children:`Returns the conversation that contains the message with this identifier.`})]})]})]}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`If you omit optional fields, the API will apply default values to deliver the first page with the most recent messages.`})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`request-examples`,children:`Request Examples`}),`\n`,_jsx(Heading,{level:`3`,id:`basic-query`,children:`Basic query`}),`\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:`with-date-filter`,children:`With date filter`}),`\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:`with-client-filter`,children:`With client filter`}),`\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:`responses`,children:`Responses`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`200 - Successful response`,id:`200-successful-response`,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:`\"My 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:` \"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 - Unauthorized`,id:`401-unauthorized`,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 - Not Found`,id:`404-not-found`,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 - Unprocessable Entity`,id:`422-unprocessable-entity`,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 - Internal Server Error`,id:`500-internal-server-error`,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:`response-detail`,children:`Response Detail`}),`\n`,_jsx(Heading,{level:`3`,id:`pagination-object`,children:`pagination object`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_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:`Number of records per page.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`page`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Current page.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`total`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Total records.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`offset`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Offset from the beginning.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`totalPages`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`Total available pages.`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`results-object`,children:`results object`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_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:`Recipient information (id, names).`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`sender`})}),_jsx(_components.td,{children:`object`}),_jsx(_components.td,{children:`Sender information (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:[`Indicates who sent the message: `,_jsx(_components.code,{children:`bot`}),` or `,_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:`Unique message identifier.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`status`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Message status: `,_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:`Message content (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:`Message creation date in ISO 8601 format.`})]})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`limits-and-restrictions`,children:`Limits and restrictions`}),`\n`,_jsxs(Note,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Important limits:`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`limit`}),`: Maximum allowed value is `,_jsx(_components.code,{children:`50`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`page`}),`: Must be a positive integer`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`startAt/endAt`}),`: Must be in ISO 8601 format (e.g.: `,_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":"Chat history","description":"Query the message history of a channel","openapi":"GET /v1/external/messages/history/{botId}","href":"/en/api/conversaciones/historial"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Endpoint","slug":"endpoint","depth":2,"children":[]},{"title":"Path Parameters","slug":"path-parameters","depth":2,"children":[]},{"title":"Query Parameters","slug":"query-parameters","depth":2,"children":[]},{"title":"Request Examples","slug":"request-examples","depth":2,"children":[{"title":"Basic query","slug":"basic-query","depth":3,"children":[]},{"title":"With date filter","slug":"with-date-filter","depth":3,"children":[]},{"title":"With client filter","slug":"with-client-filter","depth":3,"children":[]}]},{"title":"Responses","slug":"responses","depth":2,"children":[]},{"title":"Response Detail","slug":"response-detail","depth":2,"children":[{"title":"pagination object","slug":"pagination-object","depth":3,"children":[]},{"title":"results object","slug":"results-object","depth":3,"children":[]}]},{"title":"Limits and restrictions","slug":"limits-and-restrictions","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Get Chat History","description":"Query the message history of a channel","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":"Chat history - Jelou AI Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"es":{"href":"/api/conversaciones/historial","matchLevel":1},"en":{"href":"/en/api/conversaciones/historial","matchLevel":0},"pt-BR":{"href":"/pt","matchLevel":4}}},"lastModified":"2026-11-11T20:59:57.133Z","originalFileLocation":"en/api/conversaciones/historial.mdx","locale":"en"},"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=\"Query the message history of a channel\">\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=\"Chat history - Jelou AI Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Query the message history of a channel\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Jelou AI Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.jelou.ai/en/api/conversaciones/historial\">\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=Conversations\u0026amp;title=Chat+history\u0026amp;description=Query+the+message+history+of+a+channel\u0026amp;theme=9fb9e78bcf7a6885243bee03\u0026amp;signature=1bb821b5aeade8ba6db07d20084f82af59e07ff01995c074e35aae377b63e4b6\">\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=\"Chat history - Jelou AI Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Query the message history of a channel\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://jelouai.mintlify.site/_mintlify/api/og/v2?division=Conversations\u0026amp;title=Chat+history\u0026amp;description=Query+the+message+history+of+a+channel\u0026amp;theme=9fb9e78bcf7a6885243bee03\u0026amp;signature=1bb821b5aeade8ba6db07d20084f82af59e07ff01995c074e35aae377b63e4b6\">\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/en/api/conversaciones/historial\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/api/conversaciones/historial.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.jelou.ai/en/api/conversaciones/historial\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.jelou.ai/api/conversaciones/historial\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.jelou.ai/api/conversaciones/historial\">\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/en/api/conversaciones/historial#webpage\",\"url\":\"https://docs.jelou.ai/en/api/conversaciones/historial\",\"name\":\"Chat history\",\"description\":\"Query the message history of a channel\",\"dateModified\":\"2026-11-11T20:59:57.133Z\",\"isPartOf\":{\"@id\":\"https://docs.jelou.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.jelou.ai/en/api/conversaciones/historial#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.jelou.ai/en/api/conversaciones/historial#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Jelou AI Docs\",\"item\":\"https://docs.jelou.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Chat history\",\"item\":\"https://docs.jelou.ai/en/api/conversaciones/historial\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.jelou.ai/en/api/conversaciones/historial#apireference\",\"headline\":\"Chat history\",\"name\":\"Chat history\",\"description\":\"Query the message history of a channel\",\"url\":\"https://docs.jelou.ai/en/api/conversaciones/historial\",\"mainEntityOfPage\":{\"@id\":\"https://docs.jelou.ai/en/api/conversaciones/historial#webpage\"},\"dateModified\":\"2026-11-11T20:59:57.133Z\",\"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":"/en/api/conversaciones/historial.md","siteName":"Jelou AI Docs","nav":{"global":null,"languages":[{"language":"es","default":true,"pages":[{"title":"es","href":"/api/conversaciones/historial"}]},{"language":"en","tabs":[{"tab":"Brain Studio","pages":[{"title":"Brain Studio","href":"/en"}]},{"tab":"Databases","pages":[{"title":"Databases","href":"/en/guides/datum/introduccion"}]},{"tab":"Functions","pages":[{"title":"Functions","href":"/en/guides/functions"}]},{"tab":"API","groups":[{"group":"API reference","pages":[{"title":"Introduction","href":"/en/api/introduction"}]},{"group":"Send Messages","icon":"message","pages":[{"title":"Introduction","href":"/en/api/envia-mensajes/introduccion"},{"title":"Send Messages","sidebarTitle":"Send Messages","openapi":"POST /v1/bots/{botId}/messages","href":"/en/api/envia-mensajes/Envio-de-mensajes"},{"group":"Message Types","pages":[{"title":"Text Message","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/en/api/envia-mensajes/texto"},{"title":"Message with Options","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/en/api/envia-mensajes/texto-con-opciones"},{"title":"Quick Replies","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/en/api/envia-mensajes/respuestas-rapidas"},{"title":"Image","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/en/api/envia-mensajes/imagen"},{"title":"Audio","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/en/api/envia-mensajes/audio"},{"title":"Video","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/en/api/envia-mensajes/video"},{"title":"File","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/en/api/envia-mensajes/archivo"},{"title":"Sticker","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/en/api/envia-mensajes/sticker"},{"title":"Location","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/en/api/envia-mensajes/ubicacion"},{"title":"Contact","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/en/api/envia-mensajes/contacto"},{"title":"Location Request","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/en/api/envia-mensajes/solicitud-ubicacion"},{"title":"Contact Request","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/en/api/envia-mensajes/solicitud-contacto"},{"title":"External URL","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/en/api/envia-mensajes/boton-url"},{"title":"Whatsapp Flows","openapi":"POST /v1/bots/{botId}/users/{userId}/flow_message","tag":"WhatsApp","href":"/en/api/envia-mensajes/boton-flujo"},{"title":"Call","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/en/api/envia-mensajes/boton-llamada"},{"title":"Carousel","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/en/api/envia-mensajes/carrusel"}]},{"title":"Workflows","href":"/en/api/envia-mensajes/configura-skill"}]},{"group":"Campaigns","icon":"send","pages":[{"group":"Templates","pages":[{"title":"Get Templates","openapi":"GET /v1/bots/{botId}/templates","href":"/en/api/campanas/obtener-plantillas"},{"title":"Create Template","openapi":"POST /v1/bots/{botId}/templates","href":"/en/api/campanas/crear-plantilla"}]},{"title":"Individual Send (1-1)","openapi":"POST /v2/whatsapp/{botId}/hsm","href":"/en/api/campanas/envio-individual"},{"title":"Bulk Send","openapi":"POST /v1/hsm/file","href":"/en/api/campanas/envio-masivo"},{"title":"Notifications","openapi":"GET /v1/external/bots/{botId}/notifications","href":"/en/api/campanas/notificaciones"},{"title":"Obtener Campañas","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/campaigns","href":"/api-reference/campaigns/obtener-campañas"},{"title":"Update campaign","openapi":"PUT /v1/campaigns/{campaignId}","href":"/en/api/campanas/actualizar-campana"},{"title":"Cancel campaign","openapi":"DELETE /v1/campaigns/{campaignId}","href":"/en/api/campanas/cancelar-campana"}]},{"group":"Jelou Shop","icon":"store","pages":[{"title":"Get Started","href":"/en/api/shop/introduction"},{"group":"Branches","pages":[{"title":"Create branch","api":"POST https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/branches","href":"/en/api/shop/branches/create"},{"title":"List branches","api":"GET https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/branches","href":"/en/api/shop/branches/list"},{"title":"Get branch","api":"GET https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/branches/{branch_id}","href":"/en/api/shop/branches/get"},{"title":"Update branch","api":"PATCH https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/branches/{branch_id}","href":"/en/api/shop/branches/update"},{"title":"Delete branch","api":"DELETE https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/branches/{branch_id}","href":"/en/api/shop/branches/delete"},{"title":"Search branches","api":"POST https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/branches/search","href":"/en/api/shop/branches/search"}]},{"group":"Categories","pages":[{"title":"Create and update categories","api":"POST https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/batch/categories/upsert","href":"/en/api/shop/categories/upsert"},{"title":"List categories","api":"GET https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/categories","href":"/en/api/shop/categories/list"},{"title":"Get category","api":"GET https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/categories/{category_id}","href":"/en/api/shop/categories/get"},{"title":"Update category","api":"PATCH https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/categories/{category_id}","href":"/en/api/shop/categories/update"},{"title":"Delete category","api":"DELETE https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/categories/{category_id}","href":"/en/api/shop/categories/delete"}]},{"group":"Products","pages":[{"title":"Products","api":"POST https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/batch/products/upsert_by_sku","href":"/en/api/shop/products/upsert"},{"title":"List products","api":"GET https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/products","href":"/en/api/shop/products/list"},{"title":"Search products","api":"POST https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/products/search","href":"/en/api/shop/products/search"}]},{"group":"Promotions","pages":[{"title":"Create coupon","api":"POST https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/coupons","href":"/en/api/shop/coupons/create"},{"title":"List coupons","api":"GET https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/coupons","href":"/en/api/shop/coupons/list"},{"title":"Get coupon","api":"GET https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/coupons/{coupon_id}","href":"/en/api/shop/coupons/get"},{"title":"Update coupon","api":"PATCH https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/coupons/{coupon_id}","href":"/en/api/shop/coupons/update"},{"title":"Delete coupon","api":"DELETE https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/coupons/{coupon_id}","href":"/en/api/shop/coupons/delete"},{"title":"Search coupons","api":"POST https://gateway.jelou.ai/ecommerce/v2/apps/{app_id}/coupons/search","href":"/en/api/shop/coupons/search"}]},{"group":"Settings","pages":[{"title":"Store settings","description":"Configure your store's currency, taxes, language, and product availability.","api":"PATCH https://gateway.jelou.ai/ecommerce/v1/apps/{app_id}/settings","href":"/en/api/shop/settings/store"}]}]},{"group":"Conversations","icon":"clock-rotate-left","pages":[{"title":"Chat history","openapi":"GET /v1/external/messages/history/{botId}","href":"/en/api/conversaciones/historial"},{"title":"Agent conversations","description":"Query conversations handled by human agents","openapi":"POST /v1/metrics/conversations/attended/external","href":"/en/api/conversaciones/conversaciones-asesores"}]},{"group":"Tags","icon":"tag","pages":[{"title":"Tag management","sidebarTitle":"Tag management","href":"/en/api/tags/tag-management"}]},{"group":"Metrics","icon":"chart-line","pages":[{"title":"Operator statistics","openapi":"GET /v1/metrics/conversations/external/stats","href":"/en/api/metricas/estadisticas-operadores"}]},{"group":"Users","icon":"user","pages":[{"title":"User status","openapi":"GET /v1/users/{userId}/state","href":"/en/api/usuarios/estado"},{"title":"User cache","sidebarTitle":"User Cache","href":"/en/api/usuarios/cache-de-usuario"}]},{"group":"Clients","icon":"address-book","pages":[{"title":"Create client","sidebarTitle":"Create client","api":"POST https://gateway.jelou.ai/platform/v3/companies/clients","href":"/en/api/clientes/crear-cliente"}]},{"group":"Resources","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":"Get database information","sidebarTitle":"Get databases","openapi":"GET /v2/databases","href":"/en/api/Datum/Obtener-informacin-de-las-bases-de-datos"},{"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":"External Support Panel","icon":"headset","pages":[{"group":"Integration process","pages":[{"title":"External Support Panel","sidebarTitle":"Introduction","href":"/en/api/pma-custom/introduccion"},{"title":"HMAC-SHA256 Signature","sidebarTitle":"Signature","href":"/en/api/pma-custom/firma-hmac"}]},{"group":"Integration","pages":[{"title":"Create integration","sidebarTitle":"Create integration","openapi":"POST /v1/external-support/{projectId}","href":"/en/api/pma-custom/crear-integracion"},{"title":"Get integration","sidebarTitle":"Get integration","openapi":"GET /v1/external-support/{projectId}","href":"/en/api/pma-custom/obtener-integracion"},{"title":"Update integration","sidebarTitle":"Update integration","openapi":"PATCH /v1/external-support/{projectId}","href":"/en/api/pma-custom/actualizar-integracion"},{"title":"Delete integration","sidebarTitle":"Delete integration","openapi":"DELETE /v1/external-support/{projectId}","href":"/en/api/pma-custom/eliminar-integracion"},{"title":"Regenerate signing secret","sidebarTitle":"Regenerate secret","openapi":"POST /v1/external-support/{projectId}/secret/regenerate","href":"/en/api/pma-custom/regenerar-secret"}]},{"group":"Conversation","pages":[{"title":"Start conversation","sidebarTitle":"Start conversation","openapi":"POST /v1/external-support/{projectId}/conversations/start","href":"/en/api/pma-custom/iniciar-conversacion"},{"title":"Close conversation","sidebarTitle":"Close conversation","openapi":"POST /v1/external-support/{projectId}/conversations/close","href":"/en/api/pma-custom/cerrar-conversacion"},{"title":"Get conversation","sidebarTitle":"Get conversation","openapi":"GET /v1/external-support/{projectId}/conversations/{conversationId}","href":"/en/api/pma-custom/consultar-conversacion"}]},{"group":"Messages","pages":[{"title":"Receive message from end user","sidebarTitle":"Receive message","href":"/en/api/pma-custom/recibir-mensajes"},{"title":"Send message to end user","sidebarTitle":"Send message","href":"/en/api/pma-custom/enviar-mensajes"}]}]},{"group":"Custom Channel","icon":"webhook","pages":[{"title":"Custom channel","sidebarTitle":"Introduction","href":"/en/api/custom-channel/introduction"},{"title":"Send interaction","sidebarTitle":"Send interaction","href":"/en/api/custom-channel/send-interaction"},{"title":"Response format","sidebarTitle":"Response format","href":"/en/api/custom-channel/response-format"},{"title":"Check status","sidebarTitle":"Check status","href":"/en/api/custom-channel/check-status"},{"title":"HMAC-SHA256 signature","sidebarTitle":"HMAC signature","href":"/en/api/custom-channel/hmac-signature"}]},{"group":"Memory Management","icon":"brain","pages":[{"title":"Memory Management","sidebarTitle":"Introduction","href":"/en/api/memoria/introduccion"},{"group":"Read","pages":[{"title":"Get records","sidebarTitle":"Get records","openapi":"POST /v2/memory/users/get-all","href":"/en/api/memoria/obtener-registros"},{"title":"Get one record","sidebarTitle":"Get one record","openapi":"POST /v2/memory/users/find-one","href":"/en/api/memoria/obtener-registro"}]},{"group":"Write","pages":[{"title":"Save records","sidebarTitle":"Save records","openapi":"POST /v2/memory/users/set","href":"/en/api/memoria/guardar-registros"}]}]},{"group":"Partner API","icon":"handshake","pages":[{"title":"Partner API","sidebarTitle":"Introduction","href":"/en/api/partner/introduction"},{"title":"Verify the API key","openapi":"api/partner/openapi.json GET /ping","href":"/en/api/partner/ping"},{"title":"Services per subcompany","openapi":"api/partner/openapi.json GET /services","href":"/en/api/partner/services"},{"title":"Channel status","openapi":"api/partner/openapi.json GET /monitoring","href":"/en/api/partner/monitoring"},{"title":"Usage metrics","openapi":"api/partner/openapi.json GET /metrics","href":"/en/api/partner/metrics"}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/en/changelog"}]},{"tab":"Voice","pages":[{"title":"Voice","href":"/en/guides/voice/introduction"}]}]},{"language":"pt-BR","pages":[{"title":"pt-BR","href":"/pt"}]}]},"basePath":"","title":"Chat history - Jelou AI Docs","deploymentId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","buildId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","dynamics":["c2aa737661","b0f84f53ff","2b790eda92","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-D4yvBxwa.js","snippetPresets-CkhhQaIQ.js","utils-XnMGX2lF.js","style-to-object-BY3JEAdk.js","utils-CRXL1dwr.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-DvwRKZnA.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DYtgUc7n.js","_Uint8Array-D8z7zjjJ.js","isObject-FP1Yky1u.js","Page-DQd9HN9r.js","api-description-markdown-BpDftTKT.js","DynamicMarkdown-CZT_WAnN.js","CodeSnippet-C1QlaNYl.js","use-playground-group-access-DyQ_1IIe.js","SectionHeading-K1iuDm9j.js","ApiExamples-RYQSJVS4.js","usePlaygroundInputsStore-k_R_BTDL.js","shallow-BwVhzryZ.js","isEqual-Cx5TQjMc.js","CodeSnippets-BDe2dS5N.js","MethodPill-Dx3JIwHJ.js","getPastedJson-buPTdYs_.js","Check2Icon-DmMrzBYX.js","axios-CsQoIw0U.js","Markdown-erv2ryQz.js","AssistantPageLink-DJ01X1Sn.js","dist-D9mz3EIS.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}