Endpoint
Authentication
This endpoint requires authentication via API key. Include your API key in theX-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 includevariable_id, type, and value. The type determines the value format:
File InputValue
For file inputs, you have three options: Option 1: Reference previously uploaded fileMultiple Files InputValue
For variables that accept several files, usetype: "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.
Number With Currency InputValue
For monetary fields, usetype: "number_with_currency". Send value as a plain amount to use the field’s default currency:
value as an object with value and currency:
A plain amount uses the field’s
default_currency. If the field has no default currency, the amount is saved without a currency, so send the object form when the currency matters.Supported currency codes
Supported currency codes
USD, EUR, GBP, JPY, AUD, CAD, CHF, CNY, SEK, NZD, MXN, SGD, HKD, NOK, KRW, TRY, INR, RUB, BRL, ZAR, DKK, PLN, TWD, THB, MYR, IDR, HUF, CZK, ILS, CLP, PHP, AED, COP, SAR, RON, BGN, ARS, VND, UAH, PKR, EGP, NGN, BDT, QAR, KWD, OMR, BHD, PEN, CRC, DOP422. A supported code that the field doesn’t allow, or a currency on a variable that isn’t part of the workflow, returns a 400.
Dynamic Table InputValue
For table fields, usetype: "dynamic_table" and send value as an array of rows. The column names and their order come from the variable’s columns in the workflow schema. Each row can be an object keyed by column name:
null for those. In this example Total is a formula column:
null. Each cell is saved as a string: booleans become "true" or "false", and null becomes an empty string.
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.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