Get a workflow
curl --request GET \
--url https://app.simpledocs.com/api/v1/workflows/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.simpledocs.com/api/v1/workflows/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.simpledocs.com/api/v1/workflows/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"id": "k9Xp2m",
"type": "workflow",
"attributes": {
"name": "Vendor Agreement",
"description": "Standard agreement for new vendor onboarding",
"status": "published",
"type": "<string>"
}
}
}
Workflows
Get a workflow
Retrieve a single workflow by its hash ID.
Get a workflow
curl --request GET \
--url https://app.simpledocs.com/api/v1/workflows/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.simpledocs.com/api/v1/workflows/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.simpledocs.com/api/v1/workflows/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"id": "k9Xp2m",
"type": "workflow",
"attributes": {
"name": "Vendor Agreement",
"description": "Standard agreement for new vendor onboarding",
"status": "published",
"type": "<string>"
}
}
}
Authorizations
Obtain a Bearer token via the Create access token endpoint using the OAuth2 client credentials flow.
Path Parameters
The resource's hash ID.
Example:
"0dbhXg"
Response
The workflow.
Show child attributes
Show child attributes