Find the blanks to fill in
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}
Authorization
ServiceAccountKey A service account API key, sent whole as a bearer token:
hsk_<40 hex>.hss_<64 hex>.
In: header
Path Parameters
The template to act on. IDs come from List templates.
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/templates/RVeFlYdDGgoESUXespsR/detect-fields?workspaceId=ws_a1b2c3" \ -H "Content-Type: application/json" \ -d '{}'{ "success": true, "hasText": true, "pagesRead": [ 0 ], "candidates": [ { "candidateId": "c_3_2", "page": 0, "x": 0, "y": 0, "w": 0, "h": 0, "kind": "underscores", "before": "string", "above": "string", "after": "string", "coveredBy": [ "string" ] } ]}Read the printed words on a page GET
The words, drawn lines and boxes printed on one page of the template'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}/signingTemplate/{signingTemplateId}`
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}`