{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"GPT Maker","colors":{"primary":"#a368fb","light":"#8b54dd","dark":"#a368fb"},"logo":{"light":"https://mintcdn.com/gptmaker/4-HDRBfz6ak2lWaq/logo/horizontal-roxo.png?fit=max\u0026auto=format\u0026n=4-HDRBfz6ak2lWaq\u0026q=85\u0026s=c030699393ef1bed6e947865eb83e9ce","dark":"https://mintcdn.com/gptmaker/4-HDRBfz6ak2lWaq/logo/horizontal-white.png?fit=max\u0026auto=format\u0026n=4-HDRBfz6ak2lWaq\u0026q=85\u0026s=6e84bf08a600387766d1971b6bf9bda4"},"favicon":"https://mintcdn.com/gptmaker/4-HDRBfz6ak2lWaq/favicon.png?fit=max\u0026auto=format\u0026n=4-HDRBfz6ak2lWaq\u0026q=85\u0026s=14475c5d5ed78cd285c8a9b4f7029ced","navbar":{"links":[{"href":"https://web.whatsapp.com/send/?phone=554431421947\u0026text=Ol%C3%A1%2C%20Preciso%20de%20ajuda\u0026type=phone_number\u0026app_absent=0","label":"Suporte"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.gptmaker.ai/browse"}},"footer":{"socials":{"instagram":"https://www.instagram.com/gptmaker","linkedin":"https://www.linkedin.com/company/99544168"}},"search":{"prompt":"Buscar"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Canal do Youtube","icon":"youtube","href":"https://www.youtube.com/@GPTMaker"},{"anchor":"Whatsapp","icon":"whatsapp","href":"https://chat.whatsapp.com/CcOhvMNtwW9K5vjAtYFjHr"},{"anchor":"Discord","icon":"discord","href":"https://discord.gg/R8mZHFg6xM"},{"anchor":"Blog","icon":"newspaper","href":"https://www.gptmaker.ai/blog/"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"gptmaker","hasAudioNarration":false,"actualSubdomain":"gptmaker","customDomains":["developer.gptmaker.ai"],"gitSource":{"type":"github","owner":"gptmaker","repo":"gptmaker-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6af5ee11b736e9e01857d840","clientVersion":"0.0.4117","searchFilterCounts":[{"language":"default","tag":"API Reference","count":77},{"language":"default","tag":"Agentes","count":22},{"language":"default","tag":"Canais","count":16},{"language":"default","tag":"Documentation","count":11},{"language":"default","tag":"Chats","count":9},{"language":"default","tag":"Whatsapp","count":7},{"language":"default","tag":"MCP","count":7},{"language":"default","tag":"Treinamentos","count":4},{"language":"default","tag":"Contatos","count":4},{"language":"default","tag":"Campos customizados","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/channels/create-channel-workspace","slug":"/api-reference/channels/create-channel-workspace","pageMetadata":{"title":"Criar canal no workspace","openapi":"POST /v2/workspace/{workspaceId}/create-channel","description":"Endpoint mais atualizado para criação de canais. Permite criar um canal de forma independente, sem necessidade de vinculá-lo a um agente.","href":"/api-reference/channels/create-channel-workspace"},"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: \"Endpoint mais atualizado para criação de canais. Permite criar um canal de forma independente, sem necessidade de vinculá-lo a um agente.\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Criar canal no workspace","openapi":"POST /v2/workspace/{workspaceId}/create-channel","description":"Endpoint mais atualizado para criação de canais. Permite criar um canal de forma independente, sem necessidade de vinculá-lo a um agente.","href":"/api-reference/channels/create-channel-workspace"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Endpoint mais atualizado para criação de canais. Permite criar um canal de forma independente, sem necessidade de vinculá-lo a um agente.","parameters":["0e00c7e5-a805-4b27-925c-cb3165b912cd"],"requestBody":"905e5429-c2ae-406e-8f9f-a954ca0e368a","responses":{"200":"5bfe5f6a-b707-43da-a00e-933a6ce70d4a","403":"c1c7b753-bab8-4959-ada9-673730c536bb","500":"d0b01c15-6812-48ac-a70b-ed266a1f3408"},"method":"post","type":"path","servers":["f5d8d51a-77e2-47eb-9249-26ceeb1c9f73"],"security":["f9f3af26-451b-4414-b3d2-e0d7b5a28209"],"path":"/v2/workspace/{workspaceId}/create-channel","baseUrlOptions":["https://api.gptmaker.ai"],"title":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"0e00c7e5-a805-4b27-925c-cb3165b912cd":{"name":"workspaceId","in":"path","description":"ID do workspace","required":true,"schema":{"type":"string","isRequired":true,"description":"ID do workspace","uniqueKey":"","typeLabel":"string"}}},"requestBody":{"description":"Dados para criação do canal","required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"Nome do canal","example":"Meu Canal","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"type":{"type":"string","description":"Tipo do canal","enum":["Z_API","WHATSAPP","INSTAGRAM","CLOUD_API","TELEGRAM","WIDGET","MESSENGER","MERCADO_LIVRE","TWILIO_SMS"],"uniqueKey":"type","typeLabel":"enum\u003cstring>"},"agentId":{"oneOf":[{"type":"string","description":"ID do agente a ser vinculado ao canal (opcional). Se não informado, o canal é criado sem agente.","example":"3EB804183CD300509DF902E54CF1568E","uniqueKey":"agentId.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID do agente a ser vinculado ao canal (opcional). Se não informado, o canal é criado sem agente.","example":"3EB804183CD300509DF902E54CF1568E","uniqueKey":"agentId.oneOf.1","typeLabel":"null"}],"uniqueKey":"agentId","typeLabel":"string | null"}},"required":["name"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"name":"Meu Canal","agentId":"3EB804183CD300509DF902E54CF1568E"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"5bfe5f6a-b707-43da-a00e-933a6ce70d4a":{"description":"Canal criado com sucesso","content":{"application/json":{"schema":{"type":"object","properties":{"assistantId":{"oneOf":[{"type":"string","description":"ID do agente vinculado (quando houver)","isRequired":true,"uniqueKey":"assistantId.oneOf.0","typeLabel":"string"},{"type":"null","description":"ID do agente vinculado (quando houver)","isRequired":true,"uniqueKey":"assistantId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"assistantId","typeLabel":"string | null"},"workspace":{"type":"object","description":"Workspace do canal","properties":{"name":{"type":"string","description":"Nome do workspace","isRequired":true,"uniqueKey":"workspace.name","typeLabel":"string"},"id":{"type":"string","description":"ID do workspace","isRequired":true,"uniqueKey":"workspace.id","typeLabel":"string"}},"required":["name","id"],"additionalProperties":false,"isRequired":true,"uniqueKey":"workspace","typeLabel":"object"},"name":{"type":"string","description":"Nome do canal","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"id":{"type":"string","description":"ID do canal","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"type":{"type":"string","description":"Tipo do canal","enum":["Z_API","WHATSAPP","INSTAGRAM","CLOUD_API","TELEGRAM","WIDGET","MESSENGER","MERCADO_LIVRE","TWILIO_SMS"],"isRequired":true,"uniqueKey":"type","typeLabel":"enum\u003cstring>"}},"required":["assistantId","workspace","name","id","type"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"example":{"assistantId":null,"workspace":{"name":"Minha Empresa","id":"3EB7F3C2BDB85017727802E54CF1568E"},"name":"Canal Widget - Suporte","id":"3EC7E989CB4C50C1B8C542CD510C3BFC","type":"WIDGET"},"examples":{"Example":{"title":"Example","value":{"assistantId":null,"workspace":{"name":"Minha Empresa","id":"3EB7F3C2BDB85017727802E54CF1568E"},"name":"Canal Widget - Suporte","id":"3EC7E989CB4C50C1B8C542CD510C3BFC","type":"WIDGET"}}},"exampleType":"examples"}},"exampleType":"examples"},"c1c7b753-bab8-4959-ada9-673730c536bb":{"description":"Erro de token","content":{"application/json":{"schema":{"required":["error"],"type":"object","properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"d0b01c15-6812-48ac-a70b-ed266a1f3408":{"description":"Error","content":{"application/json":{"schema":{"required":["error"],"type":"object","properties":{"error":{"type":"string","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"f9f3af26-451b-4414-b3d2-e0d7b5a28209":{"bearerAuth":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"f5d8d51a-77e2-47eb-9249-26ceeb1c9f73":{"url":"https://api.gptmaker.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"gptmaker","siteName":"GPT Maker","title":"Criar canal no workspace - GPT Maker","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-19T22:49:38.989Z","originalFileLocation":"api-reference/channels/create-channel-workspace.mdx"},"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=\"Endpoint mais atualizado para criação de canais. Permite criar um canal de forma independente, sem necessidade de vinculá-lo a um agente.\">\u003cmeta data-mint-head name=\"application-name\" content=\"GPT Maker\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/gptmaker/6KQWYsfWmRsiJNSq/_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/gptmaker/6KQWYsfWmRsiJNSq/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/gptmaker/6KQWYsfWmRsiJNSq/_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/gptmaker/6KQWYsfWmRsiJNSq/_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/gptmaker/6KQWYsfWmRsiJNSq/_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/gptmaker/6KQWYsfWmRsiJNSq/_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/gptmaker/6KQWYsfWmRsiJNSq/_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/gptmaker/6KQWYsfWmRsiJNSq/_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/gptmaker/6KQWYsfWmRsiJNSq/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Criar canal no workspace - GPT Maker\">\u003cmeta data-mint-head property=\"og:description\" content=\"Endpoint mais atualizado para criação de canais. Permite criar um canal de forma independente, sem necessidade de vinculá-lo a um agente.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"GPT Maker\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developer.gptmaker.ai/api-reference/channels/create-channel-workspace\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://gptmaker.mintlify.site/_mintlify/api/og/v2?division=Canais\u0026amp;title=Criar+canal+no+workspace\u0026amp;description=Endpoint+mais+atualizado+para+cria%C3%A7%C3%A3o+de+canais.+Permite+criar+um+canal+de+forma+independente%2C+sem+necessidade+de+vincul%C3%A1-lo+a+um+agente.\u0026amp;theme=4753ff555ebf160a5b391456\u0026amp;signature=0c3abe5b7a91d5656d5c4b5a8006063ed695ffbba62108304e7ecf3acd294fcc\">\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=\"Criar canal no workspace - GPT Maker\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Endpoint mais atualizado para criação de canais. Permite criar um canal de forma independente, sem necessidade de vinculá-lo a um agente.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://gptmaker.mintlify.site/_mintlify/api/og/v2?division=Canais\u0026amp;title=Criar+canal+no+workspace\u0026amp;description=Endpoint+mais+atualizado+para+cria%C3%A7%C3%A3o+de+canais.+Permite+criar+um+canal+de+forma+independente%2C+sem+necessidade+de+vincul%C3%A1-lo+a+um+agente.\u0026amp;theme=4753ff555ebf160a5b391456\u0026amp;signature=0c3abe5b7a91d5656d5c4b5a8006063ed695ffbba62108304e7ecf3acd294fcc\">\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/gptmaker/6KQWYsfWmRsiJNSq/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"GPT Maker\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#a368fb\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developer.gptmaker.ai/api-reference/channels/create-channel-workspace\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/channels/create-channel-workspace.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developer.gptmaker.ai/#organization\",\"name\":\"GPT Maker\",\"url\":\"https://developer.gptmaker.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/gptmaker/4-HDRBfz6ak2lWaq/logo/horizontal-roxo.png?fit=max\u0026auto=format\u0026n=4-HDRBfz6ak2lWaq\u0026q=85\u0026s=c030699393ef1bed6e947865eb83e9ce\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developer.gptmaker.ai#website\",\"name\":\"GPT Maker\",\"url\":\"https://developer.gptmaker.ai\",\"publisher\":{\"@id\":\"https://developer.gptmaker.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developer.gptmaker.ai/api-reference/channels/create-channel-workspace#webpage\",\"url\":\"https://developer.gptmaker.ai/api-reference/channels/create-channel-workspace\",\"name\":\"Criar canal no workspace\",\"description\":\"Endpoint mais atualizado para criação de canais. Permite criar um canal de forma independente, sem necessidade de vinculá-lo a um agente.\",\"dateModified\":\"2026-08-19T22:49:38.989Z\",\"isPartOf\":{\"@id\":\"https://developer.gptmaker.ai#website\"},\"breadcrumb\":{\"@id\":\"https://developer.gptmaker.ai/api-reference/channels/create-channel-workspace#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.gptmaker.ai/api-reference/channels/create-channel-workspace#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Canais\",\"item\":\"https://developer.gptmaker.ai/api-reference/channels/list-channels\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Criar canal no workspace\",\"item\":\"https://developer.gptmaker.ai/api-reference/channels/create-channel-workspace\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://developer.gptmaker.ai/api-reference/channels/create-channel-workspace#apireference\",\"headline\":\"Criar canal no workspace\",\"name\":\"Criar canal no workspace\",\"description\":\"Endpoint mais atualizado para criação de canais. Permite criar um canal de forma independente, sem necessidade de vinculá-lo a um agente.\",\"url\":\"https://developer.gptmaker.ai/api-reference/channels/create-channel-workspace\",\"mainEntityOfPage\":{\"@id\":\"https://developer.gptmaker.ai/api-reference/channels/create-channel-workspace#webpage\"},\"dateModified\":\"2026-08-19T22:49:38.989Z\",\"publisher\":{\"@id\":\"https://developer.gptmaker.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://developer.gptmaker.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"GPT Maker\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"GPT Maker\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/channels/create-channel-workspace.md","siteName":"GPT Maker","nav":{"global":{"anchors":[{"anchor":"Canal do Youtube","icon":"youtube","href":"https://www.youtube.com/@GPTMaker"},{"anchor":"Whatsapp","icon":"whatsapp","href":"https://chat.whatsapp.com/CcOhvMNtwW9K5vjAtYFjHr"},{"anchor":"Discord","icon":"discord","href":"https://discord.gg/R8mZHFg6xM"},{"anchor":"Blog","icon":"newspaper","href":"https://www.gptmaker.ai/blog/"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Introdução","href":"/api-reference/introduction"}]},{"group":"Workspace","pages":[{"title":"Lista os workspaces","openapi":"GET /v2/workspaces","href":"/api-reference/workspace/list"},{"title":"Saldo de créditos","openapi":"GET /v2/workspace/{workspaceId}/credits","href":"/api-reference/workspace/credits"}]},{"group":"Agentes","pages":[{"title":"Lista agentes","openapi":"GET /v2/workspace/{workspaceId}/agents","href":"/api-reference/workspace/list-agent"},{"title":"Criar agente","openapi":"POST /v2/workspace/{workspaceId}/agents","href":"/api-reference/workspace/create-agent"},{"title":"Deletar agente","openapi":"DELETE /v2/agent/{agentId}","href":"/api-reference/agents/delete-agent"},{"title":"Buscar agente por ID","openapi":"GET /v2/agent/{agentId}","href":"/api-reference/agents/get-by-id"},{"title":"Consumo de créditos","openapi":"GET /v2/agent/{agentId}/credits-spent","href":"/api-reference/agents/credits-spent"},{"title":"Atualizar o agente","openapi":"PUT /v2/agent/{agentId}","href":"/api-reference/agents/update"},{"title":"Inativar agente","openapi":"PUT /v2/agent/{agentId}/inactive","href":"/api-reference/agents/inactive"},{"title":"Ativar agente","openapi":"PUT /v2/agent/{agentId}/active","href":"/api-reference/agents/active"},{"title":"Pegar configurações","openapi":"GET /v2/agent/{agentId}/settings","href":"/api-reference/agents/get-settings"},{"title":"Atualizar configurações","openapi":"PUT /v2/agent/{agentId}/settings","href":"/api-reference/agents/settings"},{"title":"Pegar Webhooks","openapi":"GET /v2/agent/{agentId}/webhooks","href":"/api-reference/agents/get-webhooks"},{"title":"Atualizar webhooks","openapi":"PUT /v2/agent/{agentId}/webhooks","href":"/api-reference/agents/webhooks"},{"title":"Conversar com agente","openapi":"POST /v2/agent/{agentId}/conversation","href":"/api-reference/agents/conversation"},{"title":"Adicionar contexto","openapi":"POST /v2/agent/{agentId}/add-message","href":"/api-reference/agents/add-context"},{"title":"Listar histórico de comportamento","openapi":"GET /v2/agent/{id}/list-behavior-history","href":"/api-reference/agents/list-behavior-history"}]},{"group":"Treinamentos","pages":[{"title":"Listar treinamentos","openapi":"GET /v2/agent/{agentId}/trainings","href":"/api-reference/agents/list-trainings"},{"title":"Criar treinamento","openapi":"POST /v2/agent/{agentId}/trainings","href":"/api-reference/agents/create-training"},{"title":"Atualizar treinamento","openapi":"PUT /v2/training/{trainingId}","href":"/api-reference/trainings/update-training"},{"title":"Remover treinamento","openapi":"DELETE /v2/training/{trainingId}","href":"/api-reference/trainings/delete-training"}]},{"group":"Campos customizados","pages":[{"title":"Listar campos","openapi":"GET /v2/custom-field/workspace/{workspaceId}","href":"/api-reference/custom-field/list-custom-field"},{"title":"Criar campo","openapi":"POST /v2/custom-field/workspace/{workspaceId}","href":"/api-reference/custom-field/create-custom-field"},{"title":"Atualizar campos","openapi":"PUT /v2/custom-field/{customfieldId}","href":"/api-reference/custom-field/update-custom-field"},{"title":"Arquivar campo","openapi":"PUT /v2/custom-field/toggle-archive/{customfieldId}","href":"/api-reference/custom-field/archive-custom-field"}]},{"group":"Ações de inatividade","pages":[{"title":"Listar Ações","openapi":"GET /v2/agent/{agentId}/idle-actions","href":"/api-reference/idle-actions/list-idle-actions"},{"title":"Criar Ações","openapi":"POST /v2/agent/{agentId}/idle-actions","href":"/api-reference/idle-actions/create-idle-actions"},{"title":"Atualizar Ações","openapi":"PUT /v2/agent/{agentId}/idle-actions","href":"/api-reference/idle-actions/update-idle-actions"},{"title":"Deletar Ações","openapi":"DELETE /v2/agent/{agentId}/idle-actions","href":"/api-reference/idle-actions/delete-idle-actions"}]},{"group":"Regras de transferência","pages":[{"title":"Listar regras","openapi":"GET /v2/agent/{id}/transfer-rules","href":"/api-reference/transfer-rules/list-transfer-rules"},{"title":"Criar regras","openapi":"POST /v2/agent/{agentId}/transfer-rules","href":"/api-reference/transfer-rules/create-transfer-rules"},{"title":"Atualizar regra","openapi":"PUT /v2/agent/{agentId}/transfer-rules/{transfer-rule-id}","href":"/api-reference/transfer-rules/update-transfer-rules"},{"title":"Deletar regra","openapi":"DELETE /v2/agent/{agentId}/transfer-rules/{transfer-rule-id}","href":"/api-reference/transfer-rules/delete-transfer-rules"}]},{"group":"Intenções","pages":[{"title":"Listar intenções","openapi":"GET /v2/agent/{agentId}/intentions","href":"/api-reference/intentions/list-intentions"},{"title":"Criar intenção","openapi":"POST /v2/agent/{agentId}/intentions","href":"/api-reference/intentions/create-intention"},{"title":"Atualizar intenção","openapi":"PUT /v2/intention/{intentionId}","href":"/api-reference/intentions/update-intention"},{"title":"Remover intenção","openapi":"DELETE /v2/intention/{intentionId}","href":"/api-reference/intentions/delete-intention"}]},{"group":"MCP","pages":[{"title":"Criar conexão MCP","openapi":"POST /v2/agent/{agentId}/mcp/add","href":"/api-reference/mcp/add"},{"title":"Conectar MCP","openapi":"POST /v2/mcp/connect","href":"/api-reference/mcp/connect"},{"title":"Listar ferramentas","openapi":"GET /v2/mcp/{mcpId}/tools","href":"/api-reference/mcp/list-tools"},{"title":"Ativar ferramenta","openapi":"GET /v2/mcp/{mcpId}/tool/{toolId}/active","href":"/api-reference/mcp/active-tool"},{"title":"Inativar ferramenta","openapi":"GET /v2/mcp/{mcpId}/tool/{toolId}/inactive","href":"/api-reference/mcp/inactive-tool"},{"title":"Sincronizar ferramentas","openapi":"GET /v2/mcp/{mcpId}/sync-tools","href":"/api-reference/mcp/sync-tools"},{"title":"Deletar MCP","openapi":"DELETE /v2/mcp/{mcpId}","href":"/api-reference/mcp/delete-mcp"}]},{"group":"Chats","pages":[{"title":"Listar chats","openapi":"GET /v2/workspace/{workspaceId}/chats","href":"/api-reference/chats/list-chats"},{"title":"Deletar chat","openapi":"DELETE /v2/chat/{chatId}","href":"/api-reference/chats/delete-chat"},{"title":"Listar mensagens","openapi":"GET /v2/chat/{chatId}/messages","href":"/api-reference/chats/list-messages"},{"title":"Deletar mensagens","openapi":"DELETE /v2/chat/{chatId}/messages","href":"/api-reference/chats/delete-messages"},{"title":"Assumir atendimento","openapi":"PUT /v2/chat/{chatId}/start-human","href":"/api-reference/chats/start-human"},{"title":"Encerrar atendimento","openapi":"PUT /v2/chat/{chatId}/stop-human","href":"/api-reference/chats/stop-human"},{"title":"Enviar mensagem","openapi":"POST /v2/chat/{chatId}/send-message","href":"/api-reference/chats/send-message"},{"title":"Deletar mensagem","openapi":"DELETE /v2/chat/{chatId}/message/{messageId}","href":"/api-reference/chats/delete-message"},{"title":"Editar mensagem","openapi":"PUT /v2/chat/{chatId}/message/{messageId}","href":"/api-reference/chats/edit-message"}]},{"group":"Contatos","pages":[{"title":"Buscar contatos","openapi":"GET /v2/workspace/{workspaceId}/search","href":"/api-reference/contacts/search-contacts"},{"title":"Buscar Contato","openapi":"GET /v2/workspace/{workspaceId}/contact/{contactId}","href":"/api-reference/contacts/get-contact-by-id"},{"title":"Atualizar contato","openapi":"PUT /v2/contact/{contactId}/update","href":"/api-reference/contacts/update-contact"},{"title":"Deletar Contato","openapi":"DELETE /v2/contact/{contactId}/delete","href":"/api-reference/contacts/delete-contact-by-id"}]},{"group":"Atendimentos","pages":[{"title":"Listar atendimentos","openapi":"GET /v2/workspace/{workspaceId}/interactions","href":"/api-reference/interactions/list-interactions"},{"title":"Mensagens do atendimento","openapi":"GET /v2/interaction/{interactionId}/messages","href":"/api-reference/interactions/list-messages"},{"title":"Deletar atendimento","openapi":"DELETE /v2/interaction/{id}","href":"/api-reference/interactions/delete-interactions"}]},{"group":"Canais","pages":[{"title":"Listar canais","openapi":"GET /v2/agent/{agentId}/search","href":"/api-reference/channels/list-channels"},{"title":"Listar canais do workspace","openapi":"GET /v2/workspace/{workspaceId}/channels","description":"Este é o endpoint mais atualizado para listagem de canais, onde os canais são gerenciados separadamente dos agentes (desmembrados), refletindo a nova estrutura do sistema.","href":"/api-reference/channels/list-channels2"},{"title":"Criar canal no workspace","openapi":"POST /v2/workspace/{workspaceId}/create-channel","href":"/api-reference/channels/create-channel-workspace"},{"title":"Remover canal","openapi":"DELETE /v2/channel/{channelId}","description":"Remover canal","href":"/api-reference/channels/remove-channel"},{"title":"Editar canal","openapi":"PUT /v2/channel/{channelId}","href":"/api-reference/channels/edit-channel"},{"title":"Listar configurações do canal","openapi":"GET /v2/channel/{channelId}/config","href":"/api-reference/channels/list-channel-config"},{"title":"Atualizar configurações do canal","openapi":"PUT /v2/channel/{id}/config","href":"/api-reference/channels/edit-channel-config"},{"group":"Widget","pages":[{"title":"Configurações","openapi":"PUT /v2/channel/{channelId}/widget-settings","href":"/api-reference/channels/widget/update-settings"},{"title":"Pegar links","openapi":"GET /v2/channel/{channelId}/widget-links","href":"/api-reference/channels/widget/get-links"}]},{"group":"Whatsapp","pages":[{"title":"Iniciar conversa","openapi":"POST /v2/channel/{channelId}/start-conversation","href":"/api-reference/channels/start-conversation"},{"title":"Pegar QrCode","openapi":"GET /v2/channel/{channelId}/qr-code","href":"/api-reference/channels/qr-code"},{"title":"Executar ação da Z-API (POST)","openapi":"POST /v2/channel/{channelId}/whatsapp/{action}","href":"/api-reference/channels/zapi-proxy-post"},{"title":"Executar ação da Z-API (GET)","openapi":"GET /v2/channel/{channelId}/whatsapp/{action}","href":"/api-reference/channels/zapi-proxy-get"},{"title":"Executar ação da Z-API (PUT)","openapi":"PUT /v2/channel/{channelId}/whatsapp/{action}","href":"/api-reference/channels/zapi-proxy-put"},{"title":"Executar ação da Z-API (PATCH)","openapi":"PATCH /v2/channel/{channelId}/whatsapp/{action}","href":"/api-reference/channels/zapi-proxy-patch"},{"title":"Executar ação da Z-API (DELETE)","openapi":"DELETE /v2/channel/{channelId}/whatsapp/{action}","href":"/api-reference/channels/zapi-proxy-delete"}]}]}]}]},"basePath":"","title":"Criar canal no workspace - GPT Maker","buildId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","deploymentId":"dpl_41S5Z2jG9QnfDRwN1KZrLdBwj7DM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DDP9JXtj.js","utils-8yQyvEtx.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-CBCFR8Sn.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-rQaXkUHa.js","snippetPresets-J5KpBTgV.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BVxVH4Cj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BxdQ2vIi.js","shallow-BjV2tFiD.js","getApiPlaygroundDisplay-C_55tL4O.js","CodeSnippet-C0JpiCOC.js","CodeSnippets-w9Ps7djG.js","Page-DTNSD-0M.js","getPastedJson-BDfB-H8d.js","icon-g-kUkkO9.js","MethodPill-v4l6fq0h.js","DuplicateIcon-CvLo-CfU.js","createIcon-165clrrV.js","DynamicMarkdown-D3RQ-fEj.js","SectionHeading-vvo-3yLf.js","axios-vUo_bRtp.js","Markdown-CMT1uFWQ.js","clsx-C8f2yC9R.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CI2D8R2Y.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-k78Wrw_e.js"]}