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

Contact management APIs

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

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

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

11 operations 8 paths 20 schemas 1 DELETE5 GET4 POST1 PUT

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 Contacts 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 11

Across 8 paths, the API surfaces 11 operations — 1 DELETE, 5 GET, 4 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Contacts 11

Contact management APIs

GET
/api/v1/accounts/{account_id}/contacts
List Contacts
contactList 3 params → 200400
POST
/api/v1/accounts/{account_id}/contacts
Create Contact
contactCreate 1 param body → 200400
GET
/api/v1/accounts/{account_id}/contacts/{id}
Show Contact
contactDetails 2 params → 200404403
PUT
/api/v1/accounts/{account_id}/contacts/{id}
Update Contact
contactUpdate 2 params body → 204404403
DELETE
/api/v1/accounts/{account_id}/contacts/{id}
Delete Contact
contactDelete 2 params → 200401404
GET
/api/v1/accounts/{account_id}/contacts/{id}/conversations
Contact Conversations
contactConversations 3 params → 200404403
GET
/api/v1/accounts/{account_id}/contacts/search
Search Contacts
contactSearch 4 params → 200401
POST
/api/v1/accounts/{account_id}/contacts/filter
Contact Filter
contactFilter 2 params body → 200400
POST
/api/v1/accounts/{account_id}/contacts/{id}/contact_inboxes
Create contact inbox
contactInboxCreation 2 params body → 200401422
GET
/api/v1/accounts/{account_id}/contacts/{id}/contactable_inboxes
Get Contactable Inboxes
contactableInboxesGet 2 params → 200401422
POST
/api/v1/accounts/{account_id}/actions/contact_merge
Merge Contacts
contactMerge 1 param body → 200400401404

Schemas 20

The contract defines 20 schemas that model the data the API accepts and returns. The most detailed are conversation (27 properties), message (22 properties), user (20 properties), contact_list_item (13 properties). Each schema is shown below with its type and property counts.

bad_request_error
object
2 properties
contact_inboxes
object
2 properties
contact_inbox
object
2 properties
extended_contact
contacts_list_response
object
2 properties
inbox_contact
object
6 properties
contact_base
contact_conversations_response
object
1 property
contact
object
1 property
contactable_inboxes_response
object
1 property
request_error
object
3 properties
generic_id
object
1 property
contact_create_payload
object
10 properties 1 required
user
object
20 properties
message
object
22 properties
contact_meta
object
2 properties
contact_show_response
object
1 property
contact_update_payload
object
9 properties
contact_list_item
object
13 properties
conversation
object
27 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

chatwoot-contacts-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