Inbox Teams
Required Permission: chatbots.teams.list
Resource: chatbots/:chatbotId
The ID of the chatbot.
List of all teams.
Optional error message.
Insufficient permissions.
GET /v1/inbox/{chatbotId}/teams HTTP/1.1
Host: api.chatcaptain.com
x-chatcaptain-key: YOUR_API_KEY
Accept: */*
{
"teams": [
{
"id": "L1SQSnEeYL61pMtEKDln",
"name": "First-Level-Support",
"created": "2025-10-07T10:00:00Z",
"updated": "2025-10-07T10:05:00Z",
"icon": "support_agent",
"userIds": [
"uaYAdkVQteacOnKtQMhX"
]
}
],
"error": "text"
}Required Permission: chatbots.teams.create
Resource: chatbots/:chatbotId
The ID of the chatbot.
The name of the new team.
Customer Service TeamTeam created successfully.
Optional error message.
Invalid input data.
Insufficient permissions.
POST /v1/inbox/{chatbotId}/teams HTTP/1.1
Host: api.chatcaptain.com
x-chatcaptain-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 32
{
"name": "Customer Service Team"
}{
"team": {
"id": "L1SQSnEeYL61pMtEKDln",
"name": "First-Level-Support",
"created": "2025-10-07T10:00:00Z",
"updated": "2025-10-07T10:05:00Z",
"icon": "support_agent",
"userIds": [
"uaYAdkVQteacOnKtQMhX"
]
},
"error": "text"
}Required Permission: chatbots.teams.get
Resource: chatbots/:chatbotId
The ID of the chatbot.
The ID of the team to retrieve.
Details of the team.
Optional error message.
Insufficient permissions.
GET /v1/inbox/{chatbotId}/teams/{teamId} HTTP/1.1
Host: api.chatcaptain.com
x-chatcaptain-key: YOUR_API_KEY
Accept: */*
{
"team": {
"id": "L1SQSnEeYL61pMtEKDln",
"name": "First-Level-Support",
"created": "2025-10-07T10:00:00Z",
"updated": "2025-10-07T10:05:00Z",
"icon": "support_agent",
"userIds": [
"uaYAdkVQteacOnKtQMhX"
]
},
"error": "text"
}Required Permission: chatbots.teams.delete
Resource: chatbots/:chatbotId
The ID of the chatbot.
The ID of the team to delete.
Team deleted successfully.
No content
Insufficient permissions.
DELETE /v1/inbox/{chatbotId}/teams/{teamId} HTTP/1.1
Host: api.chatcaptain.com
x-chatcaptain-key: YOUR_API_KEY
Accept: */*
No content
Required Permission: chatbots.teams.edit
Resource: chatbots/:chatbotId
The ID of the chatbot.
The ID of the team to update.
Team updated successfully.
Optional error message.
Invalid input data.
Insufficient permissions.
PATCH /v1/inbox/{chatbotId}/teams/{teamId} HTTP/1.1
Host: api.chatcaptain.com
x-chatcaptain-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 101
{
"updated": {
"userIds": [
"ZVfFkkOEuHzYWaSijjNk",
"SfHdrGq4Yosu5QeHYXVp"
],
"name": "Second-Level-Support"
}
}{
"team": {
"id": "L1SQSnEeYL61pMtEKDln",
"name": "First-Level-Support",
"created": "2025-10-07T10:00:00Z",
"updated": "2025-10-07T10:05:00Z",
"icon": "support_agent",
"userIds": [
"uaYAdkVQteacOnKtQMhX"
]
},
"error": "text"
}Last updated