Skip to main content
GET
/
slack-channels
List slack channels
curl --request GET \
  --url https://core.ravenna.ai/api/slack-channels \
  --header 'x-ravenna-api-token: <api-key>'
{
  "items": [
    {
      "id": "<string>",
      "type": "DM",
      "appId": "<string>",
      "app": {
        "id": "<string>",
        "appId": "<string>",
        "botUserId": "<string>",
        "authedUserId": "<string>",
        "teamId": "<string>",
        "teamName": "<string>",
        "teamDomain": "<string>",
        "teamUrl": "<string>",
        "organizationId": "<string>",
        "isEnterpriseInstall": true,
        "enterpriseId": "<string>",
        "enterpriseName": "<string>",
        "workflowsAppId": "<string>",
        "workflowsAppSigningSecret": "<string>",
        "agentWorkspaceId": "<string>",
        "configSettings": "<any>",
        "error": "<string>",
        "accessToken": "<string>",
        "refreshToken": "<string>",
        "expiresIn": 123,
        "expiresAt": "<string>",
        "createdAt": "<string>",
        "updatedAt": "<string>"
      },
      "private": true,
      "channelId": "<string>",
      "channelName": "<string>",
      "mirrorTs": "<string>",
      "workspaceId": "<string>",
      "workspace": {
        "id": "<string>",
        "name": "<string>"
      },
      "queueId": "<string>",
      "queue": {
        "id": "<string>",
        "name": "<string>",
        "emoji": "<string>",
        "workspaceId": "<string>"
      },
      "agentId": "<string>",
      "slackUserId": "<string>",
      "userId": "<string>",
      "ticketId": "<string>",
      "contextTeamId": "<string>",
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "deletedAt": "<string>"
    }
  ],
  "totalCount": 123,
  "nextCursor": "<string>"
}

Authorizations

x-ravenna-api-token
string
header
required

Query Parameters

appId
string
required
type
enum<string>
Available options:
DM,
REQUEST,
TRIAGE,
GROUP,
ASSISTANT
skip
number | null
Required range: x >= 1
offset
number | null
Required range: x >= 0
cursor
string | null
limit
number | null
default:100
Required range: 1 <= x <= 10000
set
string | null
sortBy
string | null
sortDirection
enum<string> | null
Available options:
asc,
desc
groupBy
string | null
groupDirection
enum<string> | null
Available options:
asc,
desc
workspaceId
string | null

Response

Successful response

items
object[]
required
totalCount
number
required
nextCursor
string | null
I