Skip to main content
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

Authorization
string
header
required

Obtain a Bearer token via the Create access token endpoint using the OAuth2 client credentials flow.

Path Parameters

id
string
required

The resource's hash ID.

Example:

"0dbhXg"

Response

The workflow.

data
object