Inbox Answers
Required Permission: chatbots.inbox.answers.list
Resource: chatbots/:chatbotId
The ID of the chatbot.
List of all response snippets.
Optional error message.
Insufficient permissions.
GET /v1/inbox/{chatbotId}/answers HTTP/1.1
Host: api.chatcaptain.com
x-chatcaptain-key: YOUR_API_KEY
Accept: */*
{
"answers": [
{
"id": "mUfMNyuVSPSVgNVPdhLm",
"created": "2025-10-06T12:00:00Z",
"updated": "2025-10-06T12:05:00Z",
"name": "Salutation",
"message": "Best regards, your support team"
}
],
"error": "text"
}Required Permission: chatbots.inbox.answers.create
Resource: chatbots/:chatbotId
The ID of the chatbot.
The name/title of the text snippet.
Opening hoursThe content of the text snippet.
We are open Monday to Friday from 9 AM to 5 PM.Response snippet created successfully.
Optional error message.
Invalid input data.
Insufficient permissions.
POST /v1/inbox/{chatbotId}/answers HTTP/1.1
Host: api.chatcaptain.com
x-chatcaptain-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 84
{
"name": "Opening hours",
"message": "We are open Monday to Friday from 9 AM to 5 PM."
}{
"answer": {
"id": "mUfMNyuVSPSVgNVPdhLm",
"created": "2025-10-06T12:00:00Z",
"updated": "2025-10-06T12:05:00Z",
"name": "Salutation",
"message": "Best regards, your support team"
},
"error": "text"
}Required Permission: chatbots.inbox.answers.edit
Resource: chatbots/:chatbotId
The ID of the chatbot.
The ID of the response snippet to update.
The new name of the text snippet.
New opening hoursThe new content of the text snippet.
Our new opening hours are from 8 AM to 6 PM.Response snippet updated successfully.
Optional error message.
Invalid input data.
Insufficient permissions.
PUT /v1/inbox/{chatbotId}/answers/{answerId} HTTP/1.1
Host: api.chatcaptain.com
x-chatcaptain-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 85
{
"name": "New opening hours",
"message": "Our new opening hours are from 8 AM to 6 PM."
}{
"answer": {
"id": "mUfMNyuVSPSVgNVPdhLm",
"created": "2025-10-06T12:00:00Z",
"updated": "2025-10-06T12:05:00Z",
"name": "Salutation",
"message": "Best regards, your support team"
},
"error": "text"
}Required Permission: chatbots.inbox.answers.delete
Resource: chatbots/:chatbotId
The ID of the chatbot.
The ID of the response snippet to delete.
Response snippet deleted successfully.
Optional error message.
Insufficient permissions.
DELETE /v1/inbox/{chatbotId}/answers/{answerId} HTTP/1.1
Host: api.chatcaptain.com
x-chatcaptain-key: YOUR_API_KEY
Accept: */*
{
"error": "text"
}Last updated