Skip to main content
POST
/
v1
/
workflows
/
trigger
/
{workflowID}
/
{versionID}
Trigger workflow execution
curl --request POST \
  --url https://api.eachlabs.ai/v1/workflows/trigger/{workflowID}/{versionID} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "inputs": {
    "prompt": "A cinematic establishing shot of a mountain lake"
  },
  "webhook_url": "https://your-app.com/webhook",
  "webhook_secret": "your-secret-key"
}
'
{
  "execution_id": "exec_xyz789",
  "status": "queued"
}

Documentation Index

Fetch the complete documentation index at: https://docs.eachlabs.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

API key for authentication

Path Parameters

workflowID
string
required

Workflow ID or slug to execute.

versionID
string
required

Workflow version ID to execute.

Query Parameters

webhook_url
string<uri>

Optional compatibility query parameter for execution completion webhooks. The request body field takes precedence when both are present.

Body

application/json
inputs
object

Input values defined by the workflow version. May be omitted for workflows with no inputs.

Example:
{
"prompt": "A cinematic establishing shot of a mountain lake"
}
webhook_url
string<uri>

Optional webhook URL for workflow execution completion.

Example:

"https://your-app.com/webhook"

webhook_secret
string

Optional secret used to sign workflow webhook requests.

Example:

"your-secret-key"

Response

Workflow execution queued

execution_id
string

Queued workflow execution identifier.

Example:

"exec_xyz789"

status
enum<string>

Execution queue status returned immediately after triggering.

Available options:
queued
Example:

"queued"

Last modified on May 29, 2026