Get a document's layout version
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}
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.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/signing/requests/sZG0nWcpWKBF7zT8CqcN/layout-version?workspaceId=ws_a1b2c3"{ "success": true, "layoutVersion": 0, "layoutChangedBy": { "kind": "person", "name": "string" }}Check a document's roles and fields POST
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}`
Read the printed words on a page GET
The words, drawn lines and boxes printed on one page of the document's PDF, read from the PDF's own text. A scanned PDF has no text: `hasText` is false and `words` is empty. **Permission:** `signing:read` @ `workspace/{workspaceId}/signingRequest/{signingRequestId}`