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

Chatbot faqs

Lists all FAQs for a chatbot

get

Required Permission: chatbots.faqs.list

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The ID of the chatbot.

Responses
200

List of all FAQs.

application/json
errorstringOptional

Optional error message.

get
/v1/chatbots/{chatbotId}/faqs

Creates a new FAQ

post

Required Permission: chatbots.faqs.create

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The ID of the chatbot.

Body
namestringRequired

The question or name of the new FAQ.

Example: Opening hours
Responses
post
/v1/chatbots/{chatbotId}/faqs

Retrieves a specific FAQ

get

Required Permission: chatbots.faqs.get

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The ID of the chatbot.

faqIdstringRequired

The ID of the FAQ to retrieve.

Responses
200

Details of the FAQ.

application/json
errorstringOptional

Optional error message.

get
/v1/chatbots/{chatbotId}/faqs/{faqId}

Deletes an FAQ

delete

Required Permission: chatbots.faqs.delete

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The ID of the chatbot.

faqIdstringRequired

The ID of the FAQ to delete.

Responses
200

Result of the deletion operation.

application/json
deletedbooleanRequired

Indicates whether the deletion process was successful.

Example: true
errorstringOptional

Optional error message.

delete
/v1/chatbots/{chatbotId}/faqs/{faqId}

Updates an existing FAQ

patch

Required Permission: chatbots.faqs.edit

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The ID of the chatbot.

faqIdstringRequired

The ID of the FAQ to update.

Body
namestringRequired

The new name of the FAQ.

Example: What are the changed opening hours?
Responses
200

Faq updated successfully.

application/json
errorstringOptional

Optional error message.

patch
/v1/chatbots/{chatbotId}/faqs/{faqId}

Last updated