Skip to main content
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.

Before you begin

  • You have read the rest of this chapter. Everything here is explained in detail on the page it belongs to; this page shows how the pieces combine.
  • Your signature image is configured in the Circularo web app (Sign a document yourself), and applying it needs use_sign on your own account.
  • Two things the recipients below depend on: sending to somebody without a Circularo account requires that your account may share outside the organization (settings.canShareWithExternalUsers in GET /me), and the email code protecting the new hire needs the share_mail_otp right.

Step 1: Send the agreement and sign it in the same call

One request creates the document, applies your own signature to it, and routes it through everybody else:
Request
Four things are happening at once here:
  • apply puts your signature on the document straight away, before anybody else sees it.
  • send.recipients act in rounds because sequential is true. The new hire signs in round 1, the two managers share round 2 with a quorum of 1 — whichever of them approves first settles the round for both — and HR countersigns in round 3.
  • The new hire has no Circularo account, so their access is protected by a one-time code sent to their address. That protection is what lets you hand them a link in the next step.
  • signatureFields gives the new hire and HR a signature box each, on their own line of the agreement, and annotationFields adds a form field where the new hire types their job title. Everyone who has to sign knows exactly where.
Response
You appear among the recipients as an already completed signer — your signature is on the document, but the transaction runs on for everybody else. The new hire is pending; the rest are queued behind them.
Request
Response
Deliver shareUrl however suits your onboarding — the code they receive by email is what proves it is them.

Step 3: Watch the rounds advance

The new hire signs and fills their field. Reading the transaction shows what that did:
Request
Response
They are completed, and both managers turned pending at once: a round opens for everybody in it, even when only one of them has to act. HR stays queued for their own round.

Step 4: See the finished transaction

One manager approves — enough for the quorum — and HR countersigns:
Request
Response
The transaction is completed. The manager who acted is completed; the other is superseded — the quorum was met without them, so they were never required to act and have no completedAt. Note document.mainFileId: it is not the file you uploaded, because every signature produces a new one.

Step 5: Read what ended up on the document

Request
Response
Three signatures, one for each person who signed — the approval is not among them, because approving records a decision rather than a signature. The job title the new hire typed is stored as an annotation. This is where the values recipients entered live: the transaction tracks the process, the document holds the result.

Step 6: Download the signed agreement

Request
Response
The response body is the signed PDF itself. Store it wherever your process keeps agreements — it is the artifact the whole flow existed to produce.

Complete example

The whole agreement as a Node.js script: send it signed, hand the new hire their link, wait for the rounds, keep the result. Error handling is minimal for brevity — in production, inspect the error envelope of non-2xx responses.

Next steps