Tolky API
Talk to your avatar, manage its knowledge and automate your operation from your own systems.
With the API you can send messages to your avatar from any system, keep its content in sync with your catalog, open tickets and receive data from the platform. Start with authentication and the quickstart.
Not a developer?
You do not need the API to use Tolky. Everything here can also be done in the platform. Share this page with your technical team when you want to automate something.
Getting started
Authentication
Every API call carries a secret token that identifies your account.
Quickstart
Your first conversation with the avatar in three steps.
Use Tolky with Claude
Paste a ready-made prompt into Claude Code so it reads your files through the media extraction API.
Conventions
Base URL, response format, errors, timeouts and retry rules shared by every endpoint.
Conversations
Create a conversation
Open a new conversation with your avatar and get the ID you use to send messages.
Send a message
Send the customer's message to the avatar and receive its answer in the same call.
Conversation details
Read the summary, topic, sentiment and status of a conversation.
Investigate an answer
Find out why the avatar answered a message the way it did.
Inspect conversation context
See the conversation history the avatar actually receives, and how much the summary saves.
Follow-up settings
Read and change how the avatar follows up with customers who stopped answering.
Leads
Configure the agent
Avatars
List, read, create, edit and delete the avatars of your account.
Knowledge base
Manage the knowledge bases and content snippets the avatar uses to answer.
MCP servers
Connect your own MCP server so the avatar can use its tools during a conversation.
Flows
Automations
Manage the decision flows that tell the avatar what to do in each situation.
Flow AssistantBeta
Ask questions about your automations, and create or change them by describing what you want.
Reports
Partners
Messaging
Tickets
Data capture
Forms (FormFlow)
Read the forms your avatar fills during conversations, create or change them, and fetch the values it captured for each contact.
Doc Analyzer
Extract structured data from a conversation or any dialogue, using a schema you define or one of your forms.
Manager Learning
Review the learnings Tolky extracts from conversations handled by your team, and approve, reject or add them to the knowledge base.
Orchestration
Flow webhooks
Start a Tolky flow from any system by calling the webhook URL of its "Receive external data" step.
Sequential Thinking
Describe a task in plain language and let Tolky plan the steps and run them with the platform's actions.
Content processing
Media extraction
Read images, documents, scanned PDFs, audio, video and web pages, and get back the data you need as JSON.
Smart Split and Smart Cut
Break long texts into meaningful blocks for the knowledge base, or cut them down to the lines that matter.
Utilities
ConventionsTechnical details
| Item | Value |
|---|---|
| Base URL | https://api.tolky.to |
| Format | JSON (Content-Type: application/json) |
| Authentication | Authorization: Bearer <token> |
| Response envelope | { "code": 200, "message": "...", "data": { ... } } |
Details in Conventions.