Chatbot api Keys
Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired
The ID of the chatbot.
indexnumberRequired
The index of the key (e.g., 1 or 2)
workspaceIdstringRequired
The ID of the workspace.
Responses
200
The API key.
application/json
apiKeystringOptionalExample:
The generated API key. Only fully displayed upon creation.
CCSB-a1b2c3d4-e5f6g7h8i9j0errorstringOptional
Optional error message.
403
Insufficient permissions.
get
/v1/workspaces/{workspaceId}/chatbots/{chatbotId}/api/{index}Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired
The ID of the chatbot.
indexnumberRequired
The index of the key (e.g., 1 or 2)
workspaceIdstringRequired
The ID of the workspace.
Responses
201
The newly generated API key.
application/json
403
Insufficient permissions.
post
/v1/workspaces/{workspaceId}/chatbots/{chatbotId}/api/{index}Last updated