Chatbot Faqs
Required Permission: chatbots.faqs.list
Resource: chatbots/:chatbotId
The ID of the chatbot.
List of all FAQs.
Optional error message.
Insufficient permissions.
GET /v1/chatbots/{chatbotId}/faqs HTTP/1.1
Host: api.chatcaptain.com
x-chatcaptain-key: YOUR_API_KEY
Accept: */*
{
"faqs": [
{
"id": "59aBv7wzR9cxd1Pxyz",
"created": "2025-10-02T12:00:00Z",
"updated": "2025-10-02T12:05:00Z",
"name": "What are the shipping costs?",
"intentId": "Kq8BxZaJd2wZR9cxd1P",
"stepId": "59aBv7wzR9cxd1Pxyz",
"hasMessages": true,
"step": {
"stepId": "59aBv7wzR9cxd1Pxyz",
"flowId": "Kq8BxZaJd2wZR9cxd1P"
}
}
],
"error": "text"
}Required Permission: chatbots.faqs.create
Resource: chatbots/:chatbotId
The ID of the chatbot.
The question or name of the new FAQ.
Opening hoursFaq created successfully.
Optional error message.
Invalid input data.
Insufficient permissions.
POST /v1/chatbots/{chatbotId}/faqs HTTP/1.1
Host: api.chatcaptain.com
x-chatcaptain-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 24
{
"name": "Opening hours"
}{
"faq": {
"id": "59aBv7wzR9cxd1Pxyz",
"created": "2025-10-02T12:00:00Z",
"updated": "2025-10-02T12:05:00Z",
"name": "What are the shipping costs?",
"intentId": "Kq8BxZaJd2wZR9cxd1P",
"stepId": "59aBv7wzR9cxd1Pxyz",
"hasMessages": true,
"step": {
"stepId": "59aBv7wzR9cxd1Pxyz",
"flowId": "Kq8BxZaJd2wZR9cxd1P"
}
},
"error": "text"
}Required Permission: chatbots.faqs.get
Resource: chatbots/:chatbotId
The ID of the chatbot.
The ID of the FAQ to retrieve.
Details of the FAQ.
Optional error message.
Insufficient permissions.
GET /v1/chatbots/{chatbotId}/faqs/{faqId} HTTP/1.1
Host: api.chatcaptain.com
x-chatcaptain-key: YOUR_API_KEY
Accept: */*
{
"faq": {
"id": "59aBv7wzR9cxd1Pxyz",
"created": "2025-10-02T12:00:00Z",
"updated": "2025-10-02T12:05:00Z",
"name": "What are the shipping costs?",
"intentId": "Kq8BxZaJd2wZR9cxd1P",
"stepId": "59aBv7wzR9cxd1Pxyz",
"hasMessages": true,
"step": {
"stepId": "59aBv7wzR9cxd1Pxyz",
"flowId": "Kq8BxZaJd2wZR9cxd1P"
}
},
"error": "text"
}Required Permission: chatbots.faqs.delete
Resource: chatbots/:chatbotId
The ID of the chatbot.
The ID of the FAQ to delete.
Result of the deletion operation.
Indicates whether the deletion process was successful.
trueOptional error message.
Insufficient permissions.
DELETE /v1/chatbots/{chatbotId}/faqs/{faqId} HTTP/1.1
Host: api.chatcaptain.com
x-chatcaptain-key: YOUR_API_KEY
Accept: */*
{
"deleted": true,
"error": "text"
}Required Permission: chatbots.faqs.edit
Resource: chatbots/:chatbotId
The ID of the chatbot.
The ID of the FAQ to update.
The new name of the FAQ.
What are the changed opening hours?Faq updated successfully.
Optional error message.
Invalid input data.
Insufficient permissions.
PATCH /v1/chatbots/{chatbotId}/faqs/{faqId} HTTP/1.1
Host: api.chatcaptain.com
x-chatcaptain-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 46
{
"name": "What are the changed opening hours?"
}{
"faq": {
"id": "59aBv7wzR9cxd1Pxyz",
"created": "2025-10-02T12:00:00Z",
"updated": "2025-10-02T12:05:00Z",
"name": "What are the shipping costs?",
"intentId": "Kq8BxZaJd2wZR9cxd1P",
"stepId": "59aBv7wzR9cxd1Pxyz",
"hasMessages": true,
"step": {
"stepId": "59aBv7wzR9cxd1Pxyz",
"flowId": "Kq8BxZaJd2wZR9cxd1P"
}
},
"error": "text"
}Last updated