Create Field(s) by Document ID
The Create Field(s) by Document ID endpoint creates one or more fields on a document and assigns it to a participant. Accepts either a single field object or a bulk request with an ‘items’ array containing multiple field objects.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
A unique string that identifies the envelope in the Nitro system.
A unique string that identifies the document in the Nitro system.
Body
Field creation request. Can be a single field object or bulk with 'items' array.
The type field determines which properties are required:
checkbox- Checkbox fieldcompany- Company fieldcustom- Custom text fielddate- Date fieldinitials- Initials fieldname- Name fieldsignature- Signature fieldtitle- Title field
- Checkbox
- Company
- Custom
- Date
- Initials
- Name
- Signature
- Title
- Bulk Field
Parameters to create a Checkbox field
An array of numbers in the format [x, y, w, h] that defines the field’s bounding box on the page:
x, yare the coordinates of the top-left corner, measured in points (pt).w, hare the width and height of the bounding box, also in points (pt).
For more information on calculating positions, see the Bounding Box Guide.
4 elementsThe unique identifier of the participant assigned to the field. Fields can only be created for participants with the signer role.
checkbox The page number where the field appears. Pages follow 1-based indexing, so the first page is 1.
A boolean that indicates whether the participant must complete the field.
Response
Fields created successfully
- Checkbox
- Company
- Custom
- Date
- Initials
- Name
- Signature
- Title
Create Checkbox Field Response
Enum that specifies which type of information an eSignature participant is expected to fill in.
signature, name, checkbox, date, initials, company, title, custom An array of numbers in the format [x, y, w, h] that defines the field’s bounding box on the page:
x, yare the coordinates of the top-left corner, measured in points (pt).w, hare the width and height of the bounding box, also in points (pt).
For more information on calculating positions, see the Bounding Box Guide.
4 elementsThe unique identifier of the participant assigned to the field. Fields can only be created for participants with the signer role.
ID of the document to which this field belongs.
The page number where the field appears. Pages follow 1-based indexing, so the first page is 1.
A boolean that indicates whether the participant must complete the field.
Unique ID of the field