diff --git a/docs/API.md b/docs/API.md index 5b170e6..bf24675 100644 --- a/docs/API.md +++ b/docs/API.md @@ -177,7 +177,8 @@ curl -XPOST https://shuffler.io/api/v1/workflows/{workflow_id}/execute -H "Autho Additional info: - If you don't send JSON to the API, but a random string, we will take the entire string as the execution argument. -- You can add dynamic app authentication when starting a workflow by using the following header: 'appauth'. Example: 'appauth: jira=auth for jira;elasticsearch=elasticsearch auth'. This works both with the name of the auth, and the ID. +- You can add dynamic app authentication when starting a workflow by using the following header: 'appauth'. Example: 'appauth: jira=auth for jira;elasticsearch=elasticsearch auth'. This works both with the name of the auth, and the ID. +- If you want to run the workflow with a different environment, use the "environment" header with the name. Example: 'environment: cloud'. The environment needs to be the name of an existing environment. **Success response** ```