This reference is generated from the OpenAPI source at content/docs/api-reference/openapi.yaml.
It covers public and gated /api/* routes implemented by the Next.js route handlers. Routes under /api/internal/* are intentionally excluded.
Each operation includes authentication requirements, parameters, request and response schemas, example payloads, cURL, JavaScript, and Python samples, plus an in-browser request tester. Use the tester against your local origin or set the Base URL to https://app.kommander.ai.
Kommander.ai API Reference
Reference generated from Next.js route handlers under app/api. Response schemas intentionally describe public envelopes and common fields, not database schemas.
- Groups
- 15
- Paths
- 112
- Operations
- 171
Authentication
cookieAuth
Authenticated dashboard session issued by NextAuth.
bearerAuth
Bearer token used by embedded clients, service calls, or future public API clients where supported.
widgetIdentity
Signed widget identity payload. Pair with identityPayload and identityTimestamp, or use legacy userHash where still accepted.
Errors
Most handlers return JSON errors shaped as { error: string, details?: unknown }. Message endpoints may also return { status: "error", error: string }. Streaming endpoints emit JSON error events in the event stream where possible.
Rate Limits
Rate limits are enforced on selected authenticated organization and admin endpoints. Clients should treat 429 as retryable after backoff and should honor Retry-After when present.
- Use exponential backoff for 429 and transient 5xx responses.
- Do not retry non-idempotent POST requests unless the caller provides an idempotency key or the endpoint is explicitly idempotent.
- Streaming clients should reconnect with the last known conversation or cursor state.
Auth
Authentication endpoints.
post/api/auth/auto-loginCreate or run Auth Auto Login
/api/auth/auto-loginCreate or run Auth Auto LoginCreate or run Auth Auto Login. This authentication endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/auth/auto-login \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/auth/auto-login', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/auth/auto-login',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/auth/auto-loginResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/auth/{path}Get Auth Pathnextauth
/api/auth/{path}Get Auth PathnextauthNextAuth route handler for provider sign-in, callback, session, CSRF, and sign-out actions.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| path | path | string | yes | path route parameter. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/auth/{path} \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/auth/{path}', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/auth/{path}',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/auth/{path}Responses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/auth/{path}Create or run Auth Pathnextauth
/api/auth/{path}Create or run Auth PathnextauthNextAuth route handler for provider sign-in, callback, session, CSRF, and sign-out actions.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| path | path | string | yes | path route parameter. |
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/auth/{path} \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/auth/{path}', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/auth/{path}',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/auth/{path}Responses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/get-ws-tokenCreate or run Get WebSocket Token
/api/get-ws-tokenCreate or run Get WebSocket TokenCreate or run Get WebSocket Token. This authentication endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/get-ws-token \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/get-ws-token', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/get-ws-token',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/get-ws-tokenResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}options/api/get-ws-tokenCORS preflight for get ws token
/api/get-ws-tokenCORS preflight for get ws tokenCORS preflight for /api/get-ws-token. Used by browsers before cross-origin requests.
Authentication
No authentication requirement is declared for this operation.
Code examples
cURL
curl -X OPTIONS https://app.kommander.ai/api/get-ws-tokenJavaScript
const response = await fetch('https://app.kommander.ai/api/get-ws-token', {
method: 'OPTIONS',
headers: {},
});
const data = await response.json();Python
import requests
response = requests.options(
'https://app.kommander.ai/api/get-ws-token',
headers={}
)
data = response.json()Interactive testing
OPTIONS /api/get-ws-tokenResponses
204Preflight accepted. The response includes Access-Control-Allow-* headers where the route supports browser cross-origin calls.
405Preflight is not allowed for this deployment or route configuration.
Conversations
Conversations endpoints.
get/api/conversationsGet Conversations
/api/conversationsGet ConversationsGet Conversations. This conversations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| userId | query | string | no | Owner, bot, or context user identifier when the handler accepts visitor-scoped requests. |
| site | query | string | no | Conversation channel or site identifier. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/conversations \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/conversations', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/conversations',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/conversationsResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/conversationsCreate or run Conversations
/api/conversationsCreate or run ConversationsCreate or run Conversations. This conversations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/conversations \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/conversations', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/conversations',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/conversationsResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/conversations/latestGet Conversations Latest
/api/conversations/latestGet Conversations LatestGet Conversations Latest. This conversations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| userId | query | string | no | Owner, bot, or context user identifier when the handler accepts visitor-scoped requests. |
| site | query | string | no | Conversation channel or site identifier. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/conversations/latest \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/conversations/latest', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/conversations/latest',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/conversations/latestResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/conversations/moreGet Conversations More
/api/conversations/moreGet Conversations MoreGet Conversations More. This conversations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| userId | query | string | no | Owner, bot, or context user identifier when the handler accepts visitor-scoped requests. |
| site | query | string | no | Conversation channel or site identifier. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/conversations/more \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/conversations/more', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/conversations/more',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/conversations/moreResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/conversations/streamGet Conversations Stream
/api/conversations/streamGet Conversations StreamStreaming or polling endpoint. Clients should handle incremental responses, reconnects, and standard JSON error events.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| userId | query | string | no | Owner, bot, or context user identifier when the handler accepts visitor-scoped requests. |
| site | query | string | no | Conversation channel or site identifier. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/conversations/stream \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/conversations/stream', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/conversations/stream',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/conversations/streamResponses
200text/event-streamapplication/jsonSuccessful response from the route handler.
text/event-stream schema
{
"type": "string",
"description": "Server-sent events stream."
}application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
"string"400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/conversations/{id}Get Conversations ID
/api/conversations/{id}Get Conversations IDGet Conversations ID. This conversations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
| userId | query | string | no | Owner, bot, or context user identifier when the handler accepts visitor-scoped requests. |
| site | query | string | no | Conversation channel or site identifier. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/conversations/123 \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/conversations/123', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/conversations/123',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/conversations/123Responses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/conversations/{id}Create or run Conversations ID
/api/conversations/{id}Create or run Conversations IDCreate or run Conversations ID. This conversations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/conversations/123 \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/conversations/123', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/conversations/123',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/conversations/123Responses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}delete/api/conversations/{id}Delete Conversations ID
/api/conversations/{id}Delete Conversations IDDelete Conversations ID. This conversations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Code examples
cURL
curl -X DELETE https://app.kommander.ai/api/conversations/123 \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/conversations/123', {
method: 'DELETE',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.delete(
'https://app.kommander.ai/api/conversations/123',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
DELETE /api/conversations/123Responses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/conversations/{id}/agent-messageCreate or run Conversations ID Agent Message
/api/conversations/{id}/agent-messageCreate or run Conversations ID Agent MessageCreate or run Conversations ID Agent Message. This conversations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/conversations/123/agent-message \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/conversations/123/agent-message', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/conversations/123/agent-message',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/conversations/123/agent-messageResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/conversations/{id}/tool-debugGet Conversations ID Tool Debug
/api/conversations/{id}/tool-debugGet Conversations ID Tool DebugGet Conversations ID Tool Debug. This conversations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
| userId | query | string | no | Owner, bot, or context user identifier when the handler accepts visitor-scoped requests. |
| site | query | string | no | Conversation channel or site identifier. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/conversations/123/tool-debug \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/conversations/123/tool-debug', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/conversations/123/tool-debug',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/conversations/123/tool-debugResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/conversations/{id}/updatesGet Conversations ID Updates
/api/conversations/{id}/updatesGet Conversations ID UpdatesStreaming or polling endpoint. Clients should handle incremental responses, reconnects, and standard JSON error events.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
| userId | query | string | no | Owner, bot, or context user identifier when the handler accepts visitor-scoped requests. |
| site | query | string | no | Conversation channel or site identifier. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/conversations/123/updates \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/conversations/123/updates', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/conversations/123/updates',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/conversations/123/updatesResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/user-conversations/{userId}Get User Conversations UserId
/api/user-conversations/{userId}Get User Conversations UserIdGet User Conversations UserId. This conversations endpoint is documented from the matching route handler under app/api.
Authentication
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
cookieAuthAuthenticated dashboard session issued by NextAuth.
widgetIdentitySigned widget identity payload. Pair with identityPayload and identityTimestamp, or use legacy userHash where still accepted.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| userId | path | string | yes | userId route parameter. |
| userId | query | string | no | Owner, bot, or context user identifier when the handler accepts visitor-scoped requests. |
| site | query | string | no | Conversation channel or site identifier. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/user-conversations/123 \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/user-conversations/123', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/user-conversations/123',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/user-conversations/123Responses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}options/api/user-conversations/{userId}CORS preflight for user conversations userId
/api/user-conversations/{userId}CORS preflight for user conversations userIdCORS preflight for /api/user-conversations/{userId}. Used by browsers before cross-origin requests.
Authentication
No authentication requirement is declared for this operation.
Code examples
cURL
curl -X OPTIONS https://app.kommander.ai/api/user-conversations/123JavaScript
const response = await fetch('https://app.kommander.ai/api/user-conversations/123', {
method: 'OPTIONS',
headers: {},
});
const data = await response.json();Python
import requests
response = requests.options(
'https://app.kommander.ai/api/user-conversations/123',
headers={}
)
data = response.json()Interactive testing
OPTIONS /api/user-conversations/123Responses
204Preflight accepted. The response includes Access-Control-Allow-* headers where the route supports browser cross-origin calls.
405Preflight is not allowed for this deployment or route configuration.
RAG
RAG endpoints.
post/api/kommander-queryCreate or run Kommander Query
/api/kommander-queryCreate or run Kommander QueryCreate or run Kommander Query. This rag endpoint is documented from the matching route handler under app/api.
Authentication
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
cookieAuthAuthenticated dashboard session issued by NextAuth.
widgetIdentitySigned widget identity payload. Pair with identityPayload and identityTimestamp, or use legacy userHash where still accepted.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/kommander-query \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/kommander-query', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/kommander-query',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/kommander-queryResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}options/api/kommander-queryCORS preflight for kommander query
/api/kommander-queryCORS preflight for kommander queryCORS preflight for /api/kommander-query. Used by browsers before cross-origin requests.
Authentication
No authentication requirement is declared for this operation.
Code examples
cURL
curl -X OPTIONS https://app.kommander.ai/api/kommander-queryJavaScript
const response = await fetch('https://app.kommander.ai/api/kommander-query', {
method: 'OPTIONS',
headers: {},
});
const data = await response.json();Python
import requests
response = requests.options(
'https://app.kommander.ai/api/kommander-query',
headers={}
)
data = response.json()Interactive testing
OPTIONS /api/kommander-queryResponses
204Preflight accepted. The response includes Access-Control-Allow-* headers where the route supports browser cross-origin calls.
405Preflight is not allowed for this deployment or route configuration.
post/api/kommander-query-streamCreate or run Kommander Query Stream
/api/kommander-query-streamCreate or run Kommander Query StreamStreaming or polling endpoint. Clients should handle incremental responses, reconnects, and standard JSON error events.
Authentication
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
cookieAuthAuthenticated dashboard session issued by NextAuth.
widgetIdentitySigned widget identity payload. Pair with identityPayload and identityTimestamp, or use legacy userHash where still accepted.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/kommander-query-stream \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/kommander-query-stream', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/kommander-query-stream',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/kommander-query-streamResponses
200text/event-streamapplication/json200 or 201 response from the route handler.
text/event-stream schema
{
"type": "string",
"description": "Server-sent events stream."
}application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
"string"400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}options/api/kommander-query-streamCORS preflight for kommander query stream
/api/kommander-query-streamCORS preflight for kommander query streamCORS preflight for /api/kommander-query-stream. Used by browsers before cross-origin requests.
Authentication
No authentication requirement is declared for this operation.
Code examples
cURL
curl -X OPTIONS https://app.kommander.ai/api/kommander-query-streamJavaScript
const response = await fetch('https://app.kommander.ai/api/kommander-query-stream', {
method: 'OPTIONS',
headers: {},
});
const data = await response.json();Python
import requests
response = requests.options(
'https://app.kommander.ai/api/kommander-query-stream',
headers={}
)
data = response.json()Interactive testing
OPTIONS /api/kommander-query-streamResponses
204Preflight accepted. The response includes Access-Control-Allow-* headers where the route supports browser cross-origin calls.
405Preflight is not allowed for this deployment or route configuration.
post/api/kommander-rag-callbackCreate or run Kommander RAG Callback
/api/kommander-rag-callbackCreate or run Kommander RAG CallbackCreate or run Kommander RAG Callback. This rag endpoint is documented from the matching route handler under app/api.
Authentication
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
cookieAuthAuthenticated dashboard session issued by NextAuth.
widgetIdentitySigned widget identity payload. Pair with identityPayload and identityTimestamp, or use legacy userHash where still accepted.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/kommander-rag-callback \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/kommander-rag-callback', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/kommander-rag-callback',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/kommander-rag-callbackResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}options/api/kommander-rag-callbackCORS preflight for kommander rag callback
/api/kommander-rag-callbackCORS preflight for kommander rag callbackCORS preflight for /api/kommander-rag-callback. Used by browsers before cross-origin requests.
Authentication
No authentication requirement is declared for this operation.
Code examples
cURL
curl -X OPTIONS https://app.kommander.ai/api/kommander-rag-callbackJavaScript
const response = await fetch('https://app.kommander.ai/api/kommander-rag-callback', {
method: 'OPTIONS',
headers: {},
});
const data = await response.json();Python
import requests
response = requests.options(
'https://app.kommander.ai/api/kommander-rag-callback',
headers={}
)
data = response.json()Interactive testing
OPTIONS /api/kommander-rag-callbackResponses
204Preflight accepted. The response includes Access-Control-Allow-* headers where the route supports browser cross-origin calls.
405Preflight is not allowed for this deployment or route configuration.
post/api/kommander-rag-queryCreate or run Kommander RAG Query
/api/kommander-rag-queryCreate or run Kommander RAG QueryStreaming or polling endpoint. Clients should handle incremental responses, reconnects, and standard JSON error events.
Authentication
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
cookieAuthAuthenticated dashboard session issued by NextAuth.
widgetIdentitySigned widget identity payload. Pair with identityPayload and identityTimestamp, or use legacy userHash where still accepted.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/kommander-rag-query \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/kommander-rag-query', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/kommander-rag-query',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/kommander-rag-queryResponses
200text/event-streamapplication/json200 or 201 response from the route handler.
text/event-stream schema
{
"type": "string",
"description": "Server-sent events stream."
}application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
"string"400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}options/api/kommander-rag-queryCORS preflight for kommander rag query
/api/kommander-rag-queryCORS preflight for kommander rag queryCORS preflight for /api/kommander-rag-query. Used by browsers before cross-origin requests.
Authentication
No authentication requirement is declared for this operation.
Code examples
cURL
curl -X OPTIONS https://app.kommander.ai/api/kommander-rag-queryJavaScript
const response = await fetch('https://app.kommander.ai/api/kommander-rag-query', {
method: 'OPTIONS',
headers: {},
});
const data = await response.json();Python
import requests
response = requests.options(
'https://app.kommander.ai/api/kommander-rag-query',
headers={}
)
data = response.json()Interactive testing
OPTIONS /api/kommander-rag-queryResponses
204Preflight accepted. The response includes Access-Control-Allow-* headers where the route supports browser cross-origin calls.
405Preflight is not allowed for this deployment or route configuration.
post/api/kommander-rag-streamCreate or run Kommander RAG Stream
/api/kommander-rag-streamCreate or run Kommander RAG StreamStreaming or polling endpoint. Clients should handle incremental responses, reconnects, and standard JSON error events.
Authentication
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
cookieAuthAuthenticated dashboard session issued by NextAuth.
widgetIdentitySigned widget identity payload. Pair with identityPayload and identityTimestamp, or use legacy userHash where still accepted.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/kommander-rag-stream \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/kommander-rag-stream', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/kommander-rag-stream',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/kommander-rag-streamResponses
200text/event-streamapplication/json200 or 201 response from the route handler.
text/event-stream schema
{
"type": "string",
"description": "Server-sent events stream."
}application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
"string"400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}options/api/kommander-rag-streamCORS preflight for kommander rag stream
/api/kommander-rag-streamCORS preflight for kommander rag streamCORS preflight for /api/kommander-rag-stream. Used by browsers before cross-origin requests.
Authentication
No authentication requirement is declared for this operation.
Code examples
cURL
curl -X OPTIONS https://app.kommander.ai/api/kommander-rag-streamJavaScript
const response = await fetch('https://app.kommander.ai/api/kommander-rag-stream', {
method: 'OPTIONS',
headers: {},
});
const data = await response.json();Python
import requests
response = requests.options(
'https://app.kommander.ai/api/kommander-rag-stream',
headers={}
)
data = response.json()Interactive testing
OPTIONS /api/kommander-rag-streamResponses
204Preflight accepted. The response includes Access-Control-Allow-* headers where the route supports browser cross-origin calls.
405Preflight is not allowed for this deployment or route configuration.
post/api/kommander-rag-triggerCreate or run Kommander RAG Trigger
/api/kommander-rag-triggerCreate or run Kommander RAG TriggerCreate or run Kommander RAG Trigger. This rag endpoint is documented from the matching route handler under app/api.
Authentication
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
cookieAuthAuthenticated dashboard session issued by NextAuth.
widgetIdentitySigned widget identity payload. Pair with identityPayload and identityTimestamp, or use legacy userHash where still accepted.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/kommander-rag-trigger \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/kommander-rag-trigger', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/kommander-rag-trigger',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/kommander-rag-triggerResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}options/api/kommander-rag-triggerCORS preflight for kommander rag trigger
/api/kommander-rag-triggerCORS preflight for kommander rag triggerCORS preflight for /api/kommander-rag-trigger. Used by browsers before cross-origin requests.
Authentication
No authentication requirement is declared for this operation.
Code examples
cURL
curl -X OPTIONS https://app.kommander.ai/api/kommander-rag-triggerJavaScript
const response = await fetch('https://app.kommander.ai/api/kommander-rag-trigger', {
method: 'OPTIONS',
headers: {},
});
const data = await response.json();Python
import requests
response = requests.options(
'https://app.kommander.ai/api/kommander-rag-trigger',
headers={}
)
data = response.json()Interactive testing
OPTIONS /api/kommander-rag-triggerResponses
204Preflight accepted. The response includes Access-Control-Allow-* headers where the route supports browser cross-origin calls.
405Preflight is not allowed for this deployment or route configuration.
post/api/kommander-rag-trigger-whatsappCreate or run Kommander RAG Trigger Whatsapp
/api/kommander-rag-trigger-whatsappCreate or run Kommander RAG Trigger WhatsappCreate or run Kommander RAG Trigger Whatsapp. This rag endpoint is documented from the matching route handler under app/api.
Authentication
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
cookieAuthAuthenticated dashboard session issued by NextAuth.
widgetIdentitySigned widget identity payload. Pair with identityPayload and identityTimestamp, or use legacy userHash where still accepted.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/kommander-rag-trigger-whatsapp \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/kommander-rag-trigger-whatsapp', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/kommander-rag-trigger-whatsapp',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/kommander-rag-trigger-whatsappResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}options/api/kommander-rag-trigger-whatsappCORS preflight for kommander rag trigger whatsapp
/api/kommander-rag-trigger-whatsappCORS preflight for kommander rag trigger whatsappCORS preflight for /api/kommander-rag-trigger-whatsapp. Used by browsers before cross-origin requests.
Authentication
No authentication requirement is declared for this operation.
Code examples
cURL
curl -X OPTIONS https://app.kommander.ai/api/kommander-rag-trigger-whatsappJavaScript
const response = await fetch('https://app.kommander.ai/api/kommander-rag-trigger-whatsapp', {
method: 'OPTIONS',
headers: {},
});
const data = await response.json();Python
import requests
response = requests.options(
'https://app.kommander.ai/api/kommander-rag-trigger-whatsapp',
headers={}
)
data = response.json()Interactive testing
OPTIONS /api/kommander-rag-trigger-whatsappResponses
204Preflight accepted. The response includes Access-Control-Allow-* headers where the route supports browser cross-origin calls.
405Preflight is not allowed for this deployment or route configuration.
Messages
Messages endpoints.
post/api/append-messagesCreate or run Append Messages
/api/append-messagesCreate or run Append MessagesCreate or run Append Messages. This messages endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/append-messages \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/append-messages', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/append-messages',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/append-messagesResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}options/api/append-messagesCORS preflight for append messages
/api/append-messagesCORS preflight for append messagesCORS preflight for /api/append-messages. Used by browsers before cross-origin requests.
Authentication
No authentication requirement is declared for this operation.
Code examples
cURL
curl -X OPTIONS https://app.kommander.ai/api/append-messagesJavaScript
const response = await fetch('https://app.kommander.ai/api/append-messages', {
method: 'OPTIONS',
headers: {},
});
const data = await response.json();Python
import requests
response = requests.options(
'https://app.kommander.ai/api/append-messages',
headers={}
)
data = response.json()Interactive testing
OPTIONS /api/append-messagesResponses
204Preflight accepted. The response includes Access-Control-Allow-* headers where the route supports browser cross-origin calls.
405Preflight is not allowed for this deployment or route configuration.
post/api/append-messages-agent-modeCreate or run Append Messages Agent Mode
/api/append-messages-agent-modeCreate or run Append Messages Agent ModeCreate or run Append Messages Agent Mode. This messages endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/append-messages-agent-mode \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/append-messages-agent-mode', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/append-messages-agent-mode',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/append-messages-agent-modeResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}options/api/append-messages-agent-modeCORS preflight for append messages agent mode
/api/append-messages-agent-modeCORS preflight for append messages agent modeCORS preflight for /api/append-messages-agent-mode. Used by browsers before cross-origin requests.
Authentication
No authentication requirement is declared for this operation.
Code examples
cURL
curl -X OPTIONS https://app.kommander.ai/api/append-messages-agent-modeJavaScript
const response = await fetch('https://app.kommander.ai/api/append-messages-agent-mode', {
method: 'OPTIONS',
headers: {},
});
const data = await response.json();Python
import requests
response = requests.options(
'https://app.kommander.ai/api/append-messages-agent-mode',
headers={}
)
data = response.json()Interactive testing
OPTIONS /api/append-messages-agent-modeResponses
204Preflight accepted. The response includes Access-Control-Allow-* headers where the route supports browser cross-origin calls.
405Preflight is not allowed for this deployment or route configuration.
post/api/save-chatbot-responseCreate or run Save Chatbot Response
/api/save-chatbot-responseCreate or run Save Chatbot ResponseCreate or run Save Chatbot Response. This messages endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/save-chatbot-response \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/save-chatbot-response', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/save-chatbot-response',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/save-chatbot-responseResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}Training
Training endpoints.
post/api/mark-faq-editedCreate or run Mark Faq Edited
/api/mark-faq-editedCreate or run Mark Faq EditedCreate or run Mark Faq Edited. This training endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/mark-faq-edited \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/mark-faq-edited', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/mark-faq-edited',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/mark-faq-editedResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}options/api/mark-faq-editedCORS preflight for mark faq edited
/api/mark-faq-editedCORS preflight for mark faq editedCORS preflight for /api/mark-faq-edited. Used by browsers before cross-origin requests.
Authentication
No authentication requirement is declared for this operation.
Code examples
cURL
curl -X OPTIONS https://app.kommander.ai/api/mark-faq-editedJavaScript
const response = await fetch('https://app.kommander.ai/api/mark-faq-edited', {
method: 'OPTIONS',
headers: {},
});
const data = await response.json();Python
import requests
response = requests.options(
'https://app.kommander.ai/api/mark-faq-edited',
headers={}
)
data = response.json()Interactive testing
OPTIONS /api/mark-faq-editedResponses
204Preflight accepted. The response includes Access-Control-Allow-* headers where the route supports browser cross-origin calls.
405Preflight is not allowed for this deployment or route configuration.
post/api/process-fileCreate or run Process File
/api/process-fileCreate or run Process FileCreate or run Process File. This training endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body (required)
multipart/form-datamultipart/form-data schema
{
"type": "object",
"additionalProperties": true
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/process-file \
-H "Authorization: Bearer <token>" \
-H "Content-Type: multipart/form-data" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/process-file', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "multipart/form-data"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/process-file',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "multipart/form-data"
},
json={}
)
data = response.json()Interactive testing
POST /api/process-fileResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/settings/{userId}Get Settings UserId
/api/settings/{userId}Get Settings UserIdGet Settings UserId. This training endpoint is documented from the matching route handler under app/api.
Authentication
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
cookieAuthAuthenticated dashboard session issued by NextAuth.
widgetIdentitySigned widget identity payload. Pair with identityPayload and identityTimestamp, or use legacy userHash where still accepted.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| userId | path | string | yes | userId route parameter. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/settings/123 \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/settings/123', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/settings/123',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/settings/123Responses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}put/api/settings/{userId}Replace Settings UserId
/api/settings/{userId}Replace Settings UserIdReplace Settings UserId. This training endpoint is documented from the matching route handler under app/api.
Authentication
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
cookieAuthAuthenticated dashboard session issued by NextAuth.
widgetIdentitySigned widget identity payload. Pair with identityPayload and identityTimestamp, or use legacy userHash where still accepted.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| userId | path | string | yes | userId route parameter. |
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X PUT https://app.kommander.ai/api/settings/123 \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/settings/123', {
method: 'PUT',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.put(
'https://app.kommander.ai/api/settings/123',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
PUT /api/settings/123Responses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}options/api/settings/{userId}CORS preflight for settings userId
/api/settings/{userId}CORS preflight for settings userIdCORS preflight for /api/settings/{userId}. Used by browsers before cross-origin requests.
Authentication
No authentication requirement is declared for this operation.
Code examples
cURL
curl -X OPTIONS https://app.kommander.ai/api/settings/123JavaScript
const response = await fetch('https://app.kommander.ai/api/settings/123', {
method: 'OPTIONS',
headers: {},
});
const data = await response.json();Python
import requests
response = requests.options(
'https://app.kommander.ai/api/settings/123',
headers={}
)
data = response.json()Interactive testing
OPTIONS /api/settings/123Responses
204Preflight accepted. The response includes Access-Control-Allow-* headers where the route supports browser cross-origin calls.
405Preflight is not allowed for this deployment or route configuration.
Widget
Widget endpoints.
get/api/widget-conversations/{id}Get Widget Conversations ID
/api/widget-conversations/{id}Get Widget Conversations IDGet Widget Conversations ID. This widget endpoint is documented from the matching route handler under app/api.
Authentication
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
cookieAuthAuthenticated dashboard session issued by NextAuth.
widgetIdentitySigned widget identity payload. Pair with identityPayload and identityTimestamp, or use legacy userHash where still accepted.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
| userId | query | string | no | Owner, bot, or context user identifier when the handler accepts visitor-scoped requests. |
| site | query | string | no | Conversation channel or site identifier. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/widget-conversations/123 \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/widget-conversations/123', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/widget-conversations/123',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/widget-conversations/123Responses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}options/api/widget-conversations/{id}CORS preflight for widget conversations id
/api/widget-conversations/{id}CORS preflight for widget conversations idCORS preflight for /api/widget-conversations/{id}. Used by browsers before cross-origin requests.
Authentication
No authentication requirement is declared for this operation.
Code examples
cURL
curl -X OPTIONS https://app.kommander.ai/api/widget-conversations/123JavaScript
const response = await fetch('https://app.kommander.ai/api/widget-conversations/123', {
method: 'OPTIONS',
headers: {},
});
const data = await response.json();Python
import requests
response = requests.options(
'https://app.kommander.ai/api/widget-conversations/123',
headers={}
)
data = response.json()Interactive testing
OPTIONS /api/widget-conversations/123Responses
204Preflight accepted. The response includes Access-Control-Allow-* headers where the route supports browser cross-origin calls.
405Preflight is not allowed for this deployment or route configuration.
get/api/widget-conversations/{id}/updatesGet Widget Conversations ID Updates
/api/widget-conversations/{id}/updatesGet Widget Conversations ID UpdatesStreaming or polling endpoint. Clients should handle incremental responses, reconnects, and standard JSON error events.
Authentication
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
cookieAuthAuthenticated dashboard session issued by NextAuth.
widgetIdentitySigned widget identity payload. Pair with identityPayload and identityTimestamp, or use legacy userHash where still accepted.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
| userId | query | string | no | Owner, bot, or context user identifier when the handler accepts visitor-scoped requests. |
| site | query | string | no | Conversation channel or site identifier. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/widget-conversations/123/updates \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/widget-conversations/123/updates', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/widget-conversations/123/updates',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/widget-conversations/123/updatesResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}options/api/widget-conversations/{id}/updatesCORS preflight for widget conversations id updates
/api/widget-conversations/{id}/updatesCORS preflight for widget conversations id updatesCORS preflight for /api/widget-conversations/{id}/updates. Used by browsers before cross-origin requests.
Authentication
No authentication requirement is declared for this operation.
Code examples
cURL
curl -X OPTIONS https://app.kommander.ai/api/widget-conversations/123/updatesJavaScript
const response = await fetch('https://app.kommander.ai/api/widget-conversations/123/updates', {
method: 'OPTIONS',
headers: {},
});
const data = await response.json();Python
import requests
response = requests.options(
'https://app.kommander.ai/api/widget-conversations/123/updates',
headers={}
)
data = response.json()Interactive testing
OPTIONS /api/widget-conversations/123/updatesResponses
204Preflight accepted. The response includes Access-Control-Allow-* headers where the route supports browser cross-origin calls.
405Preflight is not allowed for this deployment or route configuration.
Integrations
Integrations endpoints.
get/api/integrations/customer-dataGet Integrations Customer Data
/api/integrations/customer-dataGet Integrations Customer DataGet Integrations Customer Data. This integrations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| organizationId | query | string | no | Organization scope when supported. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/integrations/customer-data \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/integrations/customer-data', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/integrations/customer-data',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/integrations/customer-dataResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/integrations/customer-dataCreate or run Integrations Customer Data
/api/integrations/customer-dataCreate or run Integrations Customer DataCreate or run Integrations Customer Data. This integrations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/integrations/customer-data \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/integrations/customer-data', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/integrations/customer-data',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/integrations/customer-dataResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/integrations/customer-data/{id}Get Integrations Customer Data ID
/api/integrations/customer-data/{id}Get Integrations Customer Data IDGet Integrations Customer Data ID. This integrations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
| organizationId | query | string | no | Organization scope when supported. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/integrations/customer-data/123 \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/integrations/customer-data/123', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/integrations/customer-data/123',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/integrations/customer-data/123Responses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}patch/api/integrations/customer-data/{id}Update Integrations Customer Data ID
/api/integrations/customer-data/{id}Update Integrations Customer Data IDUpdate Integrations Customer Data ID. This integrations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X PATCH https://app.kommander.ai/api/integrations/customer-data/123 \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/integrations/customer-data/123', {
method: 'PATCH',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.patch(
'https://app.kommander.ai/api/integrations/customer-data/123',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
PATCH /api/integrations/customer-data/123Responses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}delete/api/integrations/customer-data/{id}Delete Integrations Customer Data ID
/api/integrations/customer-data/{id}Delete Integrations Customer Data IDDelete Integrations Customer Data ID. This integrations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Code examples
cURL
curl -X DELETE https://app.kommander.ai/api/integrations/customer-data/123 \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/integrations/customer-data/123', {
method: 'DELETE',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.delete(
'https://app.kommander.ai/api/integrations/customer-data/123',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
DELETE /api/integrations/customer-data/123Responses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/integrations/customer-data/{id}/openapiCreate or run Integrations Customer Data ID Openapi
/api/integrations/customer-data/{id}/openapiCreate or run Integrations Customer Data ID OpenapiCreate or run Integrations Customer Data ID Openapi. This integrations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Request body (required)
multipart/form-dataapplication/jsonapplication/yamlmultipart/form-data schema
{
"type": "object",
"properties": {
"file": {
"type": "string",
"format": "binary"
},
"spec": {
"type": "string"
},
"openapi": {
"type": "string"
}
}
}application/json schema
{
"type": "object",
"additionalProperties": true
}application/yaml schema
{
"type": "string"
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/integrations/customer-data/123/openapi \
-H "Authorization: Bearer <token>" \
-H "Content-Type: multipart/form-data" \
--data '{
"file": "string",
"spec": "string",
"openapi": "string"
}'JavaScript
const response = await fetch('https://app.kommander.ai/api/integrations/customer-data/123/openapi', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "multipart/form-data"
},
body: JSON.stringify({
"file": "string",
"spec": "string",
"openapi": "string"
}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/integrations/customer-data/123/openapi',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "multipart/form-data"
},
json={
"file": "string",
"spec": "string",
"openapi": "string"
}
)
data = response.json()Interactive testing
POST /api/integrations/customer-data/123/openapiResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/integrations/customer-data/{id}/testCreate or run Integrations Customer Data ID Test
/api/integrations/customer-data/{id}/testCreate or run Integrations Customer Data ID TestCreate or run Integrations Customer Data ID Test. This integrations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/integrations/customer-data/123/test \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/integrations/customer-data/123/test', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/integrations/customer-data/123/test',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/integrations/customer-data/123/testResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/integrations/engammo/faqsCreate or run Integrations Engammo Faqs
/api/integrations/engammo/faqsCreate or run Integrations Engammo FaqsCreate or run Integrations Engammo Faqs. This integrations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/integrations/engammo/faqs \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/integrations/engammo/faqs', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/integrations/engammo/faqs',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/integrations/engammo/faqsResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/integrations/engammo/healthGet Integrations Engammo Health
/api/integrations/engammo/healthGet Integrations Engammo HealthGet Integrations Engammo Health. This integrations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| organizationId | query | string | no | Organization scope when supported. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/integrations/engammo/health \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/integrations/engammo/health', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/integrations/engammo/health',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/integrations/engammo/healthResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/integrations/google-calendar/callbackGet Integrations Google Calendar Callback
/api/integrations/google-calendar/callbackGet Integrations Google Calendar CallbackGet Integrations Google Calendar Callback. This integrations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| organizationId | query | string | no | Organization scope when supported. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/integrations/google-calendar/callback \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/integrations/google-calendar/callback', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/integrations/google-calendar/callback',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/integrations/google-calendar/callbackResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/organizations/{id}/integrations/engammoGet Organizations ID Integrations Engammo
/api/organizations/{id}/integrations/engammoGet Organizations ID Integrations EngammoGet Organizations ID Integrations Engammo. This integrations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
| organizationId | query | string | no | Organization scope when supported. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/organizations/123/integrations/engammo \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/organizations/123/integrations/engammo', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/organizations/123/integrations/engammo',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/organizations/123/integrations/engammoResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/organizations/{id}/integrations/engammoCreate or run Organizations ID Integrations Engammo
/api/organizations/{id}/integrations/engammoCreate or run Organizations ID Integrations EngammoCreate or run Organizations ID Integrations Engammo. This integrations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/organizations/123/integrations/engammo \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/organizations/123/integrations/engammo', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/organizations/123/integrations/engammo',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/organizations/123/integrations/engammoResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}delete/api/organizations/{id}/integrations/engammoDelete Organizations ID Integrations Engammo
/api/organizations/{id}/integrations/engammoDelete Organizations ID Integrations EngammoDelete Organizations ID Integrations Engammo. This integrations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Code examples
cURL
curl -X DELETE https://app.kommander.ai/api/organizations/123/integrations/engammo \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/organizations/123/integrations/engammo', {
method: 'DELETE',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.delete(
'https://app.kommander.ai/api/organizations/123/integrations/engammo',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
DELETE /api/organizations/123/integrations/engammoResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/organizations/{id}/integrations/engammo/eventsGet Organizations ID Integrations Engammo Events
/api/organizations/{id}/integrations/engammo/eventsGet Organizations ID Integrations Engammo EventsGet Organizations ID Integrations Engammo Events. This integrations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
| organizationId | query | string | no | Organization scope when supported. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/organizations/123/integrations/engammo/events \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/organizations/123/integrations/engammo/events', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/organizations/123/integrations/engammo/events',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/organizations/123/integrations/engammo/eventsResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/organizations/{id}/integrations/engammo/faqsGet Organizations ID Integrations Engammo Faqs
/api/organizations/{id}/integrations/engammo/faqsGet Organizations ID Integrations Engammo FaqsGet Organizations ID Integrations Engammo Faqs. This integrations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
| organizationId | query | string | no | Organization scope when supported. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/organizations/123/integrations/engammo/faqs \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/organizations/123/integrations/engammo/faqs', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/organizations/123/integrations/engammo/faqs',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/organizations/123/integrations/engammo/faqsResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/organizations/{id}/integrations/engammo/rotateCreate or run Organizations ID Integrations Engammo Rotate
/api/organizations/{id}/integrations/engammo/rotateCreate or run Organizations ID Integrations Engammo RotateCreate or run Organizations ID Integrations Engammo Rotate. This integrations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/organizations/123/integrations/engammo/rotate \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/organizations/123/integrations/engammo/rotate', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/organizations/123/integrations/engammo/rotate',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/organizations/123/integrations/engammo/rotateResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}Webhooks
Webhooks endpoints.
post/api/meta/replyCreate or run Meta Reply
/api/meta/replyCreate or run Meta ReplyCreate or run Meta Reply. This webhooks endpoint is documented from the matching route handler under app/api.
Authentication
No authentication requirement is declared for this operation.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/meta/reply \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/meta/reply', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/meta/reply',
headers={
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/meta/replyResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}options/api/meta/replyCORS preflight for meta reply
/api/meta/replyCORS preflight for meta replyCORS preflight for /api/meta/reply. Used by browsers before cross-origin requests.
Authentication
No authentication requirement is declared for this operation.
Code examples
cURL
curl -X OPTIONS https://app.kommander.ai/api/meta/replyJavaScript
const response = await fetch('https://app.kommander.ai/api/meta/reply', {
method: 'OPTIONS',
headers: {},
});
const data = await response.json();Python
import requests
response = requests.options(
'https://app.kommander.ai/api/meta/reply',
headers={}
)
data = response.json()Interactive testing
OPTIONS /api/meta/replyResponses
204Preflight accepted. The response includes Access-Control-Allow-* headers where the route supports browser cross-origin calls.
405Preflight is not allowed for this deployment or route configuration.
get/api/meta/{userId}Get Meta UserId
/api/meta/{userId}Get Meta UserIdGet Meta UserId. This webhooks endpoint is documented from the matching route handler under app/api.
Authentication
No authentication requirement is declared for this operation.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| userId | path | string | yes | userId route parameter. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/meta/123JavaScript
const response = await fetch('https://app.kommander.ai/api/meta/123', {
method: 'GET',
headers: {},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/meta/123',
headers={}
)
data = response.json()Interactive testing
GET /api/meta/123Responses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/meta/{userId}Create or run Meta UserId
/api/meta/{userId}Create or run Meta UserIdCreate or run Meta UserId. This webhooks endpoint is documented from the matching route handler under app/api.
Authentication
No authentication requirement is declared for this operation.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| userId | path | string | yes | userId route parameter. |
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/meta/123 \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/meta/123', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/meta/123',
headers={
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/meta/123Responses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/stripe/webhookCreate or run Stripe Webhook
/api/stripe/webhookCreate or run Stripe WebhookReceives provider webhook callbacks. Verify provider signatures where configured and keep handlers idempotent.
Authentication
No authentication requirement is declared for this operation.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/stripe/webhook \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/stripe/webhook', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/stripe/webhook',
headers={
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/stripe/webhookResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/twilio/replyCreate or run Twilio Reply
/api/twilio/replyCreate or run Twilio ReplyCreate or run Twilio Reply. This webhooks endpoint is documented from the matching route handler under app/api.
Authentication
No authentication requirement is declared for this operation.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/twilio/reply \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/twilio/reply', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/twilio/reply',
headers={
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/twilio/replyResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}options/api/twilio/replyCORS preflight for twilio reply
/api/twilio/replyCORS preflight for twilio replyCORS preflight for /api/twilio/reply. Used by browsers before cross-origin requests.
Authentication
No authentication requirement is declared for this operation.
Code examples
cURL
curl -X OPTIONS https://app.kommander.ai/api/twilio/replyJavaScript
const response = await fetch('https://app.kommander.ai/api/twilio/reply', {
method: 'OPTIONS',
headers: {},
});
const data = await response.json();Python
import requests
response = requests.options(
'https://app.kommander.ai/api/twilio/reply',
headers={}
)
data = response.json()Interactive testing
OPTIONS /api/twilio/replyResponses
204Preflight accepted. The response includes Access-Control-Allow-* headers where the route supports browser cross-origin calls.
405Preflight is not allowed for this deployment or route configuration.
post/api/twilio/{userId}Create or run Twilio UserId
/api/twilio/{userId}Create or run Twilio UserIdCreate or run Twilio UserId. This webhooks endpoint is documented from the matching route handler under app/api.
Authentication
No authentication requirement is declared for this operation.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| userId | path | string | yes | userId route parameter. |
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/twilio/123 \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/twilio/123', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/twilio/123',
headers={
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/twilio/123Responses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/whatsapp/config/{userId}Get Whatsapp Config UserId
/api/whatsapp/config/{userId}Get Whatsapp Config UserIdGet Whatsapp Config UserId. This webhooks endpoint is documented from the matching route handler under app/api.
Authentication
No authentication requirement is declared for this operation.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| userId | path | string | yes | userId route parameter. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/whatsapp/config/123JavaScript
const response = await fetch('https://app.kommander.ai/api/whatsapp/config/123', {
method: 'GET',
headers: {},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/whatsapp/config/123',
headers={}
)
data = response.json()Interactive testing
GET /api/whatsapp/config/123Responses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/whatsapp/config/{userId}Create or run Whatsapp Config UserId
/api/whatsapp/config/{userId}Create or run Whatsapp Config UserIdCreate or run Whatsapp Config UserId. This webhooks endpoint is documented from the matching route handler under app/api.
Authentication
No authentication requirement is declared for this operation.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| userId | path | string | yes | userId route parameter. |
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/whatsapp/config/123 \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/whatsapp/config/123', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/whatsapp/config/123',
headers={
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/whatsapp/config/123Responses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/whatsapp/startCreate or run Whatsapp Start
/api/whatsapp/startCreate or run Whatsapp StartCreate or run Whatsapp Start. This webhooks endpoint is documented from the matching route handler under app/api.
Authentication
No authentication requirement is declared for this operation.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/whatsapp/start \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/whatsapp/start', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/whatsapp/start',
headers={
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/whatsapp/startResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/whatsapp/statusGet Whatsapp Status
/api/whatsapp/statusGet Whatsapp StatusGet Whatsapp Status. This webhooks endpoint is documented from the matching route handler under app/api.
Authentication
No authentication requirement is declared for this operation.
Code examples
cURL
curl -X GET https://app.kommander.ai/api/whatsapp/statusJavaScript
const response = await fetch('https://app.kommander.ai/api/whatsapp/status', {
method: 'GET',
headers: {},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/whatsapp/status',
headers={}
)
data = response.json()Interactive testing
GET /api/whatsapp/statusResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/whatsapp/stopCreate or run Whatsapp Stop
/api/whatsapp/stopCreate or run Whatsapp StopCreate or run Whatsapp Stop. This webhooks endpoint is documented from the matching route handler under app/api.
Authentication
No authentication requirement is declared for this operation.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/whatsapp/stop \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/whatsapp/stop', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/whatsapp/stop',
headers={
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/whatsapp/stopResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}Admin
Admin endpoints.
get/api/admin/access-logsinternalGet Admin Access Logs
/api/admin/access-logsinternalGet Admin Access LogsGet Admin Access Logs. This admin endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Code examples
cURL
curl -X GET https://app.kommander.ai/api/admin/access-logs \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/access-logs', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/admin/access-logs',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/admin/access-logsResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/admin/assistants/overviewinternalGet Admin Assistants Overview
/api/admin/assistants/overviewinternalGet Admin Assistants OverviewGet Admin Assistants Overview. This admin endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Code examples
cURL
curl -X GET https://app.kommander.ai/api/admin/assistants/overview \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/assistants/overview', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/admin/assistants/overview',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/admin/assistants/overviewResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/admin/assistants/{id}internalGet Admin Assistants ID
/api/admin/assistants/{id}internalGet Admin Assistants IDGet Admin Assistants ID. This admin endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/admin/assistants/123 \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/assistants/123', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/admin/assistants/123',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/admin/assistants/123Responses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}patch/api/admin/assistants/{id}/planinternalUpdate Admin Assistants ID Plan
/api/admin/assistants/{id}/planinternalUpdate Admin Assistants ID PlanUpdate Admin Assistants ID Plan. This admin endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X PATCH https://app.kommander.ai/api/admin/assistants/123/plan \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/assistants/123/plan', {
method: 'PATCH',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.patch(
'https://app.kommander.ai/api/admin/assistants/123/plan',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
PATCH /api/admin/assistants/123/planResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/admin/authinternalCreate or run Admin Auth
/api/admin/authinternalCreate or run Admin AuthCreate or run Admin Auth. This admin endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/admin/auth \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/auth', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/admin/auth',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/admin/authResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/admin/business-advisorinternalGet Admin Business Advisor
/api/admin/business-advisorinternalGet Admin Business AdvisorGet Admin Business Advisor. This admin endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Code examples
cURL
curl -X GET https://app.kommander.ai/api/admin/business-advisor \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/business-advisor', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/admin/business-advisor',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/admin/business-advisorResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/admin/business-advisorinternalCreate or run Admin Business Advisor
/api/admin/business-advisorinternalCreate or run Admin Business AdvisorCreate or run Admin Business Advisor. This admin endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/admin/business-advisor \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/business-advisor', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/admin/business-advisor',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/admin/business-advisorResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/admin/chatbot-settings/{userId}internalGet Admin Chatbot Settings UserId
/api/admin/chatbot-settings/{userId}internalGet Admin Chatbot Settings UserIdGet Admin Chatbot Settings UserId. This admin endpoint is documented from the matching route handler under app/api.
Authentication
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
cookieAuthAuthenticated dashboard session issued by NextAuth.
widgetIdentitySigned widget identity payload. Pair with identityPayload and identityTimestamp, or use legacy userHash where still accepted.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| userId | path | string | yes | userId route parameter. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/admin/chatbot-settings/123 \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/chatbot-settings/123', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/admin/chatbot-settings/123',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/admin/chatbot-settings/123Responses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}put/api/admin/chatbot-settings/{userId}internalReplace Admin Chatbot Settings UserId
/api/admin/chatbot-settings/{userId}internalReplace Admin Chatbot Settings UserIdReplace Admin Chatbot Settings UserId. This admin endpoint is documented from the matching route handler under app/api.
Authentication
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
cookieAuthAuthenticated dashboard session issued by NextAuth.
widgetIdentitySigned widget identity payload. Pair with identityPayload and identityTimestamp, or use legacy userHash where still accepted.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| userId | path | string | yes | userId route parameter. |
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X PUT https://app.kommander.ai/api/admin/chatbot-settings/123 \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/chatbot-settings/123', {
method: 'PUT',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.put(
'https://app.kommander.ai/api/admin/chatbot-settings/123',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
PUT /api/admin/chatbot-settings/123Responses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/admin/client-analysisinternalGet Admin Client Analysis
/api/admin/client-analysisinternalGet Admin Client AnalysisGet Admin Client Analysis. This admin endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Code examples
cURL
curl -X GET https://app.kommander.ai/api/admin/client-analysis \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/client-analysis', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/admin/client-analysis',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/admin/client-analysisResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/admin/connector-circuitsinternalGet Admin Connector Circuits
/api/admin/connector-circuitsinternalGet Admin Connector CircuitsGet Admin Connector Circuits. This admin endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Code examples
cURL
curl -X GET https://app.kommander.ai/api/admin/connector-circuits \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/connector-circuits', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/admin/connector-circuits',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/admin/connector-circuitsResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/admin/cost-summaryinternalGet Admin Cost Summary
/api/admin/cost-summaryinternalGet Admin Cost SummaryGet Admin Cost Summary. This admin endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Code examples
cURL
curl -X GET https://app.kommander.ai/api/admin/cost-summary \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/cost-summary', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/admin/cost-summary',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/admin/cost-summaryResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/admin/discount-codesinternalGet Admin Discount Codes
/api/admin/discount-codesinternalGet Admin Discount CodesGet Admin Discount Codes. This admin endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Code examples
cURL
curl -X GET https://app.kommander.ai/api/admin/discount-codes \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/discount-codes', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/admin/discount-codes',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/admin/discount-codesResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/admin/discount-codesinternalCreate or run Admin Discount Codes
/api/admin/discount-codesinternalCreate or run Admin Discount CodesCreate or run Admin Discount Codes. This admin endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/admin/discount-codes \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/discount-codes', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/admin/discount-codes',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/admin/discount-codesResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/admin/discount-codes/{id}internalGet Admin Discount Codes ID
/api/admin/discount-codes/{id}internalGet Admin Discount Codes IDGet Admin Discount Codes ID. This admin endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/admin/discount-codes/123 \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/discount-codes/123', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/admin/discount-codes/123',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/admin/discount-codes/123Responses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}patch/api/admin/discount-codes/{id}internalUpdate Admin Discount Codes ID
/api/admin/discount-codes/{id}internalUpdate Admin Discount Codes IDUpdate Admin Discount Codes ID. This admin endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X PATCH https://app.kommander.ai/api/admin/discount-codes/123 \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/discount-codes/123', {
method: 'PATCH',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.patch(
'https://app.kommander.ai/api/admin/discount-codes/123',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
PATCH /api/admin/discount-codes/123Responses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}delete/api/admin/discount-codes/{id}internalDelete Admin Discount Codes ID
/api/admin/discount-codes/{id}internalDelete Admin Discount Codes IDDelete Admin Discount Codes ID. This admin endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Code examples
cURL
curl -X DELETE https://app.kommander.ai/api/admin/discount-codes/123 \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/discount-codes/123', {
method: 'DELETE',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.delete(
'https://app.kommander.ai/api/admin/discount-codes/123',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
DELETE /api/admin/discount-codes/123Responses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/admin/discount-codes/{id}/redemptionsinternalGet Admin Discount Codes ID Redemptions
/api/admin/discount-codes/{id}/redemptionsinternalGet Admin Discount Codes ID RedemptionsGet Admin Discount Codes ID Redemptions. This admin endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/admin/discount-codes/123/redemptions \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/discount-codes/123/redemptions', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/admin/discount-codes/123/redemptions',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/admin/discount-codes/123/redemptionsResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/admin/feature-flagsinternalGet Admin Feature Flags
/api/admin/feature-flagsinternalGet Admin Feature FlagsGet Admin Feature Flags. This admin endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Code examples
cURL
curl -X GET https://app.kommander.ai/api/admin/feature-flags \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/feature-flags', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/admin/feature-flags',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/admin/feature-flagsResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/admin/organizationsinternalGet Admin Organizations
/api/admin/organizationsinternalGet Admin OrganizationsGet Admin Organizations. This admin endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Code examples
cURL
curl -X GET https://app.kommander.ai/api/admin/organizations \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/organizations', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/admin/organizations',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/admin/organizationsResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/admin/orphan-organizationsinternalGet Admin Orphan Organizations
/api/admin/orphan-organizationsinternalGet Admin Orphan OrganizationsGet Admin Orphan Organizations. This admin endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Code examples
cURL
curl -X GET https://app.kommander.ai/api/admin/orphan-organizations \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/orphan-organizations', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/admin/orphan-organizations',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/admin/orphan-organizationsResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/admin/subscriptionsinternalGet Admin Subscriptions
/api/admin/subscriptionsinternalGet Admin SubscriptionsGet Admin Subscriptions. This admin endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Code examples
cURL
curl -X GET https://app.kommander.ai/api/admin/subscriptions \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/subscriptions', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/admin/subscriptions',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/admin/subscriptionsResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}patch/api/admin/subscriptions/{id}internalUpdate Admin Subscriptions ID
/api/admin/subscriptions/{id}internalUpdate Admin Subscriptions IDUpdate Admin Subscriptions ID. This admin endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X PATCH https://app.kommander.ai/api/admin/subscriptions/123 \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/subscriptions/123', {
method: 'PATCH',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.patch(
'https://app.kommander.ai/api/admin/subscriptions/123',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
PATCH /api/admin/subscriptions/123Responses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/admin/subscriptions/{id}/customer-detailsinternalGet Admin Subscriptions ID Customer Details
/api/admin/subscriptions/{id}/customer-detailsinternalGet Admin Subscriptions ID Customer DetailsGet Admin Subscriptions ID Customer Details. This admin endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/admin/subscriptions/123/customer-details \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/subscriptions/123/customer-details', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/admin/subscriptions/123/customer-details',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/admin/subscriptions/123/customer-detailsResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}patch/api/admin/subscriptions/{id}/customer-detailsinternalUpdate Admin Subscriptions ID Customer Details
/api/admin/subscriptions/{id}/customer-detailsinternalUpdate Admin Subscriptions ID Customer DetailsUpdate Admin Subscriptions ID Customer Details. This admin endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X PATCH https://app.kommander.ai/api/admin/subscriptions/123/customer-details \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/subscriptions/123/customer-details', {
method: 'PATCH',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.patch(
'https://app.kommander.ai/api/admin/subscriptions/123/customer-details',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
PATCH /api/admin/subscriptions/123/customer-detailsResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/admin/subscriptions/{id}/push-customer-detailsinternalCreate or run Admin Subscriptions ID Push Customer Details
/api/admin/subscriptions/{id}/push-customer-detailsinternalCreate or run Admin Subscriptions ID Push Customer DetailsCreate or run Admin Subscriptions ID Push Customer Details. This admin endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/admin/subscriptions/123/push-customer-details \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/subscriptions/123/push-customer-details', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/admin/subscriptions/123/push-customer-details',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/admin/subscriptions/123/push-customer-detailsResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/admin/subscriptions/{id}/syncinternalCreate or run Admin Subscriptions ID Sync
/api/admin/subscriptions/{id}/syncinternalCreate or run Admin Subscriptions ID SyncCreate or run Admin Subscriptions ID Sync. This admin endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/admin/subscriptions/123/sync \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/subscriptions/123/sync', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/admin/subscriptions/123/sync',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/admin/subscriptions/123/syncResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/admin/tool-audit-logsinternalGet Admin Tool Audit Logs
/api/admin/tool-audit-logsinternalGet Admin Tool Audit LogsGet Admin Tool Audit Logs. This admin endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Code examples
cURL
curl -X GET https://app.kommander.ai/api/admin/tool-audit-logs \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/tool-audit-logs', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/admin/tool-audit-logs',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/admin/tool-audit-logsResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/admin/usersinternalGet Admin Users
/api/admin/usersinternalGet Admin UsersGet Admin Users. This admin endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Code examples
cURL
curl -X GET https://app.kommander.ai/api/admin/users \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/users', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/admin/users',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/admin/usersResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/admin/users/{userId}internalGet Admin Users UserId
/api/admin/users/{userId}internalGet Admin Users UserIdGet Admin Users UserId. This admin endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| userId | path | string | yes | userId route parameter. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/admin/users/123 \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/users/123', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/admin/users/123',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/admin/users/123Responses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/admin/users/{userId}/grant-subscriptioninternalCreate or run Admin Users UserId Grant Subscription
/api/admin/users/{userId}/grant-subscriptioninternalCreate or run Admin Users UserId Grant SubscriptionCreate or run Admin Users UserId Grant Subscription. This admin endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| userId | path | string | yes | userId route parameter. |
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/admin/users/123/grant-subscription \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/admin/users/123/grant-subscription', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/admin/users/123/grant-subscription',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/admin/users/123/grant-subscriptionResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}Analytics
Analytics endpoints.
post/api/access-eventsCreate or run Access Events
/api/access-eventsCreate or run Access EventsCreate or run Access Events. This analytics endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/access-events \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/access-events', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/access-events',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/access-eventsResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/analyticsGet Analytics
/api/analyticsGet AnalyticsGet Analytics. This analytics endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| contextId | query | string | no | Organization or user context to query. |
| timeframe | query | day | week | month | lastmonth | alltime | no | Analytics window when supported. |
| startDate | query | string:date-time | no | Custom range start when supported. |
| endDate | query | string:date-time | no | Custom range end when supported. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/analytics \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/analytics', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/analytics',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/analyticsResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/analytics/exportGet Analytics Export
/api/analytics/exportGet Analytics ExportGet Analytics Export. This analytics endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| contextId | query | string | no | Organization or user context to export. |
| format | query | csv | no | Export format. Only CSV is supported. |
| timeframe | query | day | week | month | lastmonth | alltime | no | Analytics window when supported. |
| startDate | query | string:date-time | no | Custom range start when supported. |
| endDate | query | string:date-time | no | Custom range end when supported. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/analytics/export \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/analytics/export', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/analytics/export',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/analytics/exportResponses
200text/csvCSV export matching the analytics dashboard DTO for the requested context and range.
text/csv schema
{
"type": "string"
}Example response
"string"400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/analytics/sentimentGet Analytics Sentiment
/api/analytics/sentimentGet Analytics SentimentGet Analytics Sentiment. This analytics endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| timeframe | query | day | week | month | lastmonth | alltime | no | Analytics window when supported. |
| startDate | query | string:date-time | no | Custom range start when supported. |
| endDate | query | string:date-time | no | Custom range end when supported. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/analytics/sentiment \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/analytics/sentiment', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/analytics/sentiment',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/analytics/sentimentResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/analytics/sentimentCreate or run Analytics Sentiment
/api/analytics/sentimentCreate or run Analytics SentimentCreate or run Analytics Sentiment. This analytics endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/analytics/sentiment \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/analytics/sentiment', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/analytics/sentiment',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/analytics/sentimentResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/dashboard/notificationsGet Dashboard Notifications
/api/dashboard/notificationsGet Dashboard NotificationsGet Dashboard Notifications. This analytics endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| timeframe | query | day | week | month | lastmonth | alltime | no | Analytics window when supported. |
| startDate | query | string:date-time | no | Custom range start when supported. |
| endDate | query | string:date-time | no | Custom range end when supported. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/dashboard/notifications \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/dashboard/notifications', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/dashboard/notifications',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/dashboard/notificationsResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}patch/api/dashboard/notificationsUpdate Dashboard Notifications
/api/dashboard/notificationsUpdate Dashboard NotificationsUpdate Dashboard Notifications. This analytics endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X PATCH https://app.kommander.ai/api/dashboard/notifications \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/dashboard/notifications', {
method: 'PATCH',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.patch(
'https://app.kommander.ai/api/dashboard/notifications',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
PATCH /api/dashboard/notificationsResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/dashboard/preferencesGet Dashboard Preferences
/api/dashboard/preferencesGet Dashboard PreferencesGet Dashboard Preferences. This analytics endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| timeframe | query | day | week | month | lastmonth | alltime | no | Analytics window when supported. |
| startDate | query | string:date-time | no | Custom range start when supported. |
| endDate | query | string:date-time | no | Custom range end when supported. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/dashboard/preferences \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/dashboard/preferences', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/dashboard/preferences',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/dashboard/preferencesResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}put/api/dashboard/preferencesReplace Dashboard Preferences
/api/dashboard/preferencesReplace Dashboard PreferencesReplace Dashboard Preferences. This analytics endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X PUT https://app.kommander.ai/api/dashboard/preferences \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/dashboard/preferences', {
method: 'PUT',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.put(
'https://app.kommander.ai/api/dashboard/preferences',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
PUT /api/dashboard/preferencesResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/dashboard/statsGet Dashboard Stats
/api/dashboard/statsGet Dashboard StatsGet Dashboard Stats. This analytics endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| timeframe | query | day | week | month | lastmonth | alltime | no | Analytics window when supported. |
| startDate | query | string:date-time | no | Custom range start when supported. |
| endDate | query | string:date-time | no | Custom range end when supported. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/dashboard/stats \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/dashboard/stats', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/dashboard/stats',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/dashboard/statsResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/operator/summaryGet Operator Summary
/api/operator/summaryGet Operator SummaryGet Operator Summary. This analytics endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| timeframe | query | day | week | month | lastmonth | alltime | no | Analytics window when supported. |
| startDate | query | string:date-time | no | Custom range start when supported. |
| endDate | query | string:date-time | no | Custom range end when supported. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/operator/summary \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/operator/summary', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/operator/summary',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/operator/summaryResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}Billing
Billing endpoints.
get/api/billing-profileGet Billing Profile
/api/billing-profileGet Billing ProfileGet Billing Profile. This billing endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| organizationId | query | string | no | Organization scope when supported. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/billing-profile \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/billing-profile', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/billing-profile',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/billing-profileResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/billing-profileCreate or run Billing Profile
/api/billing-profileCreate or run Billing ProfileCreate or run Billing Profile. This billing endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/billing-profile \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/billing-profile', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/billing-profile',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/billing-profileResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}delete/api/billing-profileDelete Billing Profile
/api/billing-profileDelete Billing ProfileDelete Billing Profile. This billing endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Code examples
cURL
curl -X DELETE https://app.kommander.ai/api/billing-profile \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/billing-profile', {
method: 'DELETE',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.delete(
'https://app.kommander.ai/api/billing-profile',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
DELETE /api/billing-profileResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/billing-profile/invoicesGet Billing Profile Invoices
/api/billing-profile/invoicesGet Billing Profile InvoicesGet Billing Profile Invoices. This billing endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| organizationId | query | string | no | Organization scope when supported. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/billing-profile/invoices \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/billing-profile/invoices', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/billing-profile/invoices',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/billing-profile/invoicesResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/discount-codes/validateCreate or run Discount Codes Validate
/api/discount-codes/validateCreate or run Discount Codes ValidateCreate or run Discount Codes Validate. This billing endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/discount-codes/validate \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/discount-codes/validate', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/discount-codes/validate',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/discount-codes/validateResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/organizations/{id}/subscribeCreate or run Organizations ID Subscribe
/api/organizations/{id}/subscribeCreate or run Organizations ID SubscribeCreate or run Organizations ID Subscribe. This billing endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/organizations/123/subscribe \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/organizations/123/subscribe', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/organizations/123/subscribe',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/organizations/123/subscribeResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}put/api/organizations/{id}/subscribeReplace Organizations ID Subscribe
/api/organizations/{id}/subscribeReplace Organizations ID SubscribeReplace Organizations ID Subscribe. This billing endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X PUT https://app.kommander.ai/api/organizations/123/subscribe \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/organizations/123/subscribe', {
method: 'PUT',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.put(
'https://app.kommander.ai/api/organizations/123/subscribe',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
PUT /api/organizations/123/subscribeResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/organizations/{id}/subscribe/previewGet Organizations ID Subscribe Preview
/api/organizations/{id}/subscribe/previewGet Organizations ID Subscribe PreviewGet Organizations ID Subscribe Preview. This billing endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
| organizationId | query | string | no | Organization scope when supported. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/organizations/123/subscribe/preview \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/organizations/123/subscribe/preview', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/organizations/123/subscribe/preview',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/organizations/123/subscribe/previewResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/payment-methodsGet Payment Methods
/api/payment-methodsGet Payment MethodsGet Payment Methods. This billing endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| organizationId | query | string | no | Organization scope when supported. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/payment-methods \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/payment-methods', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/payment-methods',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/payment-methodsResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/payment-methodsCreate or run Payment Methods
/api/payment-methodsCreate or run Payment MethodsCreate or run Payment Methods. This billing endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/payment-methods \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/payment-methods', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/payment-methods',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/payment-methodsResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}put/api/payment-methodsReplace Payment Methods
/api/payment-methodsReplace Payment MethodsReplace Payment Methods. This billing endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X PUT https://app.kommander.ai/api/payment-methods \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/payment-methods', {
method: 'PUT',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.put(
'https://app.kommander.ai/api/payment-methods',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
PUT /api/payment-methodsResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}delete/api/payment-methodsDelete Payment Methods
/api/payment-methodsDelete Payment MethodsDelete Payment Methods. This billing endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Code examples
cURL
curl -X DELETE https://app.kommander.ai/api/payment-methods \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/payment-methods', {
method: 'DELETE',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.delete(
'https://app.kommander.ai/api/payment-methods',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
DELETE /api/payment-methodsResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/stripe/portalCreate or run Stripe Portal
/api/stripe/portalCreate or run Stripe PortalCreate or run Stripe Portal. This billing endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/stripe/portal \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/stripe/portal', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/stripe/portal',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/stripe/portalResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/subscriptionGet Subscription
/api/subscriptionGet SubscriptionGet Subscription. This billing endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| organizationId | query | string | no | Organization scope when supported. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/subscription \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/subscription', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/subscription',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/subscriptionResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}Identity Verification
Identity Verification endpoints.
get/api/settings/identity-verificationGet Settings Identity Verification
/api/settings/identity-verificationGet Settings Identity VerificationGet Settings Identity Verification. This identity verification endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Code examples
cURL
curl -X GET https://app.kommander.ai/api/settings/identity-verification \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/settings/identity-verification', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/settings/identity-verification',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/settings/identity-verificationResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/settings/identity-verificationCreate or run Settings Identity Verification
/api/settings/identity-verificationCreate or run Settings Identity VerificationCreate or run Settings Identity Verification. This identity verification endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/settings/identity-verification \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/settings/identity-verification', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/settings/identity-verification',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/settings/identity-verificationResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/widget-clients/{id}/rotate-identity-secretCreate or run Widget Clients ID Rotate Identity Secret
/api/widget-clients/{id}/rotate-identity-secretCreate or run Widget Clients ID Rotate Identity SecretCreate or run Widget Clients ID Rotate Identity Secret. This identity verification endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/widget-clients/123/rotate-identity-secret \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/widget-clients/123/rotate-identity-secret', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/widget-clients/123/rotate-identity-secret',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/widget-clients/123/rotate-identity-secretResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}Organizations
Organizations endpoints.
post/api/invitationsCreate or run Invitations
/api/invitationsCreate or run InvitationsCreate or run Invitations. This organizations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/invitations \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/invitations', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/invitations',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/invitationsResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}patch/api/invitationsUpdate Invitations
/api/invitationsUpdate InvitationsUpdate Invitations. This organizations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X PATCH https://app.kommander.ai/api/invitations \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/invitations', {
method: 'PATCH',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.patch(
'https://app.kommander.ai/api/invitations',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
PATCH /api/invitationsResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}delete/api/invitations/revokeDelete Invitations Revoke
/api/invitations/revokeDelete Invitations RevokeDelete Invitations Revoke. This organizations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Code examples
cURL
curl -X DELETE https://app.kommander.ai/api/invitations/revoke \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/invitations/revoke', {
method: 'DELETE',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.delete(
'https://app.kommander.ai/api/invitations/revoke',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
DELETE /api/invitations/revokeResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/invitations/{token}Get Invitations Token
/api/invitations/{token}Get Invitations TokenGet Invitations Token. This organizations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| token | path | string | yes | token route parameter. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/invitations/<token> \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/invitations/<token>', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/invitations/<token>',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/invitations/invite_tokenResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/organizationsGet Organizations
/api/organizationsGet OrganizationsGet Organizations. This organizations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Code examples
cURL
curl -X GET https://app.kommander.ai/api/organizations \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/organizations', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/organizations',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/organizationsResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/organizationsCreate or run Organizations
/api/organizationsCreate or run OrganizationsCreate or run Organizations. This organizations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/organizations \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/organizations', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/organizations',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/organizationsResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}patch/api/organizations/{id}Update Organizations ID
/api/organizations/{id}Update Organizations IDUpdate Organizations ID. This organizations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X PATCH https://app.kommander.ai/api/organizations/123 \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/organizations/123', {
method: 'PATCH',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.patch(
'https://app.kommander.ai/api/organizations/123',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
PATCH /api/organizations/123Responses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}delete/api/organizations/{id}Delete Organizations ID
/api/organizations/{id}Delete Organizations IDDelete Organizations ID. This organizations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Code examples
cURL
curl -X DELETE https://app.kommander.ai/api/organizations/123 \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/organizations/123', {
method: 'DELETE',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.delete(
'https://app.kommander.ai/api/organizations/123',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
DELETE /api/organizations/123Responses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/organizations/{id}/invitationsGet Organizations ID Invitations
/api/organizations/{id}/invitationsGet Organizations ID InvitationsGet Organizations ID Invitations. This organizations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/organizations/123/invitations \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/organizations/123/invitations', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/organizations/123/invitations',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/organizations/123/invitationsResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/organizations/{id}/membersGet Organizations ID Members
/api/organizations/{id}/membersGet Organizations ID MembersGet Organizations ID Members. This organizations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Code examples
cURL
curl -X GET https://app.kommander.ai/api/organizations/123/members \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/organizations/123/members', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/organizations/123/members',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/organizations/123/membersResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}patch/api/organizations/{id}/membersUpdate Organizations ID Members
/api/organizations/{id}/membersUpdate Organizations ID MembersUpdate Organizations ID Members. This organizations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X PATCH https://app.kommander.ai/api/organizations/123/members \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/organizations/123/members', {
method: 'PATCH',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.patch(
'https://app.kommander.ai/api/organizations/123/members',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
PATCH /api/organizations/123/membersResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}delete/api/organizations/{id}/membersDelete Organizations ID Members
/api/organizations/{id}/membersDelete Organizations ID MembersDelete Organizations ID Members. This organizations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Code examples
cURL
curl -X DELETE https://app.kommander.ai/api/organizations/123/members \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/organizations/123/members', {
method: 'DELETE',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.delete(
'https://app.kommander.ai/api/organizations/123/members',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
DELETE /api/organizations/123/membersResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/organizations/{id}/whatsapp-verify-tokenCreate or run Organizations ID Whatsapp Verify Token
/api/organizations/{id}/whatsapp-verify-tokenCreate or run Organizations ID Whatsapp Verify TokenCreate or run Organizations ID Whatsapp Verify Token. This organizations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/organizations/123/whatsapp-verify-token \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/organizations/123/whatsapp-verify-token', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/organizations/123/whatsapp-verify-token',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/organizations/123/whatsapp-verify-tokenResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}Automations
Automations endpoints.
get/api/automations/callback-requestsGet Automations Callback Requests
/api/automations/callback-requestsGet Automations Callback RequestsGet Automations Callback Requests. This automations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Code examples
cURL
curl -X GET https://app.kommander.ai/api/automations/callback-requests \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/automations/callback-requests', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/automations/callback-requests',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/automations/callback-requestsResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/automations/callback-requestsCreate or run Automations Callback Requests
/api/automations/callback-requestsCreate or run Automations Callback RequestsCreate or run Automations Callback Requests. This automations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/automations/callback-requests \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/automations/callback-requests', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/automations/callback-requests',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/automations/callback-requestsResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}options/api/automations/callback-requestsCORS preflight for automations callback requests
/api/automations/callback-requestsCORS preflight for automations callback requestsCORS preflight for /api/automations/callback-requests. Used by browsers before cross-origin requests.
Authentication
No authentication requirement is declared for this operation.
Code examples
cURL
curl -X OPTIONS https://app.kommander.ai/api/automations/callback-requestsJavaScript
const response = await fetch('https://app.kommander.ai/api/automations/callback-requests', {
method: 'OPTIONS',
headers: {},
});
const data = await response.json();Python
import requests
response = requests.options(
'https://app.kommander.ai/api/automations/callback-requests',
headers={}
)
data = response.json()Interactive testing
OPTIONS /api/automations/callback-requestsResponses
204Preflight accepted. The response includes Access-Control-Allow-* headers where the route supports browser cross-origin calls.
405Preflight is not allowed for this deployment or route configuration.
get/api/automations/callback-requests/exportGet Automations Callback Requests Export
/api/automations/callback-requests/exportGet Automations Callback Requests ExportGet Automations Callback Requests Export. This automations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Code examples
cURL
curl -X GET https://app.kommander.ai/api/automations/callback-requests/export \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/automations/callback-requests/export', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/automations/callback-requests/export',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/automations/callback-requests/exportResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/automations/callback-requests/migrateCreate or run Automations Callback Requests Migrate
/api/automations/callback-requests/migrateCreate or run Automations Callback Requests MigrateCreate or run Automations Callback Requests Migrate. This automations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/automations/callback-requests/migrate \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/automations/callback-requests/migrate', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/automations/callback-requests/migrate',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/automations/callback-requests/migrateResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/automations/callback-requests/schemaGet Automations Callback Requests Schema
/api/automations/callback-requests/schemaGet Automations Callback Requests SchemaGet Automations Callback Requests Schema. This automations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Code examples
cURL
curl -X GET https://app.kommander.ai/api/automations/callback-requests/schema \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/automations/callback-requests/schema', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/automations/callback-requests/schema',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/automations/callback-requests/schemaResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}options/api/automations/callback-requests/schemaCORS preflight for automations callback requests schema
/api/automations/callback-requests/schemaCORS preflight for automations callback requests schemaCORS preflight for /api/automations/callback-requests/schema. Used by browsers before cross-origin requests.
Authentication
No authentication requirement is declared for this operation.
Code examples
cURL
curl -X OPTIONS https://app.kommander.ai/api/automations/callback-requests/schemaJavaScript
const response = await fetch('https://app.kommander.ai/api/automations/callback-requests/schema', {
method: 'OPTIONS',
headers: {},
});
const data = await response.json();Python
import requests
response = requests.options(
'https://app.kommander.ai/api/automations/callback-requests/schema',
headers={}
)
data = response.json()Interactive testing
OPTIONS /api/automations/callback-requests/schemaResponses
204Preflight accepted. The response includes Access-Control-Allow-* headers where the route supports browser cross-origin calls.
405Preflight is not allowed for this deployment or route configuration.
patch/api/automations/callback-requests/{id}Update Automations Callback Requests ID
/api/automations/callback-requests/{id}Update Automations Callback Requests IDUpdate Automations Callback Requests ID. This automations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X PATCH https://app.kommander.ai/api/automations/callback-requests/123 \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/automations/callback-requests/123', {
method: 'PATCH',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.patch(
'https://app.kommander.ai/api/automations/callback-requests/123',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
PATCH /api/automations/callback-requests/123Responses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}delete/api/automations/callback-requests/{id}Delete Automations Callback Requests ID
/api/automations/callback-requests/{id}Delete Automations Callback Requests IDDelete Automations Callback Requests ID. This automations endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | id route parameter. |
Code examples
cURL
curl -X DELETE https://app.kommander.ai/api/automations/callback-requests/123 \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/automations/callback-requests/123', {
method: 'DELETE',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.delete(
'https://app.kommander.ai/api/automations/callback-requests/123',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
DELETE /api/automations/callback-requests/123Responses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}System
System endpoints.
get/api/assistants/overviewGet Assistants Overview
/api/assistants/overviewGet Assistants OverviewGet Assistants Overview. This system endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Code examples
cURL
curl -X GET https://app.kommander.ai/api/assistants/overview \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/assistants/overview', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/assistants/overview',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/assistants/overviewResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/bananaloop-testGet Bananaloop Test
/api/bananaloop-testGet Bananaloop TestGet Bananaloop Test. This system endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Code examples
cURL
curl -X GET https://app.kommander.ai/api/bananaloop-test \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/bananaloop-test', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/bananaloop-test',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/bananaloop-testResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/database-healthGet Database Health
/api/database-healthGet Database HealthGet Database Health. This system endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Code examples
cURL
curl -X GET https://app.kommander.ai/api/database-health \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/database-health', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/database-health',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/database-healthResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/inngestGet Inngest
/api/inngestGet InngestInngest serve endpoint for background function execution and platform callbacks.
Authentication
No authentication requirement is declared for this operation.
Code examples
cURL
curl -X GET https://app.kommander.ai/api/inngestJavaScript
const response = await fetch('https://app.kommander.ai/api/inngest', {
method: 'GET',
headers: {},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/inngest',
headers={}
)
data = response.json()Interactive testing
GET /api/inngestResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/inngestCreate or run Inngest
/api/inngestCreate or run InngestInngest serve endpoint for background function execution and platform callbacks.
Authentication
No authentication requirement is declared for this operation.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/inngest \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/inngest', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/inngest',
headers={
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/inngestResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}put/api/inngestReplace Inngest
/api/inngestReplace InngestInngest serve endpoint for background function execution and platform callbacks.
Authentication
No authentication requirement is declared for this operation.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X PUT https://app.kommander.ai/api/inngest \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/inngest', {
method: 'PUT',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.put(
'https://app.kommander.ai/api/inngest',
headers={
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
PUT /api/inngestResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/me/profileGet Me Profile
/api/me/profileGet Me ProfileGet Me Profile. This system endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Code examples
cURL
curl -X GET https://app.kommander.ai/api/me/profile \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/me/profile', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/me/profile',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/me/profileResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}put/api/me/profileReplace Me Profile
/api/me/profileReplace Me ProfileReplace Me Profile. This system endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X PUT https://app.kommander.ai/api/me/profile \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/me/profile', {
method: 'PUT',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.put(
'https://app.kommander.ai/api/me/profile',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
PUT /api/me/profileResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/privacy/consentGet Privacy Consent
/api/privacy/consentGet Privacy ConsentGet Privacy Consent. This system endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Code examples
cURL
curl -X GET https://app.kommander.ai/api/privacy/consent \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/privacy/consent', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/privacy/consent',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/privacy/consentResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/privacy/consentCreate or run Privacy Consent
/api/privacy/consentCreate or run Privacy ConsentCreate or run Privacy Consent. This system endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body
application/jsonapplication/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON payload. See the route handler for field-level implementation details."
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/privacy/consent \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/privacy/consent', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/privacy/consent',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
},
json={}
)
data = response.json()Interactive testing
POST /api/privacy/consentResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/speech/transcribeGet Speech Transcribe
/api/speech/transcribeGet Speech TranscribeGet Speech Transcribe. This system endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Code examples
cURL
curl -X GET https://app.kommander.ai/api/speech/transcribe \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/speech/transcribe', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/speech/transcribe',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/speech/transcribeResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}post/api/speech/transcribeCreate or run Speech Transcribe
/api/speech/transcribeCreate or run Speech TranscribeCreate or run Speech Transcribe. This system endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Request body (required)
multipart/form-datamultipart/form-data schema
{
"type": "object",
"additionalProperties": true
}Code examples
cURL
curl -X POST https://app.kommander.ai/api/speech/transcribe \
-H "Authorization: Bearer <token>" \
-H "Content-Type: multipart/form-data" \
--data '{}'JavaScript
const response = await fetch('https://app.kommander.ai/api/speech/transcribe', {
method: 'POST',
headers: {
"Authorization": "Bearer <token>",
"Content-Type": "multipart/form-data"
},
body: JSON.stringify({}),
});
const data = await response.json();Python
import requests
response = requests.post(
'https://app.kommander.ai/api/speech/transcribe',
headers={
"Authorization": "Bearer <token>",
"Content-Type": "multipart/form-data"
},
json={}
)
data = response.json()Interactive testing
POST /api/speech/transcribeResponses
200application/json200 or 201 response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}get/api/ws-startGet WebSocket Start
/api/ws-startGet WebSocket StartGet WebSocket Start. This system endpoint is documented from the matching route handler under app/api.
Authentication
cookieAuthAuthenticated dashboard session issued by NextAuth.
bearerAuthBearer token used by embedded clients, service calls, or future public API clients where supported.
Code examples
cURL
curl -X GET https://app.kommander.ai/api/ws-start \
-H "Authorization: Bearer <token>"JavaScript
const response = await fetch('https://app.kommander.ai/api/ws-start', {
method: 'GET',
headers: {
"Authorization": "Bearer <token>"
},
});
const data = await response.json();Python
import requests
response = requests.get(
'https://app.kommander.ai/api/ws-start',
headers={
"Authorization": "Bearer <token>"
}
)
data = response.json()Interactive testing
GET /api/ws-startResponses
200application/jsonSuccessful response from the route handler.
application/json schema
{
"type": "object",
"additionalProperties": true,
"description": "Endpoint-specific JSON response."
}Example response
{}400application/jsonInvalid request payload, missing parameter, or validation failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}401application/jsonMissing or invalid authentication.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}403application/jsonAuthenticated caller lacks permission for the requested organization, resource, or admin operation.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}404application/jsonRequested resource was not found.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}429application/jsonToo many requests. Retry after the policy window resets; some handlers also emit Retry-After headers.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}500application/jsonUnexpected server or provider failure.
application/json schema
{
"type": "object",
"additionalProperties": true,
"properties": {
"error": {
"type": "string",
"description": "Human-readable error message."
},
"details": {
"description": "Optional validation or provider-specific details."
},
"status": {
"type": "string",
"description": "Optional machine status used by some message endpoints."
}
}
}Example response
{
"error": "string",
"details": {},
"status": "string"
}