Run Workflow
curl --request POST \
--url https://{tenant_id}.api.useago.com/api/v1/workflows/{workflow_id}/runs \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"request_key": "<string>",
"input": {}
}
'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/workflows/{workflow_id}/runs"
payload = {
"request_key": "<string>",
"input": {}
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({request_key: '<string>', input: {}})
};
fetch('https://{tenant_id}.api.useago.com/api/v1/workflows/{workflow_id}/runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Workflows
Run Workflow
POST
/
api
/
v1
/
workflows
/
{workflow_id}
/
runs
Run Workflow
curl --request POST \
--url https://{tenant_id}.api.useago.com/api/v1/workflows/{workflow_id}/runs \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"request_key": "<string>",
"input": {}
}
'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/workflows/{workflow_id}/runs"
payload = {
"request_key": "<string>",
"input": {}
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({request_key: '<string>', input: {}})
};
fetch('https://{tenant_id}.api.useago.com/api/v1/workflows/{workflow_id}/runs', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));