Endpoint
Authentication
This endpoint requires an OAuth access token. Send it as a bearer token:workflows:write
The task is created as the access token’s user, who must be at least a requester on the workflow.
The
user field on the request body is ignored.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 two 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.
Request Example
Response
Success Response
Status Code:200 OK
Response Fields
Error Responses
400 Bad Request
Returned when the version format is invalid, or when the access token has no user behind it.client_credentials tokens act as the admin who created the application, so this applies only to
tokens issued before application creators were recorded.
401 Unauthorized
Returned when the access token is missing, unknown, revoked, or expired, or when anX-API-Key was
sent instead of a bearer token. See OAuth error responses.
403 Forbidden
Returned when the token lacks the required scope:404 Not Found
Returned when the workflow or version does not exist.422 Validation Error
Returned when the request body is invalid or variables don’t match the workflow schema.429 Too Many Requests
Returned when your organization exceeds its per-minute request limit.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, or hand task_url to the user to open the
task in Chamelio.Use Cases
This endpoint is useful for:- User-initiated actions - Let a user start a workflow from your own interface, as themselves
- Integration workflows - Trigger Chamelio workflows from your applications
- Correct attribution - Ensure the requester recorded on the task is the real person
- Permission-safe automation - Rely on Chamelio to reject workflows the user may not request