Levain LabsLevain Labs
API ReferenceAgents

List Workspace Slack Routes

List every Slack routing rule in the workspace, across all agents.

List every Slack routing rule in the workspace, across all agents.

A channel — and the DM surface — can only be routed to one agent at a time; use this to show which agent already holds a surface before attempting to route it (routing an already-routed surface returns 409).

GET
/api/v1/slack-routes

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Header Parameters

X-API-Key?string|null

Response Body

application/json

application/json

curl -X GET "https://api.levainlabs.com/api/v1/slack-routes"
[
  {
    "id": "string",
    "agent_id": "string",
    "integration_id": "string",
    "kind": "channel",
    "slack_channel_id": "string",
    "created_at": "string",
    "agent_name": "string"
  }
]