> ## Documentation Index
> Fetch the complete documentation index at: https://developers.sapot.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction to Sapot Chat APIs

> Learn how to use Sapot Chat APIs to build integrations, customize chat experiences, and manage your installation.

Welcome to the Sapot Chat API documentation. Whether you're building custom workflows for your support team or integrating Sapot Chat into your product, our APIs provide the flexibility and power to help you do more with Sapot Chat.

Sapot Chat provides two categories of APIs, each designed with a specific use case in mind:

* **Application APIs** – For account-level automation and agent-facing integrations.
* **Client APIs** – For building custom chat interfaces for end-users

***

## Application APIs

Application APIs are designed for interacting with a Sapot Chat account from an agent/admin perspective. Use them to build internal tools, automate workflows, or perform bulk operations like data import/export.

* **Authentication**: Requires a user `access_token`, which can be generated from **Profile Settings** after logging into your Sapot Chat account.
* **Availability**: Supported on both **Cloud** and **Self-hosted** Sapot Chat installations.
* **Example**: [Google Cloud Functions Demo](https://github.com/chatwoot/google-cloud-functions-demo)

***

## Client APIs

Client APIs are intended for building custom messaging experiences over Chatwoot. If you're not using the native website widget or want to embed chat in your mobile app, these APIs are the way to go.

* **Authentication**: Uses `inbox_identifier` (from **Settings → Configuration** in API inboxes) and `contact_identifier` (returned when creating a contact).
* **Availability**: Supported on both **Cloud** and **Self-hosted** Sapot Chat installations.
* **Examples**:

  * [Client API Demo](https://github.com/chatwoot/client-api-demo)
  * [Flutter SDK](https://github.com/Mampu-AI/chatwoot-flutter-sdk)

***

Use the right API for your use case, and you'll be able to extend, customize, and integrate Sapot Chat into your stack with ease.

***

## FAQ

### What should I do if the API documentation appears outdated?

If you encounter discrepancies between the API documentation and actual API behavior, we recommend inspecting the actual requests made by the Sapot Chat UI through your browser's developer console Network tab to see the exact request format and payload structure that works with the current API, then replicate the same request structure in your integration.

You can contribute back by submitting a [pull request](/contributing-guide/api-documentation) with documentation corrections or by [raising an issue](https://github.com/Mampu-AI/chatwoot/issues) in our GitHub repository to help keep our API documentation current for everyone.
