Fill in values on a document
Fills in values by key, in one atomic request. The same request shape works for FORM subfields, AcroForm fields, and boxes placed on a PDF. Only documents with the status DRAFT or IMPORTED can be filled in.
Keys must match exactly. To find the keys, call GET /api/v1/documents/{id}/field-values. Set a key in the editor on a FORM subfield or a placed box, or send key when you create a placed box through the API, so that the key stays the same for every document created from a template.
The following example fills in a FORM subfield, a placed text box, and a PDF checkbox:
A value fails, and the other values are still written, when its key doesn’t exist, when two fields share the key, when a party fills in the value at signing, or when the value doesn’t match the type or the allowed options. results lists the outcome for each key.
If another edit changes one of the fields while the request runs, nothing is written and the request fails with an HTTP 400 Bad Request status code. Send the request again.
Authorizations
Headers
Body
Body

