{
"error": {
"code": "api_contact_tag_response_unavailable",
"message": "The contact tag changed, but its response could not be verified. Do not retry automatically.",
"correlation_id": "<string>",
"details": {
"committed": true,
"retryable": false
}
}
}
{
"error": {
"code": "api_account_resolution_unavailable",
"message": "The reachable account set could not be read.",
"correlation_id": "<string>"
}
}
Renomeie a tag identificada por tagId. A levios também atualiza o nome da tag
nas atribuições atuais dos contatos.Sua chave de API precisa do escopo contacts:write. A tag e o account_id
devem pertencer a uma conta do Instagram que a chave possa acessar.
Corpo da requisição
Envie exatamente estes campos:
account_id: o UUID da conta do Instagram.
name: o novo nome da tag.
A levios remove os espaços nas extremidades de name e reduz sequências de
espaços em branco a um único espaço. O nome normalizado deve ter de 1 a 50
caracteres. A entrada bruta pode ter no máximo 200 caracteres, e o resultado
normalizado não pode conter caracteres de controle.
A API retorna api_contact_tag_conflict quando outra tag já usa o nome
normalizado. Ela retorna api_contact_tag_in_use quando uma configuração de
automação faz referência ao nome atual. Atualize essas configurações antes
de renomear a tag.Enviar o nome normalizado atual da tag não a altera e retorna a tag atual. A
operação é idempotente.
Se a API retornar api_contact_tag_response_unavailable com
committed: true e retryable: false, a tag mudou, mas não foi possível
verificar a resposta. Não tente novamente de forma automática. Leia o
catálogo de tags atual antes de decidir se deve enviar outra requisição.
{
"error": {
"code": "api_contact_tag_response_unavailable",
"message": "The contact tag changed, but its response could not be verified. Do not retry automatically.",
"correlation_id": "<string>",
"details": {
"committed": true,
"retryable": false
}
}
}
{
"error": {
"code": "api_account_resolution_unavailable",
"message": "The reachable account set could not be read.",
"correlation_id": "<string>"
}
}
{"docsConfig":{"theme":"sequoia","$schema":"https://mintlify.com/docs.json","name":"levios","description":"API and MCP documentation for levios","colors":{"primary":"#337ABA","light":"#5795D9","dark":"#337ABA"},"logo":{"light":"https://mintcdn.com/levios/BTR5m45GHYJANZBI/logo/levios-light.png?fit=max\u0026auto=format\u0026n=BTR5m45GHYJANZBI\u0026q=85\u0026s=60d98c15c409612fcff357c5f7bbab21","dark":"https://mintcdn.com/levios/BTR5m45GHYJANZBI/logo/levios-dark.png?fit=max\u0026auto=format\u0026n=BTR5m45GHYJANZBI\u0026q=85\u0026s=cea468b6b77d9a43220b018e19dfa607","href":"https://levios.app"},"favicon":"https://mintcdn.com/levios/BTR5m45GHYJANZBI/favicon.png?fit=max\u0026auto=format\u0026n=BTR5m45GHYJANZBI\u0026q=85\u0026s=d1aef98492442f84ea1fb64b70d45846","api":{"playground":{"display":"simple","proxy":false,"credentials":false},"examples":{"defaults":"required","languages":["curl","javascript","python"]}},"navbar":{"primary":{"type":"button","label":"Open levios","href":"https://levios.app"}},"contextual":{"options":["copy","view","chatgpt","claude","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"href":""},{"language":"pt-BR","href":"pt-BR"},{"language":"es","href":"es"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"levios","hasAudioNarration":false,"actualSubdomain":"levios","customDomains":["docs.levios.app"],"gitSource":{"type":"github","owner":"luizmazini","repo":"levios-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":false},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6aa419bd73ef8df176d19a54","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"en","tag":"Build with AI","count":23},{"language":"es","tag":"Construir con IA","count":23},{"language":"pt-BR","tag":"Construir com IA","count":23},{"language":"en","tag":"API Reference","count":20},{"language":"es","tag":"Referencia de la API","count":20},{"language":"pt-BR","tag":"Referência da API","count":20},{"language":"en","tag":"Setup guides","count":15},{"language":"es","tag":"Guías de configuración","count":15},{"language":"pt-BR","tag":"Guias de configuração","count":15},{"language":"en","tag":"Documentation","count":12},{"language":"es","tag":"Documentación","count":12},{"language":"pt-BR","tag":"Documentação","count":12},{"language":"en","tag":"Guides","count":9},{"language":"es","tag":"Guías","count":9},{"language":"pt-BR","tag":"Guias","count":9},{"language":"en","tag":"Automations","count":8},{"language":"es","tag":"Automatizaciones","count":8},{"language":"pt-BR","tag":"Automações","count":8},{"language":"en","tag":"Agent Skills","count":7},{"language":"es","tag":"Skills de Agentes","count":7},{"language":"pt-BR","tag":"Skills de Agentes","count":7},{"language":"en","tag":"Contact tags","count":6},{"language":"es","tag":"Etiquetas de contacto","count":6},{"language":"pt-BR","tag":"Tags de contato","count":6},{"language":"en","tag":"Accounts","count":2},{"language":"en","tag":"Contacts","count":2},{"language":"es","tag":"Cuentas","count":2},{"language":"es","tag":"Contactos","count":2},{"language":"pt-BR","tag":"Contas","count":2},{"language":"pt-BR","tag":"Contatos","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":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":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"pt-BR/api/v1/contact-tags/update","slug":"/pt-BR/api/v1/contact-tags/update","pageMetadata":{"title":"Atualizar uma tag de contato","description":"Renomeie uma tag reutilizável de contato em uma conta do Instagram. A mudança é aplicada a todos os contatos que possuem a tag em uma chamada.","openapi":"openapi/v1.json PATCH /api/v1/contact-tags/{tagId}","href":"/pt-BR/api/v1/contact-tags/update"},"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: \"Renomeie uma tag reutilizável de contato em uma conta do Instagram. A mudança é aplicada a todos os contatos que possuem a tag em uma chamada.\"\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`,li:`li`,p:`p`,pre:`pre`,span:`span`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Renomeie a tag identificada por `,_jsx(_components.code,{children:`tagId`}),`. A levios também atualiza o nome da tag\nnas atribuições atuais dos contatos.`]}),`\n`,_jsxs(_components.p,{children:[`Sua chave de API precisa do escopo `,_jsx(_components.code,{children:`contacts:write`}),`. A tag e o `,_jsx(_components.code,{children:`account_id`}),`\ndevem pertencer a uma conta do Instagram que a chave possa acessar.`]}),`\n`,_jsx(Heading,{level:`2`,id:`corpo-da-requisição`,children:`Corpo da requisição`}),`\n`,_jsx(_components.p,{children:`Envie exatamente estes campos:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`account_id`}),`: o UUID da conta do Instagram.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`name`}),`: o novo nome da tag.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`A levios remove os espaços nas extremidades de `,_jsx(_components.code,{children:`name`}),` e reduz sequências de\nespaços em branco a um único espaço. O nome normalizado deve ter de 1 a 50\ncaracteres. A entrada bruta pode ter no máximo 200 caracteres, e o resultado\nnormalizado não pode conter caracteres de controle.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,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:`10`,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:` PATCH`}),_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://levios.app/api/v1/contact-tags/${'}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`LEVIOS_TAG_ID`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}\"`}),_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: Bearer ${'}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`LEVIOS_API_KEY`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}\"`}),_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:` @-`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` \u003c\u003c`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`JSON`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:' \"account_id\": \"${'}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`LEVIOS_ACCOUNT_ID`}),_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\": \"Qualified Lead\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`JSON`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`restrições-para-renomear`,children:`Restrições para renomear`}),`\n`,_jsxs(_components.p,{children:[`A API retorna `,_jsx(_components.code,{children:`api_contact_tag_conflict`}),` quando outra tag já usa o nome\nnormalizado. Ela retorna `,_jsx(_components.code,{children:`api_contact_tag_in_use`}),` quando uma configuração de\nautomação faz referência ao nome atual. Atualize essas configurações antes\nde renomear a tag.`]}),`\n`,_jsx(_components.p,{children:`Enviar o nome normalizado atual da tag não a altera e retorna a tag atual. A\noperação é idempotente.`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Se a API retornar `,_jsx(_components.code,{children:`api_contact_tag_response_unavailable`}),` com\n`,_jsx(_components.code,{children:`committed: true`}),` e `,_jsx(_components.code,{children:`retryable: false`}),`, a tag mudou, mas não foi possível\nverificar a resposta. Não tente novamente de forma automática. Leia o\ncatálogo de tags atual antes de decidir se deve enviar outra requisição.`]})})]})}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 uma tag de contato","description":"Renomeie uma tag reutilizável de contato em uma conta do Instagram. A mudança é aplicada a todos os contatos que possuem a tag em uma chamada.","openapi":"openapi/v1.json PATCH /api/v1/contact-tags/{tagId}","href":"/pt-BR/api/v1/contact-tags/update"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Corpo da requisição","slug":"corpo-da-requisição","depth":2,"children":[]},{"title":"Restrições para renomear","slug":"restrições-para-renomear","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["contact_tag"],"operationId":"contact_tags.update","summary":"Update a contact tag","description":"Renomeie uma tag reutilizável de contato em uma conta do Instagram. A mudança é aplicada a todos os contatos que possuem a tag em uma chamada.","parameters":["5724530f-c221-43b8-8f4c-aa9b81d80497"],"requestBody":"51d04c08-b7f3-48e9-a39f-a2b3044df0d3","x-levios-semantic-id":"api.v1.contact_tags.update","x-levios-required-scope":"contacts:write","x-levios-account-scope":"required","x-levios-effect":"write","x-levios-idempotency":"idempotent","x-levios-rate-limit":{"descriptor_id":"contact_tags.update","cost_class":"write","tenant_scope":"selected_account"},"responses":{"200":"8890410f-7324-4aa0-bb7b-a7f134dd3cc7","400":"5c52c8db-c173-4da9-8982-68e4d6e6f72f","401":"443a3f1a-c87c-4e5d-bf1a-5a084752571c","403":"b3d08c9c-fc56-4868-b3e1-65dc91be7c7e","404":"3a053e2b-1838-4683-85ec-f662470e56b6","409":"b45c51bc-c7bb-4d5a-bd14-7aa5be0ecca6","413":"65547927-a63d-4717-91cb-f13c9b607afc","415":"02532836-0449-4b6b-aecf-86df4de9cb00","422":"3db7f007-b456-4d74-86a7-e9fef7004a60","429":"96662949-66d1-4d1f-9842-08d04c43f655","500":"17ff8bc9-8ec0-4a7f-904e-ba27e4f7d099","503":"4892d3e7-cd29-40a6-8b0c-c10462ea4430"},"method":"patch","type":"path","servers":["3e34a11f-461b-4a57-a9b6-24892a88cdff"],"security":["04363182-13ef-4fa5-a86a-382cd5efb85c"],"path":"/api/v1/contact-tags/{tagId}","baseUrlOptions":["https://levios.app"],"title":"Update a contact tag","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","disableProxy":true},"dependencies":{"parameters":{"5724530f-c221-43b8-8f4c-aa9b81d80497":{"name":"tagId","in":"path","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"account_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"account_id","typeLabel":"string\u003cuuid>"},"name":{"oneOf":[{"$defs":{"PublicContactTagNameInput":{"description":"Tag name. Levios trims it, collapses whitespace, and requires a normalized length of 1–50 characters.","maxLength":200,"minLength":1,"type":"string"}},"$id":"https://levios.app/schemas/public-contact-tag-name-input-v1","$ref":"95e327ad-95e0-4157-a1d0-a858b3f9901a","$schema":"https://json-schema.org/draft/2019-09/schema#","title":"PublicContactTagNameInput","x-levios-max-serialized-bytes":65536,"x-levios-schema-version":1,"isRequired":true}],"isRequired":true,"uniqueKey":"name","typeLabel":"any"}},"required":["account_id","name"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"account_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","name":"\u003cunknown>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"8890410f-7324-4aa0-bb7b-a7f134dd3cc7":{"description":"Successful response.","headers":{"X-Correlation-ID":{"description":"Correlation identifier for this request.","schema":{"type":"string","pattern":"^[0-9A-HJKMNP-TV-Z]{26}$"}}},"content":{"application/json":{"schema":{"$defs":{"PublicContactTagMutationResult":{"additionalProperties":false,"properties":{"tag":{"additionalProperties":false,"properties":{"id":{"description":"Stable public tag UUID. Internal numeric catalog IDs are never exposed.","format":"uuid","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","type":"string"},"name":{"description":"Normalized tag name: trimmed, with consecutive whitespace collapsed to one ASCII space.","maxLength":50,"minLength":1,"pattern":"^(?!.*\\s{2})(?!\\s)(?!.*\\s$)(?!.*[\\u0000-\\u001F\\u007F]).+$","type":"string"}},"required":["id","name"],"type":"object"}},"required":["tag"],"type":"object"}},"$id":"https://levios.app/schemas/public-contact-tag-mutation-result-v1","$ref":"7e8e5a66-314d-4b54-a033-aa57f46a81d6","$schema":"https://json-schema.org/draft/2019-09/schema#","title":"PublicContactTagMutationResult","x-levios-max-serialized-bytes":65536,"x-levios-schema-version":1}}},"exampleType":"generated"},"5c52c8db-c173-4da9-8982-68e4d6e6f72f":{"description":"Error response.","headers":{"X-Correlation-ID":{"description":"Correlation identifier for this request.","schema":{"type":"string","pattern":"^[0-9A-HJKMNP-TV-Z]{26}$"}}},"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_invalid_content_length"],"isRequired":true,"uniqueKey":"oneOf.0.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["Invalid Content-Length."],"isRequired":true,"uniqueKey":"oneOf.0.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.0.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_invalid_json"],"isRequired":true,"uniqueKey":"oneOf.1.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["The request body is not valid JSON."],"isRequired":true,"uniqueKey":"oneOf.1.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.1.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_invalid_request_url"],"isRequired":true,"uniqueKey":"oneOf.2.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["The request URL is invalid."],"isRequired":true,"uniqueKey":"oneOf.2.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.2.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.2.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.2","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_invalid_utf8"],"isRequired":true,"uniqueKey":"oneOf.3.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["The request body is not valid UTF-8."],"isRequired":true,"uniqueKey":"oneOf.3.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.3.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.3.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.3","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"api_invalid_content_length","message":"Invalid Content-Length.","correlation_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"443a3f1a-c87c-4e5d-bf1a-5a084752571c":{"description":"Error response.","headers":{"X-Correlation-ID":{"description":"Correlation identifier for this request.","schema":{"type":"string","pattern":"^[0-9A-HJKMNP-TV-Z]{26}$"}},"WWW-Authenticate":{"description":"API key Bearer challenge.","schema":{"type":"string","enum":["Bearer"]}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_unauthorized"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["Authentication required."],"isRequired":true,"uniqueKey":"error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"api_unauthorized","message":"Authentication required.","correlation_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"b3d08c9c-fc56-4868-b3e1-65dc91be7c7e":{"description":"Error response.","headers":{"X-Correlation-ID":{"description":"Correlation identifier for this request.","schema":{"type":"string","pattern":"^[0-9A-HJKMNP-TV-Z]{26}$"}}},"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_account_not_granted"],"isRequired":true,"uniqueKey":"oneOf.0.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["This credential is not authorized for the request."],"isRequired":true,"uniqueKey":"oneOf.0.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.0.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_forbidden"],"isRequired":true,"uniqueKey":"oneOf.1.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["This credential is not authorized for the request."],"isRequired":true,"uniqueKey":"oneOf.1.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.1.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_scope_denied"],"isRequired":true,"uniqueKey":"oneOf.2.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["This credential is not authorized for the request."],"isRequired":true,"uniqueKey":"oneOf.2.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.2.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.2.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.2","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"api_account_not_granted","message":"This credential is not authorized for the request.","correlation_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"3a053e2b-1838-4683-85ec-f662470e56b6":{"description":"Error response.","headers":{"X-Correlation-ID":{"description":"Correlation identifier for this request.","schema":{"type":"string","pattern":"^[0-9A-HJKMNP-TV-Z]{26}$"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_contact_tag_not_found"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["The requested contact tag was not found."],"isRequired":true,"uniqueKey":"error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"api_contact_tag_not_found","message":"The requested contact tag was not found.","correlation_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"b45c51bc-c7bb-4d5a-bd14-7aa5be0ecca6":{"description":"Error response.","headers":{"X-Correlation-ID":{"description":"Correlation identifier for this request.","schema":{"type":"string","pattern":"^[0-9A-HJKMNP-TV-Z]{26}$"}}},"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_contact_tag_conflict"],"isRequired":true,"uniqueKey":"oneOf.0.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["A contact tag with that name already exists."],"isRequired":true,"uniqueKey":"oneOf.0.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.0.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_contact_tag_in_use"],"isRequired":true,"uniqueKey":"oneOf.1.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["The contact tag is referenced by an automation."],"isRequired":true,"uniqueKey":"oneOf.1.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.1.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"api_contact_tag_conflict","message":"A contact tag with that name already exists.","correlation_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"65547927-a63d-4717-91cb-f13c9b607afc":{"description":"Error response.","headers":{"X-Correlation-ID":{"description":"Correlation identifier for this request.","schema":{"type":"string","pattern":"^[0-9A-HJKMNP-TV-Z]{26}$"}}},"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_body_too_large"],"isRequired":true,"uniqueKey":"oneOf.0.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["The JSON request body exceeds 1 MiB."],"isRequired":true,"uniqueKey":"oneOf.0.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.0.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_json_too_deep"],"isRequired":true,"uniqueKey":"oneOf.1.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["The JSON request body exceeds maximum depth."],"isRequired":true,"uniqueKey":"oneOf.1.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.1.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"api_body_too_large","message":"The JSON request body exceeds 1 MiB.","correlation_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"02532836-0449-4b6b-aecf-86df4de9cb00":{"description":"Error response.","headers":{"X-Correlation-ID":{"description":"Correlation identifier for this request.","schema":{"type":"string","pattern":"^[0-9A-HJKMNP-TV-Z]{26}$"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_unsupported_media_type"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["Content-Type must be application/json."],"isRequired":true,"uniqueKey":"error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"api_unsupported_media_type","message":"Content-Type must be application/json.","correlation_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"3db7f007-b456-4d74-86a7-e9fef7004a60":{"description":"Error response.","headers":{"X-Correlation-ID":{"description":"Correlation identifier for this request.","schema":{"type":"string","pattern":"^[0-9A-HJKMNP-TV-Z]{26}$"}}},"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_contact_tag_invalid"],"isRequired":true,"uniqueKey":"oneOf.0.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["The contact tag is invalid."],"isRequired":true,"uniqueKey":"oneOf.0.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.0.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_validation_error"],"isRequired":true,"uniqueKey":"oneOf.1.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["The request does not match the declared schema."],"isRequired":true,"uniqueKey":"oneOf.1.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.1.error.correlation_id","typeLabel":"string"},"details":{"type":"object","properties":{"issues":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","minLength":1,"maxLength":64,"isRequired":true,"uniqueKey":"oneOf.1.error.details.issues.items.[INDEX].code","typeLabel":"string"},"path":{"type":"array","items":{"type":"integer","minimum":0,"uniqueKey":"oneOf.1.error.details.issues.items.[INDEX].path.items.[INDEX]","typeLabel":"integer"},"maxItems":16,"isRequired":true,"uniqueKey":"oneOf.1.error.details.issues.items.[INDEX].path","typeLabel":"integer[]"}},"required":["code","path"],"additionalProperties":false,"uniqueKey":"oneOf.1.error.details.issues.items.[INDEX]","typeLabel":"object"},"maxItems":32,"isRequired":true,"uniqueKey":"oneOf.1.error.details.issues","typeLabel":"object[]"}},"required":["issues"],"additionalProperties":false,"uniqueKey":"oneOf.1.error.details","typeLabel":"object"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"api_contact_tag_invalid","message":"The contact tag is invalid.","correlation_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"96662949-66d1-4d1f-9842-08d04c43f655":{"description":"Error response.","headers":{"X-Correlation-ID":{"description":"Correlation identifier for this request.","schema":{"type":"string","pattern":"^[0-9A-HJKMNP-TV-Z]{26}$"}},"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer","minimum":1}}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limited"],"isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["Rate limit exceeded."],"isRequired":true,"uniqueKey":"error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"rate_limited","message":"Rate limit exceeded.","correlation_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"17ff8bc9-8ec0-4a7f-904e-ba27e4f7d099":{"description":"Error response.","headers":{"X-Correlation-ID":{"description":"Correlation identifier for this request.","schema":{"type":"string","pattern":"^[0-9A-HJKMNP-TV-Z]{26}$"}}},"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_contact_tag_response_unavailable"],"isRequired":true,"uniqueKey":"oneOf.0.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["The contact tag changed, but its response could not be verified. Do not retry automatically."],"isRequired":true,"uniqueKey":"oneOf.0.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.0.error.correlation_id","typeLabel":"string"},"details":{"type":"object","properties":{"committed":{"type":"boolean","enum":[true],"isRequired":true,"uniqueKey":"oneOf.0.error.details.committed","typeLabel":"enum\u003cboolean>"},"retryable":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"oneOf.0.error.details.retryable","typeLabel":"enum\u003cboolean>"}},"required":["committed","retryable"],"additionalProperties":false,"uniqueKey":"oneOf.0.error.details","typeLabel":"object"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_internal_error"],"isRequired":true,"uniqueKey":"oneOf.1.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["The request could not be completed."],"isRequired":true,"uniqueKey":"oneOf.1.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.1.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"api_contact_tag_response_unavailable","message":"The contact tag changed, but its response could not be verified. Do not retry automatically.","correlation_id":"\u003cstring>","details":{"committed":true,"retryable":false}}}}},"exampleType":"generated"}},"exampleType":"generated"},"4892d3e7-cd29-40a6-8b0c-c10462ea4430":{"description":"Error response.","headers":{"X-Correlation-ID":{"description":"Correlation identifier for this request.","schema":{"type":"string","pattern":"^[0-9A-HJKMNP-TV-Z]{26}$"}}},"content":{"application/json":{"schema":{"oneOf":[{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_account_resolution_unavailable"],"isRequired":true,"uniqueKey":"oneOf.0.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["The reachable account set could not be read."],"isRequired":true,"uniqueKey":"oneOf.0.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.0.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.0.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["api_contact_tag_write_unavailable"],"isRequired":true,"uniqueKey":"oneOf.1.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["The contact tag could not be changed."],"isRequired":true,"uniqueKey":"oneOf.1.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.1.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.1.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.1","typeLabel":"object"},{"type":"object","required":["error"],"properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["rate_limiter_unavailable"],"isRequired":true,"uniqueKey":"oneOf.2.error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","enum":["Rate limiter unavailable."],"isRequired":true,"uniqueKey":"oneOf.2.error.message","typeLabel":"enum\u003cstring>"},"correlation_id":{"type":"string","uniqueKey":"oneOf.2.error.correlation_id","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"oneOf.2.error","typeLabel":"object"}},"additionalProperties":false,"uniqueKey":"oneOf.2","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"api_account_resolution_unavailable","message":"The reachable account set could not be read.","correlation_id":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"04363182-13ef-4fa5-a86a-382cd5efb85c":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Levios API key sent as a Bearer token.","scopes":[]}}},"servers":{"3e34a11f-461b-4a57-a9b6-24892a88cdff":{"url":"https://levios.app"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Levios API key sent as a Bearer token.","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Levios API key sent as a Bearer token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi/v1.json"},"subdomain":"levios","siteName":"levios","title":"Atualizar uma tag de contato - levios","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api/v1/contact-tags/update","matchLevel":1},"pt-BR":{"href":"/pt-BR/api/v1/contact-tags/update","matchLevel":0},"es":{"href":"/es/api/v1/contact-tags/update","matchLevel":1}}},"lastModified":"2026-08-21T07:11:45.340Z","originalFileLocation":"pt-BR/api/v1/contact-tags/update.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=\"Renomeie uma tag reutilizável de contato em uma conta do Instagram. A mudança é aplicada a todos os contatos que possuem a tag em uma chamada.\">\u003cmeta data-mint-head name=\"application-name\" content=\"levios\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/levios/Up1u333f09m-8kIg/_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/levios/Up1u333f09m-8kIg/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/levios/Up1u333f09m-8kIg/_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/levios/Up1u333f09m-8kIg/_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/levios/Up1u333f09m-8kIg/_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/levios/Up1u333f09m-8kIg/_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/levios/Up1u333f09m-8kIg/_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/levios/Up1u333f09m-8kIg/_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/levios/Up1u333f09m-8kIg/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Atualizar uma tag de contato - levios\">\u003cmeta data-mint-head property=\"og:description\" content=\"Renomeie uma tag reutilizável de contato em uma conta do Instagram. A mudança é aplicada a todos os contatos que possuem a tag em uma chamada.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"levios\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.levios.app/pt-BR/api/v1/contact-tags/update\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://levios.mintlify.site/_mintlify/api/og/v2?division=Tags+de+contato\u0026amp;title=Atualizar+uma+tag+de+contato\u0026amp;description=Renomeie+uma+tag+reutiliz%C3%A1vel+de+contato+em+uma+conta+do+Instagram.+A+mudan%C3%A7a+%C3%A9+aplicada+a+todos+os+contatos+que+possuem+a+tag+em+uma+chamada.\u0026amp;theme=872b6c51ec42f60de55eef94\u0026amp;signature=f56b89b0d8c434981186cda98bd75371227647ae1b75676128957066da0dec5f\">\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 uma tag de contato - levios\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Renomeie uma tag reutilizável de contato em uma conta do Instagram. A mudança é aplicada a todos os contatos que possuem a tag em uma chamada.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://levios.mintlify.site/_mintlify/api/og/v2?division=Tags+de+contato\u0026amp;title=Atualizar+uma+tag+de+contato\u0026amp;description=Renomeie+uma+tag+reutiliz%C3%A1vel+de+contato+em+uma+conta+do+Instagram.+A+mudan%C3%A7a+%C3%A9+aplicada+a+todos+os+contatos+que+possuem+a+tag+em+uma+chamada.\u0026amp;theme=872b6c51ec42f60de55eef94\u0026amp;signature=f56b89b0d8c434981186cda98bd75371227647ae1b75676128957066da0dec5f\">\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/levios/Up1u333f09m-8kIg/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"levios\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#337ABA\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.levios.app/pt-BR/api/v1/contact-tags/update\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/pt-BR/api/v1/contact-tags/update.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://docs.levios.app/pt-BR/api/v1/contact-tags/update\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.levios.app/api/v1/contact-tags/update\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.levios.app/es/api/v1/contact-tags/update\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.levios.app/api/v1/contact-tags/update\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.levios.app/#organization\",\"name\":\"levios\",\"url\":\"https://docs.levios.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/levios/BTR5m45GHYJANZBI/logo/levios-light.png?fit=max\u0026auto=format\u0026n=BTR5m45GHYJANZBI\u0026q=85\u0026s=60d98c15c409612fcff357c5f7bbab21\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.levios.app#website\",\"name\":\"levios\",\"url\":\"https://docs.levios.app\",\"publisher\":{\"@id\":\"https://docs.levios.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.levios.app/pt-BR/api/v1/contact-tags/update#webpage\",\"url\":\"https://docs.levios.app/pt-BR/api/v1/contact-tags/update\",\"name\":\"Atualizar uma tag de contato\",\"description\":\"Renomeie uma tag reutilizável de contato em uma conta do Instagram. A mudança é aplicada a todos os contatos que possuem a tag em uma chamada.\",\"dateModified\":\"2026-08-21T07:11:45.340Z\",\"isPartOf\":{\"@id\":\"https://docs.levios.app#website\"},\"breadcrumb\":{\"@id\":\"https://docs.levios.app/pt-BR/api/v1/contact-tags/update#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.levios.app/pt-BR/api/v1/contact-tags/update#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Tags de contato\",\"item\":\"https://docs.levios.app/pt-BR/api/v1/contact-tags/list\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Atualizar uma tag de contato\",\"item\":\"https://docs.levios.app/pt-BR/api/v1/contact-tags/update\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.levios.app/pt-BR/api/v1/contact-tags/update#apireference\",\"headline\":\"Atualizar uma tag de contato\",\"name\":\"Atualizar uma tag de contato\",\"description\":\"Renomeie uma tag reutilizável de contato em uma conta do Instagram. A mudança é aplicada a todos os contatos que possuem a tag em uma chamada.\",\"url\":\"https://docs.levios.app/pt-BR/api/v1/contact-tags/update\",\"mainEntityOfPage\":{\"@id\":\"https://docs.levios.app/pt-BR/api/v1/contact-tags/update#webpage\"},\"dateModified\":\"2026-08-21T07:11:45.340Z\",\"publisher\":{\"@id\":\"https://docs.levios.app/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.levios.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"levios\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"levios\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/pt-BR/api/v1/contact-tags/update.md","siteName":"levios","nav":{"global":null,"languages":[{"language":"en","default":true,"pages":[{"title":"en","href":"/api/v1/contact-tags/update"}]},{"language":"pt-BR","tabs":[{"tab":"Documentação","icon":"book-open","pages":[{"title":"Documentação","href":"/pt-BR"}]},{"tab":"Referência da API","icon":"terminal","groups":[{"group":"Referência","pages":[{"title":"Visão geral da API v1","href":"/pt-BR/api/v1/overview"}]},{"group":"Automações","pages":[{"title":"Listar automações","openapi":"openapi/v1.json GET /api/v1/automations","href":"/pt-BR/api/v1/automations/list"},{"title":"Criar uma automação","openapi":"openapi/v1.json POST /api/v1/automations","href":"/pt-BR/api/v1/automations/create"},{"title":"Consultar uma automação","openapi":"openapi/v1.json GET /api/v1/automations/{automationId}","href":"/pt-BR/api/v1/automations/get"},{"title":"Atualizar uma automação","openapi":"openapi/v1.json PATCH /api/v1/automations/{automationId}","href":"/pt-BR/api/v1/automations/update"},{"title":"Excluir uma automação","openapi":"openapi/v1.json DELETE /api/v1/automations/{automationId}","href":"/pt-BR/api/v1/automations/delete"},{"title":"Ativar uma automação","openapi":"openapi/v1.json POST /api/v1/automations/{automationId}/activate","href":"/pt-BR/api/v1/automations/activate"},{"title":"Desativar uma automação","openapi":"openapi/v1.json POST /api/v1/automations/{automationId}/deactivate","href":"/pt-BR/api/v1/automations/deactivate"},{"title":"Consultar métricas da automação","openapi":"openapi/v1.json GET /api/v1/automations/{automationId}/metrics","href":"/pt-BR/api/v1/automations/metrics"}]},{"group":"Contas","pages":[{"title":"Listar contas","openapi":"openapi/v1.json GET /api/v1/accounts","href":"/pt-BR/api/v1/accounts/list"},{"title":"Listar mídias do Instagram","openapi":"openapi/v1.json GET /api/v1/accounts/{accountId}/media","href":"/pt-BR/api/v1/accounts/media"}]},{"group":"Contatos","pages":[{"title":"Listar contatos","openapi":"openapi/v1.json GET /api/v1/contacts","href":"/pt-BR/api/v1/contacts/list"},{"title":"Consultar um contato","openapi":"openapi/v1.json GET /api/v1/contacts/{contactId}","href":"/pt-BR/api/v1/contacts/get"}]},{"group":"Tags de contato","pages":[{"title":"Listar tags de contato","openapi":"openapi/v1.json GET /api/v1/contact-tags","href":"/pt-BR/api/v1/contact-tags/list"},{"title":"Criar uma tag de contato","description":"Crie ou reutilize uma tag de contato normalizada em uma conta do Instagram para agrupar contatos e disparar automações com base na tag.","openapi":"openapi/v1.json POST /api/v1/contact-tags","href":"/pt-BR/api/v1/contact-tags/create"},{"title":"Atualizar uma tag de contato","openapi":"openapi/v1.json PATCH /api/v1/contact-tags/{tagId}","href":"/pt-BR/api/v1/contact-tags/update"},{"title":"Excluir uma tag de contato","description":"Exclua uma tag reutilizável de contato de uma conta do Instagram, remova-a de todos os contatos vinculados e libere o nome para novo uso.","openapi":"openapi/v1.json DELETE /api/v1/contact-tags/{tagId}","href":"/pt-BR/api/v1/contact-tags/delete"},{"title":"Adicionar uma tag a um contato","openapi":"openapi/v1.json PUT /api/v1/contacts/{contactId}/tags/{tagId}","href":"/pt-BR/api/v1/contact-tags/attach"},{"title":"Remover uma tag de um contato","openapi":"openapi/v1.json DELETE /api/v1/contacts/{contactId}/tags/{tagId}","href":"/pt-BR/api/v1/contact-tags/detach"}]},{"group":"Métricas","pages":[{"title":"Consultar métricas da conta","openapi":"openapi/v1.json GET /api/v1/metrics","href":"/pt-BR/api/v1/metrics/get"}]}]},{"tab":"Construir com IA","icon":"sparkles","pages":[{"title":"Construir com IA","href":"/pt-BR/mcp/overview"}]}]},{"language":"es","pages":[{"title":"es","href":"/es/api/v1/contact-tags/update"}]}]},"basePath":"","title":"Atualizar uma tag de contato - levios","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-BMn8tSe3.js","snippetPresets-Dl5ZrD9W.js","utils-CddEzDcs.js","style-to-object-BY3JEAdk.js","utils-Dym31Pnf.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-ZiqR8hPK.js","conditional-requirements-CFM0id0Q.js","cloneDeep-D3fPbylz.js","_Uint8Array-BcNtDki0.js","isObject-FP1Yky1u.js","Page-_aL_PM_2.js","api-description-markdown-BPoPkVJQ.js","DynamicMarkdown-QJ7LkRm3.js","CodeSnippet-Be6AcO_D.js","use-playground-group-access-CteWws2O.js","SectionHeading-DyxPTJti.js","ApiExamples-4Sf3CFhl.js","usePlaygroundInputsStore-Ck91l6q0.js","shallow-DapBSR9G.js","isEqual-Clu_sGzx.js","CodeSnippets-DAVHdSX2.js","MethodPill-CGjK-dNY.js","getPastedJson-C4YIGTOJ.js","Check2Icon-B7COpIZE.js","axios-CsQoIw0U.js","Markdown-Bquzb4Gw.js","AssistantPageLink-wSgGy_i5.js","dist-Bg48sGSz.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}