User Organizations
Copy page
Operations for managing user organizations
List user organizations
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
User ID
Response Body
application/json
curl -X GET "https://api.pilot.inkeep.com/manage/api/users/string/organizations"[
{
"createdAt": "string",
"id": "string",
"organizationId": "string",
"organizationName": "string",
"organizationSlug": "string",
"role": "string",
"userId": "string"
}
]Add user to organization
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
User ID
Request Body
application/json
"member"Response Body
application/json
curl -X POST "https://api.pilot.inkeep.com/manage/api/users/string/organizations" \ -H "Content-Type: application/json" \ -d '{ "organizationId": "string" }'{
"createdAt": "string",
"organizationId": "string",
"role": "string"
}