Skip to main content

Endpoint

Authentication

This endpoint requires authentication via API key. Include your API key in the X-API-Key header:

Path Parameters

Request Body

The request body must be a JSON object with the following fields:

Required Fields

Optional Fields

InputValue Types

Each variable value must include variable_id, type, and value. The type determines the value format:

File InputValue

For file inputs, you have three options: Option 1: Reference previously uploaded file
Option 2: Include base64 content

Multiple Files InputValue

For variables that accept several files, use type: "multiple_files" and provide a files array. Each entry has the same shape as a single File InputValue - value (the filename) plus either a file_id reference or file_extension + base64_content. You can mix references and uploads within the same array.

Request Example

Response

Success Response

Status Code: 200 OK

Response Fields

Error Responses

400 Bad Request

Returned when the version format is invalid or request structure is malformed.

401 Unauthorized

Returned when authentication fails. See the authentication errors section for details.

404 Not Found

Returned when the workflow or version doesn’t exist.

422 Validation Error

Returned when the request body is invalid or variables don’t match the workflow schema.

500 Internal Server Error

Returned when workflow initiation fails due to a server error.

Notes

Save the task_id from the response to track the workflow’s progress using the Get Task endpoint.
All required variables from the workflow schema must be provided in the variables array. Missing required variables will result in a 422 error.
Use the metadata field to add custom tracking information like source system, request ID, or priority level for filtering and reporting.

Use Cases

This endpoint is useful for:
  • Automated workflow triggering - Start workflows from external systems or events
  • Integration workflows - Trigger Chamelio workflows from your applications
  • Bulk processing - Initiate multiple workflow instances programmatically
  • User-initiated actions - Allow end users to start workflows through custom interfaces