Document Fields
Place signature/data fields and manage supporting upload requests that stay outside the signed document.
Document Fields
Place signature/data fields and manage supporting upload requests that stay outside the signed document.
Endpoints
/api/v1/documents/{id}/fieldsList fields — Lists placed and non-positioned fields; page 0 means no PDF-page placement. API keys with documents:read can read supporting request definitions without file-download permission. Session/OAuth access to supporting definitions requires the document creator. Uploaded values have separate authorization.
client.documents.byId("ID").fields.get()/api/v1/documents/{id}/fieldsCreate field — Creates a placed field or supporting attachment request. For supporting requests use type=file_upload, options.supporting_attachment=true and a valid assigneeRole; omit geometry or set every coordinate to 0. Required defaults to true for supporting requests and false for ordinary fields. Optional client id UUID makes identical retries safe; conflicting reuse returns 409. API keys need documents:write; session/OAuth users must be the document creator for supporting requests. No file-download permission is needed to author requests.
client.documents.byId("ID").fields.post(body, {})/api/v1/documents/{id}/fields/{fid}Update field — Partially updates a field. Supporting requests allow label, assigneeRole, isRequired and order changes; purpose, file_upload type, true supporting flag, writable state, null default and zero geometry are immutable. Omitted properties are preserved. API keys need documents:write; session/OAuth users must be the document creator for supporting requests. Invalid changes return 400 and unauthorized supporting authoring returns 403.
client.documents.byId("ID").fields.byFid("FID").put(body, {})/api/v1/documents/{id}/fields/{fid}Delete field — Deletes a field or supporting request from the draft; issued submissions retain their pinned requirements. API keys need documents:write; session/OAuth users must be the document creator for supporting requests. Unauthorized supporting authoring returns 403.
client.documents.byId("ID").fields.byFid("FID").delete()This page is auto-generated from the shared API endpoint catalog. Run yarn docs:generate to update.