Before you begin
- You have a running transaction. Its identifier, and the identifier of each recipient taking part in it, come back from the call that created it — and from
GET /transactions/{id}at any time afterwards. - Sending to people outside your organization must be enabled for your account. The participation is handed over to a recipient without a Circularo account here; check
settings.canShareWithExternalUsersinGET /me— when it is off, such a recipient is rejected with403. - Transaction editing is enabled for your organization. Changing a recipient’s settings and reassigning a recipient are refused with
400otherwise.
Step 1: Check where the transaction stands
One call answers who has acted and who is holding things up:Request
Response
in-progress and both recipients are pending — this one was sent in parallel, so nobody is waiting for a turn. A recipient’s completedAt fills in when they act, and status settles on what they did.
Step 2: Nudge everyone who has not acted
Reminding costs one call and reaches every recipient whose turn it is:Request
Response
POST /transactions/{id}/recipients/{recipientId}/remind.
Step 3: Give a recipient more time
Recipient settings stay editable while their part is still open. Extend the deadline and let Circularo follow up every few days:Request
Response
id and its place in the transaction; only what you sent has changed. The same call adjusts permissions and verification, and follows the usual rule for a PATCH: leave a field out to keep it, send null to restore its default.
Step 4: Replace a recipient who cannot act
When the right person is somebody else, hand the part over rather than starting again:Request
Response
recipient overrides what was inherited. Note the id: the replacement takes part under a new participation, and the one it replaced disappears from the transaction. Store the returned id in place of the old one.
When nobody should take the part over, drop the participation instead: DELETE /transactions/{id}/recipients/{recipientId} withdraws that recipient’s pending action and their access to the document, while the transaction carries on with everyone else. Send a message with it to explain the removal in the notification they receive. A removal that would leave the transaction with nothing to wait for is refused with 400 — a mandatory recipient, the last recipient whose action is awaited, or one whose departure drops their round below its quorum. That case is a cancellation, which the next step covers.
Step 5: Call the whole thing off
Cancelling ends the transaction for everybody at once:Request
Response
status is cancelled — a terminal status, so reminding, editing or cancelling again is refused with 409. Recipients who never acted keep the status they had at that moment; the transaction’s own status is the authoritative answer to “is anything still going to happen here”.
Two endings arrive without you asking for them, and both close the transaction the same way. A recipient who refuses ends it as rejected for everybody, with their own status rejected and their reason in the document’s history; a deadline that passes ends it as expired. Treat every terminal status as the end of your work on that transaction, rather than waiting for the completed you were hoping for.
Complete example
Watching a transaction and stepping in, as a Node.js script. Error handling is minimal for brevity — in production, inspect the error envelope of non-2xx responses.Next steps
- Send a document straight from a prepared template — Send a document from a template.
- Stop polling and let Circularo tell you when something happens — React to events with webhooks.