Before you begin
- You have run the Quickstart: send your first document for signature. This page extends the same single-signer send with a richer set of fields.
Where fields sit on the page
Every field carriespages — the pages it appears on — and a position. Positions are fractions of the page rather than points or pixels, so the same values land correctly on A4, Letter or any other format. The origin is the page’s top-left corner, and x and y mark the field’s top-left corner, not its center.
There are two practical ways to arrive at the numbers. The first is to copy them from a document prepared in the Circularo web app: place the fields there visually and send the document, then look it up with
GET /documents, take its transaction.id and read every field’s exact position from GET /transactions/{id} — the call this page makes below. This is the quickest route to a one-off layout, and the only sensible one for reproducing a layout somebody else designed.
The second is to compute them from a template you generate yourself, where the geometry is already known: divide each field’s offset and size by the page size. A signature box roughly 0.25 wide and 0.08 high is comfortable to sign in. Keep fields away from the page edges and from each other, so that none of them overlaps a neighbor or covers text that has to stay readable.
Step 1: Place the fields
Send the document with one field of each kind placed for the signer:Request
signatureFields— where the recipient signs.typeselects what is collected, a signature or initials.annotationFields— fields the recipient fills in.annotation_genericcollects free-form text; the API reference lists the other kinds, such as dates and checkboxes. A field withreadOnlyset totrueand atextvalue is a fixed label the recipient cannot edit — use it to stamp a title or a note on the page.imageFields— where the recipient attaches an image, such as a scan or a photo.
tooltip, the hint the recipient sees while filling it, and required, which decides whether they can finish without it.
Response
id and its placement echoed; annotationFields and imageFields return the same way. Keep the ids — they identify the field in everything that follows.
Step 2: Follow the fields while the signer works
The transaction reports the placement at any time, including how far the recipients have got:Request
Response
isFilled as true, and so do the annotation and image fields (omitted here). With the last recipient done, the transaction status is completed.
Step 3: Read what the signer entered
The transaction tells you where the fields are and whether they are filled. What the signer actually put into them belongs to the document:Request
Response
annotations carry the text — the job title the signer typed, and the fixed label stamped along with it — and images identify the file the signer attached. All of it is rendered into the signed document as well.
Complete example
Placing the fields and collecting what the signer entered, as a Node.js script. Error handling is minimal for brevity — in production, inspect the error envelope of non-2xx responses.Next steps
- Route the document through several recipients, each with their own fields — Send a document to several recipients in order.
- Anchor fields to text in the document instead of fixed coordinates — Position fields with anchor text.