{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Placet","colors":{"primary":"#7c9cb5","light":"#8faec8","dark":"#5a7d96"},"logo":{"light":"https://mintcdn.com/centerbit-417070e4/jQf4uVx0kBNA6kix/logo/placet-logo.png?fit=max\u0026auto=format\u0026n=jQf4uVx0kBNA6kix\u0026q=85\u0026s=6542c9501024a46feaf5cf7c72e52d7f","dark":"https://mintcdn.com/centerbit-417070e4/jQf4uVx0kBNA6kix/logo/placet-logo.png?fit=max\u0026auto=format\u0026n=jQf4uVx0kBNA6kix\u0026q=85\u0026s=6542c9501024a46feaf5cf7c72e52d7f"},"favicon":"https://mintcdn.com/centerbit-417070e4/jQf4uVx0kBNA6kix/favicon.svg?fit=max\u0026auto=format\u0026n=jQf4uVx0kBNA6kix\u0026q=85\u0026s=7d9f652b7992759787eb52e0df338ccb","background":{},"navbar":{"links":[{"href":"https://github.com/placet-io/placet","label":"GitHub"}]},"footer":{"socials":{"github":"https://github.com/placet-io/placet"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/placet-io/placet"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"centerbit-417070e4","hasAudioNarration":false,"actualSubdomain":"centerbit-417070e4","customDomains":["docs.placet.io"],"gitSource":{"type":"github","owner":"placet-io","repo":"placet","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae94b4c49f23bb02fa4b528:success","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"API Reference","count":22},{"language":"default","tag":"Documentation","count":22},{"language":"default","tag":"REST API","count":21},{"language":"default","tag":"Connections","count":7},{"language":"default","tag":"Messages","count":6},{"language":"default","tag":"Examples","count":5},{"language":"default","tag":"Plugins","count":5},{"language":"default","tag":"Files","count":5},{"language":"default","tag":"Core Concepts","count":4},{"language":"default","tag":"Agents","count":4}]},"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":"workos-onboarding","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":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"api-reference/messages/send-a-message-to-a-channel-channelid-in-body","slug":"/api-reference/messages/send-a-message-to-a-channel-channelid-in-body","pageMetadata":{"title":"Send a message to a channel (channelId in body)","description":null,"deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/messages","href":"/api-reference/messages/send-a-message-to-a-channel-channelid-in-body","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":"Send a message to a channel (channelId in body)","description":null,"deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/messages","href":"/api-reference/messages/send-a-message-to-a-channel-channelid-in-body","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"MessagesAgentController_create","parameters":[],"requestBody":"6092bae6-df60-4272-b4d4-e61a881d911f","responses":{"201":"a92a50f6-252f-448e-8f5d-1fde12f9b466","401":"b47c9ad8-03aa-4687-8584-15772fc93047","403":"bcbcf876-07c5-4dbb-a2a1-c6bf20e08714"},"security":["2fdab031-ec9e-437f-a982-b2b334844426"],"summary":"Send a message to a channel (channelId in body)","tags":["Messages"],"method":"post","type":"path","servers":["8336db07-3314-4211-8da9-c872b6cda85f"],"path":"/api/v1/messages","baseUrlOptions":["http://localhost:3001"],"title":"Send a message to a channel (channelId in body)","description":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"channelId":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"channelId","typeLabel":"string"},"text":{"type":"string","uniqueKey":"text","typeLabel":"string"},"status":{"type":"string","enum":["info","success","warning","error"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"review":{"type":"object","properties":{"type":{"type":"string","isRequired":true,"uniqueKey":"review.type","typeLabel":"string"},"payload":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"review.payload.additionalProperties","typeLabel":"any"},"uniqueKey":"review.payload","typeLabel":"object"},"callback":{"oneOf":[{"type":"object","properties":{"url":{"type":"string","format":"uri","isRequired":true,"uniqueKey":"review.callback.oneOf.0.url","typeLabel":"string\u003curi>"},"method":{"type":"string","uniqueKey":"review.callback.oneOf.0.method","typeLabel":"string"},"headers":{"type":"object","additionalProperties":{"type":"string","uniqueKey":"review.callback.oneOf.0.headers.additionalProperties","typeLabel":"string"},"uniqueKey":"review.callback.oneOf.0.headers","typeLabel":"object"}},"required":["url"],"uniqueKey":"review.callback.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"url":{"type":"string","format":"uri"},"method":{"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}}},"required":["url"],"uniqueKey":"review.callback.oneOf.1","typeLabel":"null"}],"uniqueKey":"review.callback","typeLabel":"object | null"},"expiresAt":{"oneOf":[{"type":"string","uniqueKey":"review.expiresAt.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"review.expiresAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"review.expiresAt","typeLabel":"string | null"},"expiresInSeconds":{"type":"integer","maximum":9007199254740991,"minimum":0,"exclusiveMinimum":true,"uniqueKey":"review.expiresInSeconds","typeLabel":"integer"}},"required":["type"],"uniqueKey":"review","typeLabel":"object"},"metadata":{"type":"object","additionalProperties":{"oneOf":[{}],"uniqueKey":"metadata.additionalProperties","typeLabel":"any"},"uniqueKey":"metadata","typeLabel":"object"},"webhookUrl":{"type":"string","format":"uri","uniqueKey":"webhookUrl","typeLabel":"string\u003curi>"},"attachmentIds":{"type":"array","items":{"type":"string","uniqueKey":"attachmentIds.items.[INDEX]","typeLabel":"string"},"uniqueKey":"attachmentIds","typeLabel":"string[]"},"textAttachments":{"type":"array","items":{"type":"object","properties":{"content":{"type":"string","minLength":1,"isRequired":true,"uniqueKey":"textAttachments.items.[INDEX].content","typeLabel":"string"},"filename":{"default":"content.md","type":"string","minLength":1,"uniqueKey":"textAttachments.items.[INDEX].filename","typeLabel":"string"},"mimeType":{"default":"text/markdown","type":"string","uniqueKey":"textAttachments.items.[INDEX].mimeType","typeLabel":"string"}},"required":["content"],"uniqueKey":"textAttachments.items.[INDEX]","typeLabel":"object"},"uniqueKey":"textAttachments","typeLabel":"object[]"},"iterationOf":{"type":"string","uniqueKey":"iterationOf","typeLabel":"string"}},"required":["channelId"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"channelId":"\u003cstring>","text":"\u003cstring>","metadata":{},"webhookUrl":"\u003cstring>","attachmentIds":["\u003cstring>"],"textAttachments":[{"content":"\u003cstring>","filename":"content.md","mimeType":"text/markdown"}],"iterationOf":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"a92a50f6-252f-448e-8f5d-1fde12f9b466":{"description":"Message created","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","example":"clxyz111","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"channelId":{"type":"string","example":"clxyz456","isRequired":true,"uniqueKey":"channelId","typeLabel":"string"},"senderType":{"type":"string","example":"agent","enum":["agent","user"],"isRequired":true,"uniqueKey":"senderType","typeLabel":"enum\u003cstring>"},"senderId":{"type":"string","example":"clxyz456","isRequired":true,"uniqueKey":"senderId","typeLabel":"string"},"createdAt":{"type":"string","example":"2025-01-01T00:00:00.000Z","isRequired":true,"uniqueKey":"createdAt","typeLabel":"string"},"attachments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","example":"clxyz789","isRequired":true,"uniqueKey":"attachments.items.[INDEX].id","typeLabel":"string"},"messageId":{"type":"string","example":"clxyz123","isRequired":true,"uniqueKey":"attachments.items.[INDEX].messageId","typeLabel":"string"},"pluginType":{"type":"string","example":"file","isRequired":true,"uniqueKey":"attachments.items.[INDEX].pluginType","typeLabel":"string"},"filename":{"type":"string","example":"report.pdf","isRequired":true,"uniqueKey":"attachments.items.[INDEX].filename","typeLabel":"string"},"mimeType":{"type":"string","example":"application/pdf","isRequired":true,"uniqueKey":"attachments.items.[INDEX].mimeType","typeLabel":"string"},"size":{"type":"number","example":1024,"isRequired":true,"uniqueKey":"attachments.items.[INDEX].size","typeLabel":"number"},"storageKey":{"type":"string","example":"uploads/clxyz123/report.pdf","isRequired":true,"uniqueKey":"attachments.items.[INDEX].storageKey","typeLabel":"string"},"createdAt":{"type":"string","example":"2025-01-01T00:00:00.000Z","isRequired":true,"uniqueKey":"attachments.items.[INDEX].createdAt","typeLabel":"string"}},"required":["id","messageId","pluginType","filename","mimeType","size","storageKey","createdAt"],"uniqueKey":"attachments.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"attachments","typeLabel":"object[]"},"text":{"type":"string","example":"Hello from agent","uniqueKey":"text","typeLabel":"string"},"status":{"type":"string","example":"info","enum":["info","success","warning","error"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"review":{"type":"object","example":{"type":"approval","status":"pending"},"description":"Review object (null if no review)","uniqueKey":"review","typeLabel":"object"},"metadata":{"type":"object","example":{"source":"automation"},"description":"Arbitrary metadata","uniqueKey":"metadata","typeLabel":"object"}},"required":["id","channelId","senderType","senderId","createdAt","attachments"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"id":"clxyz111","channelId":"clxyz456","senderType":"agent","senderId":"clxyz456","createdAt":"2025-01-01T00:00:00.000Z","attachments":[{"id":"clxyz789","messageId":"clxyz123","pluginType":"file","filename":"report.pdf","mimeType":"application/pdf","size":1024,"storageKey":"uploads/clxyz123/report.pdf","createdAt":"2025-01-01T00:00:00.000Z"}],"text":"Hello from agent","status":"info","review":{"type":"approval","status":"pending"},"metadata":{"source":"automation"}}}},"exampleType":"generated"}},"exampleType":"generated"},"b47c9ad8-03aa-4687-8584-15772fc93047":{"description":"Invalid API key","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","example":400,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","example":"Validation failed","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"errors":{"description":"Zod validation errors (only on 400)","type":"array","items":{"type":"object","properties":{"code":{"type":"string","example":"invalid_type","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","example":"Expected string, received number","isRequired":true,"uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"},"path":{"example":["email"],"type":"array","items":{"type":"string","uniqueKey":"errors.items.[INDEX].path.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"errors.items.[INDEX].path","typeLabel":"string[]"}},"required":["code","message","path"],"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"}},"required":["statusCode","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":400,"message":"Validation failed","errors":[{"code":"invalid_type","message":"Expected string, received number","path":["email"]}]}}},"exampleType":"generated"}},"exampleType":"generated"},"bcbcf876-07c5-4dbb-a2a1-c6bf20e08714":{"description":"Not your agent","content":{"application/json":{"schema":{"type":"object","properties":{"statusCode":{"type":"number","example":400,"isRequired":true,"uniqueKey":"statusCode","typeLabel":"number"},"message":{"type":"string","example":"Validation failed","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"errors":{"description":"Zod validation errors (only on 400)","type":"array","items":{"type":"object","properties":{"code":{"type":"string","example":"invalid_type","isRequired":true,"uniqueKey":"errors.items.[INDEX].code","typeLabel":"string"},"message":{"type":"string","example":"Expected string, received number","isRequired":true,"uniqueKey":"errors.items.[INDEX].message","typeLabel":"string"},"path":{"example":["email"],"type":"array","items":{"type":"string","uniqueKey":"errors.items.[INDEX].path.items.[INDEX]","typeLabel":"string"},"isRequired":true,"uniqueKey":"errors.items.[INDEX].path","typeLabel":"string[]"}},"required":["code","message","path"],"uniqueKey":"errors.items.[INDEX]","typeLabel":"object"},"uniqueKey":"errors","typeLabel":"object[]"}},"required":["statusCode","message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"statusCode":400,"message":"Validation failed","errors":[{"code":"invalid_type","message":"Expected string, received number","path":["email"]}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"2fdab031-ec9e-437f-a982-b2b334844426":{"api-key":{"type":"apiKey","in":"header","name":"x-api-key","description":"Placet API key (hp_...)","scopes":[]}}},"servers":{"8336db07-3314-4211-8da9-c872b6cda85f":{"url":"http://localhost:3001","description":"Local development"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"Placet API key (hp_...)","scopes":[]},"schema":{"title":"x-api-key","type":"string","description":"Placet API key (hp_...)","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"api-key","name":"x-api-key"}],"title":"api-key"}]},"originalFileLocation":"openapi.json"},"subdomain":"centerbit-417070e4","siteName":"Placet","title":"Send a message to a channel (channelId in body) - Placet","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-05-11T06:15:37.218Z","originalFileLocation":"api-reference/messages/send-a-message-to-a-channel-channelid-in-body.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Placet\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/centerbit-417070e4/eUTQivdeFgE3t3K4/_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/centerbit-417070e4/eUTQivdeFgE3t3K4/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/centerbit-417070e4/eUTQivdeFgE3t3K4/_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/centerbit-417070e4/eUTQivdeFgE3t3K4/_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/centerbit-417070e4/eUTQivdeFgE3t3K4/_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/centerbit-417070e4/eUTQivdeFgE3t3K4/_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/centerbit-417070e4/eUTQivdeFgE3t3K4/_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/centerbit-417070e4/eUTQivdeFgE3t3K4/_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/centerbit-417070e4/eUTQivdeFgE3t3K4/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Send a message to a channel (channelId in body) - Placet\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Placet\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.placet.io/api-reference/messages/send-a-message-to-a-channel-channelid-in-body\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://centerbit-417070e4.mintlify.site/_mintlify/api/og/v2?division=Messages\u0026amp;title=Send+a+message+to+a+channel+%28channelId+in+body%29\u0026amp;theme=2e00aaef9105a00968ba5689\u0026amp;signature=eb323aa4e74eb7fe0a6b9f1263c88c386ae573fdf4ed4a7555802204344e766f\">\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=\"Send a message to a channel (channelId in body) - Placet\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://centerbit-417070e4.mintlify.site/_mintlify/api/og/v2?division=Messages\u0026amp;title=Send+a+message+to+a+channel+%28channelId+in+body%29\u0026amp;theme=2e00aaef9105a00968ba5689\u0026amp;signature=eb323aa4e74eb7fe0a6b9f1263c88c386ae573fdf4ed4a7555802204344e766f\">\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/centerbit-417070e4/eUTQivdeFgE3t3K4/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Placet\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#7c9cb5\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.placet.io/api-reference/messages/send-a-message-to-a-channel-channelid-in-body\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/messages/send-a-message-to-a-channel-channelid-in-body.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.placet.io/#organization\",\"name\":\"Placet\",\"url\":\"https://docs.placet.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/centerbit-417070e4/jQf4uVx0kBNA6kix/logo/placet-logo.png?fit=max\u0026auto=format\u0026n=jQf4uVx0kBNA6kix\u0026q=85\u0026s=6542c9501024a46feaf5cf7c72e52d7f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.placet.io#website\",\"name\":\"Placet\",\"url\":\"https://docs.placet.io\",\"publisher\":{\"@id\":\"https://docs.placet.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.placet.io/api-reference/messages/send-a-message-to-a-channel-channelid-in-body#webpage\",\"url\":\"https://docs.placet.io/api-reference/messages/send-a-message-to-a-channel-channelid-in-body\",\"name\":\"Send a message to a channel (channelId in body)\",\"dateModified\":\"2026-05-11T06:15:37.218Z\",\"isPartOf\":{\"@id\":\"https://docs.placet.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.placet.io/api-reference/messages/send-a-message-to-a-channel-channelid-in-body#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.placet.io/api-reference/messages/send-a-message-to-a-channel-channelid-in-body#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"REST API\",\"item\":\"https://docs.placet.io/api-reference/agents/list-channels-agents-accessible-by-this-api-key\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Messages\",\"item\":\"https://docs.placet.io/api-reference/messages/list-messages-for-a-channel-chat-as-storage\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Send a message to a channel (channelId in body)\",\"item\":\"https://docs.placet.io/api-reference/messages/send-a-message-to-a-channel-channelid-in-body\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.placet.io/api-reference/messages/send-a-message-to-a-channel-channelid-in-body#apireference\",\"headline\":\"Send a message to a channel (channelId in body)\",\"name\":\"Send a message to a channel (channelId in body)\",\"url\":\"https://docs.placet.io/api-reference/messages/send-a-message-to-a-channel-channelid-in-body\",\"mainEntityOfPage\":{\"@id\":\"https://docs.placet.io/api-reference/messages/send-a-message-to-a-channel-channelid-in-body#webpage\"},\"dateModified\":\"2026-05-11T06:15:37.218Z\",\"publisher\":{\"@id\":\"https://docs.placet.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.placet.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Placet\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Placet\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/messages/send-a-message-to-a-channel-channelid-in-body.md","siteName":"Placet","nav":{"global":{"anchors":[{"anchor":"GitHub","icon":"github","href":"https://github.com/placet-io/placet"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"API Reference","groups":[{"group":"REST API","pages":[{"group":"Agents","pages":[{"title":"List channels (agents) accessible by this API key","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/agents","href":"/api-reference/agents/list-channels-agents-accessible-by-this-api-key"},{"title":"Create a new channel (agent)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/agents","href":"/api-reference/agents/create-a-new-channel-agent"},{"title":"Set webhook URL for a channel","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/agents/setWebhook","href":"/api-reference/agents/set-webhook-url-for-a-channel"},{"title":"Remove webhook URL from a channel","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/agents/deleteWebhook","href":"/api-reference/agents/remove-webhook-url-from-a-channel"}]},{"group":"Status","pages":[{"title":"Report agent status (heartbeat)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/status/ping","href":"/api-reference/status/report-agent-status-heartbeat"}]},{"group":"Messages","pages":[{"title":"List messages for a channel (chat-as-storage)","description":null,"deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/messages","href":"/api-reference/messages/list-messages-for-a-channel-chat-as-storage"},{"title":"Send a message to a channel (channelId in body)","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/messages","href":"/api-reference/messages/send-a-message-to-a-channel-channelid-in-body"},{"title":"Get all messages in an iteration chain","description":null,"deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/messages/iterations/{id}","href":"/api-reference/messages/get-all-messages-in-an-iteration-chain"},{"title":"Get a single message + review status","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/messages/{id}","href":"/api-reference/messages/get-a-single-message-+-review-status"},{"title":"Delete (retract) a message","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/messages/{id}","href":"/api-reference/messages/delete-retract-a-message"},{"title":"Acknowledge receipt of a message","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/messages/{id}/ack","href":"/api-reference/messages/acknowledge-receipt-of-a-message"}]},{"group":"Reviews","pages":[{"title":"List all pending reviews for a channel","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/reviews/pending","href":"/api-reference/reviews/list-all-pending-reviews-for-a-channel"},{"title":"Get a specific review by message ID","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/reviews/{id}","href":"/api-reference/reviews/get-a-specific-review-by-message-id"},{"title":"Long-poll for review response (max 30s)","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/reviews/{id}/wait","href":"/api-reference/reviews/long-poll-for-review-response-max-30s"}]},{"group":"Files","pages":[{"title":"List all files in a channel","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/files","href":"/api-reference/files/list-all-files-in-a-channel"},{"title":"Upload a file","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/files/upload","href":"/api-reference/files/upload-a-file"},{"title":"Store a file without creating a message","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/files/store","href":"/api-reference/files/store-a-file-without-creating-a-message"},{"title":"Store text content as a file without creating a message","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/files/store-text","href":"/api-reference/files/store-text-content-as-a-file-without-creating-a-message"},{"title":"Download file directly by attachment ID","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/files/{id}/download","href":"/api-reference/files/download-file-directly-by-attachment-id"}]},{"group":"Plugins","pages":[{"title":"List installed plugins","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/plugins","href":"/api-reference/plugins/list-installed-plugins"},{"title":"Get plugin details","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/plugins/{name}","href":"/api-reference/plugins/get-plugin-details"}]}]},{"group":"WebSocket","pages":[{"title":"WebSocket","href":"/api-reference/websocket"}]}]}]},"basePath":"","title":"Send a message to a channel (channelId in body) - Placet","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-CiUHMMOm.js","snippetPresets-BgfXU7Bw.js","utils-DWvOwgy_.js","style-to-object-BY3JEAdk.js","utils-BN7RXSMJ.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CFw8bq89.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CAwdfOU2.js","_Uint8Array-BJr8e-ZL.js","isObject-FP1Yky1u.js","Page-CVJ-f_k1.js","CodeSnippet-D_HwgQO_.js","DynamicMarkdown-CQM9Bhbv.js","SectionHeading-DpbrP8nQ.js","icon-BPCgijHy.js","ApiExamples-XX0UgMZK.js","usePlaygroundInputsStore-DXDFSa1V.js","shallow-CdX5aREi.js","isEqual-CoOaxexF.js","CodeSnippets-Cg2wpzWm.js","getApiPlaygroundDisplay-CmCoerhe.js","MethodPill-GQ8DuY0c.js","getPastedJson-Cb5mT31m.js","Check2Icon-a7bUI6e8.js","axios-CsQoIw0U.js","Markdown-CX2QY19L.js","AssistantPageLink-CY3bFglh.js","dist-Dl6_zDnT.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}