Channels
Copy page
Operations for managing Slack channels
List Channels
Authorization
bearerAuth cookieAuth Bearer token authentication. Use this for API clients and service-to-service communication. Set the Authorization header to "Bearer ".
In: header
Session-based authentication using HTTP-only cookies. Cookies are automatically sent by browsers. For server-side requests, include cookies with names starting with "better-auth." in the Cookie header.
In: cookie
Path Parameters
Query Parameters
100Response Body
application/json
curl -X GET "https://api.pilot.inkeep.com/work-apps/slack/workspaces/:teamId/channels"{
"channels": [
{
"agentConfig": {
"agentId": "string",
"agentName": "string",
"projectId": "string",
"projectName": "string"
},
"hasAgentConfig": true,
"id": "string",
"isPrivate": true,
"isShared": true,
"memberCount": 0,
"name": "string"
}
],
"nextCursor": "string"
}Get Channel Settings
Authorization
bearerAuth cookieAuth Bearer token authentication. Use this for API clients and service-to-service communication. Set the Authorization header to "Bearer ".
In: header
Session-based authentication using HTTP-only cookies. Cookies are automatically sent by browsers. For server-side requests, include cookies with names starting with "better-auth." in the Cookie header.
In: cookie
Path Parameters
Response Body
application/json
curl -X GET "https://api.pilot.inkeep.com/work-apps/slack/workspaces/:teamId/channels/:channelId/settings"{
"agentConfig": {
"agentId": "string",
"agentName": "string",
"projectId": "string",
"projectName": "string"
},
"channelId": "string"
}Remove Channel Config
Authorization
bearerAuth cookieAuth Bearer token authentication. Use this for API clients and service-to-service communication. Set the Authorization header to "Bearer ".
In: header
Session-based authentication using HTTP-only cookies. Cookies are automatically sent by browsers. For server-side requests, include cookies with names starting with "better-auth." in the Cookie header.
In: cookie
Path Parameters
Response Body
application/json
curl -X DELETE "https://api.pilot.inkeep.com/work-apps/slack/workspaces/:teamId/channels/:channelId/settings"{
"success": true
}Set Channel Default Agent
Authorization
bearerAuth cookieAuth Bearer token authentication. Use this for API clients and service-to-service communication. Set the Authorization header to "Bearer ".
In: header
Session-based authentication using HTTP-only cookies. Cookies are automatically sent by browsers. For server-side requests, include cookies with names starting with "better-auth." in the Cookie header.
In: cookie
Path Parameters
Request Body
application/json
Response Body
application/json
curl -X PUT "https://api.pilot.inkeep.com/work-apps/slack/workspaces/:teamId/channels/:channelId/settings" \ -H "Content-Type: application/json" \ -d '{ "agentConfig": { "agentId": "string", "projectId": "string" } }'{
"configId": "string",
"success": true
}Bulk Remove Channel Configs
Authorization
bearerAuth cookieAuth Bearer token authentication. Use this for API clients and service-to-service communication. Set the Authorization header to "Bearer ".
In: header
Session-based authentication using HTTP-only cookies. Cookies are automatically sent by browsers. For server-side requests, include cookies with names starting with "better-auth." in the Cookie header.
In: cookie
Path Parameters
Request Body
application/json
1 <= itemsResponse Body
application/json
curl -X DELETE "https://api.pilot.inkeep.com/work-apps/slack/workspaces/:teamId/channels/bulk" \ -H "Content-Type: application/json" \ -d '{ "channelIds": [ "string" ] }'{
"removed": 0,
"success": true
}Bulk Set Channel Agents
Authorization
bearerAuth cookieAuth Bearer token authentication. Use this for API clients and service-to-service communication. Set the Authorization header to "Bearer ".
In: header
Session-based authentication using HTTP-only cookies. Cookies are automatically sent by browsers. For server-side requests, include cookies with names starting with "better-auth." in the Cookie header.
In: cookie
Path Parameters
Request Body
application/json
1 <= itemsResponse Body
application/json
curl -X PUT "https://api.pilot.inkeep.com/work-apps/slack/workspaces/:teamId/channels/bulk" \ -H "Content-Type: application/json" \ -d '{ "agentConfig": { "agentId": "string", "projectId": "string" }, "channelIds": [ "string" ] }'{
"errors": [
{
"channelId": "string",
"error": "string"
}
],
"failed": 0,
"success": true,
"updated": 0
}