{ "message": ["Campaign has been updated."], "statusMessage": "success", "status": 1}
401 - Unauthorized
{ "message": "Authentication failed"}
404 - Not Found
{ "message": ["Campaign not found"], "statusMessage": "failed", "status": 0}
422 - Unprocessable Entity
{ "message": ["Los valores ingresados no son correctos."], "statusMessage": "failed", "status": 0, "validationError": { "scheduledAt": [ { "es": "El campo scheduledAt debe ser posterior a la fecha actual", "en": "The scheduledAt field must be later than the current date", "pt": "O campo scheduledAt deve ser posterior à data atual" } ] }}
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 occurido, 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.", "pt": "Estamos tendo problemas com o processo da solicitação. Por favor tente mais tarde." } }}
{"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":""},"chroma":{"liveDeploymentHistoryId":"6aeb923b1b9ad23a024059c6","collectionId":"a0c3fb43-2190-4378-8a46-9957cdab5f84","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aeb923b1b9ad23a024059c6"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aeb923b1b9ad23a024059c6","clientVersion":"0.0.4067","searchFilterCounts":[{"language":"es","tag":"Brain Studio","count":272},{"language":"pt-BR","tag":"Brain Studio","count":272},{"language":"en","tag":"Brain Studio","count":262},{"language":"es","tag":"Marketplace","count":109},{"language":"pt-BR","tag":"Marketplace","count":109},{"language":"en","tag":"Marketplace","count":99},{"language":"es","tag":"API","count":80},{"language":"en","tag":"API","count":79},{"language":"pt-BR","tag":"API","count":79},{"language":"es","tag":"Pagos","count":61},{"language":"pt-BR","tag":"Pagamentos","count":61},{"language":"es","tag":"Desarrollador","count":58},{"language":"en","tag":"Developer","count":58},{"language":"pt-BR","tag":"Desenvolvedor","count":58},{"language":"es","tag":"Functions","count":56},{"language":"en","tag":"Functions","count":56},{"language":"en","tag":"Payments","count":51},{"language":"es","tag":"Proveedores de pago","count":47},{"language":"pt-BR","tag":"Provedores de Pagamento","count":47},{"language":"es","tag":"Nodos","count":42},{"language":"en","tag":"Nodes","count":42},{"language":"pt-BR","tag":"Nós","count":42},{"language":"en","tag":"Payment Providers","count":37},{"language":"es","tag":"E-Commerce","count":32},{"language":"en","tag":"E-Commerce","count":32},{"language":"pt-BR","tag":"E-Commerce","count":32},{"language":"pt-BR","tag":"Funções","count":29},{"language":"es","tag":"Configuración","count":27},{"language":"pt-BR","tag":"Configuração","count":27},{"language":"en","tag":"Configuration","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":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"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":"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},{"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}],"starterQuestions":[{"_id":"695f0dc1ce817ff266c09160","deploymentId":"690b5c0b3fecf134e9284503","questionText":"¿Cómo funciona la memoria?","status":"active","generatedBy":"manual","createdAt":"2026-01-08T01:52:01.463Z","updatedAt":"2026-01-08T01:52:10.189Z","__v":0},{"_id":"695f0db5ce817ff266c0868e","deploymentId":"690b5c0b3fecf134e9284503","questionText":"¿Cómo obtengo el teléfono del usuario?","status":"active","generatedBy":"manual","createdAt":"2026-01-08T01:51:49.283Z","updatedAt":"2026-01-08T01:51:49.283Z","__v":0},{"_id":"695f0da0ce817ff266c076de","deploymentId":"690b5c0b3fecf134e9284503","questionText":"¿Cómo escribo un buen prompt?","status":"active","generatedBy":"manual","createdAt":"2026-01-08T01:51:28.820Z","updatedAt":"2026-01-08T01:52:05.727Z","__v":0}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/inter-400.woff2') format('woff2')}@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/inter-500.woff2') format('woff2')}@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/inter-600.woff2') format('woff2')}@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/inter-700.woff2') format('woff2')}@font-face{font-family:'DM Sans';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/dm-sans-400.woff2') format('woff2')}@font-face{font-family:'DM Sans';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/dm-sans-500.woff2') format('woff2')}@font-face{font-family:'DM Sans';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/dm-sans-600.woff2') format('woff2')}@font-face{font-family:'DM Sans';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/dm-sans-700.woff2') format('woff2')}:root{--font-family-headings-custom: \"DM Sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", system-ui, sans-serif;--font-family-body: \"Inter\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", system-ui, sans-serif}body,p,span,div,li,td,th,label,input,textarea,select,button{font-family:var(--font-family-body)}h1,h2,h3,h4,h5,h6,article h1,article h2,article h3,article h4,article h5,article h6,main h1,main h2,main h3,main h4,main h5,main h6,section h1,section h2,section h3,section h4,section h5,section h6,[class*=\"heading\"],[class*=\"Heading\"],[class*=\"title\"],[class*=\"Title\"],[class*=\"h1\"],[class*=\"h2\"],[class*=\"h3\"],[class*=\"h4\"],[class*=\"h5\"],[class*=\"h6\"],[class*=\"H1\"],[class*=\"H2\"],[class*=\"H3\"],[class*=\"H4\"],[class*=\"H5\"],[class*=\"H6\"]{font-family:var(--font-family-headings-custom)!important}footer a[href*=\"mintlify\"],footer a[href*=\"mintlify.com\"],footer a[href*=\"mintlify.io\"],footer [class*=\"powered\"],footer [class*=\"Powered\"],footer [class*=\"mintlify\"],footer [class*=\"Mintlify\"],footer p:has(a[href*=\"mintlify\"]),footer div:has(a[href*=\"mintlify\"]){display:none!important;visibility:hidden!important}.mp-country-selector>div{border:1px solid rgba(0, 179, 199, 0.25);border-left:4px solid #00B3C7;border-radius:0.5rem;background:rgba(0, 179, 199, 0.05)}"}],"page":{"pagePath":"pt/api/campanhas/atualizar-campanha","slug":"/pt/api/campanhas/atualizar-campanha","pageMetadata":{"title":"Atualizar campanha","description":"Altere o nome ou reprograme a data de envio de uma campanha agendada","openapi":"PUT /v1/campaigns/{campaignId}","href":"/pt/api/campanhas/atualizar-campanha"},"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: \"Altere o nome ou reprograme a data de envio de uma campanha agendada\"\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`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,Heading,Table,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_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:`PUT https://api.jelou.ai/v1/campaigns/{campaignId}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Só é possível atualizar campanhas com status `,_jsx(_components.code,{children:`SCHEDULED`}),`. Uma campanha que já começou a ser enviada, ou que já terminou, não pode ser atualizada.`]})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`parâmetros-de-rota`,children:`Parâmetros de rota`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Propriedade`}),_jsx(_components.th,{children:`Tipo`}),_jsx(_components.th,{children:`Descrição`}),_jsx(_components.th,{children:`Obrigatório`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`campaignId`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`ID da campanha que você quer atualizar. Obtenha-o com o endpoint `,_jsx(_components.code,{children:`GET /v1/campaigns`}),`.`]}),_jsx(_components.td,{children:`Sim`})]})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`corpo-da-requisição`,children:`Corpo da requisição`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Propriedade`}),_jsx(_components.th,{children:`Tipo`}),_jsx(_components.th,{children:`Descrição`}),_jsx(_components.th,{children:`Obrigatório`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`name`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Novo nome da campanha.`}),_jsx(_components.td,{children:`Não`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`scheduledAt`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Nova data e hora de envio, no formato ISO 8601 com fuso horário. Deve ser posterior à data e hora atual.`}),_jsx(_components.td,{children:`Não`})]})]})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`formato-de-scheduledat`,children:`Formato de scheduledAt`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`scheduledAt`}),` usa o formato ISO 8601: `,_jsx(_components.code,{children:`YYYY-MM-DDTHH:mm:ss`}),` seguido do fuso horário.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Exemplo`}),_jsx(_components.th,{children:`Significado`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`2026-09-27T16:00:00Z`})}),_jsx(_components.td,{children:`27 de setembro de 2026 às 16:00 em UTC.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:_jsx(_components.code,{children:`2026-09-27T11:00:00-05:00`})}),_jsx(_components.td,{children:`27 de setembro de 2026 às 11:00 em UTC-5 (Equador, Colômbia, Peru). É o mesmo instante do exemplo anterior.`})]})]})]}),`\n`,_jsxs(_components.p,{children:[`Se a data não for válida ou já tiver passado, a API responde com `,_jsx(_components.code,{children:`422`}),` e não altera a campanha.`]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`exemplo-de-requisição`,children:`Exemplo de requisição`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,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:`7`,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:` PUT`}),_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/campaigns/CAMPAIGN_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}}'`}),_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:` 'Content-Type: application/json'`}),_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:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"name\": \"promo_fim_de_mes_v2\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }'`})}),`\n`]})})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`respostas`,children:`Respostas`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`200 - Resposta bem-sucedida`,id:`200-resposta-bem-sucedida`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`5`,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:`5`,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:`\"Campaign has been updated.\"`}),_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:`\"success\"`}),_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:`1`})]}),`\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:`5`,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:`5`,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:`\"Campaign 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:` \"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`})]}),`\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:`14`,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:`14`,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:`\"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:` \"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:` \"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:` \"scheduledAt\"`}),_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 scheduledAt debe ser posterior a la fecha actual\"`}),_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 scheduledAt field must be later than the current date\"`}),_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:` \"pt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"O campo scheduledAt deve ser posterior à data atual\"`})]}),`\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:`19`,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:`19`,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 occurido, 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.\"`}),_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:` \"pt\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Estamos tendo problemas com o processo da solicitação. Por favor tente mais tarde.\"`})]}),`\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`]})})})})]})]})}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":"Atualizar campanha","description":"Altere o nome ou reprograme a data de envio de uma campanha agendada","openapi":"PUT /v1/campaigns/{campaignId}","href":"/pt/api/campanhas/atualizar-campanha"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Endpoint","slug":"endpoint","depth":2,"children":[]},{"title":"Parâmetros de rota","slug":"parâmetros-de-rota","depth":2,"children":[]},{"title":"Corpo da requisição","slug":"corpo-da-requisição","depth":2,"children":[]},{"title":"Formato de scheduledAt","slug":"formato-de-scheduledat","depth":2,"children":[]},{"title":"Exemplo de requisição","slug":"exemplo-de-requisição","depth":2,"children":[]},{"title":"Respostas","slug":"respostas","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Actualizar campaña","description":"Altere o nome ou reprograme a data de envio de uma campanha agendada","operationId":"updateCampaign","tags":["Campaigns"],"parameters":["a189db7e-1f17-4b91-b84c-775fa7b28ce4"],"requestBody":"53c52847-766f-49ec-9668-2e0572e163ca","responses":{"200":"93e0b84e-b61d-402c-95c3-b1e8326e4189","401":"910a5965-d118-4490-b63f-2d492f5bb729","404":"f6886405-f56c-4cc1-af50-4a034772c53d","422":"2a076491-73a7-420f-ba2a-a18530359555","500":"7e27bb07-ea8e-461a-9273-a8ea30c4eafb"},"method":"put","type":"path","servers":["17aa7894-c49a-4919-8f27-585334fc8ec8"],"security":["d9b4d874-e18b-403b-85ad-d2abb6b6a950"],"path":"/v1/campaigns/{campaignId}","baseUrlOptions":["https://api.jelou.ai"],"title":"Actualizar campaña","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"a189db7e-1f17-4b91-b84c-775fa7b28ce4":{"name":"campaignId","in":"path","required":true,"description":"ID de la campaña (24 caracteres hexadecimales).","schema":{"type":"string","example":"CAMPAIGN_ID","isRequired":true,"description":"ID de la campaña (24 caracteres hexadecimales).","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","minProperties":1,"properties":{"name":{"type":"string","description":"Nuevo nombre de la campaña.","example":"promo_fin_de_mes","uniqueKey":"name","typeLabel":"string"},"scheduledAt":{"type":"string","format":"date-time","description":"Nueva fecha y hora de envío en formato ISO 8601 con zona horaria (`Z` o un desfase como `-05:00`). Debe ser posterior a la fecha actual.","example":"2026-09-27T11:00:00-05:00","uniqueKey":"scheduledAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"promo_fin_de_mes","scheduledAt":"2026-09-27T11:00:00-05:00"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"93e0b84e-b61d-402c-95c3-b1e8326e4189":{"description":"Campaign updated","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"array","items":{"type":"string","uniqueKey":"message.items.[INDEX]","typeLabel":"string"},"example":["Campaign has been updated."],"uniqueKey":"message","typeLabel":"string[]"},"statusMessage":{"type":"string","example":"success","uniqueKey":"statusMessage","typeLabel":"string"},"status":{"type":"integer","example":1,"uniqueKey":"status","typeLabel":"integer"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":["Campaign has been updated."],"statusMessage":"success","status":1}}},"exampleType":"generated"}},"exampleType":"generated"},"910a5965-d118-4490-b63f-2d492f5bb729":{"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"},"f6886405-f56c-4cc1-af50-4a034772c53d":{"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"},"2a076491-73a7-420f-ba2a-a18530359555":{"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"},"7e27bb07-ea8e-461a-9273-a8ea30c4eafb":{"description":"Internal server 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":{"d9b4d874-e18b-403b-85ad-d2abb6b6a950":{"basicAuth":{"type":"http","scheme":"basic","description":"Basic authentication using Base64 encoded clientId:clientSecret","scopes":[],"schemeName":"basicAuth"}}},"servers":{"17aa7894-c49a-4919-8f27-585334fc8ec8":{"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":"Atualizar campanha - Jelou AI Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"es":{"href":"/","matchLevel":4},"en":{"href":"/en","matchLevel":4},"pt-BR":{"href":"/pt/api/campanhas/atualizar-campanha","matchLevel":0}}},"lastModified":"2026-10-01T01:34:39.644Z","originalFileLocation":"pt/api/campanhas/atualizar-campanha.mdx","locale":"pt-BR"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Altere o nome ou reprograme a data de envio de uma campanha agendada\">\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=\"Atualizar campanha - Jelou AI Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Altere o nome ou reprograme a data de envio de uma campanha agendada\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Jelou AI Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.jelou.ai/pt/api/campanhas/atualizar-campanha\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://jelouai.mintlify.app/_mintlify/api/og/v2?division=Campanhas\u0026amp;title=Atualizar+campanha\u0026amp;description=Altere+o+nome+ou+reprograme+a+data+de+envio+de+uma+campanha+agendada\u0026amp;theme=fdc8b10c9e8ca1066ec81c43\u0026amp;signature=309c268276bb518a0d4dfbdb172b906346db039ed7167aff610aacc0ae639f5f\">\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=\"Atualizar campanha - Jelou AI Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Altere o nome ou reprograme a data de envio de uma campanha agendada\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://jelouai.mintlify.app/_mintlify/api/og/v2?division=Campanhas\u0026amp;title=Atualizar+campanha\u0026amp;description=Altere+o+nome+ou+reprograme+a+data+de+envio+de+uma+campanha+agendada\u0026amp;theme=fdc8b10c9e8ca1066ec81c43\u0026amp;signature=309c268276bb518a0d4dfbdb172b906346db039ed7167aff610aacc0ae639f5f\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/jelouai/tavu7utr1-GgLh9T/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Jelou AI Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#00B3C7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.jelou.ai/pt/api/campanhas/atualizar-campanha\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/pt/api/campanhas/atualizar-campanha.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.jelou.ai/#organization\",\"name\":\"Jelou AI Docs\",\"url\":\"https://docs.jelou.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/jelouai/ohdyHu3U1l_f83jb/assets/images/logo.svg?fit=max\u0026auto=format\u0026n=ohdyHu3U1l_f83jb\u0026q=85\u0026s=96492f65ef93712f99d972c31ad08e09\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.jelou.ai#website\",\"name\":\"Jelou AI Docs\",\"url\":\"https://docs.jelou.ai\",\"publisher\":{\"@id\":\"https://docs.jelou.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.jelou.ai/pt/api/campanhas/atualizar-campanha#webpage\",\"url\":\"https://docs.jelou.ai/pt/api/campanhas/atualizar-campanha\",\"name\":\"Atualizar campanha\",\"description\":\"Altere o nome ou reprograme a data de envio de uma campanha agendada\",\"dateModified\":\"2026-10-01T01:34:39.644Z\",\"isPartOf\":{\"@id\":\"https://docs.jelou.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.jelou.ai/pt/api/campanhas/atualizar-campanha#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.jelou.ai/pt/api/campanhas/atualizar-campanha#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Campanhas\",\"item\":\"https://docs.jelou.ai/pt/api/campanhas/obter-plantillas\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Atualizar campanha\",\"item\":\"https://docs.jelou.ai/pt/api/campanhas/atualizar-campanha\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.jelou.ai/pt/api/campanhas/atualizar-campanha#apireference\",\"headline\":\"Atualizar campanha\",\"name\":\"Atualizar campanha\",\"description\":\"Altere o nome ou reprograme a data de envio de uma campanha agendada\",\"url\":\"https://docs.jelou.ai/pt/api/campanhas/atualizar-campanha\",\"mainEntityOfPage\":{\"@id\":\"https://docs.jelou.ai/pt/api/campanhas/atualizar-campanha#webpage\"},\"dateModified\":\"2026-10-01T01:34:39.644Z\",\"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\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Jelou AI Docs","nav":{"global":null,"languages":[{"language":"es","default":true,"pages":[{"title":"es","href":"/"}]},{"language":"en","pages":[{"title":"en","href":"/en"}]},{"language":"pt-BR","tabs":[{"tab":"Brain Studio","pages":[{"title":"Brain Studio","href":"/pt"}]},{"tab":"Databases","pages":[{"title":"Databases","href":"/pt/guias/datum/introducao"}]},{"tab":"Functions","pages":[{"title":"Functions","href":"/pt/guias/funcoes"}]},{"tab":"API","groups":[{"group":"Referência de API","pages":[{"title":"Introdução","href":"/pt/api/introducao"}]},{"group":"Enviar Mensagens","icon":"message","pages":[{"title":"Introdução","href":"/pt/api/enviar-mensagens/introducao"},{"title":"Enviar Mensagens","sidebarTitle":"Enviar Mensagens","openapi":"POST /v1/bots/{botId}/messages","href":"/pt/api/enviar-mensagens/envio-de-mensagens"},{"group":"Tipos de Mensagem","pages":[{"title":"Mensagem de Texto","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/pt/api/enviar-mensagens/texto"},{"title":"Mensagem com Opções","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/pt/api/enviar-mensagens/texto-com-opcoes"},{"title":"Respostas Rápidas","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/pt/api/enviar-mensagens/respuestas-rapidas"},{"title":"Imagem","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/pt/api/enviar-mensagens/imagem"},{"title":"Áudio","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/pt/api/enviar-mensagens/audio"},{"title":"Vídeo","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/pt/api/enviar-mensagens/video"},{"title":"Arquivo","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/pt/api/enviar-mensagens/arquivo"},{"title":"Sticker","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/pt/api/enviar-mensagens/sticker"},{"title":"Localização","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/pt/api/enviar-mensagens/localizacao"},{"title":"Contato","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/pt/api/enviar-mensagens/contacto"},{"title":"Solicitação de Localização","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/pt/api/enviar-mensagens/solicitacao-localizacao"},{"title":"Solicitar Contato","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/pt/api/enviar-mensagens/solicitacao-contato"},{"title":"URL Externa","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","href":"/pt/api/enviar-mensagens/botao-url"},{"title":"Whatsapp Flows","openapi":"POST /v1/bots/{botId}/users/{userId}/flow_message","tag":"WhatsApp","href":"/pt/api/enviar-mensagens/botao-fluxo"},{"title":"Chamada","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/pt/api/enviar-mensagens/botao-chamada"},{"title":"Carrossel","api":"POST https://api.jelou.ai/v1/bots/{botId}/messages","tag":"WhatsApp","href":"/pt/api/enviar-mensagens/carrossel"}]},{"title":"Workflows","href":"/pt/api/enviar-mensagens/configurar-skill"}]},{"group":"Campanhas","icon":"send","pages":[{"group":"Modelos","pages":[{"title":"Obter Templates","openapi":"GET /v1/bots/{botId}/templates","href":"/pt/api/campanhas/obter-plantillas"},{"title":"Criar Template","openapi":"POST /v1/bots/{botId}/templates","href":"/pt/api/campanhas/criar-plantilla"}]},{"title":"Envio Individual (1-1)","openapi":"POST /v2/whatsapp/{botId}/hsm","href":"/pt/api/campanhas/envio-individual"},{"title":"Envio em Massa","openapi":"POST /v1/hsm/file","href":"/pt/api/campanhas/envio-masivo"},{"title":"Notificações","openapi":"GET /v1/external/bots/{botId}/notifications","href":"/pt/api/campanhas/notificaciones"},{"title":"Obtener Campañas","description":"Consulta la información de todas las campañas que se han enviado de manera masiva.","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v1/campaigns","href":"/api-reference/campaigns/obtener-campañas"},{"title":"Atualizar campanha","openapi":"PUT /v1/campaigns/{campaignId}","href":"/pt/api/campanhas/atualizar-campanha"},{"title":"Cancelar campanha","description":"Cancele uma campanha agendada","openapi":"DELETE /v1/campaigns/{campaignId}","href":"/pt/api/campanhas/cancelar-campanha"}]},{"group":"Conversações","icon":"clock-rotate-left","pages":[{"title":"Histórico de chat","openapi":"GET /v1/external/messages/history/{botId}","href":"/pt/api/conversas/historico"},{"title":"Conversas de agentes","openapi":"POST /v1/metrics/conversations/attended/external","href":"/pt/api/conversas/conversas-assessores"}]},{"group":"Etiquetas","icon":"tag","pages":[{"title":"Gestão de etiquetas","sidebarTitle":"Gestão de etiquetas","href":"/pt/api/etiquetas/gestao-de-etiquetas"}]},{"group":"Métricas","icon":"chart-line","pages":[{"title":"Estatísticas de operadores","openapi":"GET /v1/metrics/conversations/external/stats","href":"/pt/api/metricas/estatisticas-operadores"}]},{"group":"Usuários","icon":"user","pages":[{"title":"Status do usuário","openapi":"GET /v1/users/{userId}/state","href":"/pt/api/usuarios/estado"},{"title":"Cache do usuário","sidebarTitle":"Cache do Usuário","href":"/pt/api/usuarios/cache-de-usuario"}]},{"group":"Recursos","icon":"folder","pages":[{"title":"Refrescar Recurso URL","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/external/assets/refresh","href":"/api-reference/resources/refrescar-recurso-url"}]},{"group":"Widget","icon":"grid-2","pages":[{"title":"Crear Usuarios","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/widget/user","href":"/api-reference/widget/crear-usuarios"},{"title":"Crear Widgets","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/widget/create","href":"/api-reference/widget/crear-widgets"},{"title":"Enviar mensaje al chat","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v1/rooms/{roomId}/message","href":"/api-reference/widget/enviar-mensaje-al-chat"}]},{"group":"Datum","icon":"database","pages":[{"title":"Obter informações dos bancos de dados","sidebarTitle":"Obter bancos de dados","openapi":"GET /v2/databases","href":"/pt/api/Datum/obter-informacao-bases-de-dados"},{"title":"Crear registro","deprecated":null,"version":null,"openapi":"/api/openapi.json post /v2/databases/{databaseId}/rows","href":"/api-reference/datum/crear-registro"},{"title":"Obtener registro","deprecated":null,"version":null,"openapi":"/api/openapi.json get /v2/databases/{databaseId}/rows/{rowId}","href":"/api-reference/datum/obtener-registro"},{"title":"Actualizar un registro","deprecated":null,"version":null,"openapi":"/api/openapi.json put /v2/databases/{databaseId}/rows/{rowId}","href":"/api-reference/datum/actualizar-un-registro"},{"title":"Eliminar registro","deprecated":null,"version":null,"openapi":"/api/openapi.json delete /v2/databases/{databaseId}/rows/{rowId}","href":"/api-reference/datum/eliminar-registro"}]},{"group":"Painel de Atendimento Externo","icon":"headset","pages":[{"group":"Processo de integração","pages":[{"title":"Painel de Atendimento Externo","sidebarTitle":"Introdução","href":"/pt/api/pma-custom/introduccion"},{"title":"Assinatura HMAC-SHA256","sidebarTitle":"Assinatura","href":"/pt/api/pma-custom/firma-hmac"}]},{"group":"Integração","pages":[{"title":"Criar integração","sidebarTitle":"Criar integração","openapi":"POST /v1/external-support/{projectId}","href":"/pt/api/pma-custom/crear-integracion"},{"title":"Obter integração","sidebarTitle":"Obter integração","openapi":"GET /v1/external-support/{projectId}","href":"/pt/api/pma-custom/obtener-integracion"},{"title":"Atualizar integração","sidebarTitle":"Atualizar integração","openapi":"PATCH /v1/external-support/{projectId}","href":"/pt/api/pma-custom/actualizar-integracion"},{"title":"Excluir integração","sidebarTitle":"Excluir integração","openapi":"DELETE /v1/external-support/{projectId}","href":"/pt/api/pma-custom/eliminar-integracion"},{"title":"Regenerar signing secret","sidebarTitle":"Regenerar secret","openapi":"POST /v1/external-support/{projectId}/secret/regenerate","href":"/pt/api/pma-custom/regenerar-secret"}]},{"group":"Conversa","pages":[{"title":"Iniciar conversa","sidebarTitle":"Iniciar conversa","openapi":"POST /v1/external-support/{projectId}/conversations/start","href":"/pt/api/pma-custom/iniciar-conversacion"},{"title":"Encerrar conversa","sidebarTitle":"Encerrar conversa","openapi":"POST /v1/external-support/{projectId}/conversations/close","href":"/pt/api/pma-custom/cerrar-conversacion"},{"title":"Consultar conversa","sidebarTitle":"Consultar conversa","openapi":"GET /v1/external-support/{projectId}/conversations/{conversationId}","href":"/pt/api/pma-custom/consultar-conversacion"}]},{"group":"Mensagens","pages":[{"title":"Receber mensagem do usuário final","sidebarTitle":"Receber mensagem","href":"/pt/api/pma-custom/recibir-mensajes"},{"title":"Enviar mensagem ao usuário final","sidebarTitle":"Enviar mensagem","href":"/pt/api/pma-custom/enviar-mensajes"}]}]},{"group":"Canal Personalizado","icon":"webhook","pages":[{"title":"Canal personalizado","sidebarTitle":"Introdução","href":"/pt/api/custom-channel/introducao"},{"title":"Enviar interação","sidebarTitle":"Enviar interação","href":"/pt/api/custom-channel/enviar-interacao"},{"title":"Formato da resposta","sidebarTitle":"Formato da resposta","href":"/pt/api/custom-channel/formato-resposta"},{"title":"Consultar status","sidebarTitle":"Consultar status","href":"/pt/api/custom-channel/consultar-estado"},{"title":"Assinatura HMAC-SHA256","sidebarTitle":"Assinatura HMAC","href":"/pt/api/custom-channel/assinatura-hmac"}]},{"group":"Gestão de Memória","icon":"brain","pages":[{"title":"Gestão de Memória","sidebarTitle":"Introdução","href":"/pt/api/memoria/introduccion"},{"group":"Leitura","pages":[{"title":"Obter registros","sidebarTitle":"Obter registros","openapi":"POST /v2/memory/users/get-all","href":"/pt/api/memoria/obtener-registros"},{"title":"Obter um registro","sidebarTitle":"Obter um registro","openapi":"POST /v2/memory/users/find-one","href":"/pt/api/memoria/obtener-registro"}]},{"group":"Escrita","pages":[{"title":"Salvar registros","sidebarTitle":"Salvar registros","openapi":"POST /v2/memory/users/set","href":"/pt/api/memoria/guardar-registros"}]}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/pt/changelog"}]},{"tab":"Voice","pages":[{"title":"Voice","href":"/pt/guias/voice/introduction"}]}]}]},"basePath":"","title":"Atualizar campanha - Jelou AI Docs","buildId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","deploymentId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DX1Meug0.js","utils-B_OMIQVC.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-ChxhRPMa.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CuKvD8Iv.js","snippetPresets-C5d7p2hp.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CfHcE8m4.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C1zZV314.js","shallow-CmQhqCJn.js","getApiPlaygroundDisplay-YRo9s1O7.js","CodeSnippet-RN1MTdfk.js","CodeSnippets-DKLPHxJA.js","Page-BAvA99GL.js","getPastedJson-bz0M41mU.js","icon-CsmhpPrv.js","MethodPill-CNGsVE77.js","DuplicateIcon-DilfU_Z2.js","createIcon-BdsYzQck.js","DynamicMarkdown-CbqEDjbV.js","SectionHeading-O6hXpFCN.js","axios-vUo_bRtp.js","Markdown-nKm-uidQ.js","clsx-ClVdStUn.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CIQkMg3R.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-ImrFS4Fy.js"]}