Documents

Fields

GET
/v1/workspaces/{workspace_id}/fields

The workspace’s fields, the things its documents ask for (a client’s company, a start date), with who fills each in by default. Archived ones are left out.

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 workspace’s fields, in their order

application/json
  1. response

The workspace’s fields, in their order

data*array<>
curl -X GET 'https://api.sign2approve.com/v1/workspaces/string/fields'
{  "data": [    {      "id": "fld_01a16d3fd3507be78e41c4540aa20a3c",      "key": "client.company",      "label": "Client company",      "type": "text",      "help": null,      "choices": null,      "completed_by": "sender",      "sensitive": false    }  ]}