Users
Copy page
Operations for managing users
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 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"
}
]
}