Opens a Slack channel on the CALLING worker’s own identity, so only a worker’s key can call it. It creates the room, maps the caller, maps then invites each of workers, and invites the person who asked — the sender of the caller’s running turn, never a body field — then people. With no person asking it is a 409 before any room exists. Each of people must be a person of the org’s own Slack, else a 409 (person_outside_org, person_not_a_person, person_lookup_failed) before any room exists. Anyone who could not be brought in is reported, not failed.
A client mapping brings up that Client’s ework for each Worker mapped to the room, and spends one of your organization’s daily provisioning slots. An internal room mints nothing.
An organization-scoped API key, minted in control under Settings → API keys. Every failure to authenticate answers one identical 401: "Provide a valid organization-scoped API key or an active session." Each operation names the one scope it is filed under, <resource>:<read|write>, where the resource is the first path segment after /api/v1/; a key minted today carries all 22 of them. Scopes are RECORDED — on the key and on every audit row — and are not yet enforced: no request is refused for want of one.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Ergoly","description":"How to manage your agency on Ergoly","colors":{"primary":"#079b9b","light":"#3cd3cf","dark":"#0f7170"},"logo":{"light":"https://mintcdn.com/ergoly/-drdYd6uXChmiNIn/logo/light.png?fit=max\u0026auto=format\u0026n=-drdYd6uXChmiNIn\u0026q=85\u0026s=a9084e9caaf8656a821bf02426e31c05","dark":"https://mintcdn.com/ergoly/-drdYd6uXChmiNIn/logo/dark.png?fit=max\u0026auto=format\u0026n=-drdYd6uXChmiNIn\u0026q=85\u0026s=2c7c39ae6542910294a1183134fda8ff","href":"https://www.ergoly.ai"},"favicon":"https://mintcdn.com/ergoly/-drdYd6uXChmiNIn/favicon.png?fit=max\u0026auto=format\u0026n=-drdYd6uXChmiNIn\u0026q=85\u0026s=9e5baceff3d9e2c0f0d473b3a7c5d40b","api":{"playground":{"display":"interactive","proxy":true},"examples":{"defaults":"required","languages":["curl","javascript","python"]}},"background":{"color":{"light":"#f2f3f3","dark":"#282828"}},"navbar":{"links":[{"href":"https://www.ergoly.ai/support","label":"Support"}],"primary":{"type":"button","label":"Sign in","href":"https://control.ergoly.ai/"}},"footer":{"socials":{"website":"https://www.ergoly.ai","linkedin":"https://www.linkedin.com/company/ergoly","github":"https://github.com/ergoly-ai"}},"seo":{"metatags":{"canonical":"https://docs.ergoly.ai"}},"fonts":{"family":"Satoshi","source":"fonts/Satoshi-Variable.woff2","format":"woff2"},"banner":{"content":"Ergoly is hiring. \u003ca href=\"https://www.ergoly.ai/jobs\">Apply today\u003c/a>.","dismissible":true},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"interaction":{"drilldown":false},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ergoly","hasAudioNarration":false,"actualSubdomain":"ergoly","customDomains":["docs.ergoly.ai"],"gitSource":{"type":"github","owner":"ergoly-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6af1063edce746e0972c5b68"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af1344bc7dcf404baff164b","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"API","count":72},{"language":"default","tag":"Docs","count":49},{"language":"default","tag":"Workers","count":33},{"language":"default","tag":"Connections","count":26},{"language":"default","tag":"Channels","count":14},{"language":"default","tag":"Changelog","count":12},{"language":"default","tag":"Releases","count":12},{"language":"default","tag":"Tasks","count":11},{"language":"default","tag":"Clients","count":9},{"language":"default","tag":"Company","count":9}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","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":"llms-txt-v2","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":"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":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/channels/create-a-slack-channel","slug":"/api-reference/channels/create-a-slack-channel","pageMetadata":{"title":"Create a Slack channel","description":"Opens a Slack channel on the CALLING worker's own identity, so only a worker's key can call it. It creates the room, maps the caller, maps then invites each of `workers`, and invites the person who asked — the sender of the caller's running turn, never a body field — then `people`. With no person asking it is a 409 before any room exists. Each of `people` must be a person of the org's own Slack, else a 409 (`person_outside_org`, `person_not_a_person`, `person_lookup_failed`) before any room exists. Anyone who could not be brought in is reported, not failed.\n\n**A `client` mapping brings up that Client's ework for each Worker mapped to the room, and spends one of your organization's daily provisioning slots. An `internal` room mints nothing.**","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/channels","href":"/api-reference/channels/create-a-slack-channel","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 strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsxs(_components.p, {\n children: [\"Opens a Slack channel on the CALLING worker’s own identity, so only a worker’s key can call it. It creates the room, maps the caller, maps then invites each of \", _jsx(_components.code, {\n children: \"workers\"\n }), \", and invites the person who asked — the sender of the caller’s running turn, never a body field — then \", _jsx(_components.code, {\n children: \"people\"\n }), \". With no person asking it is a 409 before any room exists. Each of \", _jsx(_components.code, {\n children: \"people\"\n }), \" must be a person of the org’s own Slack, else a 409 (\", _jsx(_components.code, {\n children: \"person_outside_org\"\n }), \", \", _jsx(_components.code, {\n children: \"person_not_a_person\"\n }), \", \", _jsx(_components.code, {\n children: \"person_lookup_failed\"\n }), \") before any room exists. Anyone who could not be brought in is reported, not failed.\"]\n }), \"\\n\", _jsx(_components.p, {\n children: _jsxs(_components.strong, {\n children: [\"A \", _jsx(_components.code, {\n children: \"client\"\n }), \" mapping brings up that Client’s ework for each Worker mapped to the room, and spends one of your organization’s daily provisioning slots. An \", _jsx(_components.code, {\n children: \"internal\"\n }), \" room mints nothing.\"]\n })\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":"Create a Slack channel","description":"Opens a Slack channel on the CALLING worker's own identity, so only a worker's key can call it. It creates the room, maps the caller, maps then invites each of `workers`, and invites the person who asked — the sender of the caller's running turn, never a body field — then `people`. With no person asking it is a 409 before any room exists. Each of `people` must be a person of the org's own Slack, else a 409 (`person_outside_org`, `person_not_a_person`, `person_lookup_failed`) before any room exists. Anyone who could not be brought in is reported, not failed.\n\n**A `client` mapping brings up that Client's ework for each Worker mapped to the room, and spends one of your organization's daily provisioning slots. An `internal` room mints nothing.**","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/channels","href":"/api-reference/channels/create-a-slack-channel","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"createChannel","summary":"Create a Slack channel","description":"Opens a Slack channel on the CALLING worker's own identity, so only a worker's key can call it. It creates the room, maps the caller, maps then invites each of `workers`, and invites the person who asked — the sender of the caller's running turn, never a body field — then `people`. With no person asking it is a 409 before any room exists. Each of `people` must be a person of the org's own Slack, else a 409 (`person_outside_org`, `person_not_a_person`, `person_lookup_failed`) before any room exists. Anyone who could not be brought in is reported, not failed.\n\n**A `client` mapping brings up that Client's ework for each Worker mapped to the room, and spends one of your organization's daily provisioning slots. An `internal` room mints nothing.**","tags":["channels"],"security":["1750c2eb-3017-45c4-952a-092d519ec6f3"],"parameters":["8853017d-2ac6-4430-b040-222a24a6c57e"],"requestBody":"494b7947-072f-49a1-9cde-811e71580f6c","responses":{"201":"83c4ba6b-3205-4ed8-86d7-f255666be962","400":"11e6afaa-5fe5-43a0-ae0f-80d292f5dcc8","401":"fa07755a-b2cd-43af-a79b-5e9eb0c4e3cd","404":"26dce889-7583-4401-a8ea-ba4f00a8a545","409":"2710e7a8-1f14-4d69-b32e-a0010c8964ea","429":"0c8bb210-2889-4031-acdc-4f574948039d","502":"2f6c89fc-f9e8-4e9e-bce7-6d4511e48069"},"method":"post","type":"path","servers":["15355b2c-94fb-418f-acf2-2e27904062bb"],"path":"/api/v1/channels","baseUrlOptions":["https://control.ergoly.ai"],"title":"Create a Slack channel","codeSamples":[],"requestExampleLanguages":["bash","javascript","python"],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"8853017d-2ac6-4430-b040-222a24a6c57e":{"name":"Idempotency-Key","in":"header","required":false,"description":"Any unique string. A retry under the same key is answered from the first attempt's record, with `X-Idempotent-Replay: true`. The same key with a different body is a conflict.","schema":{"type":"string","description":"Any unique string.","isRequired":false,"uniqueKey":"","typeLabel":"string"}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","description":"The room's name: lower-case letters, numbers, `-` and `_`, at most 80. A leading `#` is dropped and spaces become hyphens.","isRequired":true,"uniqueKey":"name","typeLabel":"string"},"mapping":{"type":"object","description":"What the room is for: `internal`, or `client` with the Client's slug or id.","properties":{"kind":{"type":"string","enum":["internal","client"],"description":"`internal` routes the room to each Worker's core ework. `client` routes it to each Worker's ework for that Client.","isRequired":true,"uniqueKey":"mapping.kind","typeLabel":"enum\u003cstring>"},"client":{"type":"string","description":"Required when `kind` is `client`: the Client's slug or id.","uniqueKey":"mapping.client","typeLabel":"string"}},"required":["kind"],"additionalProperties":false,"isRequired":true,"uniqueKey":"mapping","typeLabel":"object"},"private":{"type":"boolean","description":"Defaults to `true`.","uniqueKey":"private","typeLabel":"boolean"},"people":{"type":"array","items":{"type":"string","description":"A Slack user id.","uniqueKey":"people.items.[INDEX]","typeLabel":"string"},"description":"The people to bring in, by Slack user id — the org's own people only.","uniqueKey":"people","typeLabel":"string[]"},"workers":{"type":"array","items":{"type":"string","description":"A Worker id.","uniqueKey":"workers.items.[INDEX]","typeLabel":"string"},"description":"The Workers to map and bring in.","uniqueKey":"workers","typeLabel":"string[]"}},"required":["name","mapping"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"example":{"name":"acme-renewal","mapping":{"kind":"client","client":"acme"},"people":["U0A1B2C3D4E"],"workers":["8f1c2d3e-9a4b-4c5d-8e6f-1a2b3c4d5e6f"]},"examples":{"Example":{"title":"Example","value":{"name":"acme-renewal","mapping":{"kind":"client","client":"acme"},"people":["U0A1B2C3D4E"],"workers":["8f1c2d3e-9a4b-4c5d-8e6f-1a2b3c4d5e6f"]}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"83c4ba6b-3205-4ed8-86d7-f255666be962":{"description":"Success.","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"slackChannelId":{"type":"string","description":"The new room's id.","isRequired":true,"uniqueKey":"data.slackChannelId","typeLabel":"string"},"name":{"type":"string","description":"The name Slack gave it.","isRequired":true,"uniqueKey":"data.name","typeLabel":"string"},"private":{"type":"boolean","description":"Whether the room is private.","isRequired":true,"uniqueKey":"data.private","typeLabel":"boolean"},"clientSlug":{"oneOf":[{"type":"string","description":"The Client the room's work belongs to; null for an internal room.","isRequired":true,"uniqueKey":"data.clientSlug.oneOf.0","typeLabel":"string"},{"type":"null","description":"The Client the room's work belongs to; null for an internal room.","isRequired":true,"uniqueKey":"data.clientSlug.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.clientSlug","typeLabel":"string | null"},"requestedBy":{"type":"string","description":"The Slack id of the person who asked: the sender of the calling Worker's running turn, read on control and never a body field. Always among `people` — they are brought in first. A call no person made (a scheduled run, a webhook) is refused before the room exists (409, `reason` `no_human_requester` or `requester_unclear`).","isRequired":true,"uniqueKey":"data.requestedBy","typeLabel":"string"},"caller":{"type":"object","description":"The calling Worker, which created the room and is in it.","properties":{"workerId":{"type":"string","description":"The calling Worker.","isRequired":true,"uniqueKey":"data.caller.workerId","typeLabel":"string"},"kind":{"type":"string","enum":["internal","client"],"description":"How the calling Worker is mapped. Always `internal` for an internal-only Worker.","isRequired":true,"uniqueKey":"data.caller.kind","typeLabel":"enum\u003cstring>"},"activation":{"oneOf":[{"type":"string","description":"For a `client` mapping, whether that Client's ework is serving yet.","isRequired":true,"uniqueKey":"data.caller.activation.oneOf.0","typeLabel":"string"},{"type":"null","description":"For a `client` mapping, whether that Client's ework is serving yet.","isRequired":true,"uniqueKey":"data.caller.activation.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.caller.activation","typeLabel":"string | null"},"mapped":{"type":"boolean","description":"Did its mapping land?","isRequired":true,"uniqueKey":"data.caller.mapped","typeLabel":"boolean"},"error":{"oneOf":[{"type":"object","description":"Why this Worker is not mapped or not in the room. Null when it is.","properties":{"code":{"type":"string","description":"A machine code: a mapping refusal (`internal_only_worker`, `requires_confirmation`, …) or an invite refusal (`invite_refused` — Slack refused, carrying its code, …).","isRequired":true,"uniqueKey":"data.caller.error.oneOf.0.code","typeLabel":"string"},"message":{"type":"string","description":"What happened, in words to pass on.","isRequired":true,"uniqueKey":"data.caller.error.oneOf.0.message","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"data.caller.error.oneOf.0","typeLabel":"object"},{"type":"null","description":"Why this Worker is not mapped or not in the room. Null when it is.","properties":{"code":{"type":"string","description":"A machine code: a mapping refusal (`internal_only_worker`, `requires_confirmation`, …) or an invite refusal (`invite_refused` — Slack refused, carrying its code, …)."},"message":{"type":"string","description":"What happened, in words to pass on."}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"data.caller.error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.caller.error","typeLabel":"object | null"}},"required":["workerId","kind","activation","mapped","error"],"additionalProperties":false,"isRequired":true,"uniqueKey":"data.caller","typeLabel":"object"},"workers":{"type":"array","items":{"type":"object","properties":{"workerId":{"type":"string","description":"The Worker.","isRequired":true,"uniqueKey":"data.workers.items.[INDEX].workerId","typeLabel":"string"},"mapped":{"type":"boolean","description":"Did its mapping land? A Worker that is not mapped is not invited.","isRequired":true,"uniqueKey":"data.workers.items.[INDEX].mapped","typeLabel":"boolean"},"activation":{"oneOf":[{"type":"string","description":"For a `client` mapping, whether that Client's ework is serving yet.","isRequired":true,"uniqueKey":"data.workers.items.[INDEX].activation.oneOf.0","typeLabel":"string"},{"type":"null","description":"For a `client` mapping, whether that Client's ework is serving yet.","isRequired":true,"uniqueKey":"data.workers.items.[INDEX].activation.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.workers.items.[INDEX].activation","typeLabel":"string | null"},"invited":{"type":"boolean","description":"Did this call add its bot?","isRequired":true,"uniqueKey":"data.workers.items.[INDEX].invited","typeLabel":"boolean"},"alreadyInChannel":{"type":"boolean","description":"It was already there.","isRequired":true,"uniqueKey":"data.workers.items.[INDEX].alreadyInChannel","typeLabel":"boolean"},"method":{"oneOf":[{"type":"string","description":"How the calling Worker's own bot did it — `bot_token`.","isRequired":true,"uniqueKey":"data.workers.items.[INDEX].method.oneOf.0","typeLabel":"string"},{"type":"null","description":"How the calling Worker's own bot did it — `bot_token`.","isRequired":true,"uniqueKey":"data.workers.items.[INDEX].method.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.workers.items.[INDEX].method","typeLabel":"string | null"},"error":{"oneOf":[{"type":"object","description":"Why this Worker is not mapped or not in the room. Null when it is.","properties":{"code":{"type":"string","description":"A machine code: a mapping refusal (`internal_only_worker`, `requires_confirmation`, …) or an invite refusal (`invite_refused` — Slack refused, carrying its code, …).","isRequired":true,"uniqueKey":"data.workers.items.[INDEX].error.oneOf.0.code","typeLabel":"string"},"message":{"type":"string","description":"What happened, in words to pass on.","isRequired":true,"uniqueKey":"data.workers.items.[INDEX].error.oneOf.0.message","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"data.workers.items.[INDEX].error.oneOf.0","typeLabel":"object"},{"type":"null","description":"Why this Worker is not mapped or not in the room. Null when it is.","properties":{"code":{"type":"string","description":"A machine code: a mapping refusal (`internal_only_worker`, `requires_confirmation`, …) or an invite refusal (`invite_refused` — Slack refused, carrying its code, …)."},"message":{"type":"string","description":"What happened, in words to pass on."}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"data.workers.items.[INDEX].error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.workers.items.[INDEX].error","typeLabel":"object | null"}},"required":["workerId","mapped","activation","invited","alreadyInChannel","method","error"],"additionalProperties":false,"uniqueKey":"data.workers.items.[INDEX]","typeLabel":"object"},"description":"One entry per Worker named in `workers`.","isRequired":true,"uniqueKey":"data.workers","typeLabel":"object[]"},"people":{"type":"array","items":{"type":"object","properties":{"slackUserId":{"type":"string","description":"The person.","isRequired":true,"uniqueKey":"data.people.items.[INDEX].slackUserId","typeLabel":"string"},"invited":{"type":"boolean","description":"Did this call add them?","isRequired":true,"uniqueKey":"data.people.items.[INDEX].invited","typeLabel":"boolean"},"alreadyInChannel":{"type":"boolean","description":"They were already there.","isRequired":true,"uniqueKey":"data.people.items.[INDEX].alreadyInChannel","typeLabel":"boolean"},"error":{"oneOf":[{"type":"string","description":"Slack's code when the invite was refused.","isRequired":true,"uniqueKey":"data.people.items.[INDEX].error.oneOf.0","typeLabel":"string"},{"type":"null","description":"Slack's code when the invite was refused.","isRequired":true,"uniqueKey":"data.people.items.[INDEX].error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.people.items.[INDEX].error","typeLabel":"string | null"}},"required":["slackUserId","invited","alreadyInChannel","error"],"additionalProperties":false,"uniqueKey":"data.people.items.[INDEX]","typeLabel":"object"},"description":"One entry per person brought in: the person who asked, first, then each named in `people`.","isRequired":true,"uniqueKey":"data.people","typeLabel":"object[]"}},"required":["slackChannelId","name","private","clientSlug","requestedBy","caller","workers","people"],"additionalProperties":false,"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"required":["data"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"example":{"data":{"slackChannelId":"G0A1B2C3D4E","name":"acme-renewal","private":true,"clientSlug":"acme","requestedBy":"U0A1B2C3D4E","caller":{"workerId":"00000000-0000-4000-8000-0000000000c1","kind":"internal","activation":null,"mapped":true,"error":null},"workers":[{"workerId":"8f1c2d3e-9a4b-4c5d-8e6f-1a2b3c4d5e6f","mapped":true,"activation":"already_active","invited":true,"alreadyInChannel":false,"method":"bot_token","error":null}],"people":[{"slackUserId":"U0A1B2C3D4E","invited":true,"alreadyInChannel":false,"error":null}]}},"examples":{"Example":{"title":"Example","value":{"data":{"slackChannelId":"G0A1B2C3D4E","name":"acme-renewal","private":true,"clientSlug":"acme","requestedBy":"U0A1B2C3D4E","caller":{"workerId":"00000000-0000-4000-8000-0000000000c1","kind":"internal","activation":null,"mapped":true,"error":null},"workers":[{"workerId":"8f1c2d3e-9a4b-4c5d-8e6f-1a2b3c4d5e6f","mapped":true,"activation":"already_active","invited":true,"alreadyInChannel":false,"method":"bot_token","error":null}],"people":[{"slackUserId":"U0A1B2C3D4E","invited":true,"alreadyInChannel":false,"error":null}]}}}},"exampleType":"examples"}},"exampleType":"examples"},"11e6afaa-5fe5-43a0-ae0f-80d292f5dcc8":{"description":"`invalid_request`","content":{"application/json":{"schema":{"type":"object","description":"The one error shape. Every refusal in this namespace has it.","properties":{"error":{"type":"object","description":"The refusal.","properties":{"code":{"type":"string","enum":["unauthorized","not_found","invalid_request","conflict","quota_exceeded","rate_limited","upstream_error","gone"],"description":"The machine-stable half. Branch on this, never on `message`.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Prose for a human reading a terminal.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"docs":{"type":"string","description":"Where to learn how to authenticate. Present on `unauthorized` and on nothing else — it is the one refusal a caller can reach with no credential at all, so it is the one that has to say where the way in is.","uniqueKey":"error.docs","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"unauthorized","message":"\u003cstring>","docs":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"fa07755a-b2cd-43af-a79b-5e9eb0c4e3cd":{"description":"`unauthorized`","content":{"application/json":{"schema":{"type":"object","description":"The one error shape. Every refusal in this namespace has it.","properties":{"error":{"type":"object","description":"The refusal.","properties":{"code":{"type":"string","enum":["unauthorized","not_found","invalid_request","conflict","quota_exceeded","rate_limited","upstream_error","gone"],"description":"The machine-stable half. Branch on this, never on `message`.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Prose for a human reading a terminal.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"docs":{"type":"string","description":"Where to learn how to authenticate. Present on `unauthorized` and on nothing else — it is the one refusal a caller can reach with no credential at all, so it is the one that has to say where the way in is.","uniqueKey":"error.docs","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"unauthorized","message":"\u003cstring>","docs":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"26dce889-7583-4401-a8ea-ba4f00a8a545":{"description":"`not_found`","content":{"application/json":{"schema":{"type":"object","description":"The one error shape. Every refusal in this namespace has it.","properties":{"error":{"type":"object","description":"The refusal.","properties":{"code":{"type":"string","enum":["unauthorized","not_found","invalid_request","conflict","quota_exceeded","rate_limited","upstream_error","gone"],"description":"The machine-stable half. Branch on this, never on `message`.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Prose for a human reading a terminal.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"docs":{"type":"string","description":"Where to learn how to authenticate. Present on `unauthorized` and on nothing else — it is the one refusal a caller can reach with no credential at all, so it is the one that has to say where the way in is.","uniqueKey":"error.docs","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"unauthorized","message":"\u003cstring>","docs":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"2710e7a8-1f14-4d69-b32e-a0010c8964ea":{"description":"`conflict`","content":{"application/json":{"schema":{"type":"object","description":"The one error shape. Every refusal in this namespace has it.","properties":{"error":{"type":"object","description":"The refusal.","properties":{"code":{"type":"string","enum":["unauthorized","not_found","invalid_request","conflict","quota_exceeded","rate_limited","upstream_error","gone"],"description":"The machine-stable half. Branch on this, never on `message`.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Prose for a human reading a terminal.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"docs":{"type":"string","description":"Where to learn how to authenticate. Present on `unauthorized` and on nothing else — it is the one refusal a caller can reach with no credential at all, so it is the one that has to say where the way in is.","uniqueKey":"error.docs","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"unauthorized","message":"\u003cstring>","docs":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"},"0c8bb210-2889-4031-acdc-4f574948039d":{"description":"`quota_exceeded`, `rate_limited`","content":{"application/json":{"schema":{"type":"object","description":"A `quota_exceeded` body. `Retry-After` carries the same wait as a header.","properties":{"error":{"type":"object","description":"The refusal, with the numbers a caller needs to back off correctly.","properties":{"code":{"type":"string","enum":["quota_exceeded"],"description":"Always `quota_exceeded`.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Prose for a human reading a terminal.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"limit":{"type":"integer","description":"The ceiling that was hit, in provisioning runs per rolling day.","isRequired":true,"uniqueKey":"error.limit","typeLabel":"integer"},"resetsAt":{"type":"string","format":"date-time","description":"When the oldest counted run falls out of the window. A lower bound — retry then and you may get a fresher answer.","isRequired":true,"uniqueKey":"error.resetsAt","typeLabel":"string\u003cdate-time>"}},"required":["code","message","limit","resetsAt"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"quota_exceeded","message":"\u003cstring>","limit":123,"resetsAt":"2023-11-07T05:31:56Z"}}}},"exampleType":"generated"}},"exampleType":"generated"},"2f6c89fc-f9e8-4e9e-bce7-6d4511e48069":{"description":"`upstream_error`","content":{"application/json":{"schema":{"type":"object","description":"The one error shape. Every refusal in this namespace has it.","properties":{"error":{"type":"object","description":"The refusal.","properties":{"code":{"type":"string","enum":["unauthorized","not_found","invalid_request","conflict","quota_exceeded","rate_limited","upstream_error","gone"],"description":"The machine-stable half. Branch on this, never on `message`.","isRequired":true,"uniqueKey":"error.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Prose for a human reading a terminal.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"docs":{"type":"string","description":"Where to learn how to authenticate. Present on `unauthorized` and on nothing else — it is the one refusal a caller can reach with no credential at all, so it is the one that has to say where the way in is.","uniqueKey":"error.docs","typeLabel":"string"}},"required":["code","message"],"additionalProperties":false,"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"unauthorized","message":"\u003cstring>","docs":"\u003cstring>"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"1750c2eb-3017-45c4-952a-092d519ec6f3":{"orgApiKey":{"type":"http","scheme":"bearer","description":"An organization-scoped API key, minted in control under Settings → API keys. Every failure to authenticate answers one identical 401: \"Provide a valid organization-scoped API key or an active session.\" Each operation names the one scope it is filed under, `\u003cresource>:\u003cread|write>`, where the resource is the first path segment after `/api/v1/`; a key minted today carries all 22 of them. Scopes are RECORDED — on the key and on every audit row — and are not yet enforced: no request is refused for want of one.","scopes":["channels:write"],"schemeName":"orgApiKey"}}},"servers":{"15355b2c-94fb-418f-acf2-2e27904062bb":{"url":"https://control.ergoly.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"An organization-scoped API key, minted in control under Settings → API keys. Every failure to authenticate answers one identical 401: \"Provide a valid organization-scoped API key or an active session.\" Each operation names the one scope it is filed under, `\u003cresource>:\u003cread|write>`, where the resource is the first path segment after `/api/v1/`; a key minted today carries all 22 of them. Scopes are RECORDED — on the key and on every audit row — and are not yet enforced: no request is refused for want of one.","scopes":["channels:write"],"schemeName":"orgApiKey"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"An organization-scoped API key, minted in control under Settings → API keys. Every failure to authenticate answers one identical 401: \"Provide a valid organization-scoped API key or an active session.\" Each operation names the one scope it is filed under, `\u003cresource>:\u003cread|write>`, where the resource is the first path segment after `/api/v1/`; a key minted today carries all 22 of them. Scopes are RECORDED — on the key and on every audit row — and are not yet enforced: no request is refused for want of one.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"orgApiKey","name":"Authorization"}],"title":"orgApiKey"}]},"originalFileLocation":"openapi.json"},"subdomain":"ergoly","siteName":"Ergoly","title":"Create a Slack channel - Ergoly","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-09T02:24:48.654Z","originalFileLocation":"api-reference/channels/create-a-slack-channel.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Opens a Slack channel on the CALLING worker\u0026#x27;s own identity, so only a worker\u0026#x27;s key can call it. It creates the room, maps the caller, maps then invites each of workers, and invites the person who asked — the sender of the caller\u0026#x27;s running turn, never a body field — then people. With no person asking it is a 409 before any room exists. Each of people must be a person of the org\u0026#x27;s own Slack, else a 409 (person_outside_org, person_not_a_person, person_lookup_failed) before any room exists. Anyone who could not be brought in is reported, not failed. A client mapping brings up that Client\u0026#x27;s ework for each Worker mapped to the room, and spends one of your organization\u0026#x27;s daily provisioning slots. An internal room mints nothing.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Ergoly\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ergoly/OjkmtN-S1YevUC4M/_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/ergoly/OjkmtN-S1YevUC4M/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ergoly/OjkmtN-S1YevUC4M/_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/ergoly/OjkmtN-S1YevUC4M/_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/ergoly/OjkmtN-S1YevUC4M/_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/ergoly/OjkmtN-S1YevUC4M/_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/ergoly/OjkmtN-S1YevUC4M/_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/ergoly/OjkmtN-S1YevUC4M/_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/ergoly/OjkmtN-S1YevUC4M/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a Slack channel - Ergoly\">\u003cmeta data-mint-head property=\"og:description\" content=\"Opens a Slack channel on the CALLING worker\u0026#x27;s own identity, so only a worker\u0026#x27;s key can call it. It creates the room, maps the caller, maps then invites each of workers, and invites the person who asked — the sender of the caller\u0026#x27;s running turn, never a body field — then people. With no person asking it is a 409 before any room exists. Each of people must be a person of the org\u0026#x27;s own Slack, else a 409 (person_outside_org, person_not_a_person, person_lookup_failed) before any room exists. Anyone who could not be brought in is reported, not failed. A client mapping brings up that Client\u0026#x27;s ework for each Worker mapped to the room, and spends one of your organization\u0026#x27;s daily provisioning slots. An internal room mints nothing.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Ergoly\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ergoly.ai/api-reference/channels/create-a-slack-channel\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ergoly.mintlify.site/_mintlify/api/og/v2?division=Channels\u0026amp;title=Create+a+Slack+channel\u0026amp;description=Opens+a+Slack+channel+on+the+CALLING+worker%27s+own+identity%2C+so+only+a+worker%27s+key+can+call+it.+It+creates+the+room%2C+maps+the+caller%2C+maps+then+invites+each+of+\u0026amp;theme=46f41713e7d152b6296bdf32\u0026amp;signature=ecd940cf38331ef3a8a669c0cc5a6c2b96a0459ac5b2e4d8d858fe94c1ea65f7\">\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=\"Create a Slack channel - Ergoly\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Opens a Slack channel on the CALLING worker\u0026#x27;s own identity, so only a worker\u0026#x27;s key can call it. It creates the room, maps the caller, maps then invites each of workers, and invites the person who asked — the sender of the caller\u0026#x27;s running turn, never a body field — then people. With no person asking it is a 409 before any room exists. Each of people must be a person of the org\u0026#x27;s own Slack, else a 409 (person_outside_org, person_not_a_person, person_lookup_failed) before any room exists. Anyone who could not be brought in is reported, not failed. A client mapping brings up that Client\u0026#x27;s ework for each Worker mapped to the room, and spends one of your organization\u0026#x27;s daily provisioning slots. An internal room mints nothing.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ergoly.mintlify.site/_mintlify/api/og/v2?division=Channels\u0026amp;title=Create+a+Slack+channel\u0026amp;description=Opens+a+Slack+channel+on+the+CALLING+worker%27s+own+identity%2C+so+only+a+worker%27s+key+can+call+it.+It+creates+the+room%2C+maps+the+caller%2C+maps+then+invites+each+of+\u0026amp;theme=46f41713e7d152b6296bdf32\u0026amp;signature=ecd940cf38331ef3a8a669c0cc5a6c2b96a0459ac5b2e4d8d858fe94c1ea65f7\">\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/ergoly/OjkmtN-S1YevUC4M/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Ergoly\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#079b9b\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ergoly.ai/api-reference/channels/create-a-slack-channel\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/channels/create-a-slack-channel.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.ergoly.ai/#organization\",\"name\":\"Ergoly\",\"url\":\"https://docs.ergoly.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ergoly/-drdYd6uXChmiNIn/logo/light.png?fit=max\u0026auto=format\u0026n=-drdYd6uXChmiNIn\u0026q=85\u0026s=a9084e9caaf8656a821bf02426e31c05\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ergoly.ai#website\",\"name\":\"Ergoly\",\"url\":\"https://docs.ergoly.ai\",\"publisher\":{\"@id\":\"https://docs.ergoly.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ergoly.ai/api-reference/channels/create-a-slack-channel#webpage\",\"url\":\"https://docs.ergoly.ai/api-reference/channels/create-a-slack-channel\",\"name\":\"Create a Slack channel\",\"description\":\"Opens a Slack channel on the CALLING worker's own identity, so only a worker's key can call it. It creates the room, maps the caller, maps then invites each of workers, and invites the person who asked — the sender of the caller's running turn, never a body field — then people. With no person asking it is a 409 before any room exists. Each of people must be a person of the org's own Slack, else a 409 (person_outside_org, person_not_a_person, person_lookup_failed) before any room exists. Anyone who could not be brought in is reported, not failed. A client mapping brings up that Client's ework for each Worker mapped to the room, and spends one of your organization's daily provisioning slots. An internal room mints nothing.\",\"dateModified\":\"2026-11-09T02:24:48.654Z\",\"isPartOf\":{\"@id\":\"https://docs.ergoly.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ergoly.ai/api-reference/channels/create-a-slack-channel#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ergoly.ai/api-reference/channels/create-a-slack-channel#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Channels\",\"item\":\"https://docs.ergoly.ai/api-reference/channels/list-slack-channels\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a Slack channel\",\"item\":\"https://docs.ergoly.ai/api-reference/channels/create-a-slack-channel\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.ergoly.ai/api-reference/channels/create-a-slack-channel#apireference\",\"headline\":\"Create a Slack channel\",\"name\":\"Create a Slack channel\",\"description\":\"Opens a Slack channel on the CALLING worker's own identity, so only a worker's key can call it. It creates the room, maps the caller, maps then invites each of workers, and invites the person who asked — the sender of the caller's running turn, never a body field — then people. With no person asking it is a 409 before any room exists. Each of people must be a person of the org's own Slack, else a 409 (person_outside_org, person_not_a_person, person_lookup_failed) before any room exists. Anyone who could not be brought in is reported, not failed. A client mapping brings up that Client's ework for each Worker mapped to the room, and spends one of your organization's daily provisioning slots. An internal room mints nothing.\",\"url\":\"https://docs.ergoly.ai/api-reference/channels/create-a-slack-channel\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ergoly.ai/api-reference/channels/create-a-slack-channel#webpage\"},\"dateModified\":\"2026-11-09T02:24:48.654Z\",\"publisher\":{\"@id\":\"https://docs.ergoly.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ergoly.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Ergoly\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Ergoly","nav":{"global":null,"tabs":[{"tab":"Docs","icon":"book-open","pages":[{"title":"Docs","href":""}]},{"tab":"Changelog","icon":"sparkles","pages":[{"title":"Changelog","href":"/changelog"}]},{"tab":"API","icon":"user-robot","groups":[{"group":"Getting started","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"The API","href":"/technical/api"}]},{"group":"Company","pages":[{"title":"Get your company","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/organization","href":"/api-reference/organization/get-your-company"},{"title":"List chart placements","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/company/placements","href":"/api-reference/workers/list-chart-placements"},{"title":"Get the activity feed","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/activity","href":"/api-reference/activity/get-the-activity-feed"},{"title":"Get usage","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/usage","href":"/api-reference/usage/get-usage"}]},{"group":"Workers","pages":[{"title":"List workers","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/workers","href":"/api-reference/workers/list-workers"},{"title":"Create a worker","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/workers","href":"/api-reference/workers/create-a-worker"},{"title":"Get the current worker","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/workers/me","href":"/api-reference/workers/get-the-current-worker"},{"title":"Get a worker","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/workers/{id}","href":"/api-reference/workers/get-a-worker"},{"title":"Update a worker","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/workers/{id}","href":"/api-reference/workers/update-a-worker"},{"title":"Delete a worker","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/workers/{id}","href":"/api-reference/workers/delete-a-worker"},{"group":"Provisioning","pages":[{"title":"Retry provisioning","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/workers/{id}/retry","href":"/api-reference/workers/retry-provisioning"},{"title":"Stop a worker","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/workers/{id}/stop","href":"/api-reference/workers/stop-a-worker"},{"title":"Get a provisioning job","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/jobs/{id}","href":"/api-reference/jobs/get-a-provisioning-job"}]},{"group":"Copies (eworks)","pages":[{"title":"List a worker's copies","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/workers/{id}/eworks","href":"/api-reference/eworks/list-a-workers-copies"},{"title":"Get a copy","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/eworks/{id}","href":"/api-reference/eworks/get-a-copy"}]},{"group":"Memory","pages":[{"title":"Read a memory tier","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/eworks/{id}/memory","href":"/api-reference/memory/read-a-memory-tier"},{"title":"Write a file","deprecated":null,"version":null,"openapi":"/openapi.json put /api/v1/eworks/{id}/memory","href":"/api-reference/memory/write-a-file"},{"title":"Write several files","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/eworks/{id}/memory","href":"/api-reference/memory/write-several-files"},{"title":"Delete a file or folder","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/eworks/{id}/memory","href":"/api-reference/memory/delete-a-file-or-folder"}]}]},{"group":"Clients","pages":[{"title":"List clients","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/clients","href":"/api-reference/clients/list-clients"},{"title":"Create a client","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/clients","href":"/api-reference/clients/create-a-client"},{"title":"Get a client","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/clients/{id}","href":"/api-reference/clients/get-a-client"},{"title":"Update a client","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/clients/{id}","href":"/api-reference/clients/update-a-client"},{"title":"Assign a client to a worker","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/workers/{id}/clients","href":"/api-reference/clients/assign-a-client-to-a-worker"}]},{"group":"Channels","pages":[{"title":"List Slack channels","description":"Every public room in the workspace — including the ones none of your Workers is in, which is what makes it a directory rather than a roster — plus the private rooms a Worker has been invited into. `?query=` ranks by name with an exact match first, so \"#ops\" never resolves to \"#ops-archive\". `memberWorkerIds` is empty for a room no bot is in; that is the normal state of a public channel and the reason `inviteWorkerBot` exists. `seenAt` says when Slack last confirmed the room: the directory is re-read from Slack when it goes stale, so the answer is current rather than live. A workspace that has never been read and cannot be reached now is a 502, never an empty list — \"we could not find out\" and \"you have no channels\" are opposite answers.","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/channels","href":"/api-reference/channels/list-slack-channels"},{"title":"Create a Slack channel","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/channels","href":"/api-reference/channels/create-a-slack-channel"},{"group":"Channel mappings","pages":[{"title":"List channel mappings","description":"Each row names the Slack channel and the Client it routes to. A `client` of `null` is a room marked internal, which routes to the Worker's core ework — not a row with data missing.","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/workers/{id}/channels","href":"/api-reference/channels/list-channel-mappings"},{"title":"Map a channel","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/workers/{id}/channels","href":"/api-reference/channels/map-a-channel"},{"title":"Classify a channel","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/workers/{id}/channels/{channel}","href":"/api-reference/channels/classify-a-channel"},{"title":"Unmap a channel","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/workers/{id}/channels/{channel}","href":"/api-reference/channels/unmap-a-channel"},{"title":"Invite a worker to a channel","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/workers/{id}/channels/{channel}/invite","href":"/api-reference/channels/invite-a-worker-to-a-channel"}]}]},{"group":"Tasks","pages":[{"title":"List tasks","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/tasks","href":"/api-reference/tasks/list-tasks"},{"title":"Create a task","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/tasks","href":"/api-reference/tasks/create-a-task"},{"title":"Get a task","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/tasks/{id}","href":"/api-reference/tasks/get-a-task"},{"title":"Hand off a task","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/tasks/{id}/handoff","href":"/api-reference/tasks/hand-off-a-task"},{"title":"Comment on a task","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/tasks/{id}/comments","href":"/api-reference/tasks/comment-on-a-task"},{"title":"Change a task's state","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/tasks/{id}/state","href":"/api-reference/tasks/change-a-tasks-state"},{"group":"Scheduled jobs (routines)","pages":[{"title":"Update a scheduled job","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/tasks/{id}","href":"/api-reference/tasks/update-a-scheduled-job"},{"title":"Cancel a scheduled job","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/tasks/{id}","href":"/api-reference/tasks/cancel-a-scheduled-job"},{"title":"List a job's runs","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/tasks/{id}/runs","href":"/api-reference/tasks/list-a-jobs-runs"},{"title":"Add a target","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/tasks/{id}/targets","href":"/api-reference/tasks/add-a-target"},{"title":"Remove a target","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/tasks/{id}/targets/{targetId}","href":"/api-reference/tasks/remove-a-target"}]}]},{"group":"Webhooks","pages":[{"title":"List webhooks","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/webhooks","href":"/api-reference/webhooks/list-webhooks"},{"title":"Create a webhook","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/webhooks","href":"/api-reference/webhooks/create-a-webhook"},{"title":"Get a webhook","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/webhooks/{id}","href":"/api-reference/webhooks/get-a-webhook"},{"title":"Update a webhook","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/webhooks/{id}","href":"/api-reference/webhooks/update-a-webhook"},{"title":"Revoke a webhook","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/webhooks/{id}","href":"/api-reference/webhooks/revoke-a-webhook"},{"title":"Rotate a webhook secret","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/webhooks/{id}/rotate","href":"/api-reference/webhooks/rotate-a-webhook-secret"},{"title":"List deliveries","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/webhooks/{id}/deliveries","href":"/api-reference/webhooks/list-deliveries"}]},{"group":"Connections","pages":[{"title":"List connections","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/connections","href":"/api-reference/connections/list-connections"},{"title":"Create a connection","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/connections","href":"/api-reference/connections/create-a-connection"},{"title":"Get a connection","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/connections/{id}","href":"/api-reference/connections/get-a-connection"},{"title":"Update a connection","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/connections/{id}","href":"/api-reference/connections/update-a-connection"},{"title":"Delete a connection","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/connections/{id}","href":"/api-reference/connections/delete-a-connection"},{"title":"Rotate a connection","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/connections/{id}/rotate","href":"/api-reference/connections/rotate-a-connection"},{"group":"Hosts","pages":[{"title":"List hosts","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/connections/{id}/hosts","href":"/api-reference/connections/list-hosts"},{"title":"Add a host","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/connections/{id}/hosts","href":"/api-reference/connections/add-a-host"},{"title":"Remove a host","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/connections/{id}/hosts/{host}","href":"/api-reference/connections/remove-a-host"}]},{"group":"Connected apps","pages":[{"title":"Get a connect URL","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/connections/oauth/{provider}/connect-url","href":"/api-reference/connections/get-a-connect-url"},{"title":"Get a sign-in link","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/connections/{id}/connect-url","href":"/api-reference/connections/get-a-sign-in-link"},{"title":"Add a placement","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/connections/{id}/placements","href":"/api-reference/connections/add-a-placement"},{"title":"Remove a placement","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/connections/{id}/placements/{pid}","href":"/api-reference/connections/remove-a-placement"}]},{"group":"MCP servers","pages":[{"title":"Connect an MCP server","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/connections/mcp","href":"/api-reference/connections/connect-an-mcp-server"},{"title":"Finish an MCP connection","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/connections/mcp/{id}/finish","href":"/api-reference/connections/finish-an-mcp-connection"}]},{"group":"Provider apps","pages":[{"title":"Get a provider app","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/connections/provider-apps/{provider}","href":"/api-reference/connections/get-a-provider-app"},{"title":"Set a provider app","deprecated":null,"version":null,"openapi":"/openapi.json put /api/v1/connections/provider-apps/{provider}","href":"/api-reference/connections/set-a-provider-app"},{"title":"Delete a provider app","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/connections/provider-apps/{provider}","href":"/api-reference/connections/delete-a-provider-app"}]},{"group":"Your own OAuth client","pages":[{"title":"Get your OAuth client","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/oauth-apps/{app}","href":"/api-reference/connections/get-your-oauth-client"},{"title":"Set your OAuth client","deprecated":null,"version":null,"openapi":"/openapi.json put /api/v1/oauth-apps/{app}","href":"/api-reference/connections/set-your-oauth-client"},{"title":"Delete your OAuth client","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/oauth-apps/{app}","href":"/api-reference/connections/delete-your-oauth-client"}]}]}]}]},"basePath":"","title":"Create a Slack channel - Ergoly","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":["10e4515597","c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["BannerMarkdown-Cj6eAYhz.js","dist-CdrJecqK.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-D-TRO5q5.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","OpenApiReferenceProvider-5FCzAcfS.js","utils-SLtAG4EZ.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-2DZi8ZMu.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-D7J3nkzE.js","snippetPresets-D0Alv0AH.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-BI4qNJ2c.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BD3uyr8j.js","shallow-D8iEBr5z.js","getApiPlaygroundDisplay-CgNP4lzR.js","CodeSnippet-CX-QHuMs.js","CodeSnippets-VlXE-ZUf.js","Page-D9ithiIZ.js","getPastedJson-DYNQkZ1M.js","icon-CzacdwOi.js","MethodPill-2JVqoYKi.js","DuplicateIcon-_xVXs-U8.js","createIcon-BRHrweLo.js","DynamicMarkdown-mQG_iQiE.js","SectionHeading-DMpJzv8f.js","axios-vUo_bRtp.js","Markdown-5FGIym-8.js","AssistantPageLink-CHlcWBLM.js"]}