Attaches an image, video, document or audio file to the schedule. Use it when you want to replace
only the file. The attachment can also be sent along with the schedule’s POST and PUT.
Audio is converted to OGG/Opus, the format WhatsApp accepts as a voice message.
A new attachment replaces the previous one, and the old file’s space goes back to your storage quota.
The same editing rule applies: only schedules in PENDENTE or ERRO accept attachments.
{
"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/schedules/attach-file-to-the-scheduled-message","slug":"/api-reference/schedules/attach-file-to-the-scheduled-message","pageMetadata":{"title":"Attach file to the scheduled message","description":"Attaches an image, video, document or audio file to the schedule. Use it when you want to replace\nonly the file. The attachment can also be sent along with the schedule's `POST` and `PUT`.\n\nAudio is converted to OGG/Opus, the format WhatsApp accepts as a voice message.\nA new attachment replaces the previous one, and the old file's space goes back to your storage quota.\n\nThe same editing rule applies: only schedules in `PENDENTE` or `ERRO` accept attachments.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /schedules/{id}/media","href":"/api-reference/schedules/attach-file-to-the-scheduled-message","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Attaches an image, video, document or audio file to the schedule. Use it when you want to replace\\nonly the file. The attachment can also be sent along with the schedule’s \", _jsx(_components.code, {\n children: \"POST\"\n }), \" and \", _jsx(_components.code, {\n children: \"PUT\"\n }), \".\"]\n }), \"\\n\", _jsx(_components.p, {\n children: \"Audio is converted to OGG/Opus, the format WhatsApp accepts as a voice message.\\nA new attachment replaces the previous one, and the old file’s space goes back to your storage quota.\"\n }), \"\\n\", _jsxs(_components.p, {\n children: [\"The same editing rule applies: only schedules in \", _jsx(_components.code, {\n children: \"PENDENTE\"\n }), \" or \", _jsx(_components.code, {\n children: \"ERRO\"\n }), \" accept attachments.\"]\n })]\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":"Attach file to the scheduled message","description":"Attaches an image, video, document or audio file to the schedule. Use it when you want to replace\nonly the file. The attachment can also be sent along with the schedule's `POST` and `PUT`.\n\nAudio is converted to OGG/Opus, the format WhatsApp accepts as a voice message.\nA new attachment replaces the previous one, and the old file's space goes back to your storage quota.\n\nThe same editing rule applies: only schedules in `PENDENTE` or `ERRO` accept attachments.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.en.yaml post /schedules/{id}/media","href":"/api-reference/schedules/attach-file-to-the-scheduled-message","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["schedules"],"summary":"Attach file to the scheduled message","description":"Attaches an image, video, document or audio file to the schedule. Use it when you want to replace\nonly the file. The attachment can also be sent along with the schedule's `POST` and `PUT`.\n\nAudio is converted to OGG/Opus, the format WhatsApp accepts as a voice message.\nA new attachment replaces the previous one, and the old file's space goes back to your storage quota.\n\nThe same editing rule applies: only schedules in `PENDENTE` or `ERRO` accept attachments.","requestBody":"8a111017-2b31-423b-9f72-70465ad64c30","responses":{"200":"e445bb37-4688-43c1-9da3-c057ae23beeb","400":"9f814d07-2628-4354-9f1c-2aa261af22b9","404":"3ce90c2a-3bf2-4f0d-aa88-38c29cda16e1","409":"95f77a49-8a46-4f52-a278-573b0a8e0ee4","422":"efea9091-6729-41e7-b4a4-22c9fecca7f3"},"method":"post","type":"path","servers":["3be57593-1160-4779-82dc-35be75306e68"],"security":["54cfd5f7-e0f8-45f0-80b3-cff08977184a"],"path":"/schedules/{id}/media","baseUrlOptions":["https://api.connectadesk.com/api/v1"],"title":"Attach file to the scheduled message","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"d28db4fa-70ad-4769-b698-2e0c3c63bf1c":{"name":"id","in":"path","required":true,"schema":{"type":"integer","isRequired":true,"uniqueKey":"","typeLabel":"integer"},"example":1042}},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"type":"string","format":"binary","isRequired":true,"uniqueKey":"file","typeLabel":"file"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"file":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"e445bb37-4688-43c1-9da3-c057ae23beeb":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"integer","uniqueKey":"data.id","typeLabel":"integer"},"body":{"type":"string","uniqueKey":"data.body","typeLabel":"string"},"sendAt":{"type":"string","format":"date-time","example":"2026-09-15T09:00:00.000Z","uniqueKey":"data.sendAt","typeLabel":"string\u003cdate-time>"},"sentAt":{"oneOf":[{"type":"string","format":"date-time","uniqueKey":"data.sentAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","uniqueKey":"data.sentAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.sentAt","typeLabel":"string\u003cdate-time> | null"},"status":{"oneOf":[{"type":"string","uniqueKey":"data.status.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.status","typeLabel":"string | 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"},"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"},"channelId":{"oneOf":[{"type":"integer","example":4,"uniqueKey":"data.channelId.oneOf.0","typeLabel":"integer"},{"type":"null","example":4,"uniqueKey":"data.channelId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.channelId","typeLabel":"integer | null"},"mediaPath":{"oneOf":[{"type":"string","uniqueKey":"data.mediaPath.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.mediaPath.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.mediaPath","typeLabel":"string | null"},"mediaName":{"oneOf":[{"type":"string","uniqueKey":"data.mediaName.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.mediaName.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.mediaName","typeLabel":"string | null"},"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":318,"body":"Oi {{name}}, sua reserva vence amanhã!","sendAt":"2026-08-20T13:00:00.000Z","sentAt":null,"status":"pending","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"},"user":{"id":3,"name":"Gabriel Goulart"},"channelId":11,"mediaPath":null,"mediaName":null,"createdAt":"2026-08-18T15:10:00.000Z","updatedAt":"2026-08-18T15:10:00.000Z"},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"id":318,"body":"Oi {{name}}, sua reserva vence amanhã!","sendAt":"2026-08-20T13:00:00.000Z","sentAt":null,"status":"pending","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"},"user":{"id":3,"name":"Gabriel Goulart"},"channelId":11,"mediaPath":null,"mediaName":null,"createdAt":"2026-08-18T15:10:00.000Z","updatedAt":"2026-08-18T15:10:00.000Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"9f814d07-2628-4354-9f1c-2aa261af22b9":{"description":"Invalid request body.","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 campo `number` é obrigatório."}},"examples":{"Example":{"title":"Example","value":{"error":{"code":"ERR_API_VALIDATION","message":"O campo `number` é obrigatório."}}}},"exampleType":"examples"}},"exampleType":"examples"},"3ce90c2a-3bf2-4f0d-aa88-38c29cda16e1":{"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"},"95f77a49-8a46-4f52-a278-573b0a8e0ee4":{"description":"The schedule's current status does not allow attachments.","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"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"ERR_API_FORBIDDEN_SCOPE","message":"\u003cstring>","details":"\u003cunknown>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"efea9091-6729-41e7-b4a4-22c9fecca7f3":{"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":"Attach file to the scheduled message - Connecta DESK","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"pt-BR":{"href":"/introduction","matchLevel":4},"en":{"href":"/api-reference/schedules/attach-file-to-the-scheduled-message","matchLevel":0}}},"lastModified":"2026-11-28T00:34:57.998Z","originalFileLocation":"api-reference/schedules/attach-file-to-the-scheduled-message.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=\"description\" content=\"Attaches an image, video, document or audio file to the schedule. Use it when you want to replace only the file. The attachment can also be sent along with the schedule\u0026#x27;s POST and PUT. Audio is converted to OGG/Opus, the format WhatsApp accepts as a voice message. A new attachment replaces the previous one, and the old file\u0026#x27;s space goes back to your storage quota. The same editing rule applies: only schedules in PENDENTE or ERRO accept attachments.\">\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=\"Attach file to the scheduled message - Connecta DESK\">\u003cmeta data-mint-head property=\"og:description\" content=\"Attaches an image, video, document or audio file to the schedule. Use it when you want to replace only the file. The attachment can also be sent along with the schedule\u0026#x27;s POST and PUT. Audio is converted to OGG/Opus, the format WhatsApp accepts as a voice message. A new attachment replaces the previous one, and the old file\u0026#x27;s space goes back to your storage quota. The same editing rule applies: only schedules in PENDENTE or ERRO accept attachments.\">\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/schedules/attach-file-to-the-scheduled-message\">\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=Scheduled+messages\u0026amp;title=Attach+file+to+the+scheduled+message\u0026amp;description=Attaches+an+image%2C+video%2C+document+or+audio+file+to+the+schedule.+Use+it+when+you+want+to+replace%0Aonly+the+file.+The+attachment+can+also+be+sent+along+with+the+\u0026amp;theme=ec01e76e0b1dcb7d20511983\u0026amp;signature=9b7ab6a32314813577e68e3757937efdfa9775e2d9999c81c4421f36202f91ef\">\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=\"Attach file to the scheduled message - Connecta DESK\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Attaches an image, video, document or audio file to the schedule. Use it when you want to replace only the file. The attachment can also be sent along with the schedule\u0026#x27;s POST and PUT. Audio is converted to OGG/Opus, the format WhatsApp accepts as a voice message. A new attachment replaces the previous one, and the old file\u0026#x27;s space goes back to your storage quota. The same editing rule applies: only schedules in PENDENTE or ERRO accept attachments.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://connectacx.mintlify.site/_mintlify/api/og/v2?division=Scheduled+messages\u0026amp;title=Attach+file+to+the+scheduled+message\u0026amp;description=Attaches+an+image%2C+video%2C+document+or+audio+file+to+the+schedule.+Use+it+when+you+want+to+replace%0Aonly+the+file.+The+attachment+can+also+be+sent+along+with+the+\u0026amp;theme=ec01e76e0b1dcb7d20511983\u0026amp;signature=9b7ab6a32314813577e68e3757937efdfa9775e2d9999c81c4421f36202f91ef\">\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/schedules/attach-file-to-the-scheduled-message\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/schedules/attach-file-to-the-scheduled-message.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/schedules/attach-file-to-the-scheduled-message#webpage\",\"url\":\"https://docs.connectadesk.com/api-reference/schedules/attach-file-to-the-scheduled-message\",\"name\":\"Attach file to the scheduled message\",\"description\":\"Attaches an image, video, document or audio file to the schedule. Use it when you want to replace only the file. The attachment can also be sent along with the schedule's POST and PUT. Audio is converted to OGG/Opus, the format WhatsApp accepts as a voice message. A new attachment replaces the previous one, and the old file's space goes back to your storage quota. The same editing rule applies: only schedules in PENDENTE or ERRO accept attachments.\",\"dateModified\":\"2026-11-28T00:34:57.998Z\",\"isPartOf\":{\"@id\":\"https://docs.connectadesk.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.connectadesk.com/api-reference/schedules/attach-file-to-the-scheduled-message#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.connectadesk.com/api-reference/schedules/attach-file-to-the-scheduled-message#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.connectadesk.com/api-reference/contacts/list-contacts\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Scheduled messages\",\"item\":\"https://docs.connectadesk.com/api-reference/schedules/list-scheduled-messages\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Attach file to the scheduled message\",\"item\":\"https://docs.connectadesk.com/api-reference/schedules/attach-file-to-the-scheduled-message\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.connectadesk.com/api-reference/schedules/attach-file-to-the-scheduled-message#apireference\",\"headline\":\"Attach file to the scheduled message\",\"name\":\"Attach file to the scheduled message\",\"description\":\"Attaches an image, video, document or audio file to the schedule. Use it when you want to replace only the file. The attachment can also be sent along with the schedule's POST and PUT. Audio is converted to OGG/Opus, the format WhatsApp accepts as a voice message. A new attachment replaces the previous one, and the old file's space goes back to your storage quota. The same editing rule applies: only schedules in PENDENTE or ERRO accept attachments.\",\"url\":\"https://docs.connectadesk.com/api-reference/schedules/attach-file-to-the-scheduled-message\",\"mainEntityOfPage\":{\"@id\":\"https://docs.connectadesk.com/api-reference/schedules/attach-file-to-the-scheduled-message#webpage\"},\"dateModified\":\"2026-11-28T00:34:57.998Z\",\"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/schedules/attach-file-to-the-scheduled-message.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","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","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","description":null,"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","description":"Removes the schedule's attachment and returns its space to your storage quota.","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":"Attach file to the scheduled message - 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"]}