Skip to main content

API Reference

What you'll learn
  • Where to find the full AutoTalk API documentation
  • How to authenticate requests with your API key
  • Key API endpoints and what they do

AutoTalk exposes a public REST API that lets external applications create and manage clients, send messages, query conversations, work with dynamic data (Dynadata), and more. The API follows the OpenAPI 3.0 specification and uses API key authentication.

Live API documentation

The full, interactive API documentation is available at:

https://api.autotalk.io

From there you can browse every endpoint, see request and response schemas, and try out calls directly in the browser.

Authentication

All API requests require an API key passed in the x-api-key header:

x-api-key: YOUR_API_KEY

To generate an API key, go to Integrations > API Tokens in the AutoTalk dashboard and click the + button. See API Tokens for step-by-step instructions.

tip

Keep your API key secret. Never commit it to source control or share it in public channels. If a key is compromised, revoke it immediately and create a new one.

Base URL

All API requests use the following base URL:

https://api.autotalk.io/v1

Key endpoints

Below is an overview of the main API areas. For full request/response details, visit the live documentation.

Company

MethodPathDescription
GET/v1/selfRetrieve the authenticated company's profile

Clients

MethodPathDescription
POST/v1/contacts/{contactId}/send_messageSend a message to a specific contact

Conversations

MethodPathDescription
GET/v1/conversationsList conversations
POST/v1/conversationsCreate a new conversation
POST/v1/conversations/{id}/messagesProcess messages in a conversation
GET/v1/conversations/{id}/messagesList messages in a conversation

Dynadata (dynamic data)

Dynadata endpoints let you manage custom data entities (clients, orders, tickets, or any type your company defines).

MethodPathDescription
GET/v1/dynadata/typesList all available Dynadata types
GET/v1/dynadata/type/{type}/listList items of a specific type
GET/v1/dynadata/type/{type}/item/{_id}Retrieve a single item by ID
POST/v1/dynadata/type/{type}/createCreate a new item
PUT/v1/dynadata/type/{type}/updateUpdate an existing item
POST/v1/dynadata/type/{type}/validateValidate an item without saving
GET/v1/dynadata/type/{type}/schemaGet the JSON schema for a type
GET/v1/dynadata/type/{type}/schema/zodGet the Zod schema for a type
POST/v1/dynadata/type/{type}/executeFunction/{functionName}Execute a function on a type
POST/v1/dynadata/type/{type}/item/{_id}/executeFunction/{functionName}Execute a function on a specific item

Integrations and channels

MethodPathDescription
GET/v1/integrations/channelsList connected integration channels

AI Assistants

MethodPathDescription
GET/v1/assistantsList configured AI assistants

Example request

Here is an example of sending a text message to a client using curl:

curl -X POST https://api.autotalk.io/v1/contacts/CONTACT_ID/send_message \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"message": "Hello! How can we help you today?"
}'

Next steps

  • API Tokens -- Generate and manage your API keys
  • Webhooks -- Receive event notifications from AutoTalk
  • Workflows -- Automate tasks inside AutoTalk