Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: Chatwoot Client Contacts API
description: Chatwoot is an open-source customer engagement suite with a shared inbox across email, live-chat, social, and messaging channels.
termsOfService: https://www.chatwoot.com/terms-of-service/
contact:
name: Chatwoot Developers
url: https://developers.chatwoot.com
license:
name: MIT (core) with additional Chatwoot license terms for some features
url: https://github.com/chatwoot/chatwoot/blob/develop/LICENSE
version: '1.0'
servers:
- url: https://app.chatwoot.com
description: Chatwoot Cloud. For self-hosted installations, substitute your own host.
security:
- userApiKey: []
tags:
- name: Client Contacts
description: Client API - end-user contact management.
paths:
/public/api/v1/inboxes/{inbox_identifier}/contacts:
parameters:
- $ref: '#/components/parameters/InboxIdentifier'
post:
operationId: createClientContact
tags:
- Client Contacts
security: []
summary: Create an end-user contact for a public inbox
requestBody:
content:
application/json:
schema:
type: object
properties:
identifier:
type: string
identifier_hash:
type: string
email:
type: string
name:
type: string
phone_number:
type: string
responses:
'200':
description: The created contact including source_id and pubsub_token.
/public/api/v1/inboxes/{inbox_identifier}/contacts/{contact_identifier}:
parameters:
- $ref: '#/components/parameters/InboxIdentifier'
- $ref: '#/components/parameters/ContactIdentifier'
get:
operationId: getClientContact
tags:
- Client Contacts
security: []
summary: Get the end-user contact
responses:
'200':
description: The contact.
patch:
operationId: updateClientContact
tags:
- Client Contacts
security: []
summary: Update the end-user contact
responses:
'200':
description: The updated contact.
components:
parameters:
InboxIdentifier:
name: inbox_identifier
in: path
required: true
description: The public inbox identifier (channel/web-widget identifier).
schema:
type: string
ContactIdentifier:
name: contact_identifier
in: path
required: true
description: The source_id / contact identifier returned when the client contact was created.
schema:
type: string
securitySchemes:
userApiKey:
type: apiKey
in: header
name: api_access_token
description: Application and Client access token passed in the `api_access_token` HTTP header. For the Application API this is an agent/user access token; Client API requests are additionally scoped by inbox and contact identifiers.
platformAppApiKey:
type: apiKey
in: header
name: api_access_token
description: Platform App access token passed in the `api_access_token` HTTP header. Created by a super-admin from the Chatwoot installation's Platform Apps area and required for all /platform/api/v1 endpoints.