For the complete documentation index, see llms.txt. This page is also available as Markdown.

Inbox answers

Lists all response snippets

get

Required Permission: chatbots.inbox.answers.list

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The ID of the chatbot.

Responses
200

List of all response snippets.

application/json
errorstringOptional

Optional error message.

get
/v1/inbox/{chatbotId}/answers

Creates a new response snippet

post

Required Permission: chatbots.inbox.answers.create

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The ID of the chatbot.

Body
namestringRequired

The name/title of the text snippet.

Example: Opening hours
messagestringRequired

The content of the text snippet.

Example: We are open Monday to Friday from 9 AM to 5 PM.
Responses
post
/v1/inbox/{chatbotId}/answers

Updates an existing response snippet

put

Required Permission: chatbots.inbox.answers.edit

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The ID of the chatbot.

answerIdstringRequired

The ID of the response snippet to update.

Body
namestringRequired

The new name of the text snippet.

Example: New opening hours
messagestringRequired

The new content of the text snippet.

Example: Our new opening hours are from 8 AM to 6 PM.
Responses
200

Response snippet updated successfully.

application/json
errorstringOptional

Optional error message.

put
/v1/inbox/{chatbotId}/answers/{answerId}

Deletes a response snippet

delete

Required Permission: chatbots.inbox.answers.delete

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The ID of the chatbot.

answerIdstringRequired

The ID of the response snippet to delete.

Responses
200

Response snippet deleted successfully.

application/json
errorstringOptional

Optional error message.

delete
/v1/inbox/{chatbotId}/answers/{answerId}

Last updated