The transaction model
A transaction is the process of getting one document acted on — the noun you will work with the most:- A transaction runs on exactly one document, and a document runs exactly one transaction. Start from a document you already have, from a file, from content sent inline with the transaction, or from a template a colleague prepared.
- A transaction usually has recipients: people asked to act on the document. Each is asked to do one thing — their purpose. Common purposes are
sign,approveandview; the API reference lists the full set. At least one recipient must be asked to act, so a transaction cannot consist ofviewrecipients only. - Every recipient is mandatory by default: their rejection, or their request expiring, ends the whole transaction. Set
isMandatorytofalsefor one whose action is welcome but not essential — they are still awaited like the others, but if they reject or let their request expire, the transaction goes on without them. - Permissions decide what a recipient may do with the document besides acting on it — printing it, attaching files, or handing their action to somebody else, which is the one thing they do not get by default. Granting that one,
delegate, needs theshare_delegateright on your own account, whether you grant it when sending or add it later. - A transaction can also carry what you apply yourself — your own signature, added the moment it is created. A transaction that only does that is finished as soon as it starts — there is nobody to wait for, and its responses show you as a single, already completed recipient.
- A transaction places fields on the document for recipients to fill: signature fields, form fields and image fields.
- A transaction carries a status that advances as recipients act, and each recipient carries their own status alongside it.
Delivery and routing
Recipients act in one of two ways, and you choose per transaction:- In parallel (the default): everyone is asked to act at once.
- Sequentially: recipients act one round after another, in their
order. Recipients sharing an order act together in the same round, and aquorumon that round lets a subset of them settle it — any two of three approvers, for instance.
Statuses
A transaction moves fromnot-started to in-progress and then to one terminal status: completed, rejected, cancelled or expired. Recipients have their own live statuses while the transaction runs — queued, pending, viewed — and settle into completed, rejected, superseded, cancelled or expired. Not every recipient settles, though: once a transaction ends, recipients that never acted keep the status they had. The transaction’s own status is what says whether anything more will happen.
Rejection is the outcome one recipient decides for everybody. The moment somebody refuses, the transaction ends as rejected, later rounds are never asked, and the recipients who never got their turn stay queued. That recipient’s own status is rejected, and the reason they gave is kept in the document’s history. An integration that only watches for completed therefore waits forever — branch on the terminal status, not on the one you hoped for.
Before you begin
- Recipients do not need a Circularo account. A plain email address is enough; they act through the link Circularo sends them — as long as your own account may share outside the organization, which
GET /mereports assettings.canShareWithExternalUsers. - Some options need more than the permission to call the endpoint. Requiring identity verification, applying your own signature or granting delegation each depend on a further right that the endpoint itself does not ask for; the page that uses one says so up front.
Where to start
If you have not run the Quickstart: send your first document for signature yet, do that first — it sends a document to one signer in three calls, and every page here builds on it. From there each page adds one thing:- Route a document through several people — Send a document to several recipients in order.
- Control where every field lands — Place fields on the document, or Position fields with anchor text to tie them to the wording instead of to coordinates.
- Deliver the document yourself, and decide how recipients prove who they are — Hand out signing links yourself and Verify recipient identity.
- Keep a running transaction moving — Manage a running transaction.
- Send what colleagues have prepared, or sign alone — Send a document from a template and Sign a document yourself.
Pages in this chapter
Send a document to several recipients in order
Real agreements rarely involve one person. This guide sends a document to two recipients who act one after another — a signer first, then an approver — and watches the transaction move from one to the next. It takes one call to send and one to track.
Place fields on the document
The quickstart placed a single signature box. Real documents need more: somewhere to sign, a form field the signer fills in, a fixed label, a slot for an image. This guide places one field of each kind, follows them while the signer works, and reads back what they entered. It takes three calls.
Position fields with anchor text
Coordinates tie a field to a spot on the page. Anchors tie it to a phrase in the text instead, so the same integration keeps working when the contract grows a paragraph and the signature line moves down. This guide uploads an agreement with two anchors and sends it with a signature field on each of the positions Circularo calculated. It takes two calls.
Hand out signing links yourself
Circularo emails each recipient an invitation when their turn comes. When your own application should deliver the link as well, ask for the recipient’s direct link and pass it on however you like. It takes two calls, plus one rule worth knowing before you start.
Verify recipient identity
A recipient without a Circularo account can be required to prove who they are before the document opens — with a one-time code, a password, or a verified identity document. This guide sends an agreement behind an SMS code and then raises the requirement to a checked passport. It takes two calls.
Manage a running transaction
A transaction can be adjusted for as long as it is running. This guide follows one from checking on its progress through reminding its recipients, extending a deadline, replacing a recipient and finally cancelling it — five calls, each of which stands on its own.
Send a document from a template
A template is an agreement your colleagues have already prepared in the Circularo web app: the file, the fields, and who signs in which order. Your integration does not rebuild any of that — it names the people. This guide picks a template out of the catalog, reads the roles it defines, and sends the document by casting a recipient into each role — with the form fields your integration can answer already filled in. It takes three calls — and once your integration knows the template, only the last one.
Sign a document yourself
Some documents need no signature but your own — a policy acknowledgement, an invoice, an internal approval. Signing one yourself is the same call that sends a document for signature, with the recipients left out: a single request. The step before it, looking up the signature to sign with, is worth doing once and remembering.
Run a complete agreement end to end
The earlier pages each covered one part of sending a document for signature. This one puts them together: you sign the agreement yourself, a new hire with no Circularo account signs it through a link and fills in their job title, either of two managers approves, and HR countersigns. Six calls take it from a PDF to a signed file on your disk.