Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Chatwoot Inboxes API

Communication channels setup

Chatwoot Inboxes API is one of 33 APIs that Chatwoot publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Inboxes. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 10 operations across 6 paths, and defines 21 schemas. It is described by OpenAPI 3.0.3, at version 1.1.0.

Requests are made against a single base URL, https://app.chatwoot.com/.

10 operations 6 paths 21 schemas 1 DELETE4 GET2 PATCH3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.1.0
Base URL
https://app.chatwoot.com
Authentication
API Key, API Key, API Key
Terms of Service
Resource Areas
1

Authentication & Security 3

Chatwoot Inboxes API declares 3 security schemes for authenticating requests. An API key is passed in the header as api_access_token (userApiKey). An API key is passed in the header as api_access_token (agentBotApiKey). An API key is passed in the header as api_access_token (platformAppApiKey).

  • userApiKey — This token can be obtained by visiting the profile page or via rails console. Provides access to endpoints based on the user permissions levels. This token can…
  • agentBotApiKey — This token should be provided by system admin or obtained via rails console. This token can be used to build bot integrations and can only access limited apis.
  • platformAppApiKey — This token can be obtained by the system admin after creating a platformApp. This token should be used to provision agent bots, accounts, users and their roles.

Paths & Operations 10

Across 6 paths, the API surfaces 10 operations — 1 DELETE, 4 GET, 2 PATCH, 3 POST. Each is listed below with its method, path, parameters, and response codes.

Inboxes 10

Communication channels setup

GET
/api/v1/accounts/{account_id}/inboxes
List all inboxes
listAllInboxes 1 param → 200404403
POST
/api/v1/accounts/{account_id}/inboxes
Create an inbox
inboxCreation 1 param body → 200404403
GET
/api/v1/accounts/{account_id}/inboxes/{id}
Get an inbox
GetInbox 2 params → 200404403
PATCH
/api/v1/accounts/{account_id}/inboxes/{id}
Update Inbox
updateInbox 2 params body → 200404403
GET
/api/v1/accounts/{account_id}/inboxes/{id}/agent_bot
Show Inbox Agent Bot
getInboxAgentBot 2 params → 204404403
POST
/api/v1/accounts/{account_id}/inboxes/{id}/set_agent_bot
Add or remove agent bot
updateAgentBot 2 params body → 204404403
GET
/api/v1/accounts/{account_id}/inbox_members/{inbox_id}
List Agents in Inbox
get-inbox-members 3 params → 200404403
POST
/api/v1/accounts/{account_id}/inbox_members
Add a New Agent
add-new-agent-to-inbox 1 param body → 200404403422
PATCH
/api/v1/accounts/{account_id}/inbox_members
Update Agents in Inbox
update-agents-in-inbox 1 param body → 200404403422
DELETE
/api/v1/accounts/{account_id}/inbox_members
Remove an Agent from Inbox
delete-agent-in-inbox 1 param body → 200404403422

Schemas 21

The contract defines 21 schemas that model the data the API accepts and returns. The most detailed are inbox (33 properties), inbox_create_email_channel_payload (21 properties), inbox_update_email_channel_payload (20 properties), inbox_create_payload (17 properties). Each schema is shown below with its type and property counts.

agent_bot
object
10 properties
bad_request_error
object
2 properties
inbox_update_sms_channel_payload
object
2 properties
inbox_create_telegram_channel_payload
object
2 properties 2 required
inbox_create_api_channel_payload
object
4 properties 1 required
request_error
object
3 properties
inbox_update_whatsapp_channel_payload
object
3 properties
inbox_create_payload
object
17 properties
inbox_update_line_channel_payload
object
3 properties
inbox_create_email_channel_payload
object
21 properties 2 required
inbox_update_web_widget_channel_payload
object
11 properties
inbox_update_email_channel_payload
object
20 properties
inbox_update_payload
object
17 properties
inbox_create_whatsapp_channel_payload
inbox_create_sms_channel_payload
object
3 properties 2 required
agent
object
11 properties
inbox_create_line_channel_payload
object
4 properties 4 required
inbox
object
33 properties
inbox_create_web_widget_channel_payload
object
12 properties 2 required
inbox_update_telegram_channel_payload
object
1 property
inbox_update_api_channel_payload
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

chatwoot-inboxes-api-openapi.yml Raw ↑

Other APIs Chatwoot publishes across the network.

Chatwoot Client API
Chatwoot Platform API
Chatwoot Account AgentBots API
Chatwoot Account API
Chatwoot Account Users API
Chatwoot Accounts API
Chatwoot AgentBots API
Chatwoot Agents API
Chatwoot Audit Logs API
Chatwoot Automation Rule API
Chatwoot Canned Responses API
Chatwoot Contact Labels API