Documents

Templates

GET
/v1/workspaces/{workspace_id}/templates

The templates you can see, as the Templates page lists them, with their documents and steps and whether each can be used now.

Authorization

bearer
headerAuthorizationBearer <token>

An access token from /v1/auth/token, or a personal token: opaque, beginning s2a_.

Path Parameters

workspace_id*string

wsp_…, from GET /v1/me

Lengthlength <= 40

Response Body

The templates you can see

application/json
  1. response

The templates you can see

data*array<>
curl -X GET 'https://api.sign2approve.com/v1/workspaces/string/templates'
{  "data": [    {      "id": "tpl_01a16d3fd3507be78e41c4540aa20a3c",      "name": "Standard quote",      "description": null,      "documents": [        "Quote"      ],      "steps": [        {          "name": "Client signer",          "role": "signer",          "kind": "external",          "routing_order": 1,          "conditional": false        }      ],      "usable": true,      "unusable_reason": null    }  ]}