Documents
Document roles
GET
The roles the workspace’s documents name (Client signer, Employee, its own), the keys PATCH /envelopes/{id} matches recipients by. Hidden ones are left out.
bearerheader
AuthorizationBearer <token>An access token from /v1/auth/token, or a personal token: opaque, beginning s2a_.
workspace_id*stringwsp_…, from GET /v1/me
Length
length <= 40The roles the workspace’s documents name, the hidden ones left out
application/json- response
The roles the workspace’s documents name, the hidden ones left out
data*array<>curl -X GET 'https://api.sign2approve.com/v1/workspaces/string/document-roles'{ "data": [ { "key": "client_signer", "name": "Client signer", "description": "Signs for a client.", "starter": true, "group": "clients", "in_use": true } ]}