Skip to main content
POST

Execute automation

POST /api/automations/:automationId/execute Manually trigger an automation to run for a specific conversation or contact.

Headers

Session cookie (login via POST /api/auth/login)

Path parameters

integer
required
Automation ID.

Body parameters

integer
Target conversation.
string
Target contact phone.
object
Variables for template substitution.

Test automation

POST /api/automations/:id/test Test an automation with sample data without sending real messages.

Trigger events

POST /api/automations/triggers/new-conversation Manually trigger the new_conversation event for automations listening on it.

Trigger: message received

POST /api/automations/triggers/message-received