> ## Documentation Index
> Fetch the complete documentation index at: https://developers.circularo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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.

## 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.canShareWithExternalUsers` in `GET /me` — when it is off, such a recipient is rejected with `403`.
* **Transaction editing is enabled for your organization.** Changing a recipient's settings and reassigning a recipient are refused with `400` otherwise.

## Step 1: Check where the transaction stands

One call answers who has acted and who is holding things up:

```http Request theme={null}
GET /transactions/Vt7RfKq2LmXe5ZwGyB4N
Authorization: Bearer YOUR_API_KEY
```

```http Response theme={null}
HTTP/2 200

{
  "id": "Vt7RfKq2LmXe5ZwGyB4N",
  "status": "in-progress",
  "sequential": false,
  "recipients": [
    {
      "completedAt": null,
      "expiresAt": null,
      "id": "Lp2WdN8qYt5vHmC4bRfZ",
      "isMandatory": true,
      "language": null,
      "message": null,
      "order": null,
      "permissions": [
        "print",
        "viewMetadata",
        "annotateOnReject",
        "rejectWithoutComment",
        "uploadFiles"
      ],
      "purpose": "approve",
      "quorum": null,
      "recipient": {
        "email": "robert.brown@example.com",
        "fullname": null,
        "userId": "robert.brown@example.com"
      },
      "reminder": null,
      "status": "pending",
      "turnStartedAt": "2026-05-11T09:30:00.000Z",
      "verification": null
    },
    {
      "completedAt": null,
      "expiresAt": null,
      "id": "Gk5cPdM9XvT3qHnU7jWs",
      "isMandatory": true,
      "language": null,
      "message": null,
      "order": null,
      "permissions": [
        "print",
        "viewMetadata",
        "annotateOnReject",
        "rejectWithoutComment",
        "uploadFiles"
      ],
      "purpose": "sign",
      "quorum": null,
      "recipient": {
        "email": "jane.doe@example.com",
        "fullname": "Jane Doe",
        "userId": "jane.doe@example.com"
      },
      "reminder": null,
      "status": "pending",
      "turnStartedAt": "2026-05-11T09:30:00.000Z",
      "verification": null
    }
  ],
  ...
}
```

The transaction is `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:

```http Request theme={null}
POST /transactions/Vt7RfKq2LmXe5ZwGyB4N/remind
Authorization: Bearer YOUR_API_KEY
```

```http Response theme={null}
HTTP/2 200

{
  "total": 2,
  "results": [
    {
      "id": "Gk5cPdM9XvT3qHnU7jWs",
      "recipient": {
        "email": "jane.doe@example.com",
        "fullname": "Jane Doe",
        "userId": "jane.doe@example.com"
      },
      "purpose": "sign",
      "status": "pending",
      ...
    },
    {
      "id": "Lp2WdN8qYt5vHmC4bRfZ",
      "recipient": {
        "email": "robert.brown@example.com",
        "fullname": null,
        "userId": "robert.brown@example.com"
      },
      "purpose": "approve",
      "status": "pending",
      ...
    }
  ],
  ...
}
```

The response lists the recipients the reminder was sent to, each exactly as it appears among the transaction's recipients. Recipients who already acted, those whose round has not come yet, and those reminded within the last 24 hours are skipped and not listed. An empty list means nobody was due. To reach a single person instead, use `POST /transactions/{id}/recipients/{recipientId}/remind`.

> [!TIP]
>
> A reminder you send by hand is a one-off. To have Circularo chase a recipient on its own, give them a `reminder` — as the next step does.

## 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:

```http Request theme={null}
PATCH /transactions/Vt7RfKq2LmXe5ZwGyB4N/recipients/Gk5cPdM9XvT3qHnU7jWs
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

{
  "expiresAt": "2026-05-29T16:00:00.000Z",
  "reminder": {
    "startAt": "2026-05-18T08:00:00.000Z",
    "intervalDays": 3
  }
}
```

```http Response theme={null}
HTTP/2 200

{
  "id": "Gk5cPdM9XvT3qHnU7jWs",
  "recipient": {
    "email": "jane.doe@example.com",
    "fullname": "Jane Doe",
    "userId": "jane.doe@example.com"
  },
  "purpose": "sign",
  "status": "pending",
  "expiresAt": "2026-05-29T16:00:00.000Z",
  "reminder": {
    "intervalDays": 3,
    "startAt": "2026-05-18T08:00:00.000Z"
  },
  ...
}
```

The participation keeps its `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:

```http Request theme={null}
POST /transactions/Vt7RfKq2LmXe5ZwGyB4N/recipients/Lp2WdN8qYt5vHmC4bRfZ/reassign
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

{
  "recipient": "laura.bennett@example.com"
}
```

```http Response theme={null}
HTTP/2 200

{
  "id": "Rj8dGt3yQs6nZb1HxKmA",
  "recipient": {
    "email": "laura.bennett@example.com",
    "fullname": null,
    "userId": null
  },
  "purpose": "approve",
  "status": "pending",
  ...
}
```

The new recipient inherits the purpose, the routing and the fields placed for their predecessor, and any setting you send alongside `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:

```http Request theme={null}
POST /transactions/Vt7RfKq2LmXe5ZwGyB4N/cancel
Authorization: Bearer YOUR_API_KEY
```

```http Response theme={null}
HTTP/2 200

{
  "id": "Vt7RfKq2LmXe5ZwGyB4N",
  "status": "cancelled",
  ...
}
```

The transaction `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.

```js theme={null}
// your environment's base URL
const BASE_URL = "https://sandbox.circularo.com/api/v2";
const API_KEY = "YOUR_API_KEY";
const AUTH_HEADER = { "Authorization": `Bearer ${API_KEY}` };
const JSON_HEADERS = { ...AUTH_HEADER, "Content-Type": "application/json" };

// kept from the call that created it
const transactionId = "Vt7RfKq2LmXe5ZwGyB4N";
const deadline = new Date(Date.now() + 14 * 24 * 3600_000).toISOString();

const transaction = await (await fetch(`${BASE_URL}/transactions/${transactionId}`, { headers: AUTH_HEADER })).json();
const waiting = transaction.recipients.filter((recipient) => recipient.status === "pending");
console.log(`${transaction.status}, waiting for ${waiting.map((recipient) => recipient.recipient.email).join(", ") || "nobody"}`);

if (waiting.length > 0) {
  const reminded = await (await fetch(`${BASE_URL}/transactions/${transactionId}/remind`, { method: "POST", headers: AUTH_HEADER })).json();
  console.log(`reminded ${reminded.results.map((item) => item.recipient.email).join(", ") || "nobody - all were reminded within the last day"}`);

  // give the people who are holding things up until the new deadline
  for (const recipient of waiting) {
    await fetch(`${BASE_URL}/transactions/${transactionId}/recipients/${recipient.id}`, {
      method: "PATCH",
      headers: JSON_HEADERS,
      body: JSON.stringify({ expiresAt: deadline })
    });
  }
}
```

## Next steps

* Send a document straight from a prepared template — [Send a document from a template](https://developers.circularo.com/guides/signing/templates.md).
* Stop polling and let Circularo tell you when something happens — [React to events with webhooks](https://developers.circularo.com/guides/robust-integrations/webhooks.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.