Endpoint ·
POST /conversation/smart-actionsWhen to use this endpoint and when to use action groups
Use /conversation/actions
When you already know exactly what should happen. It’s cheaper, faster and more
predictable: it runs the actions you name, in the order you name them.
Use Smart Actions
When you want to describe the intent and let the employee judge the case — especially when
the decision depends on what the conversation history says.
The key point: the instruction directs, it doesn’t extend
Before integrating, ask the business for the list of action sets the employee has assigned — what it knows how to do comes from there and from its prompt, not from your instruction. If you need something specific and guaranteed — apply a label, move to a mailbox, change the status — use/conversation/actions, which runs exactly what you
ask for.
operative employees only
A json employee returns AI_EMPLOYEE_NOT_FOUND (404). Discover the available ones with
GET /ai-employees, which reports each one’s type.
To run a json employee, use /conversation/actions with the run_ai or ai_assistance
action.
How to write the instruction
The employee can’t guess the names of your labels, mailboxes or templates: name them explicitly. Discover them withGET /tags, GET /mailbox-categories, GET /quick-replies
and GET /templates/{name}/{language}.
400 INVALID_REQUEST.
The response
The
202 confirms acceptance, not a result. A run with reasoning can take minutes, so it
runs in the background.The detail of what happened isn’t reported yet — it will arrive via webhook (upcoming
feature), same as in /conversation/actions. In the meantime, what ran is visible in the
business panel’s Activity Log.The 24h window is checked before running
A duplicate call runs twice
Errors
The full catalog is in errors.