Activate a workflow
POST
From now on it runs on new events, and its steps can message contacts, assign members or put an AI agent on conversations. Ricky checks again what it references; assigning an AI agent needs an active subscription. Activating an active workflow changes nothing. Send no body.
Scope: workflows:write.
bearerAuthheader
AuthorizationBearer <token>An organization API key, rky_live_…, created in Settings → API. Send it only from a server.
workflow_id*stringWorkflow ID.
Format
uuidSuccess.
application/json- response
data*An automation Ricky runs for the organization.
curl -X POST 'https://getricky.ai/api/v1/workflows/497f6eca-6276-4993-bfeb-53cbbbba6f08/activate'{ "data": { "id": "a3b4c5d6-e7f8-4a9b-8c0d-2e3f4a5b6c7d", "name": "Fuera de horario", "status": "active", "type": "conversation", "definition": { "trigger": "conversation_opened", "channel_ids": [ "8f3c2a5e-6b1d-4c7a-9e2f-1a2b3c4d5e6f" ], "condition": { "kind": "outside_business_hours", "business_hours": { "start": "09:00", "end": "18:00", "timezone": "America/Panama", "weekdays": [ 1, 2, 3, 4, 5 ] } }, "flow": { "entry": "bienvenida", "steps": [ { "id": "bienvenida", "kind": "send_message", "text": "Hola, gracias por escribir a Casa Nativa. Abrimos de lunes a viernes de 9:00 a 18:00.", "next": "motivo" }, { "id": "motivo", "kind": "ask_question", "text": "¿En qué te ayudamos?", "answer_key": "motivo", "choices": [ { "id": "pedido", "label": "Mi pedido", "next": "asesor" }, { "id": "otro", "label": "Otra consulta", "next": "agente" } ], "timeout_seconds": 3600, "on_timeout": "agente", "on_invalid": "agente", "next": "agente" }, { "id": "asesor", "kind": "assign_user", "user_id": "2d4f6a8c-1b3d-4e5f-8a7b-9c0d1e2f3a4b", "next": null }, { "id": "agente", "kind": "assign_agent", "agent_id": "7e8f9a0b-1c2d-4e3f-a4b5-c6d7e8f9a0b1", "next": null } ] } }, "updated_at": "2026-10-14T15:30:00.000Z" }}