Skip to main content
Get a workflow schema
curl --request GET \
  --url https://app.simpledocs.com/api/v1/workflows/{id}/schema \
  --header 'Authorization: Bearer <token>'
{ "name": "Vendor Agreement", "description": "<string>", "required_fields": [ "workflow_id", "requester_email", "counterparty_name", "counterparty_email", "counterparty_organization_name" ], "required_variables": [ "purpose" ], "variables_properties": {} }

Documentation Index

Fetch the complete documentation index at: https://docs.simpledocs.com/llms.txt

Use this file to discover all available pages before exploring further.

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 schema.

Describes the fields and variables required to create a request for this workflow.

name
string
Example:

"Vendor Agreement"

description
string | null
required_fields
string[]

Top-level fields that must be provided when creating a request.

Example:
[
  "workflow_id",
  "requester_email",
  "counterparty_name",
  "counterparty_email",
  "counterparty_organization_name"
]
required_variables
string[]

Variable names that must be included in the variables JSON.

Example:
["purpose"]
variables_properties
object

A map of variable names to their type definitions, including whether they are required and any available options.