Check a document's roles and fields
Runs the same check a save runs, and saves nothing. Send roles and
fields to check a change; leave either out to use what is stored.
Permission: signing:read @ workspace/{workspaceId}/signingRequest/{signingRequestId}
Authorization
ServiceAccountKey A service account API key, sent whole as a bearer token:
hsk_<40 hex>.hss_<64 hex>.
In: header
Path Parameters
The document to act on. IDs come from List documents.
Query Parameters
The workspace the template or document belongs to. Send it in the query string on every call, including the PDF upload. IDs come from List workspaces.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/signing/requests/sZG0nWcpWKBF7zT8CqcN/check-layout?workspaceId=ws_a1b2c3" \ -H "Content-Type: application/json" \ -d '{}'{ "success": true, "ok": true, "errors": [ { "code": "string", "level": "error", "fieldId": "string", "roleId": "string", "otherFieldId": "string", "message": "string" } ], "warnings": [ { "code": "string", "level": "error", "fieldId": "string", "roleId": "string", "otherFieldId": "string", "message": "string" } ], "layoutVersion": 0}Find the blanks to fill in POST
Finds the places on the template's pages where a person is meant to write: typed blank lines, drawn lines, empty answer boxes and checkboxes, with the printed words around each. It does not decide field types or roles, and it saves nothing. **Permission:** `signing:read` @ `workspace/{workspaceId}/signingTemplate/{signingTemplateId}`
Get a document's layout version GET
The current `layoutVersion` and who made the last change, without the roles and fields. Ask it to learn that someone else saved. **Permission:** `signing:read` @ `workspace/{workspaceId}/signingRequest/{signingRequestId}`