Attach an interface to a workflow
Creates a Slack, MCP, or Teams interface bound to the workflow. The workflow must be published and have a manual trigger. One interface per type per workflow is enforced.
Requires: workflows:write
Authorizations
A Modus personal access token (modus_<orgUuid>_<prefix>_<secret>) or an OAuth 2.1 access token, sent as Authorization: Bearer <token>.
Path Parameters
Numeric workflow id.
42
Body
Interface type. Only slack, mcp, and teams are accepted.
slack, mcp, teams "mcp"
Display name for the interface.
1 - 200"Internal MCP"
Initial config payload (interface-type-specific). Free-form JSONB.
Response
Interface row id (UUID).
"00000000-0000-4000-a000-000000000300"
Parent workflow id.
42
Interface type. slack and teams deliver chat triggers; mcp exposes the workflow as an MCP server.
slack, mcp, teams "mcp"
Display name for the interface (shown in the SPA).
"Internal MCP"
Interface-type-specific configuration (e.g. webhook url, MCP token references). Free-form JSONB.
Creation timestamp.
"2026-05-01T10:00:00.000Z"
Most recent update timestamp.
"2026-05-11T10:00:00.000Z"