Read the printed words on a page
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}
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.
0-based page number.
0 <= valueQuery 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
application/json
curl -X GET "https://example.com/signing/requests/sZG0nWcpWKBF7zT8CqcN/pages/0/text?workspaceId=ws_a1b2c3"{ "success": true, "hasText": true, "page": { "page": 0, "size": { "w": 0, "h": 0 }, "words": [ { "text": "string", "x": 0, "y": 0, "w": 0, "h": 0 } ], "lines": [ { "dir": "h", "x": 0, "y": 0, "w": 0, "h": 0 } ], "rects": [ { "x": 0, "y": 0, "w": 0, "h": 0 } ] }}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}`
Find the blanks to fill in POST
Finds the places on the document'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}/signingRequest/{signingRequestId}`