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 Conversations API API

Public conversation APIs

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

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

This API exposes 6 operations across 5 paths, and defines 8 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/.

6 operations 5 paths 8 schemas 2 GET4 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 Conversations API 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 6

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

Conversations API 6

Public conversation APIs

POST
/public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations
Create a conversation
create-a-conversation 2 params body → 200401
GET
/public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations
List all conversations
list-all-contact-conversations 2 params → 200401
GET
/public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations/{conversation_id}
Get a single conversation
get-single-conversation 3 params → 200401404
POST
/public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations/{conversation_id}/toggle_status
Resolve a conversation
resolve-conversation 3 params → 200401404
POST
/public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations/{conversation_id}/toggle_typing
Toggle typing status
toggle-typing-status 4 params body → 200401404
POST
/public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}/conversations/{conversation_id}/update_last_seen
Update last seen
update-last-seen 3 params → 200401404

Schemas 8

The contract defines 8 schemas that model the data the API accepts and returns. The most detailed are public_contact_record (19 properties), public_message_attachment (15 properties), public_message_sender (15 properties), public_message (9 properties). Each schema is shown below with its type and property counts.

public_contact_record
object
Full serialized contact record returned when the public API renders a Contact model directly.
19 properties
bad_request_error
object
2 properties
request_error
object
3 properties
public_message_attachment
object
Attachment payload. Available fields vary by attachment filetype.
15 properties
public_conversation_create_payload
object
1 property
public_conversation
object
8 properties
public_message
object
9 properties
public_message_sender
object
Polymorphic sender payload returned by pusheventdata. Available fields vary by sender type.
15 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

chatwoot-conversations-api-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