Work Apps
Copy page
Work app integrations (Slack, Teams, etc.)
Install Slack App
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
Query Parameters
Response Body
curl -X GET "https://api.pilot.inkeep.com/work-apps/slack/install"Slack OAuth Callback
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
Query Parameters
Response Body
curl -X GET "https://api.pilot.inkeep.com/work-apps/slack/oauth_redirect"Create Nango Connect Session
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
Request Body
application/json
Tenant ID
User email
Inkeep user ID
User display name
Response Body
application/json
curl -X POST "https://api.pilot.inkeep.com/work-apps/slack/users/connect" \ -H "Content-Type: application/json" \ -d '{ "userId": "string" }'{
"connectUrl": "string",
"sessionToken": "string"
}Disconnect User
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
Request Body
application/json
Slack team ID
Slack user ID
Tenant ID
Inkeep user ID
Response Body
application/json
curl -X POST "https://api.pilot.inkeep.com/work-apps/slack/users/disconnect" \ -H "Content-Type: application/json" \ -d '{}'{
"success": true
}Check Link Status
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
Query Parameters
"default"Response Body
application/json
curl -X GET "https://api.pilot.inkeep.com/work-apps/slack/users/link-status?slackUserId=string&slackTeamId=string"{
"linkId": "string",
"linked": true,
"linkedAt": "string",
"slackUsername": "string"
}Verify Link Token
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
Request Body
application/json
1 <= lengthemail1 <= lengthResponse Body
application/json
curl -X POST "https://api.pilot.inkeep.com/work-apps/slack/users/link/verify-token" \ -H "Content-Type: application/json" \ -d '{ "token": "string", "userId": "string" }'{
"linkId": "string",
"slackTeamId": "string",
"slackUsername": "string",
"success": true,
"tenantId": "string"
}Get Connection Status
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
Query Parameters
Inkeep user ID
Response Body
application/json
curl -X GET "https://api.pilot.inkeep.com/work-apps/slack/users/status?userId=string"{
"connected": true,
"connection": {
"appUserEmail": "string",
"appUserId": "string",
"connectionId": "string",
"linkedAt": "string",
"slackDisplayName": "string",
"slackTeamId": "string",
"slackUserId": "string",
"tenantId": "string"
}
}List Workspaces
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
Response Body
application/json
curl -X GET "https://api.pilot.inkeep.com/work-apps/slack/workspaces"{
"workspaces": [
{
"connectionId": "string",
"defaultAgentName": "string",
"hasDefaultAgent": true,
"teamId": "string",
"teamName": "string",
"tenantId": "string"
}
]
}Get Workspace
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"{
"connectionId": "string",
"defaultAgent": {
"agentId": "string",
"agentName": "string",
"projectId": "string",
"projectName": "string"
},
"teamId": "string",
"teamName": "string",
"tenantId": "string"
}Uninstall Workspace
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"{
"success": true
}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
}Check Workspace Health
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/health"{
"botId": "string",
"botName": "string",
"error": "string",
"healthy": true,
"permissions": {
"canPostMessages": true,
"canReadChannels": true,
"canReadHistory": true
},
"teamId": "string",
"teamName": "string"
}Get Workspace 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/settings"{
"defaultAgent": {
"agentId": "string",
"agentName": "string",
"projectId": "string",
"projectName": "string"
}
}Update Workspace 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
Request Body
application/json
Response Body
application/json
application/json
curl -X PUT "https://api.pilot.inkeep.com/work-apps/slack/workspaces/:teamId/settings" \ -H "Content-Type: application/json" \ -d '{}'{
"success": true
}{
"success": true
}Send Test Message
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 POST "https://api.pilot.inkeep.com/work-apps/slack/workspaces/:teamId/test-message" \ -H "Content-Type: application/json" \ -d '{ "channelId": "string" }'{
"error": "string",
"messageTs": "string",
"success": true
}List Linked Users
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/users"{
"linkedUsers": [
{
"id": "string",
"lastUsedAt": "string",
"linkedAt": "string",
"slackEmail": "string",
"slackTeamId": "string",
"slackUserId": "string",
"slackUsername": "string",
"userId": "string"
}
]
}