workflows
Activate workflow
Validate the graph is runnable and set the workflow live. Once active, matching inbound messages start executions. Idempotent.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
workflowIdstring
Response Body
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.workflows.activateWorkflow({ path: { workflowId: 'workflow_abc123', },});console.log(data);{
"success": true,
"workflow": {
"id": "string",
"status": "string",
"entryNodeId": "string"
}
}Empty
{
"error": "Unauthorized"
}{
"error": "Not found"
}