Publish Workflow
curl --request POST \
--url https://{tenant_id}.api.useago.com/api/v1/workflows/{workflow_id}/publish \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"revision": 2
}'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/workflows/{workflow_id}/publish"
payload = { "revision": 2 }
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({revision: 2})
};
fetch('https://{tenant_id}.api.useago.com/api/v1/workflows/{workflow_id}/publish', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Workflows
Publish Workflow
POST
/
api
/
v1
/
workflows
/
{workflow_id}
/
publish
Publish Workflow
curl --request POST \
--url https://{tenant_id}.api.useago.com/api/v1/workflows/{workflow_id}/publish \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"revision": 2
}'import requests
url = "https://{tenant_id}.api.useago.com/api/v1/workflows/{workflow_id}/publish"
payload = { "revision": 2 }
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({revision: 2})
};
fetch('https://{tenant_id}.api.useago.com/api/v1/workflows/{workflow_id}/publish', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));