Skip to content
AI Employee

Conversation AI Public API

Learn how to use the Conversation AI Public API to create and manage AI Agents, configure Actions, retrieve AI generation data, and integrate Conversation AI into your applications and workflows.

3 min read632 words4 explained imagesUpdated Fri, 29 May at 9:04 AM
View as markdownOpen in ClaudeOpen in ChatGPT
Each image has a one line explanation. Switch to full detail for the step it belongs to, the fields and buttons involved, examples and the whole procedure.
On this page
  1. What is the Conversation AI API?
  2. Key Benefits of Conversation AI API
  3. Authentication (PIT & JWT)
  4. API Documentation
  5. Actions
  6. Agents
  7. Generations
  8. Frequently Asked Questions

GHL Customer Care’s Conversation AI API gives developers programmatic control over AI agents, actions, and conversation generations. Use secure tokens and granular scopes to automate agent setup, integrate with external apps, and export conversation data for analytics or compliance. This guide explains what the API is, the benefits, authentication options (PIT & JWT), endpoint families, and step-by-step setup with screenshots.


Video 1 Open in a new tab


TABLE OF CONTENTS


What is the Conversation AI API?

Conversation AI API exposes the same core capabilities available in the Conversation AI UI (creating and managing agents, attaching actions, and pulling AI response details) so your team can automate configuration and connect Conversation AI to your own systems. Using this API, you can provision agents at scale, script action updates, and retrieve message-level generation data for reporting and audits.

This API is ideal for agencies, SaaS businesses, and developers who need to scale Conversation AI management beyond the GHL Customer Care user interface.

What You Can Do with the Conversation AI Public API

Using the API, you can:

  • Create and manage Conversation AI Agents
  • Configure and update AI Actions programmatically
  • Retrieve AI conversation generation data
  • Automate large-scale AI setup across sub-accounts
  • Integrate Conversation AI with external applications
  • Build custom reporting and compliance workflows

Key Benefits of Conversation AI API

Understanding practical benefits helps you decide when to use the API versus the UI. These points highlight the outcomes teams typically automate: faster provisioning, consistent configuration at scale, and reliable access to detailed conversation data.

  • Faster onboarding: Automate agent creation and action attachment for new locations or clients in minutes.
  • Scalable configuration: Apply consistent agent settings and actions across many sub-accounts via scripts or CI/CD jobs.
  • Deeper analytics: Retrieve generations (AI response details) to power dashboards, QA workflows, audits, and compliance exports.
  • Flexible integration: Orchestrate GHL Customer Care with your internal tools—trigger workflows, track outcomes, and log events externally.
  • Least‑privilege security: Use read-only or write scopes to limit access precisely to what your integration needs.

Authentication (PIT & JWT)

Choosing the right auth method ensures reliable, secure access. Personal Integration Tokens (PIT) are quick to generate and scope, while JSON Web Tokens (JWT) support OAuth-based app flows. Both can be used for Conversation AI API access.

Open Settings → Private Integrations in your GHL Customer Care sub‑account (location).

Authentication (PIT & JWT) (image 1 of 4) What this shows Open Settings → Private Integrations in your GHL Customer Care sub‑account (location). What this shows Illustrates the "Authentication (PIT & JWT)" section of "Conversation AI Public API". This screenshot appears in the "Authentication (PIT & JWT)" section of "Conversation AI Public API". The text alongside this image reads: Open Settings → Private Integrations in your GHL Customer Care sub‑account (location). Immediately after, the guide continues: Give it basic info (name and description). Image 1 of 4 Where to goOpen Settings → Private Integrations in your GHL Customer Care sub‑account (location). Next stepGive it basic info (name and description).

Give it basic info (name and description).

Select the Conversation AI scopes.

