{
"error": {
"code": "ERR_API_VALIDATION",
"message": "O parâmetro `application` é obrigatório e aceita \"contact\" ou \"card\"."
}
}
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Connecta DESK","description":"Documentação da API pública do Connecta DESK.","colors":{"primary":"#6600CB","light":"#A700E3","dark":"#4D0099"},"logo":{"light":"https://mintcdn.com/connectacx/Zc_LQh8Yyx38544Q/logo/light.png?fit=max\u0026auto=format\u0026n=Zc_LQh8Yyx38544Q\u0026q=85\u0026s=85d9b71a8b3fdb4f14dba571d7c0299c","dark":"https://mintcdn.com/connectacx/Zc_LQh8Yyx38544Q/logo/dark.png?fit=max\u0026auto=format\u0026n=Zc_LQh8Yyx38544Q\u0026q=85\u0026s=e1cd298dfd51f2fcd900d86d88642aba"},"favicon":"https://mintcdn.com/connectacx/s1UZNYBcmXRITwHp/favicon.png?fit=max\u0026auto=format\u0026n=s1UZNYBcmXRITwHp\u0026q=85\u0026s=b1882dd2c71739a63327ee90b4ca912b","api":{"openapi":"api-reference/openapi.yaml"},"navbar":{"primary":{"type":"button","label":"Acessar plataforma","href":"https://app.connectadesk.com"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/connectacx","instagram":"https://www.instagram.com/connecta.cx"}},"icons":{"library":"lucide"},"styling":{"latex":false},"navigation":{"languages":[{"language":"pt-BR","default":true,"navbar":{"primary":{"type":"button","label":"Acessar plataforma","href":"https://app.connectadesk.com"}},"href":"introduction"},{"language":"en","navbar":{"primary":{"type":"button","label":"Access platform","href":"https://app.connectadesk.com"}},"href":"en/introduction"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"connectacx","hasAudioNarration":false,"actualSubdomain":"connectacx","customDomains":["docs.connectadesk.com"],"gitSource":{"type":"github","owner":"connectacx","repo":"connecta-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b0a21a7a6507e80616728dc","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"pt-BR","tag":"Referência da API","count":155},{"language":"en","tag":"API Reference","count":155},{"language":"pt-BR","tag":"Endpoints","count":154},{"language":"en","tag":"Endpoints","count":154},{"language":"pt-BR","tag":"CRM","count":25},{"language":"en","tag":"CRM","count":25},{"language":"pt-BR","tag":"Produtos","count":14},{"language":"pt-BR","tag":"Relatórios","count":14},{"language":"en","tag":"Products","count":14},{"language":"en","tag":"Reports","count":14},{"language":"pt-BR","tag":"Documentação","count":13},{"language":"pt-BR","tag":"Campanhas","count":13},{"language":"pt-BR","tag":"Campos personalizados","count":13},{"language":"en","tag":"Documentation","count":13},{"language":"en","tag":"Campaigns","count":13},{"language":"en","tag":"Custom fields","count":13},{"language":"pt-BR","tag":"Contatos","count":10},{"language":"en","tag":"Contacts","count":10},{"language":"pt-BR","tag":"Qualificações","count":8},{"language":"en","tag":"Wrap-up types","count":8}]},"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":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"privacy":{"consentBanner":{"enabled":true}},"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/tickets/close-ticket","slug":"/api-reference/tickets/close-ticket","pageMetadata":{"title":"Close ticket","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /tickets/{id}/close","href":"/api-reference/tickets/close-ticket","autogeneratedByOpenApi":true},"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":"Close ticket","description":null,"deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /tickets/{id}/close","href":"/api-reference/tickets/close-ticket","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["tickets"],"summary":"Close ticket","requestBody":"673bf6e9-eaf5-4175-89f5-43a653c9cfd8","responses":{"200":"27c42ecf-40da-43e5-b219-08a906071b55","404":"8e517c50-5b60-4ac6-a9b4-883217766467","422":"2229aaf9-6b43-482b-86bb-19ad288129d7"},"method":"post","type":"path","servers":["3be57593-1160-4779-82dc-35be75306e68"],"security":["54cfd5f7-e0f8-45f0-80b3-cff08977184a"],"path":"/tickets/{id}/close","baseUrlOptions":["https://api.connectadesk.com/api/v1"],"title":"Close ticket","description":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"3e45a365-0f27-4d47-bbf1-db9fa7b623c9":{"name":"id","in":"path","required":true,"schema":{"type":"integer","isRequired":true,"uniqueKey":"","typeLabel":"integer"},"example":1042}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"wrapupTypeId":{"type":"integer","description":"Wrap-up recorded at closing.","example":12,"uniqueKey":"wrapupTypeId","typeLabel":"integer"},"wrapupNote":{"type":"string","description":"Note recorded with the wrap-up when the ticket is closed.","example":"Cliente pediu retorno na segunda.","uniqueKey":"wrapupNote","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"wrapupTypeId":12,"wrapupNote":"Cliente pediu retorno na segunda."}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"27c42ecf-40da-43e5-b219-08a906071b55":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"integer","uniqueKey":"data.id","typeLabel":"integer"},"status":{"type":"string","enum":["open","pending","closed"],"description":"Ticket status:\n\n| value | meaning |\n| --- | --- |\n| `open` | In progress, with an agent. |\n| `pending` | Waiting in the queue, with no agent. |\n| `closed` | Closed. |","uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"unreadMessages":{"type":"integer","description":"Messages the agent has not read yet.","uniqueKey":"data.unreadMessages","typeLabel":"integer"},"lastMessage":{"oneOf":[{"type":"string","uniqueKey":"data.lastMessage.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.lastMessage.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastMessage","typeLabel":"string | null"},"isGroup":{"type":"boolean","description":"The contact is a group, not a person.","uniqueKey":"data.isGroup","typeLabel":"boolean"},"automation":{"type":"boolean","description":"The conversation is with the automation (Flow), not with a person. It stays `pending`, with no agent.","uniqueKey":"data.automation","typeLabel":"boolean"},"metaWindowOpenTimestamp":{"oneOf":[{"type":"string","format":"date-time","description":"When the Meta customer service window opened (official WhatsApp channels): the customer's last message. Inside the window you can send free-form messages; outside it, only approved templates. `null` when the channel has no window or it has not opened yet.","example":"2026-08-18T14:20:03.000Z","uniqueKey":"data.metaWindowOpenTimestamp.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"When the Meta customer service window opened (official WhatsApp channels): the customer's last message. Inside the window you can send free-form messages; outside it, only approved templates. `null` when the channel has no window or it has not opened yet.","example":"2026-08-18T14:20:03.000Z","uniqueKey":"data.metaWindowOpenTimestamp.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.metaWindowOpenTimestamp","typeLabel":"string\u003cdate-time> | null"},"metaWindowType":{"oneOf":[{"type":"integer","description":"Length of the Meta window, in hours: `24` (default) or `72` (conversation started from a click-to-WhatsApp ad). The window closes at `metaWindowOpenTimestamp` + these hours.","example":24,"uniqueKey":"data.metaWindowType.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Length of the Meta window, in hours: `24` (default) or `72` (conversation started from a click-to-WhatsApp ad). The window closes at `metaWindowOpenTimestamp` + these hours.","example":24,"uniqueKey":"data.metaWindowType.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.metaWindowType","typeLabel":"integer | null"},"protocol":{"oneOf":[{"type":"object","description":"Current protocol of the ticket (the record of the current service: who is handling it, when it entered the queue, when it was answered, when it was closed). Returned by `GET /tickets`, `GET /tickets/{id}` and `PUT /tickets/{id}`; `null` when the ticket has no protocol yet. Other ticket endpoints do not include this field.","example":{"id":21877,"userId":3,"channelId":11,"startedFrom":"receptive","startedFromContact":true,"fromApi":false,"fromAutomation":false,"campaignSlug":null,"rated":false,"nps":null,"createdAt":"2026-08-18T12:03:44.001Z","queuedAt":"2026-08-18T12:03:44.120Z","startedAt":"2026-08-18T12:05:10.300Z","userFirstAnswerAt":"2026-08-18T12:05:41.002Z","lastCustomerReplyAt":"2026-08-18T14:20:03.000Z","lastOperatorReplyAt":"2026-08-18T14:27:10.556Z","finishedAt":null,"ratingAt":null,"metaData":{"pedido":"PED-48213","origem":"site"}},"properties":{"id":{"type":"integer","description":"Protocol number.","example":21877,"uniqueKey":"data.protocol.oneOf.0.id","typeLabel":"integer"},"userId":{"oneOf":[{"type":"integer","description":"Agent responsible for the protocol (the user id in the company, the same as in `/users`).","example":3,"uniqueKey":"data.protocol.oneOf.0.userId.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Agent responsible for the protocol (the user id in the company, the same as in `/users`).","example":3,"uniqueKey":"data.protocol.oneOf.0.userId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.protocol.oneOf.0.userId","typeLabel":"integer | null"},"channelId":{"oneOf":[{"type":"integer","example":11,"uniqueKey":"data.protocol.oneOf.0.channelId.oneOf.0","typeLabel":"integer"},{"type":"null","example":11,"uniqueKey":"data.protocol.oneOf.0.channelId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.protocol.oneOf.0.channelId","typeLabel":"integer | null"},"startedFrom":{"oneOf":[{"type":"string","description":"How the protocol started: `receptive` (the customer wrote), `active-manual` (the agent started it), `active-campaign`, `active-schedule`, `automation`, among others.","example":"receptive","uniqueKey":"data.protocol.oneOf.0.startedFrom.oneOf.0","typeLabel":"string"},{"type":"null","description":"How the protocol started: `receptive` (the customer wrote), `active-manual` (the agent started it), `active-campaign`, `active-schedule`, `automation`, among others.","example":"receptive","uniqueKey":"data.protocol.oneOf.0.startedFrom.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.protocol.oneOf.0.startedFrom","typeLabel":"string | null"},"startedFromContact":{"type":"boolean","description":"The conversation was started by the contact.","uniqueKey":"data.protocol.oneOf.0.startedFromContact","typeLabel":"boolean"},"fromApi":{"type":"boolean","description":"Opened through the API.","uniqueKey":"data.protocol.oneOf.0.fromApi","typeLabel":"boolean"},"fromAutomation":{"type":"boolean","description":"Opened by an automation.","uniqueKey":"data.protocol.oneOf.0.fromAutomation","typeLabel":"boolean"},"campaignSlug":{"oneOf":[{"type":"string","description":"Campaign that originated the protocol, when there is one.","uniqueKey":"data.protocol.oneOf.0.campaignSlug.oneOf.0","typeLabel":"string"},{"type":"null","description":"Campaign that originated the protocol, when there is one.","uniqueKey":"data.protocol.oneOf.0.campaignSlug.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.protocol.oneOf.0.campaignSlug","typeLabel":"string | null"},"rated":{"type":"boolean","description":"The customer answered the satisfaction survey.","uniqueKey":"data.protocol.oneOf.0.rated","typeLabel":"boolean"},"nps":{"oneOf":[{"type":"string","description":"Satisfaction survey score, when answered.","uniqueKey":"data.protocol.oneOf.0.nps.oneOf.0","typeLabel":"string"},{"type":"null","description":"Satisfaction survey score, when answered.","uniqueKey":"data.protocol.oneOf.0.nps.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.protocol.oneOf.0.nps","typeLabel":"string | null"},"createdAt":{"type":"string","format":"date-time","uniqueKey":"data.protocol.oneOf.0.createdAt","typeLabel":"string\u003cdate-time>"},"queuedAt":{"oneOf":[{"type":"string","format":"date-time","description":"Entered the queue.","uniqueKey":"data.protocol.oneOf.0.queuedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Entered the queue.","uniqueKey":"data.protocol.oneOf.0.queuedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.protocol.oneOf.0.queuedAt","typeLabel":"string\u003cdate-time> | null"},"startedAt":{"oneOf":[{"type":"string","format":"date-time","description":"An agent took over.","uniqueKey":"data.protocol.oneOf.0.startedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"An agent took over.","uniqueKey":"data.protocol.oneOf.0.startedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.protocol.oneOf.0.startedAt","typeLabel":"string\u003cdate-time> | null"},"userFirstAnswerAt":{"oneOf":[{"type":"string","format":"date-time","description":"The agent's first reply.","uniqueKey":"data.protocol.oneOf.0.userFirstAnswerAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The agent's first reply.","uniqueKey":"data.protocol.oneOf.0.userFirstAnswerAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.protocol.oneOf.0.userFirstAnswerAt","typeLabel":"string\u003cdate-time> | null"},"lastCustomerReplyAt":{"oneOf":[{"type":"string","format":"date-time","description":"The customer's last message.","uniqueKey":"data.protocol.oneOf.0.lastCustomerReplyAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The customer's last message.","uniqueKey":"data.protocol.oneOf.0.lastCustomerReplyAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.protocol.oneOf.0.lastCustomerReplyAt","typeLabel":"string\u003cdate-time> | null"},"lastOperatorReplyAt":{"oneOf":[{"type":"string","format":"date-time","description":"The company's last message.","uniqueKey":"data.protocol.oneOf.0.lastOperatorReplyAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"The company's last message.","uniqueKey":"data.protocol.oneOf.0.lastOperatorReplyAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.protocol.oneOf.0.lastOperatorReplyAt","typeLabel":"string\u003cdate-time> | null"},"finishedAt":{"oneOf":[{"type":"string","format":"date-time","description":"Closing time. `null` while the protocol is in progress.","uniqueKey":"data.protocol.oneOf.0.finishedAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Closing time. `null` while the protocol is in progress.","uniqueKey":"data.protocol.oneOf.0.finishedAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.protocol.oneOf.0.finishedAt","typeLabel":"string\u003cdate-time> | null"},"ratingAt":{"oneOf":[{"type":"string","format":"date-time","description":"Satisfaction survey answer.","uniqueKey":"data.protocol.oneOf.0.ratingAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Satisfaction survey answer.","uniqueKey":"data.protocol.oneOf.0.ratingAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.protocol.oneOf.0.ratingAt","typeLabel":"string\u003cdate-time> | null"},"metaData":{"type":"object","additionalProperties":true,"description":"Protocol data filled in by the company, by automations (variables stored during the service) or through the API, with the `metaData` field of `PUT /tickets/{id}`. Empty object when there is none.","example":{"pedido":"PED-48213","origem":"site"},"uniqueKey":"data.protocol.oneOf.0.metaData","typeLabel":"object"}},"uniqueKey":"data.protocol.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.protocol.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.protocol","typeLabel":"object | null"},"contact":{"oneOf":[{"type":"object","description":"Full contact data, with tags, custom fields and marketing fields. You do not need to call `GET /contacts/{id}` to complete the list.","example":{"id":842,"name":"Maria Silva","number":"5511987654321","numberCountry":"BR","email":"maria.silva@exemplo.com.br","code":"CLI-00842","cpfCnpj":"12345678909","origin":"site","profilePicUrl":"https://cdn.exemplo.com/avatars/842.jpg","isGroup":false,"instagramUsername":"maria.silva","lid":null,"sourceUrl":"https://loja.exemplo.com.br/promo","sourceId":"23851234567890123","headline":"Coleção de inverno","mediaType":"image","mediaUrl":"https://cdn.exemplo.com/anuncios/inverno.jpg","utmSource":"instagram","utmMedium":"cpc","utmCampaign":"inverno-2026","utmId":"6543210987","fbclid":"IwAR0xYzAbC123","gclid":null,"ctwaClid":null,"tags":[{"id":3,"name":"Cliente VIP","color":"#6941C6"}],"customFields":[{"key":"plano","value":"Ouro","customFieldId":91,"name":"Plano","type":"select"}],"lastChannel":{"id":11,"name":"Instagram Loja","type":"instagram"},"createdAt":"2026-07-14T13:22:05.412Z","updatedAt":"2026-08-18T09:41:17.883Z"},"properties":{"id":{"type":"integer","uniqueKey":"data.contact.oneOf.0.id","typeLabel":"integer"},"name":{"type":"string","description":"Display name.","uniqueKey":"data.contact.oneOf.0.name","typeLabel":"string"},"number":{"type":"string","uniqueKey":"data.contact.oneOf.0.number","typeLabel":"string"},"numberCountry":{"oneOf":[{"type":"string","description":"Country of the number, as an ISO 3166-1 alpha-2 code. Inferred from the country code when the number is saved through the API.","example":"BR","uniqueKey":"data.contact.oneOf.0.numberCountry.oneOf.0","typeLabel":"string"},{"type":"null","description":"Country of the number, as an ISO 3166-1 alpha-2 code. Inferred from the country code when the number is saved through the API.","example":"BR","uniqueKey":"data.contact.oneOf.0.numberCountry.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.contact.oneOf.0.numberCountry","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","example":"marina@exemplo.com.br","uniqueKey":"data.contact.oneOf.0.email.oneOf.0","typeLabel":"string"},{"type":"null","example":"marina@exemplo.com.br","uniqueKey":"data.contact.oneOf.0.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.contact.oneOf.0.email","typeLabel":"string | null"},"code":{"oneOf":[{"type":"string","uniqueKey":"data.contact.oneOf.0.code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.contact.oneOf.0.code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.contact.oneOf.0.code","typeLabel":"string | null"},"cpfCnpj":{"oneOf":[{"type":"string","example":"12345678909","uniqueKey":"data.contact.oneOf.0.cpfCnpj.oneOf.0","typeLabel":"string"},{"type":"null","example":"12345678909","uniqueKey":"data.contact.oneOf.0.cpfCnpj.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.contact.oneOf.0.cpfCnpj","typeLabel":"string | null"},"origin":{"oneOf":[{"type":"string","uniqueKey":"data.contact.oneOf.0.origin.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.contact.oneOf.0.origin.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.contact.oneOf.0.origin","typeLabel":"string | null"},"profilePicUrl":{"oneOf":[{"type":"string","example":"https://cdn.exemplo.com.br/avatar/1042.jpg","uniqueKey":"data.contact.oneOf.0.profilePicUrl.oneOf.0","typeLabel":"string"},{"type":"null","example":"https://cdn.exemplo.com.br/avatar/1042.jpg","uniqueKey":"data.contact.oneOf.0.profilePicUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.contact.oneOf.0.profilePicUrl","typeLabel":"string | null"},"isGroup":{"type":"boolean","description":"The contact is a group, not a person.","uniqueKey":"data.contact.oneOf.0.isGroup","typeLabel":"boolean"},"instagramUsername":{"oneOf":[{"type":"string","example":"marina.alves","uniqueKey":"data.contact.oneOf.0.instagramUsername.oneOf.0","typeLabel":"string"},{"type":"null","example":"marina.alves","uniqueKey":"data.contact.oneOf.0.instagramUsername.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.contact.oneOf.0.instagramUsername","typeLabel":"string | null"},"lid":{"oneOf":[{"type":"string","example":"178452961234567","uniqueKey":"data.contact.oneOf.0.lid.oneOf.0","typeLabel":"string"},{"type":"null","example":"178452961234567","uniqueKey":"data.contact.oneOf.0.lid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.contact.oneOf.0.lid","typeLabel":"string | null"},"sourceUrl":{"oneOf":[{"type":"string","example":"https://loja.exemplo.com.br/promo","uniqueKey":"data.contact.oneOf.0.sourceUrl.oneOf.0","typeLabel":"string"},{"type":"null","example":"https://loja.exemplo.com.br/promo","uniqueKey":"data.contact.oneOf.0.sourceUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.contact.oneOf.0.sourceUrl","typeLabel":"string | null"},"sourceId":{"oneOf":[{"type":"string","example":"23851234567890123","uniqueKey":"data.contact.oneOf.0.sourceId.oneOf.0","typeLabel":"string"},{"type":"null","example":"23851234567890123","uniqueKey":"data.contact.oneOf.0.sourceId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.contact.oneOf.0.sourceId","typeLabel":"string | null"},"headline":{"oneOf":[{"type":"string","example":"Coleção de inverno","uniqueKey":"data.contact.oneOf.0.headline.oneOf.0","typeLabel":"string"},{"type":"null","example":"Coleção de inverno","uniqueKey":"data.contact.oneOf.0.headline.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.contact.oneOf.0.headline","typeLabel":"string | null"},"mediaType":{"oneOf":[{"type":"string","example":"image","uniqueKey":"data.contact.oneOf.0.mediaType.oneOf.0","typeLabel":"string"},{"type":"null","example":"image","uniqueKey":"data.contact.oneOf.0.mediaType.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.contact.oneOf.0.mediaType","typeLabel":"string | null"},"mediaUrl":{"oneOf":[{"type":"string","example":"https://cdn.exemplo.com.br/anuncios/inverno.jpg","uniqueKey":"data.contact.oneOf.0.mediaUrl.oneOf.0","typeLabel":"string"},{"type":"null","example":"https://cdn.exemplo.com.br/anuncios/inverno.jpg","uniqueKey":"data.contact.oneOf.0.mediaUrl.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.contact.oneOf.0.mediaUrl","typeLabel":"string | null"},"utmSource":{"oneOf":[{"type":"string","example":"instagram","uniqueKey":"data.contact.oneOf.0.utmSource.oneOf.0","typeLabel":"string"},{"type":"null","example":"instagram","uniqueKey":"data.contact.oneOf.0.utmSource.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.contact.oneOf.0.utmSource","typeLabel":"string | null"},"utmMedium":{"oneOf":[{"type":"string","example":"cpc","uniqueKey":"data.contact.oneOf.0.utmMedium.oneOf.0","typeLabel":"string"},{"type":"null","example":"cpc","uniqueKey":"data.contact.oneOf.0.utmMedium.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.contact.oneOf.0.utmMedium","typeLabel":"string | null"},"utmCampaign":{"oneOf":[{"type":"string","example":"inverno-2026","uniqueKey":"data.contact.oneOf.0.utmCampaign.oneOf.0","typeLabel":"string"},{"type":"null","example":"inverno-2026","uniqueKey":"data.contact.oneOf.0.utmCampaign.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.contact.oneOf.0.utmCampaign","typeLabel":"string | null"},"utmId":{"oneOf":[{"type":"string","example":"6543210987","uniqueKey":"data.contact.oneOf.0.utmId.oneOf.0","typeLabel":"string"},{"type":"null","example":"6543210987","uniqueKey":"data.contact.oneOf.0.utmId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.contact.oneOf.0.utmId","typeLabel":"string | null"},"fbclid":{"oneOf":[{"type":"string","example":"IwAR0xYzAbC123","uniqueKey":"data.contact.oneOf.0.fbclid.oneOf.0","typeLabel":"string"},{"type":"null","example":"IwAR0xYzAbC123","uniqueKey":"data.contact.oneOf.0.fbclid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.contact.oneOf.0.fbclid","typeLabel":"string | null"},"gclid":{"oneOf":[{"type":"string","uniqueKey":"data.contact.oneOf.0.gclid.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.contact.oneOf.0.gclid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.contact.oneOf.0.gclid","typeLabel":"string | null"},"ctwaClid":{"oneOf":[{"type":"string","uniqueKey":"data.contact.oneOf.0.ctwaClid.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.contact.oneOf.0.ctwaClid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.contact.oneOf.0.ctwaClid","typeLabel":"string | null"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","uniqueKey":"data.contact.oneOf.0.tags.items.[INDEX].id","typeLabel":"integer"},"name":{"type":"string","description":"Display name.","uniqueKey":"data.contact.oneOf.0.tags.items.[INDEX].name","typeLabel":"string"},"color":{"type":"string","description":"Color in hexadecimal, with `#`.","example":"#6941C6","uniqueKey":"data.contact.oneOf.0.tags.items.[INDEX].color","typeLabel":"string"}},"uniqueKey":"data.contact.oneOf.0.tags.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.contact.oneOf.0.tags","typeLabel":"object[]"},"customFields":{"type":"array","description":"Contact custom fields that are filled in. Always included in the response, as an empty list when the contact has none.","items":{"type":"object","description":"Value of a custom field, together with the field's definition. This way you do not need to call `GET /custom-fields` to find out what field 91 is.","properties":{"key":{"oneOf":[{"type":"string","description":"Fixed identifier of the field. Use it to point to the field when saving values, because the `name` can be renamed in the panel and the integration would stop working without warning.","uniqueKey":"data.contact.oneOf.0.customFields.items.[INDEX].key.oneOf.0","typeLabel":"string"},{"type":"null","description":"Fixed identifier of the field. Use it to point to the field when saving values, because the `name` can be renamed in the panel and the integration would stop working without warning.","uniqueKey":"data.contact.oneOf.0.customFields.items.[INDEX].key.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.contact.oneOf.0.customFields.items.[INDEX].key","typeLabel":"string | null"},"value":{"type":"string","description":"Value filled in for the field, in the format defined by its type.","uniqueKey":"data.contact.oneOf.0.customFields.items.[INDEX].value","typeLabel":"string"},"customFieldId":{"type":"integer","description":"Id of the custom field definition.","example":91,"uniqueKey":"data.contact.oneOf.0.customFields.items.[INDEX].customFieldId","typeLabel":"integer"},"name":{"oneOf":[{"type":"string","description":"Display name.","uniqueKey":"data.contact.oneOf.0.customFields.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Display name.","uniqueKey":"data.contact.oneOf.0.customFields.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.contact.oneOf.0.customFields.items.[INDEX].name","typeLabel":"string | null"},"type":{"oneOf":[{"type":"string","description":"Field type, which defines the format accepted for the value.","uniqueKey":"data.contact.oneOf.0.customFields.items.[INDEX].type.oneOf.0","typeLabel":"string"},{"type":"null","description":"Field type, which defines the format accepted for the value.","uniqueKey":"data.contact.oneOf.0.customFields.items.[INDEX].type.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.contact.oneOf.0.customFields.items.[INDEX].type","typeLabel":"string | null"}},"example":{"key":"plano","value":"Ouro","customFieldId":91,"name":"Plano","type":"select"},"uniqueKey":"data.contact.oneOf.0.customFields.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.contact.oneOf.0.customFields","typeLabel":"object[]"},"lastChannel":{"oneOf":[{"type":"object","properties":{"id":{"type":"integer","uniqueKey":"data.contact.oneOf.0.lastChannel.oneOf.0.id","typeLabel":"integer"},"name":{"type":"string","description":"Display name.","uniqueKey":"data.contact.oneOf.0.lastChannel.oneOf.0.name","typeLabel":"string"},"type":{"type":"string","uniqueKey":"data.contact.oneOf.0.lastChannel.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"data.contact.oneOf.0.lastChannel.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"id":{"type":"integer"},"name":{"type":"string","description":"Display name."},"type":{"type":"string"}},"uniqueKey":"data.contact.oneOf.0.lastChannel.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.contact.oneOf.0.lastChannel","typeLabel":"object | null"},"createdAt":{"type":"string","format":"date-time","uniqueKey":"data.contact.oneOf.0.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","uniqueKey":"data.contact.oneOf.0.updatedAt","typeLabel":"string\u003cdate-time>"}},"uniqueKey":"data.contact.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"data.contact.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.contact","typeLabel":"object | null"},"queue":{"oneOf":[{"type":"object","properties":{"id":{"type":"integer","uniqueKey":"data.queue.oneOf.0.id","typeLabel":"integer"},"name":{"type":"string","description":"Display name.","uniqueKey":"data.queue.oneOf.0.name","typeLabel":"string"},"color":{"type":"string","description":"Color in hexadecimal, with `#`.","example":"#6941C6","uniqueKey":"data.queue.oneOf.0.color","typeLabel":"string"}},"uniqueKey":"data.queue.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"id":{"type":"integer"},"name":{"type":"string","description":"Display name."},"color":{"type":"string","description":"Color in hexadecimal, with `#`.","example":"#6941C6"}},"uniqueKey":"data.queue.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.queue","typeLabel":"object | null"},"user":{"oneOf":[{"type":"object","properties":{"id":{"type":"integer","uniqueKey":"data.user.oneOf.0.id","typeLabel":"integer"},"name":{"type":"string","description":"Display name.","uniqueKey":"data.user.oneOf.0.name","typeLabel":"string"}},"uniqueKey":"data.user.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"id":{"type":"integer"},"name":{"type":"string","description":"Display name."}},"uniqueKey":"data.user.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.user","typeLabel":"object | null"},"channel":{"oneOf":[{"type":"object","properties":{"id":{"type":"integer","uniqueKey":"data.channel.oneOf.0.id","typeLabel":"integer"},"name":{"type":"string","description":"Display name.","uniqueKey":"data.channel.oneOf.0.name","typeLabel":"string"},"type":{"type":"string","uniqueKey":"data.channel.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"data.channel.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"id":{"type":"integer"},"name":{"type":"string","description":"Display name."},"type":{"type":"string"}},"uniqueKey":"data.channel.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.channel","typeLabel":"object | null"},"tags":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","uniqueKey":"data.tags.items.[INDEX].id","typeLabel":"integer"},"name":{"type":"string","description":"Display name.","uniqueKey":"data.tags.items.[INDEX].name","typeLabel":"string"},"color":{"type":"string","description":"Color in hexadecimal, with `#`.","example":"#6941C6","uniqueKey":"data.tags.items.[INDEX].color","typeLabel":"string"}},"uniqueKey":"data.tags.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.tags","typeLabel":"object[]"},"createdAt":{"type":"string","format":"date-time","uniqueKey":"data.createdAt","typeLabel":"string\u003cdate-time>"},"updatedAt":{"type":"string","format":"date-time","uniqueKey":"data.updatedAt","typeLabel":"string\u003cdate-time>"}},"example":{"id":5120,"status":"open","unreadMessages":2,"lastMessage":"Perfeito, vou querer o tamanho M","isGroup":false,"automation":false,"contact":{"id":842,"name":"Maria Silva","number":"5511987654321","numberCountry":"BR","email":"maria.silva@exemplo.com.br","code":"CLI-00842","cpfCnpj":"12345678909","origin":"site","profilePicUrl":"https://cdn.exemplo.com/avatars/842.jpg","isGroup":false,"instagramUsername":"maria.silva","lid":null,"sourceUrl":"https://loja.exemplo.com.br/promo","sourceId":"23851234567890123","headline":"Coleção de inverno","mediaType":"image","mediaUrl":"https://cdn.exemplo.com/anuncios/inverno.jpg","utmSource":"instagram","utmMedium":"cpc","utmCampaign":"inverno-2026","utmId":"6543210987","fbclid":"IwAR0xYzAbC123","gclid":null,"ctwaClid":null,"tags":[{"id":3,"name":"Cliente VIP","color":"#6941C6"}],"customFields":[{"key":"plano","value":"Ouro","customFieldId":91,"name":"Plano","type":"select"}],"lastChannel":{"id":11,"name":"Instagram Loja","type":"instagram"},"createdAt":"2026-07-14T13:22:05.412Z","updatedAt":"2026-08-18T09:41:17.883Z"},"queue":{"id":13,"name":"Comercial","color":"#0E7490"},"user":{"id":3,"name":"Gabriel Goulart"},"channel":{"id":11,"name":"Instagram Loja","type":"instagram"},"tags":[{"id":3,"name":"Cliente VIP","color":"#6941C6"}],"metaWindowOpenTimestamp":"2026-08-18T14:20:03.000Z","metaWindowType":24,"protocol":{"id":21877,"userId":3,"channelId":11,"startedFrom":"receptive","startedFromContact":true,"fromApi":false,"fromAutomation":false,"campaignSlug":null,"rated":false,"nps":null,"createdAt":"2026-08-18T12:03:44.001Z","queuedAt":"2026-08-18T12:03:44.120Z","startedAt":"2026-08-18T12:05:10.300Z","userFirstAnswerAt":"2026-08-18T12:05:41.002Z","lastCustomerReplyAt":"2026-08-18T14:20:03.000Z","lastOperatorReplyAt":"2026-08-18T14:27:10.556Z","finishedAt":null,"ratingAt":null,"metaData":{"pedido":"PED-48213","origem":"site"}},"createdAt":"2026-08-18T12:03:44.001Z","updatedAt":"2026-08-18T14:27:10.556Z"},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"id":5120,"status":"open","unreadMessages":2,"lastMessage":"Perfeito, vou querer o tamanho M","isGroup":false,"automation":false,"contact":{"id":842,"name":"Maria Silva","number":"5511987654321","numberCountry":"BR","email":"maria.silva@exemplo.com.br","code":"CLI-00842","cpfCnpj":"12345678909","origin":"site","profilePicUrl":"https://cdn.exemplo.com/avatars/842.jpg","isGroup":false,"instagramUsername":"maria.silva","lid":null,"sourceUrl":"https://loja.exemplo.com.br/promo","sourceId":"23851234567890123","headline":"Coleção de inverno","mediaType":"image","mediaUrl":"https://cdn.exemplo.com/anuncios/inverno.jpg","utmSource":"instagram","utmMedium":"cpc","utmCampaign":"inverno-2026","utmId":"6543210987","fbclid":"IwAR0xYzAbC123","gclid":null,"ctwaClid":null,"tags":[{"id":3,"name":"Cliente VIP","color":"#6941C6"}],"customFields":[{"key":"plano","value":"Ouro","customFieldId":91,"name":"Plano","type":"select"}],"lastChannel":{"id":11,"name":"Instagram Loja","type":"instagram"},"createdAt":"2026-07-14T13:22:05.412Z","updatedAt":"2026-08-18T09:41:17.883Z"},"queue":{"id":13,"name":"Comercial","color":"#0E7490"},"user":{"id":3,"name":"Gabriel Goulart"},"channel":{"id":11,"name":"Instagram Loja","type":"instagram"},"tags":[{"id":3,"name":"Cliente VIP","color":"#6941C6"}],"metaWindowOpenTimestamp":"2026-08-18T14:20:03.000Z","metaWindowType":24,"protocol":{"id":21877,"userId":3,"channelId":11,"startedFrom":"receptive","startedFromContact":true,"fromApi":false,"fromAutomation":false,"campaignSlug":null,"rated":false,"nps":null,"createdAt":"2026-08-18T12:03:44.001Z","queuedAt":"2026-08-18T12:03:44.120Z","startedAt":"2026-08-18T12:05:10.300Z","userFirstAnswerAt":"2026-08-18T12:05:41.002Z","lastCustomerReplyAt":"2026-08-18T14:20:03.000Z","lastOperatorReplyAt":"2026-08-18T14:27:10.556Z","finishedAt":null,"ratingAt":null,"metaData":{"pedido":"PED-48213","origem":"site"}},"createdAt":"2026-08-18T12:03:44.001Z","updatedAt":"2026-08-18T14:27:10.556Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"8e517c50-5b60-4ac6-a9b4-883217766467":{"description":"The resource does not exist or belongs to another company. For security, the response is the same in both cases.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Fixed error code, so your system can handle each case.","example":"ERR_API_FORBIDDEN_SCOPE","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"error.details","typeLabel":"any"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"ERR_API_NOT_FOUND","message":"Registro não encontrado."}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"ERR_API_NOT_FOUND","message":"Registro não encontrado."}}}},"exampleType":"examples"}},"exampleType":"examples"},"2229aaf9-6b43-482b-86bb-19ad288129d7":{"description":"The body is well formed, but a required field is missing or a value is not accepted. For example, `application` other than `contact`/`card`, an empty `orderedIds` or a blank `name`.","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Fixed error code, so your system can handle each case.","example":"ERR_API_FORBIDDEN_SCOPE","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"details":{"oneOf":[{}],"uniqueKey":"error.details","typeLabel":"any"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":{"code":"ERR_API_VALIDATION","message":"O parâmetro `application` é obrigatório e aceita \"contact\" ou \"card\"."}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"ERR_API_VALIDATION","message":"O parâmetro `application` é obrigatório e aceita \"contact\" ou \"card\"."}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"54cfd5f7-e0f8-45f0-80b3-cff08977184a":{"apiToken":{"type":"http","scheme":"bearer","description":"API token in the `sk_live_…` format.","scopes":[],"schemeName":"apiToken"}}},"servers":{"3be57593-1160-4779-82dc-35be75306e68":{"url":"https://api.connectadesk.com/api/v1","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"API token in the `sk_live_…` format.","scopes":[],"schemeName":"apiToken"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"API token in the `sk_live_…` format.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"apiToken","name":"Authorization"}],"title":"apiToken"}]},"originalFileLocation":"api-reference/openapi.en.yaml"},"subdomain":"connectacx","siteName":"Connecta DESK","title":"Close ticket - Connecta DESK","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"pt-BR":{"href":"/introduction","matchLevel":4},"en":{"href":"/api-reference/tickets/close-ticket","matchLevel":0}}},"lastModified":"2026-11-28T00:34:56.829Z","originalFileLocation":"api-reference/tickets/close-ticket.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Connecta DESK\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/connectacx/mVa3BfMA-rex3vQM/_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/connectacx/mVa3BfMA-rex3vQM/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/connectacx/mVa3BfMA-rex3vQM/_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/connectacx/mVa3BfMA-rex3vQM/_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/connectacx/mVa3BfMA-rex3vQM/_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/connectacx/mVa3BfMA-rex3vQM/_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/connectacx/mVa3BfMA-rex3vQM/_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/connectacx/mVa3BfMA-rex3vQM/_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/connectacx/mVa3BfMA-rex3vQM/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Close ticket - Connecta DESK\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Connecta DESK\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.connectadesk.com/api-reference/tickets/close-ticket\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://connectacx.mintlify.site/_mintlify/api/og/v2?division=Tickets\u0026amp;title=Close+ticket\u0026amp;theme=ec01e76e0b1dcb7d20511983\u0026amp;signature=f932e547a8a782523bd2ece6f97c62eb94729693d7e105f76460e3c7c98e8d40\">\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=\"Close ticket - Connecta DESK\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://connectacx.mintlify.site/_mintlify/api/og/v2?division=Tickets\u0026amp;title=Close+ticket\u0026amp;theme=ec01e76e0b1dcb7d20511983\u0026amp;signature=f932e547a8a782523bd2ece6f97c62eb94729693d7e105f76460e3c7c98e8d40\">\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/connectacx/mVa3BfMA-rex3vQM/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Connecta DESK\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6600CB\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.connectadesk.com/api-reference/tickets/close-ticket\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/tickets/close-ticket.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.connectadesk.com/#organization\",\"name\":\"Connecta DESK\",\"url\":\"https://docs.connectadesk.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/connectacx/Zc_LQh8Yyx38544Q/logo/light.png?fit=max\u0026auto=format\u0026n=Zc_LQh8Yyx38544Q\u0026q=85\u0026s=85d9b71a8b3fdb4f14dba571d7c0299c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.connectadesk.com#website\",\"name\":\"Connecta DESK\",\"url\":\"https://docs.connectadesk.com\",\"publisher\":{\"@id\":\"https://docs.connectadesk.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.connectadesk.com/api-reference/tickets/close-ticket#webpage\",\"url\":\"https://docs.connectadesk.com/api-reference/tickets/close-ticket\",\"name\":\"Close ticket\",\"dateModified\":\"2026-11-28T00:34:56.829Z\",\"isPartOf\":{\"@id\":\"https://docs.connectadesk.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.connectadesk.com/api-reference/tickets/close-ticket#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.connectadesk.com/api-reference/tickets/close-ticket#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.connectadesk.com/api-reference/contacts/list-contacts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tickets\",\"item\":\"https://docs.connectadesk.com/api-reference/tickets/list-tickets\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Close ticket\",\"item\":\"https://docs.connectadesk.com/api-reference/tickets/close-ticket\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.connectadesk.com/api-reference/tickets/close-ticket#apireference\",\"headline\":\"Close ticket\",\"name\":\"Close ticket\",\"url\":\"https://docs.connectadesk.com/api-reference/tickets/close-ticket\",\"mainEntityOfPage\":{\"@id\":\"https://docs.connectadesk.com/api-reference/tickets/close-ticket#webpage\"},\"dateModified\":\"2026-11-28T00:34:56.829Z\",\"publisher\":{\"@id\":\"https://docs.connectadesk.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.connectadesk.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Connecta DESK\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Connecta DESK\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/tickets/close-ticket.md","siteName":"Connecta DESK","nav":{"global":null,"languages":[{"language":"pt-BR","default":true,"navbar":{"primary":{"type":"button","label":"Acessar plataforma","href":"https://app.connectadesk.com"}},"pages":[{"title":"pt-BR","href":"/introduction"}]},{"language":"en","navbar":{"primary":{"type":"button","label":"Access platform","href":"https://app.connectadesk.com"}},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/en/introduction"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API Reference","sidebarTitle":"Overview","href":"/en/api-reference/introduction"}]},{"group":"Endpoints","pages":[{"group":"Contacts","icon":"user","expanded":false,"pages":[{"title":"List contacts","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /contacts","href":"/api-reference/contacts/list-contacts"},{"title":"Create contact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /contacts","href":"/api-reference/contacts/create-contact"},{"title":"Create or update by number","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /contacts/upsert","href":"/api-reference/contacts/create-or-update-by-number"},{"title":"Get contact base metrics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /contacts/insights","href":"/api-reference/contacts/get-contact-base-metrics"},{"title":"Get contact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /contacts/{id}","href":"/api-reference/contacts/get-contact"},{"title":"Update contact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml put /contacts/{id}","href":"/api-reference/contacts/update-contact"},{"title":"Delete contact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml delete /contacts/{id}","href":"/api-reference/contacts/delete-contact"},{"title":"List open tickets of the contact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /contacts/{id}/tickets","href":"/api-reference/contacts/list-open-tickets-of-the-contact"},{"title":"Apply tag to the contact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml put /contacts/{contactId}/tags/{tagId}","href":"/api-reference/contacts/apply-tag-to-the-contact"},{"title":"Remove tag from the contact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml delete /contacts/{contactId}/tags/{tagId}","href":"/api-reference/contacts/remove-tag-from-the-contact"}]},{"group":"Tickets","icon":"message-square","expanded":false,"pages":[{"title":"List tickets","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /tickets","href":"/api-reference/tickets/list-tickets"},{"title":"Open ticket","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /tickets","href":"/api-reference/tickets/open-ticket"},{"title":"Get conversation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /tickets/{id}","href":"/api-reference/tickets/get-conversation"},{"title":"Update conversation","description":"Updates the conversation. To close, transfer or apply a wrap-up, prefer the specific routes (`/close`, `/transfer`, `/wrapup`).\n\nWith `automation: true`, the conversation goes to the automation (Flow) under the same rule the automations use: it becomes `pending`, with no agent. It applies to conversations with no agent and outside the satisfaction survey; a closed conversation only goes if its protocol is still open and, if it has no queue, it gets the channel's first queue. With `automation: false`, a conversation in automation goes back to the queue (`pending`).\n\nWith `metaData`, you save the data of the conversation's current protocol, the same one the response returns in `protocol`. The object you send replaces the previous one entirely, and `{}` leaves the field empty. You can send only `metaData`: in that case nothing else changes in the conversation, not even in a closed conversation. Together with other fields, `metaData` is saved after them, on the protocol that ends up as the current one.\n\nThe response includes `protocol`, so you can check the saved `metaData`.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml put /tickets/{id}","href":"/api-reference/tickets/update-conversation"},{"title":"Close ticket","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /tickets/{id}/close","href":"/api-reference/tickets/close-ticket"},{"title":"Transfer queue and/or agent","description":"Transfers the ticket to another queue, another agent, or both. The ticket moves to `pending`. Provide at least one of the two fields.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /tickets/{id}/transfer","href":"/api-reference/tickets/transfer-queue-andor-agent"}]},{"group":"Messages","icon":"send","expanded":false,"pages":[{"title":"Send message (asynchronous)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /messages","href":"/api-reference/messages/send-message-asynchronous"},{"title":"Get send status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /messages/jobs/{jobId}","href":"/api-reference/messages/get-send-status"},{"title":"Delete message","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml delete /messages/{id}","href":"/api-reference/messages/delete-message"},{"title":"List messages of the conversation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /tickets/{ticketId}/messages","href":"/api-reference/messages/list-messages-of-the-conversation"},{"title":"List messages of a protocol","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /protocols/{protocol}/messages","href":"/api-reference/messages/list-messages-of-a-protocol"}]},{"group":"Channels","icon":"smartphone","expanded":false,"pages":[{"title":"List channels","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /channels","href":"/api-reference/channels/list-channels"},{"title":"List channel templates","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /channels/{id}/templates","href":"/api-reference/channels/list-channel-templates"},{"title":"Get channel","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /channels/{id}","href":"/api-reference/channels/get-channel"}]},{"group":"Webchat","icon":"messages-square","expanded":false,"pages":[{"title":"List webchats","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /webchat","href":"/api-reference/webchat/list-webchats"},{"title":"Open (or resume) a visitor session","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /webchat/{slug}/sessions","href":"/api-reference/webchat/open-or-resume-a-visitor-session"},{"title":"Get session","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /webchat/{slug}/sessions/{sessionId}","href":"/api-reference/webchat/get-session"},{"title":"List session messages","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /webchat/{slug}/sessions/{sessionId}/messages","href":"/api-reference/webchat/list-session-messages"},{"title":"Send a visitor message","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /webchat/{slug}/sessions/{sessionId}/messages","href":"/api-reference/webchat/send-a-visitor-message"},{"title":"Mark company messages as read","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /webchat/{slug}/sessions/{sessionId}/read","href":"/api-reference/webchat/mark-company-messages-as-read"},{"title":"Close session","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /webchat/{slug}/sessions/{sessionId}/close","href":"/api-reference/webchat/close-session"}]},{"group":"Tags","icon":"tags","expanded":false,"pages":[{"title":"List tags","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /tags","href":"/api-reference/tags/list-tags"},{"title":"Create tag","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /tags","href":"/api-reference/tags/create-tag"},{"title":"Get tag usage metrics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /tags/insights","href":"/api-reference/tags/get-tag-usage-metrics"},{"title":"Get tag","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /tags/{id}","href":"/api-reference/tags/get-tag"},{"title":"Update tag","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml put /tags/{id}","href":"/api-reference/tags/update-tag"},{"title":"Delete tag","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml delete /tags/{id}","href":"/api-reference/tags/delete-tag"},{"title":"List contacts marked with the tag","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /tags/{id}/contacts","href":"/api-reference/tags/list-contacts-marked-with-the-tag"}]},{"group":"Queues","icon":"list-video","expanded":false,"pages":[{"title":"List queues","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /queues","href":"/api-reference/queues/list-queues"},{"title":"Create queue","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /queues","href":"/api-reference/queues/create-queue"},{"title":"Get queue","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /queues/{id}","href":"/api-reference/queues/get-queue"},{"title":"Update queue","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml put /queues/{id}","href":"/api-reference/queues/update-queue"},{"title":"Delete queue","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml delete /queues/{id}","href":"/api-reference/queues/delete-queue"},{"title":"Restore deleted queue","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /queues/{id}/restore","href":"/api-reference/queues/restore-deleted-queue"},{"title":"List agents of the queue","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /queues/{id}/users","href":"/api-reference/queues/list-agents-of-the-queue"}]},{"group":"Wrap-up types","icon":"award","expanded":false,"pages":[{"title":"List wrap-up types","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /wrapup-types","href":"/api-reference/wrapups/list-wrap-up-types"},{"title":"Create wrap-up type","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /wrapup-types","href":"/api-reference/wrapups/create-wrap-up-type"},{"title":"Get wrap-up type","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /wrapup-types/{id}","href":"/api-reference/wrapups/get-wrap-up-type"},{"title":"Update wrap-up type","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml put /wrapup-types/{id}","href":"/api-reference/wrapups/update-wrap-up-type"},{"title":"Delete wrap-up type","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml delete /wrapup-types/{id}","href":"/api-reference/wrapups/delete-wrap-up-type"},{"title":"Activate or deactivate wrap-up type","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml put /wrapup-types/{id}/active","href":"/api-reference/wrapups/activate-or-deactivate-wrap-up-type"},{"title":"List queues of the wrap-up type","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /wrapup-types/{id}/queues","href":"/api-reference/wrapups/list-queues-of-the-wrap-up-type"},{"title":"List wrap-up types of the queue","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /queues/{queueId}/wrapup-types","href":"/api-reference/wrapups/list-wrap-up-types-of-the-queue"}]},{"group":"Users","icon":"user-cog","expanded":false,"pages":[{"title":"List users","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /users","href":"/api-reference/users/list-users"},{"title":"Invite user to the company","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /users/invites","href":"/api-reference/users/invite-user-to-the-company"},{"title":"Revoke pending invitation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml delete /users/invites/{id}","href":"/api-reference/users/revoke-pending-invitation"},{"title":"Get service metrics per user","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /users/metrics","href":"/api-reference/users/get-service-metrics-per-user"},{"title":"Get user","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /users/{id}","href":"/api-reference/users/get-user"},{"title":"Update the user's membership in the company","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml put /users/{id}","href":"/api-reference/users/update-the-users-membership-in-the-company"},{"title":"Activate or deactivate user","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml put /users/{id}/active","href":"/api-reference/users/activate-or-deactivate-user"}]},{"group":"Permission profiles","icon":"shield-check","expanded":false,"pages":[{"title":"List permission profiles","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /profiles","href":"/api-reference/profiles/list-permission-profiles"}]},{"group":"Scheduled messages","icon":"calendar","expanded":false,"pages":[{"title":"List scheduled messages","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /schedules","href":"/api-reference/schedules/list-scheduled-messages"},{"title":"Create scheduled message","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /schedules","href":"/api-reference/schedules/create-scheduled-message"},{"title":"Get scheduled message","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /schedules/{id}","href":"/api-reference/schedules/get-scheduled-message"},{"title":"Update scheduled message","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml put /schedules/{id}","href":"/api-reference/schedules/update-scheduled-message"},{"title":"Cancel scheduled message","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml delete /schedules/{id}","href":"/api-reference/schedules/cancel-scheduled-message"},{"title":"Attach file to the scheduled message","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /schedules/{id}/media","href":"/api-reference/schedules/attach-file-to-the-scheduled-message"},{"title":"Remove the scheduled message attachment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml delete /schedules/{id}/media","href":"/api-reference/schedules/remove-the-scheduled-message-attachment"}]},{"group":"Quick replies","icon":"zap","expanded":false,"pages":[{"title":"List quick replies","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /quick-messages","href":"/api-reference/quick-messages/list-quick-replies"},{"title":"Create quick reply","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /quick-messages","href":"/api-reference/quick-messages/create-quick-reply"},{"title":"Get quick reply","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /quick-messages/{id}","href":"/api-reference/quick-messages/get-quick-reply"},{"title":"Update quick reply","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml put /quick-messages/{id}","href":"/api-reference/quick-messages/update-quick-reply"},{"title":"Delete quick reply","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml delete /quick-messages/{id}","href":"/api-reference/quick-messages/delete-quick-reply"},{"title":"Attach file to the quick reply","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /quick-messages/{id}/media","href":"/api-reference/quick-messages/attach-file-to-the-quick-reply"},{"title":"Remove the quick reply attachment","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml delete /quick-messages/{id}/media","href":"/api-reference/quick-messages/remove-the-quick-reply-attachment"}]},{"group":"Campaigns","icon":"megaphone","expanded":false,"pages":[{"title":"List campaigns","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /campaigns","href":"/api-reference/campaigns/list-campaigns"},{"title":"Create campaign","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /campaigns","href":"/api-reference/campaigns/create-campaign"},{"title":"Get campaign","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /campaigns/{id}","href":"/api-reference/campaigns/get-campaign"},{"title":"Update campaign","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml put /campaigns/{id}","href":"/api-reference/campaigns/update-campaign"},{"title":"Pause the sending","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /campaigns/{id}/pause","href":"/api-reference/campaigns/pause-the-sending"},{"title":"Resume paused campaign","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /campaigns/{id}/resume","href":"/api-reference/campaigns/resume-paused-campaign"},{"title":"Cancel campaign","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /campaigns/{id}/cancel","href":"/api-reference/campaigns/cancel-campaign"},{"title":"Restart the sending from the beginning","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /campaigns/{id}/restart","href":"/api-reference/campaigns/restart-the-sending-from-the-beginning"},{"title":"Retry those that failed for lack of RCS balance","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /campaigns/{id}/retry-no-balance/rcs","href":"/api-reference/campaigns/retry-those-that-failed-for-lack-of-rcs-balance"},{"title":"Retry those that failed for lack of WhatsApp credit","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /campaigns/{id}/retry-no-balance/whatsapp","href":"/api-reference/campaigns/retry-those-that-failed-for-lack-of-whatsapp-credit"},{"title":"Resume a campaign paused by the active contacts limit","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /campaigns/{id}/retry-active-contacts-limit","href":"/api-reference/campaigns/resume-a-campaign-paused-by-the-active-contacts-limit"},{"title":"List campaign recipients","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /campaigns/{id}/contacts","href":"/api-reference/campaigns/list-campaign-recipients"},{"title":"Get consolidated campaign result","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /campaigns/{id}/report","href":"/api-reference/campaigns/get-consolidated-campaign-result"}]},{"group":"CRM","icon":"kanban","expanded":false,"pages":[{"title":"List boards","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /crm/boards","href":"/api-reference/crm/list-boards"},{"title":"Create board","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /crm/boards","href":"/api-reference/crm/create-board"},{"title":"Get board with stages and cards","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /crm/boards/{boardId}","href":"/api-reference/crm/get-board-with-stages-and-cards"},{"title":"Update board","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml put /crm/boards/{boardId}","href":"/api-reference/crm/update-board"},{"title":"Delete board","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml delete /crm/boards/{boardId}","href":"/api-reference/crm/delete-board"},{"title":"Archive board","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /crm/boards/{boardId}/archive","href":"/api-reference/crm/archive-board"},{"title":"Restore archived board","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /crm/boards/{boardId}/restore","href":"/api-reference/crm/restore-archived-board"},{"title":"Create stage on the board","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /crm/boards/{boardId}/lists","href":"/api-reference/crm/create-stage-on-the-board"},{"title":"Search cards on the board","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /crm/boards/{boardId}/cards","href":"/api-reference/crm/search-cards-on-the-board"},{"title":"Delete stage","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml delete /crm/lists/{listId}","href":"/api-reference/crm/delete-stage"},{"title":"List statuses configured on the stage","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /crm/lists/{listId}/statuses","href":"/api-reference/crm/list-statuses-configured-on-the-stage"},{"title":"Create card","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /crm/cards","href":"/api-reference/crm/create-card"},{"title":"Write the card's custom fields","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml put /crm/cards/{cardId}/custom-fields","href":"/api-reference/crm/write-the-cards-custom-fields"},{"title":"Replace the card's products","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml put /crm/cards/{cardId}/products","href":"/api-reference/crm/replace-the-cards-products"},{"title":"Edit the card","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml put /crm/cards/{cardId}","href":"/api-reference/crm/edit-the-card"},{"title":"Delete card","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml delete /crm/cards/{cardId}","href":"/api-reference/crm/delete-card"},{"title":"Get card history","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /crm/cards/{cardId}/history","href":"/api-reference/crm/get-card-history"},{"title":"Add note to the card","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /crm/cards/{cardId}/notes","href":"/api-reference/crm/add-note-to-the-card"},{"title":"Update note","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml put /crm/cards/notes/{noteId}","href":"/api-reference/crm/update-note"},{"title":"Delete note","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml delete /crm/cards/notes/{noteId}","href":"/api-reference/crm/delete-note"},{"title":"Link or unlink contact from the card","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /crm/cards/{cardId}/contacts","href":"/api-reference/crm/link-or-unlink-contact-from-the-card"},{"title":"Choose the card's primary contact","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml put /crm/cards/{cardId}/primary-contact","href":"/api-reference/crm/choose-the-cards-primary-contact"},{"title":"List origins","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /crm/origins","href":"/api-reference/crm/list-origins"},{"title":"Delete origin","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml delete /crm/origins/{originId}","href":"/api-reference/crm/delete-origin"},{"title":"List businesses","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /crm/businesses","href":"/api-reference/crm/list-businesses"}]},{"group":"Products","icon":"package","expanded":false,"pages":[{"title":"List products","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /products","href":"/api-reference/products/list-products"},{"title":"Create product","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /products","href":"/api-reference/products/create-product"},{"title":"Get catalog summary","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /products/insights","href":"/api-reference/products/get-catalog-summary"},{"title":"Suggest an SKU from the name","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /products/generate-sku","href":"/api-reference/products/suggest-an-sku-from-the-name"},{"title":"Get product","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /products/{id}","href":"/api-reference/products/get-product"},{"title":"Update product","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml put /products/{id}","href":"/api-reference/products/update-product"},{"title":"Get sales performance","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /products/{id}/performance","href":"/api-reference/products/get-sales-performance"},{"title":"Upload the product image","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /products/{id}/image","href":"/api-reference/products/upload-the-product-image"},{"title":"Remove the product image","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml delete /products/{id}/image","href":"/api-reference/products/remove-the-product-image"},{"title":"List categories","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /product-categories","href":"/api-reference/products/list-categories"},{"title":"Create category","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /product-categories","href":"/api-reference/products/create-category"},{"title":"Get category","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /product-categories/{categoryId}","href":"/api-reference/products/get-category"},{"title":"Update category","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml put /product-categories/{categoryId}","href":"/api-reference/products/update-category"},{"title":"Delete category","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml delete /product-categories/{categoryId}","href":"/api-reference/products/delete-category"}]},{"group":"Custom fields","icon":"list-plus","expanded":false,"pages":[{"title":"List custom fields","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /custom-fields","href":"/api-reference/custom-fields/list-custom-fields"},{"title":"Create custom field","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /custom-fields","href":"/api-reference/custom-fields/create-custom-field"},{"title":"Get count by target","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /custom-fields/insights","href":"/api-reference/custom-fields/get-count-by-target"},{"title":"List existing groups","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /custom-fields/groups","href":"/api-reference/custom-fields/list-existing-groups"},{"title":"Reorder the fields within a group","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml put /custom-fields/reorder","href":"/api-reference/custom-fields/reorder-the-fields-within-a-group"},{"title":"Get custom field","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /custom-fields/{id}","href":"/api-reference/custom-fields/get-custom-field"},{"title":"Update custom field","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml put /custom-fields/{id}","href":"/api-reference/custom-fields/update-custom-field"},{"title":"Delete custom field","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml delete /custom-fields/{id}","href":"/api-reference/custom-fields/delete-custom-field"},{"title":"List global variables","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /global-variables","href":"/api-reference/custom-fields/list-global-variables"},{"title":"Create global variable","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /global-variables","href":"/api-reference/custom-fields/create-global-variable"},{"title":"Get global variable","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /global-variables/{variableId}","href":"/api-reference/custom-fields/get-global-variable"},{"title":"Update global variable","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml put /global-variables/{variableId}","href":"/api-reference/custom-fields/update-global-variable"},{"title":"Delete global variable","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml delete /global-variables/{variableId}","href":"/api-reference/custom-fields/delete-global-variable"}]},{"group":"Reports","icon":"chart-column","expanded":false,"pages":[{"title":"Get conversations report","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /reports/conversations","href":"/api-reference/reports/get-conversations-report"},{"title":"Get automations report","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /reports/automations","href":"/api-reference/reports/get-automations-report"},{"title":"Dashboard: Service","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /reports/dashboard/service","href":"/api-reference/reports/dashboard:-service"},{"title":"Dashboard: Service users table","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /reports/dashboard/service/users","href":"/api-reference/reports/dashboard:-service-users-table"},{"title":"Dashboard: Satisfaction","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /reports/dashboard/csat","href":"/api-reference/reports/dashboard:-satisfaction"},{"title":"Dashboard: Monitoring","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /reports/dashboard/monitoring","href":"/api-reference/reports/dashboard:-monitoring"},{"title":"Dashboard: users in Monitoring","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /reports/dashboard/monitoring/users","href":"/api-reference/reports/dashboard:-users-in-monitoring"},{"title":"Dashboard: a user in Monitoring","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /reports/dashboard/monitoring/users/{userId}","href":"/api-reference/reports/dashboard:-a-user-in-monitoring"},{"title":"Dashboard: queues in Monitoring","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /reports/dashboard/monitoring/queues","href":"/api-reference/reports/dashboard:-queues-in-monitoring"},{"title":"Dashboard: a queue in Monitoring","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /reports/dashboard/monitoring/queues/{queueId}","href":"/api-reference/reports/dashboard:-a-queue-in-monitoring"},{"title":"Dashboard: open conversations in Monitoring","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /reports/dashboard/monitoring/chats","href":"/api-reference/reports/dashboard:-open-conversations-in-monitoring"},{"title":"Dashboard: Usage","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /reports/dashboard/usage","href":"/api-reference/reports/dashboard:-usage"},{"title":"Dashboard: CRM tab","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /reports/dashboard/crm","href":"/api-reference/reports/dashboard:-crm-tab"},{"title":"Dashboard: CRM goals","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml get /reports/dashboard/crm/goals","href":"/api-reference/reports/dashboard:-crm-goals"}]}]}]}]}]},"basePath":"","title":"Close ticket - Connecta DESK","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"]}