Skip to content
Last updated

Get started with 3Chat Open Platform

3Chat Open Platform provides server-side APIs and outbound webhook events for integrating 3Chat with external systems.

Use the APIs to invoke 3Chat Agents, exchange messages, query business data, and manage resources. Use webhooks to receive notifications when subscribed events occur in 3Chat.

What you can build

  • Invoke a 3Chat Agent from an external application or messaging channel.
  • Send messages and manage conversation handling, including human handoff, assignment, and closure.
  • Synchronize dialogs, visitors, conversations, messages, staff members, and other 3Chat resources.
  • Manage Agent knowledge bases, skills, and chat groups.
  • Receive real-time events through a webhook endpoint operated by your application.

Choose an integration direction

Call the 3Chat API

Your server sends an HTTPS request to 3Chat:

Developer server → https://app.3chat.ai

Use this direction when your application needs to read data or perform an action in 3Chat.

Receive a webhook event

3Chat sends an HTTPS request to a URL configured by you:

3Chat → Developer-configured webhook URL

Use this direction when your application needs to react to an event that occurs in 3Chat. A webhook event is not an API endpoint hosted at app.3chat.ai.

Before you begin

You need:

  • A 3Chat Workspace with access to 3Chat Open Platform.
  • An OpenAPI application created in 3Chat Open Platform.
  • The App Key and App Secret of that application.
  • A secure server-side environment for storing credentials and calling the API.
  • An HTTPS endpoint if your application receives webhook events.

Keep your App Secret, Access Token, and Refresh Token in a secure server-side environment. Never expose them in browser code, mobile applications, public repositories, URLs, or client-visible logs.

API base URL

All 3Chat API paths in this reference use the production base URL:

https://app.3chat.ai

The API versions are part of the individual endpoint paths, such as /api/open/v3/token and /api/open/v4/butler/chat/completions.

Start integrating

  1. Create or open an application in 3Chat Open Platform.
  2. Copy its App Key and App Secret.
  3. Create an Access Token and Refresh Token.
  4. Send the Access Token as a Bearer token when calling protected APIs.
  5. Follow the Quickstart to make your first API call.
  6. If you need real-time notifications, configure a webhook URL and subscribe to the required events.

Where to go next