v2

OpenAPI 3.0.32026-07-31890635.1 KB
Document Fields

Create document field

Deprecated: this endpoint is being replaced by the Envelope API. See https://docs.documenso.com/docs/developers/api/migrate-to-envelopes for the migration guide. Create a single field for a document.

post/document/field/create

Request body

documentIdnumber required

Response

Successful response

envelopeIdstring required
envelopeItemIdstring required
type'SIGNATURE' | 'FREE_SIGNATURE' | 'INITIALS' | 'NAME' | 'EMAIL' | 'DATE' | 'TEXT' | 'NUMBER' | 'RADIO' | 'CHECKBOX' | 'DROPDOWN' required
idnumber required
secondaryIdstring required
recipientIdnumber required
pagenumber required
{"stackTrail":"paths:/document/field/create:post:responses:200:content:application/json:schema:properties:positionX","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/document/field/create:post:responses:200:content:application/json:schema:properties:positionY","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/document/field/create:post:responses:200:content:application/json:schema:properties:width","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/document/field/create:post:responses:200:content:application/json:schema:properties:height","oasType":"schema","type":"unknown"}
customTextstring required
insertedboolean required
documentIdnumber nullable
templateIdnumber nullable