USER es quien está en tu app. AGENT es tu equipo hablando desde el panel o la API.
En Chat, usuario y agente no son roles de tu producto. Son quién habla en la conversación. Eso cambia webhooks, métricas y el JWT que entregas en la app.
Quién puede crear conversación, crear grupo y añadir miembros con JWT de usuario vale para cualquiera con token de usuario. Un agente por API Key ignora esas flags: el backend siempre puede crear.Ver Quick Start y Enviar mensajes.
¿Esta página le ayudó?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Notifique","description":"API multicanal para WhatsApp, SMS, e-mail, push e mais. Integre, teste no sandbox e use IA com llms.txt e MCP.","colors":{"primary":"#fbbf24","light":"#fbbf24","dark":"#fbbf24"},"logo":{"light":"https://mintcdn.com/tribus/bZe-7RiENjmeF_O7/logo/light.png?fit=max\u0026auto=format\u0026n=bZe-7RiENjmeF_O7\u0026q=85\u0026s=64d67c9a1c52ec357777b5632f714882","dark":"https://mintcdn.com/tribus/bZe-7RiENjmeF_O7/logo/dark.png?fit=max\u0026auto=format\u0026n=bZe-7RiENjmeF_O7\u0026q=85\u0026s=2df6ca04be3fb36c080492c1c205975f"},"favicon":"https://mintcdn.com/tribus/bZe-7RiENjmeF_O7/favicon.svg?fit=max\u0026auto=format\u0026n=bZe-7RiENjmeF_O7\u0026q=85\u0026s=3ea7b1631da416de0c1a7ee57d439c56","api":{"playground":{"display":"interactive"},"examples":{"languages":["curl","javascript","python","go"],"prefill":true,"autogenerate":true}},"navbar":{"links":[{"href":"https://status.notifique.dev","label":"Status"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.notifique.dev"}},"styling":{"latex":true},"navigation":{"languages":[{"language":"pt-BR","default":true,"navbar":{"links":[{"href":"https://status.notifique.dev","label":"Status"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.notifique.dev"}},"href":"welcome/welcome"},{"language":"en","href":"en/welcome/welcome"},{"language":"es","href":"es/welcome/welcome"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"tribus","hasAudioNarration":false,"actualSubdomain":"tribus","customDomains":["docs.notifique.dev"],"gitSource":{"type":"github","owner":"notifique-dev","repo":"notifique-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad52bcc29f358e945e24eef","collectionId":"53455186-1186-4cb7-b9b1-ff28dfb2c0ce","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad52bcc29f358e945e24eef"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ad52bcc29f358e945e24eef","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"default","tag":"Guias","count":56},{"language":"default","tag":"Automações","count":53},{"language":"en","tag":"WhatsApp","count":50},{"language":"default","tag":"Contatos","count":49},{"language":"pt-BR","tag":"WhatsApp","count":46},{"language":"es","tag":"WhatsApp","count":46},{"language":"pt-BR","tag":"Guias","count":40},{"language":"en","tag":"Guides","count":40},{"language":"es","tag":"Guías","count":40},{"language":"pt-BR","tag":"Automações","count":38},{"language":"en","tag":"Add-ons","count":37},{"language":"en","tag":"Automations","count":35},{"language":"es","tag":"Add-ons","count":35},{"language":"pt-BR","tag":"Add-ons","count":34},{"language":"en","tag":"Instagram","count":33},{"language":"pt-BR","tag":"Instagram","count":32},{"language":"es","tag":"Automatizaciones","count":32},{"language":"es","tag":"Instagram","count":32},{"language":"en","tag":"Contacts","count":29},{"language":"pt-BR","tag":"Contatos","count":28},{"language":"en","tag":"Telegram","count":28},{"language":"es","tag":"Contactos","count":28},{"language":"es","tag":"Telegram","count":27},{"language":"pt-BR","tag":"Telegram","count":25},{"language":"pt-BR","tag":"Instâncias","count":25},{"language":"default","tag":"Voz","count":23},{"language":"en","tag":"Instâncias","count":22},{"language":"es","tag":"Instâncias","count":21},{"language":"default","tag":"Chat","count":21},{"language":"default","tag":"WhatsApp","count":19},{"language":"en","tag":"Mensagens","count":18},{"language":"en","tag":"Voice","count":17},{"language":"es","tag":"Mensagens","count":17},{"language":"pt-BR","tag":"Voz","count":15},{"language":"pt-BR","tag":"Mensagens","count":15},{"language":"es","tag":"Voz","count":15},{"language":"default","tag":"Assistentes","count":14},{"language":"default","tag":"Add-ons","count":14},{"language":"default","tag":"Mensagens","count":13},{"language":"default","tag":"Push","count":13}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","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":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","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":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"welcome-hero.css","content":"@keyframes welcome-line-flow{0%{stroke-dashoffset:0}to{stroke-dashoffset:-240}}@keyframes welcome-node-pulse{0%,to{opacity:.55;transform:scale(1)}50%{opacity:1;transform:scale(1.35)}}@keyframes welcome-ring-expand{0%{opacity:.5;transform:scale(.6)}70%,to{opacity:0;transform:scale(2.2)}}@keyframes welcome-glow-drift{0%,to{transform:translate(0,0) scale(1)}33%{transform:translate(24px,-16px) scale(1.05)}66%{transform:translate(-18px,12px) scale(.95)}}@keyframes welcome-grid-pulse{0%,to{opacity:.35}50%{opacity:.9}}.welcome-hero{position:relative;overflow:hidden;text-align:center;padding:96px 24px;margin-bottom:-16px;background:#09090b;-webkit-mask-image:linear-gradient(to bottom,#000 0,#000 calc(100% - 56px),rgba(0,0,0,.98) calc(100% - 49px),rgba(0,0,0,.96) calc(100% - 44px),rgba(0,0,0,.93) calc(100% - 39px),rgba(0,0,0,.89) calc(100% - 34px),rgba(0,0,0,.84) calc(100% - 29px),rgba(0,0,0,.78) calc(100% - 25px),rgba(0,0,0,.71) calc(100% - 21px),rgba(0,0,0,.63) calc(100% - 17px),rgba(0,0,0,.54) calc(100% - 13px),rgba(0,0,0,.44) calc(100% - 10px),rgba(0,0,0,.34) calc(100% - 7px),rgba(0,0,0,.24) calc(100% - 5px),rgba(0,0,0,.15) calc(100% - 3px),rgba(0,0,0,.08) calc(100% - 1px),transparent 100%);mask-image:linear-gradient(to bottom,#000 0,#000 calc(100% - 56px),rgba(0,0,0,.98) calc(100% - 49px),rgba(0,0,0,.96) calc(100% - 44px),rgba(0,0,0,.93) calc(100% - 39px),rgba(0,0,0,.89) calc(100% - 34px),rgba(0,0,0,.84) calc(100% - 29px),rgba(0,0,0,.78) calc(100% - 25px),rgba(0,0,0,.71) calc(100% - 21px),rgba(0,0,0,.63) calc(100% - 17px),rgba(0,0,0,.54) calc(100% - 13px),rgba(0,0,0,.44) calc(100% - 10px),rgba(0,0,0,.34) calc(100% - 7px),rgba(0,0,0,.24) calc(100% - 5px),rgba(0,0,0,.15) calc(100% - 3px),rgba(0,0,0,.08) calc(100% - 1px),transparent 100%);-webkit-mask-size:100% 100%;mask-size:100% 100%}.welcome-hero-bg{position:absolute;inset:0;pointer-events:none;overflow:hidden}.welcome-hero-glow{position:absolute;border-radius:50%;filter:blur(72px);opacity:.45;animation:welcome-glow-drift 18s ease-in-out infinite}.welcome-hero-glow-1{width:420px;height:420px;top:-120px;left:8%;background:rgba(251,191,36,.22);animation-delay:0s}.welcome-hero-glow-2{width:360px;height:360px;top:10%;right:5%;background:rgba(245,158,11,.14);animation-delay:-6s}.welcome-hero-glow-3{width:280px;height:280px;bottom:-40px;left:42%;background:rgba(251,191,36,.1);animation-delay:-12s}.welcome-hero-svg{position:absolute;inset:0;width:100%;height:100%;opacity:.9}.welcome-hero-grid line{stroke:rgba(251,191,36,.06);stroke-width:1}.welcome-hero-grid line:nth-child(odd){animation:welcome-grid-pulse 8s ease-in-out infinite}.welcome-hero-grid line:nth-child(even){animation:welcome-grid-pulse 8s ease-in-out infinite reverse;animation-delay:-4s}.welcome-hero-path{fill:none;stroke:url(#welcome-line-gradient);stroke-width:1.5;stroke-linecap:round;stroke-dasharray:6 14;animation:welcome-line-flow 22s linear infinite}.welcome-hero-path-2{animation-duration:28s;animation-direction:reverse;stroke-dasharray:4 18;opacity:.7}.welcome-hero-path-3{animation-duration:18s;stroke-dasharray:8 10;opacity:.55}.welcome-hero-node{fill:#fbbf24;filter:drop-shadow(0 0 8px rgba(251,191,36,.65));animation:welcome-node-pulse 4s ease-in-out infinite}.welcome-hero-node-2{animation-delay:-1.2s}.welcome-hero-node-3{animation-delay:-2.4s}.welcome-hero-node-4{animation-delay:-.6s}.welcome-hero-node-5{animation-delay:-1.8s}.welcome-hero-node-6{animation-delay:-3s}.welcome-hero-ring{fill:none;stroke:rgba(251,191,36,.2);stroke-width:1;transform-origin:center;animation:welcome-ring-expand 5s ease-out infinite}.welcome-hero-ring-2{animation-delay:-2.5s}.welcome-hero-content{position:relative;z-index:2}@media (prefers-reduced-motion:reduce){.welcome-hero-glow,.welcome-hero-grid line,.welcome-hero-node,.welcome-hero-path,.welcome-hero-ring{animation:none!important}}"}],"page":{"pagePath":"es/chat-api/como-funciona/usuario-e-agente","slug":"/es/chat-api/como-funciona/usuario-e-agente","pageMetadata":{"title":"Usuario y agente","description":"USER es quien está en tu app. AGENT es tu equipo hablando desde el panel o la API.","icon":"user-helmet-safety","href":"/es/chat-api/como-funciona/usuario-e-agente"},"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: \"USER es quien está en tu app. AGENT es tu equipo hablando desde el panel o la API.\"\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={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(Tip,{children:_jsxs(_components.p,{children:[`En Chat, `,_jsx(_components.strong,{children:`usuario`}),` y `,_jsx(_components.strong,{children:`agente`}),` no son roles de tu producto. Son `,_jsx(_components.strong,{children:`quién habla en la conversación`}),`. Eso cambia webhooks, métricas y el JWT que entregas en la app.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`en-pocas-palabras`,children:`En pocas palabras`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{}),_jsxs(_components.th,{children:[`Usuario (`,_jsx(_components.code,{children:`USER`}),`)`]}),_jsxs(_components.th,{children:[`Agente (`,_jsx(_components.code,{children:`AGENT`}),`)`]})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Quién`}),_jsxs(_components.td,{children:[`Persona autenticada `,_jsx(_components.strong,{children:`en tu app`})]}),_jsx(_components.td,{children:`Miembro del workspace (soporte, operación, bot de la empresa)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Cómo se crea`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`PUT /v1/chat/users`}),` (por defecto)`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`POST /v1/chat/agents`}),` (vincula `,_jsx(_components.code,{children:`workspaceUserId`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`JWT en la app del cliente`}),_jsx(_components.td,{children:`Sí`}),_jsx(_components.td,{children:`No. La app del cliente no debe recibir JWT de agente`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Envío desde el panel`}),_jsx(_components.td,{children:`No`}),_jsx(_components.td,{children:`Sí — el panel habla como agente`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Envío con API Key`}),_jsxs(_components.td,{children:[`Pasa `,_jsx(_components.code,{children:`senderExternalUserId`}),` de un USER o AGENT`]}),_jsxs(_components.td,{children:[`Igual: `,_jsx(_components.code,{children:`senderExternalUserId`}),` es quien aparece`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:`Webhook`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`chat.received`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`chat.sent`})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`cuándo-usar-user`,children:`Cuándo usar USER`}),`\n`,_jsxs(_components.p,{children:[`Usa `,_jsx(_components.code,{children:`USER`}),` para `,_jsx(_components.strong,{children:`todo el que entra al chat desde tu aplicación`}),`. Cada persona tiene un `,_jsx(_components.code,{children:`externalUserId`}),` estable en `,_jsx(_components.strong,{children:`tu`}),` base.`]}),`\n`,_jsx(_components.p,{children:`Flujo típico:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`La persona inicia sesión en tu app`}),`\n`,_jsxs(_components.li,{children:[`Tu backend hace upsert (`,_jsx(_components.code,{children:`PUT /v1/chat/users`}),`)`]}),`\n`,_jsxs(_components.li,{children:[`Tu backend emite el JWT (`,_jsx(_components.code,{children:`POST /v1/chat/users/token`}),`)`]}),`\n`,_jsx(_components.li,{children:`La app abre el WebSocket con ese JWT y envía como esa persona`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`El JWT lleva `,_jsx(_components.code,{children:`kind: USER`}),`. Quien tiene ese token `,_jsx(_components.strong,{children:`es`}),` esa persona en la conversación.`]}),`\n`,_jsx(Heading,{level:`2`,id:`cuándo-usar-agent`,children:`Cuándo usar AGENT`}),`\n`,_jsxs(_components.p,{children:[`Usa `,_jsx(_components.code,{children:`AGENT`}),` cuando el mensaje debe aparecer como `,_jsx(_components.strong,{children:`tu empresa`}),`, no como un usuario final.`]}),`\n`,_jsx(_components.p,{children:`Casos:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Alguien del equipo responde en el `,_jsx(_components.strong,{children:`panel`}),` (Chat o Inbox) — Notifique ya crea el agente `,_jsx(_components.code,{children:`agent:{workspaceUserId}`})]}),`\n`,_jsxs(_components.li,{children:[`Tu backend envía un aviso en el hilo `,_jsx(_components.strong,{children:`como soporte`})]}),`\n`,_jsxs(_components.li,{children:[`Quieres métricas de `,_jsx(_components.strong,{children:`enviados`}),` (agente) vs `,_jsx(_components.strong,{children:`recibidos`}),` (usuario) en el detalle del Chat App`]}),`\n`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`http`,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:`http`,children:_jsxs(_components.code,{language:`http`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`POST`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` /v1/chat/agents`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Content-Type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` application/json`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`Authorization`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Bearer sk_live_xxxxx`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,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:`6`,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:` \"chatAppId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"clxxapp...\"`}),_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:` \"workspaceUserId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"clxxuser...\"`}),_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:` \"externalUserId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"agent:clxxuser...\"`}),_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:`\"Ana (soporte)\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`workspaceUserId`}),` debe ser miembro del workspace. El `,_jsx(_components.code,{children:`externalUserId`}),` por defecto es `,_jsx(_components.code,{children:`agent:{workspaceUserId}`}),`.`]}),`\n`,_jsx(_components.p,{children:`Luego envía como ese agente:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,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:`7`,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:` \"from\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"clxxapp...\"`}),_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:` \"to\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"cnv_xxxxx\"`}),_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:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},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:`\"Hola, ¿en qué puedo ayudar?\"`}),_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:` \"senderExternalUserId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"agent:clxxuser...\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`qué-no-mezclar`,children:`Qué no mezclar`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`No`}),` entregues JWT de `,_jsx(_components.code,{children:`AGENT`}),` en la app del cliente. El cliente habla con JWT de `,_jsx(_components.code,{children:`USER`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`No`}),` registres al equipo como `,_jsx(_components.code,{children:`USER`}),` si atiende desde el panel — el webhook saldría como `,_jsx(_components.code,{children:`chat.received`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Dos `,_jsx(_components.code,{children:`USER`}),` en un 1:1 es conversación entre personas de tu producto. Un `,_jsx(_components.code,{children:`USER`}),` y un `,_jsx(_components.code,{children:`AGENT`}),` es atención.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`flags-del-chat-app`,children:`Flags del Chat App`}),`\n`,_jsxs(_components.p,{children:[`Quién puede `,_jsx(_components.strong,{children:`crear conversación`}),`, `,_jsx(_components.strong,{children:`crear grupo`}),` y `,_jsx(_components.strong,{children:`añadir miembros`}),` con JWT de usuario vale para cualquiera con token de usuario. Un agente por API Key ignora esas flags: el backend siempre puede crear.`]}),`\n`,_jsxs(_components.p,{children:[`Ver `,_jsx(_components.a,{href:`/es/chat-api/como-funciona/quick-start`,children:`Quick Start`}),` y `,_jsx(_components.a,{href:`/es/chat-api/como-funciona/enviar-mensagens`,children:`Enviar mensajes`}),`.`]})]})}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":"Usuario y agente","description":"USER es quien está en tu app. AGENT es tu equipo hablando desde el panel o la API.","icon":"user-helmet-safety","href":"/es/chat-api/como-funciona/usuario-e-agente"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"En pocas palabras","slug":"en-pocas-palabras","depth":2,"children":[]},{"title":"Cuándo usar USER","slug":"cuándo-usar-user","depth":2,"children":[]},{"title":"Cuándo usar AGENT","slug":"cuándo-usar-agent","depth":2,"children":[]},{"title":"Qué no mezclar","slug":"qué-no-mezclar","depth":2,"children":[]},{"title":"Flags del Chat App","slug":"flags-del-chat-app","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"tribus","siteName":"Notifique","title":"Usuario y agente - Notifique","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"pt-BR":{"href":"/chat-api/como-funciona/usuario-e-agente","matchLevel":1},"en":{"href":"/en/chat-api/como-funciona/usuario-e-agente","matchLevel":1},"es":{"href":"/es/chat-api/como-funciona/usuario-e-agente","matchLevel":0}}},"lastModified":"2026-09-06T20:32:59.350Z","originalFileLocation":"es/chat-api/como-funciona/usuario-e-agente.md","locale":"es"},"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=\"USER es quien está en tu app. AGENT es tu equipo hablando desde el panel o la API.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Notifique\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tribus/lrSzNckWGT07xfjB/_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/tribus/lrSzNckWGT07xfjB/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tribus/lrSzNckWGT07xfjB/_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/tribus/lrSzNckWGT07xfjB/_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/tribus/lrSzNckWGT07xfjB/_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/tribus/lrSzNckWGT07xfjB/_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/tribus/lrSzNckWGT07xfjB/_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/tribus/lrSzNckWGT07xfjB/_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/tribus/lrSzNckWGT07xfjB/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Usuario y agente - Notifique\">\u003cmeta data-mint-head property=\"og:description\" content=\"USER es quien está en tu app. AGENT es tu equipo hablando desde el panel o la API.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Notifique\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.notifique.dev/es/chat-api/como-funciona/usuario-e-agente\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://tribus.mintlify.app/_mintlify/api/og/v2?division=API+Chat\u0026amp;title=Usuario+y+agente\u0026amp;description=USER+es+quien+est%C3%A1+en+tu+app.+AGENT+es+tu+equipo+hablando+desde+el+panel+o+la+API.\u0026amp;theme=8c9a8f58518c7b0a360dbb49\u0026amp;signature=98a04c7a5a74e35277faccadbcd53b285027365817b8767b8616a473fc6f6d93\">\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=\"Usuario y agente - Notifique\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"USER es quien está en tu app. AGENT es tu equipo hablando desde el panel o la API.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tribus.mintlify.app/_mintlify/api/og/v2?division=API+Chat\u0026amp;title=Usuario+y+agente\u0026amp;description=USER+es+quien+est%C3%A1+en+tu+app.+AGENT+es+tu+equipo+hablando+desde+el+panel+o+la+API.\u0026amp;theme=8c9a8f58518c7b0a360dbb49\u0026amp;signature=98a04c7a5a74e35277faccadbcd53b285027365817b8767b8616a473fc6f6d93\">\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/tribus/lrSzNckWGT07xfjB/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Notifique\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#fbbf24\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.notifique.dev/es/chat-api/como-funciona/usuario-e-agente\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/es/chat-api/como-funciona/usuario-e-agente.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.notifique.dev/es/chat-api/como-funciona/usuario-e-agente\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://docs.notifique.dev/chat-api/como-funciona/usuario-e-agente\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.notifique.dev/en/chat-api/como-funciona/usuario-e-agente\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.notifique.dev/chat-api/como-funciona/usuario-e-agente\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.notifique.dev/#organization\",\"name\":\"Notifique\",\"url\":\"https://docs.notifique.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/tribus/bZe-7RiENjmeF_O7/logo/light.png?fit=max\u0026auto=format\u0026n=bZe-7RiENjmeF_O7\u0026q=85\u0026s=64d67c9a1c52ec357777b5632f714882\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.notifique.dev#website\",\"name\":\"Notifique\",\"url\":\"https://docs.notifique.dev\",\"publisher\":{\"@id\":\"https://docs.notifique.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.notifique.dev/es/chat-api/como-funciona/usuario-e-agente#webpage\",\"url\":\"https://docs.notifique.dev/es/chat-api/como-funciona/usuario-e-agente\",\"name\":\"Usuario y agente\",\"description\":\"USER es quien está en tu app. AGENT es tu equipo hablando desde el panel o la API.\",\"dateModified\":\"2026-09-06T20:32:59.350Z\",\"isPartOf\":{\"@id\":\"https://docs.notifique.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.notifique.dev/es/chat-api/como-funciona/usuario-e-agente#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.notifique.dev/es/chat-api/como-funciona/usuario-e-agente#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Chat\",\"item\":\"https://docs.notifique.dev/es/chat-api/como-funciona/introducao\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Usuario y agente\",\"item\":\"https://docs.notifique.dev/es/chat-api/como-funciona/usuario-e-agente\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.notifique.dev/es/chat-api/como-funciona/usuario-e-agente#article\",\"headline\":\"Usuario y agente\",\"name\":\"Usuario y agente\",\"description\":\"USER es quien está en tu app. AGENT es tu equipo hablando desde el panel o la API.\",\"url\":\"https://docs.notifique.dev/es/chat-api/como-funciona/usuario-e-agente\",\"mainEntityOfPage\":{\"@id\":\"https://docs.notifique.dev/es/chat-api/como-funciona/usuario-e-agente#webpage\"},\"dateModified\":\"2026-09-06T20:32:59.350Z\",\"publisher\":{\"@id\":\"https://docs.notifique.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.notifique.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Notifique\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Notifique","nav":{"global":null,"languages":[{"language":"pt-BR","default":true,"navbar":{"links":[{"href":"https://status.notifique.dev","label":"Status"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.notifique.dev"}},"pages":[{"title":"pt-BR","href":"/chat-api/como-funciona/usuario-e-agente"}]},{"language":"en","pages":[{"title":"en","href":"/en/chat-api/como-funciona/usuario-e-agente"}]},{"language":"es","tabs":[{"tab":"Bienvenido","pages":[{"title":"Bienvenido","href":"/es/welcome/welcome"}]},{"tab":"Guías","pages":[{"title":"Guías","href":"/es/guides/introducao/comece-aqui"}]},{"tab":"WhatsApp","pages":[{"title":"WhatsApp","href":"/es/whatsapp-api/como-funciona/introducao"}]},{"tab":"SMS","pages":[{"title":"SMS","href":"/es/sms-api/como-funciona/introducao"}]},{"tab":"Telegram","pages":[{"title":"Telegram","href":"/es/telegram-api/como-funciona/introducao"}]},{"tab":"Instagram","pages":[{"title":"Instagram","href":"/es/instagram-api/como-funciona/introducao"}]},{"tab":"Correo","pages":[{"title":"Correo","href":"/es/emails-api/como-funciona/introducao"}]},{"tab":"Push","pages":[{"title":"Push","href":"/es/push-api/como-funciona/introducao"}]},{"tab":"Chat","groups":[{"group":"API Chat","pages":[{"title":"Introducción","icon":"message","href":"/es/chat-api/como-funciona/introducao"},{"title":"Quick Start","icon":"bolt","description":"Primera conversación in-app: Chat App, dos usuarios, JWT y un mensaje.","href":"/es/chat-api/como-funciona/quick-start"},{"title":"Usuario y agente","icon":"user-helmet-safety","href":"/es/chat-api/como-funciona/usuario-e-agente"},{"title":"Enviar mensajes","description":"Contrato PIV1 de Chat: from, to, type y payload. Texto, imagen, audio y archivo.","icon":"paper-plane","href":"/es/chat-api/como-funciona/enviar-mensagens"},{"title":"Capacidades y bloqueo","icon":"shield","href":"/es/chat-api/como-funciona/capacidades-e-bloqueio"},{"title":"Alcances de la API Key","icon":"key","href":"/es/chat-api/como-funciona/escopos-da-api-key"},{"title":"Eventos de webhooks","icon":"code-merge","href":"/es/chat-api/como-funciona/eventos-do-webhooks"}]},{"group":"Chat Apps","pages":[{"title":"Listar Chat Apps","deprecated":null,"version":null,"openapi":"/es/chat-api/api-reference/openapi-chat.json get /v1/chat/apps","href":"/api-reference/chat-apps/listar-chat-apps"},{"title":"Criar Chat App","deprecated":null,"version":null,"openapi":"/es/chat-api/api-reference/openapi-chat.json post /v1/chat/apps","href":"/api-reference/chat-apps/criar-chat-app"},{"title":"Obter Chat App","deprecated":null,"version":null,"openapi":"/es/chat-api/api-reference/openapi-chat.json get /v1/chat/apps/{id}","href":"/api-reference/chat-apps/obter-chat-app"},{"title":"Atualizar Chat App","deprecated":null,"version":null,"openapi":"/es/chat-api/api-reference/openapi-chat.json patch /v1/chat/apps/{id}","href":"/api-reference/chat-apps/atualizar-chat-app"},{"title":"Rotacionar signing secret","deprecated":null,"version":null,"openapi":"/es/chat-api/api-reference/openapi-chat.json post /v1/chat/apps/{id}/rotate-secret","href":"/api-reference/chat-apps/rotacionar-signing-secret"},{"title":"Excluir Chat App","deprecated":null,"version":null,"openapi":"/es/chat-api/api-reference/openapi-chat.json delete /v1/chat/apps/{id}","href":"/api-reference/chat-apps/excluir-chat-app"}]},{"group":"Chat Users","pages":[{"title":"Criar ou atualizar usuário","deprecated":null,"version":null,"openapi":"/es/chat-api/api-reference/openapi-chat.json put /v1/chat/users","href":"/api-reference/chat-users/criar-ou-atualizar-usuário"},{"title":"Emitir JWT do usuário","deprecated":null,"version":null,"openapi":"/es/chat-api/api-reference/openapi-chat.json post /v1/chat/users/token","href":"/api-reference/chat-users/emitir-jwt-do-usuário"},{"title":"Vincular agente da equipe","deprecated":null,"version":null,"openapi":"/es/chat-api/api-reference/openapi-chat.json post /v1/chat/agents","href":"/api-reference/chat-users/vincular-agente-da-equipe"}]},{"group":"Conversaciones","pages":[{"title":"Listar conversas","deprecated":null,"version":null,"openapi":"/es/chat-api/api-reference/openapi-chat.json get /v1/chat/conversations","href":"/api-reference/chat-conversations/listar-conversas"},{"title":"Criar conversa","deprecated":null,"version":null,"openapi":"/es/chat-api/api-reference/openapi-chat.json post /v1/chat/conversations","href":"/api-reference/chat-conversations/criar-conversa"},{"title":"Obter conversa","deprecated":null,"version":null,"openapi":"/es/chat-api/api-reference/openapi-chat.json get /v1/chat/conversations/{id}","href":"/api-reference/chat-conversations/obter-conversa"},{"title":"Actualizar capacidades de la conversación","deprecated":null,"version":null,"openapi":"/es/chat-api/api-reference/openapi-chat.json patch /v1/chat/conversations/{id}","href":"/api-reference/chat-conversations/actualizar-capacidades-de-la-conversación"},{"title":"Excluir conversa","deprecated":null,"version":null,"openapi":"/es/chat-api/api-reference/openapi-chat.json delete /v1/chat/conversations/{id}","href":"/api-reference/chat-conversations/excluir-conversa"},{"title":"Entrar na conversa","deprecated":null,"version":null,"openapi":"/es/chat-api/api-reference/openapi-chat.json post /v1/chat/conversations/{id}/join","href":"/api-reference/chat-conversations/entrar-na-conversa"},{"title":"Silenciar conversación","deprecated":null,"version":null,"openapi":"/es/chat-api/api-reference/openapi-chat.json post /v1/chat/conversations/{id}/mute","href":"/api-reference/chat-conversations/silenciar-conversación"},{"title":"Adicionar membros","deprecated":null,"version":null,"openapi":"/es/chat-api/api-reference/openapi-chat.json post /v1/chat/conversations/{id}/members","href":"/api-reference/chat-conversations/adicionar-membros"},{"title":"Remover membro","deprecated":null,"version":null,"openapi":"/es/chat-api/api-reference/openapi-chat.json delete /v1/chat/conversations/{id}/members/{userId}","href":"/api-reference/chat-conversations/remover-membro"},{"title":"Alterar papel do membro","deprecated":null,"version":null,"openapi":"/es/chat-api/api-reference/openapi-chat.json post /v1/chat/conversations/{id}/members/{userId}/role","href":"/api-reference/chat-conversations/alterar-papel-do-membro"}]},{"group":"Bloqueos","pages":[{"title":"Listar bloqueos","deprecated":null,"version":null,"openapi":"/es/chat-api/api-reference/openapi-chat.json get /v1/chat/blocks","href":"/api-reference/chat-blocks/listar-bloqueos"},{"title":"Bloquear usuario","deprecated":null,"version":null,"openapi":"/es/chat-api/api-reference/openapi-chat.json put /v1/chat/blocks/{externalUserId}","href":"/api-reference/chat-blocks/bloquear-usuario"},{"title":"Desbloquear usuario","deprecated":null,"version":null,"openapi":"/es/chat-api/api-reference/openapi-chat.json delete /v1/chat/blocks/{externalUserId}","href":"/api-reference/chat-blocks/desbloquear-usuario"}]},{"group":"Mensajes","pages":[{"title":"Enviar mensaje","deprecated":null,"version":null,"openapi":"/es/chat-api/api-reference/openapi-chat.json post /v1/chat/messages","href":"/api-reference/chat-messages/enviar-mensaje"},{"title":"Listar mensagens","deprecated":null,"version":null,"openapi":"/es/chat-api/api-reference/openapi-chat.json get /v1/chat/conversations/{id}/messages","href":"/api-reference/chat-messages/listar-mensagens"},{"title":"Enviar mensagem","deprecated":null,"version":null,"openapi":"/es/chat-api/api-reference/openapi-chat.json post /v1/chat/conversations/{id}/messages","href":"/api-reference/chat-messages/enviar-mensagem"},{"title":"Excluir mensagem","deprecated":null,"version":null,"openapi":"/es/chat-api/api-reference/openapi-chat.json delete /v1/chat/conversations/{id}/messages/{messageId}","href":"/api-reference/chat-messages/excluir-mensagem"},{"title":"Marcar conversa como lida","deprecated":null,"version":null,"openapi":"/es/chat-api/api-reference/openapi-chat.json post /v1/chat/conversations/{id}/read","href":"/api-reference/chat-messages/marcar-conversa-como-lida"}]}]},{"tab":"RCS","pages":[{"title":"RCS","href":"/es/rcs-api/como-funciona/introducao"}]},{"tab":"Voz","pages":[{"title":"Voz","href":"/es/voice-api/como-funciona/introducao"}]},{"tab":"Chat web","pages":[{"title":"Chat web","href":"/es/ai-web-widget"}]},{"tab":"Plantillas","pages":[{"title":"Plantillas","href":"/es/template-api/como-funciona/introducao"}]},{"tab":"Contactos","pages":[{"title":"Contactos","href":"/es/contacts-api/como-funciona/introducao"}]},{"tab":"Automatizaciones","pages":[{"title":"Automatizaciones","href":"/es/automations-api/como-funciona/introducao"}]},{"tab":"Add-ons","pages":[{"title":"Add-ons","href":"/es/addons"}]}]}]},"basePath":"","title":"Usuario y agente - Notifique","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":[],"chunks":[]}