Authentication (PIT & JWT) (image 2 of 4) What this shows Select the Conversation AI scopes. What this shows Illustrates the "Authentication (PIT & JWT)" section of "Conversation AI Public API". This screenshot appears in the "Authentication (PIT & JWT)" section of "Conversation AI Public API". The text alongside this image reads: Select the Conversation AI scopes. For context, this section explains: Choosing the right auth method ensures reliable, secure access. Personal Integration Tokens (PIT) are quick to generate and scope, while JSON Web Tokens (JWT) support OAuth-based app flows. Both can be used for Conversation AI API access. Immediately after, the guide continues: Create the token and make a copy of it. Image 2 of 4 What to chooseSelect the Conversation AI scopes. Next stepCreate the token and make a copy of it.

Create the token and make a copy of it.

Authentication (PIT & JWT) (image 3 of 4) What this shows Create the token and make a copy of it. What this shows Illustrates the "Authentication (PIT & JWT)" section of "Conversation AI Public API". This screenshot appears in the "Authentication (PIT & JWT)" section of "Conversation AI Public API". The text alongside this image reads: Create the token and make a copy of it. For context, this section explains: Choosing the right auth method ensures reliable, secure access. Personal Integration Tokens (PIT) are quick to generate and scope, while JSON Web Tokens (JWT) support OAuth-based app flows. Both can be used for Conversation AI API access. Immediately after, the guide continues: Maintain and use the token appropriately. Image 3 of 4 What to copyCreate the token and make a copy of it. Next stepMaintain and use the token appropriately.

Maintain and use the token appropriately.

Authentication (PIT & JWT) (image 4 of 4) What this shows Maintain and use the token appropriately. What this shows Illustrates the "Authentication (PIT & JWT)" section of "Conversation AI Public API". This screenshot appears in the "Authentication (PIT & JWT)" section of "Conversation AI Public API". The text alongside this image reads: Maintain and use the token appropriately. Immediately after, the guide continues: View the full API Documentation here Marketplace API 2.0 Conversation AI Actions. Image 4 of 4 What this coversMaintain and use the token appropriately. Next stepView the full API Documentation here Marketplace API 2.0 Conversation AI Actions

API Documentation

View the full API Documentation here Marketplace API 2.0 Conversation AI Actions

Actions

  • Attach Action To Agent
  • List Actions For An Agent
  • Get Action By ID
  • Update Action
  • Remove Action From Agent
  • Update Followup Settings

Agents

  • Create An Agent
  • Search Agents
  • Update Agent
  • Get Agent
  • Delete Agent

Generations

  • Get Generation Details

Frequently Asked Questions

Q: Do I need a Sub‑Account or Agency token for Conversation AI? 

A: Use a Sub‑Account token so calls act within the correct location context.

Q. Can I manage Conversation AI Agents through the API?

Yes. The API allows you to create, update, retrieve, and manage Conversation AI Agents programmatically.

Q: Can I use both PIT and JWT? 

A: Yes. You can authenticate with either method. Choose PIT for simple server‑to‑server integrations; use JWT for OAuth app flows.

Q: Where do I find the agentId? 

A: Create or search agents via the Agents API, then use the returned id field in subsequent calls.

Q: How do I audit AI responses programmatically? 

A: Use the Generations endpoint to retrieve message‑level response details and store them in your analytics or compliance system.

Q. Why am I receiving a 403 error?

This is typically caused by missing scopes, incorrect permissions, or attempting to access resources outside the authorized Sub-Account.

Frequently asked questions

What is the Conversation AI API?
Conversation AI API exposes the same core capabilities available in the Conversation AI UI (creating and managing agents, attaching actions, and pulling AI response details) so your team can automate configuration and connect Conversation AI to your own systems. Using this API, you can provision agents at scale, script action updates, and retrieve message-level generation data for reporting and audits. This API is ideal for agencies, SaaS businesses, and developers who need to scale Conversation AI management beyond the GHL Customer Care user interface. What You Can Do with the Conversation AI Public API Using the API, you can: Create and manage Conversation AI Agents Configure and update AI Actions programmatically Retrieve AI conversation generation data Automate large-scale AI setup across sub-accounts Integrate Conversation AI with external applications Build custom reporting and…

Was this guide helpful?

Related guides