Skip to main content
Circularo keeps a record of what happens in your organization: who did it, to which entity, from where, and when. This guide reads that history four ways — a period of activity, one kind of action, everything that happened to a single document, and the records left by one request. It takes five calls.

Before you begin

  • An organization-administrator key. A key issued to a regular member can read the audit logs as well, but only ever sees the actions that member performed. Organization-wide history needs an administrator.

Step 1: List the activity of a period

Bound the period you care about and read what happened in it, newest first:
Request
Response
Both bounds are optional — without them you get the organization’s entire history, which is rarely what you want. A record answers four questions. activityType with activityTarget say what happened and to what kind of entity, and subjectId names the entity itself — the account above, a document, a group. actor with actorType say who did it. occurredAt says when. ipAddress and userAgent say where from, as far as the request revealed it; the IP address is shown to organization administrators only. Records appear on their own: every action writes its own, the calls your integration makes included. What you cannot do is touch them afterwards — there is no endpoint that edits or removes a record, which is what makes the log worth reading in the first place.
This is the organization-wide history. The story of a single document, told in transactions and recipients rather than raw activity, is its own audit trail — see Collect the evidence of a signed document.

Step 2: Follow the cursor to the next page

An audit log outgrows one page quickly, so walk it with the cursor:
Request
Response
The first record here is one Circularo wrote by itself, without anyone asking: a notification it sent out. Such a record is marked system and carries no actor, no requestId and no connection information, so treat all of these as optional when you consume the log. The cursor travels alone and remembers the filters of the first page, as on every collection that issues a cursor — Page through collections covers the mechanics. Do not pause for long in the middle of a walk: an audit-log cursor expires after a period of inactivity, and a stale one is refused with 400.

Step 3: Narrow the search to one kind of action

Filters keep a search down to what you came for:
Request
Response
Every filter you add has to match, so narrowing the kind of action on top of the period leaves one record here. Repeating one filter widens it instead: two activityType values match records of either kind. You can also filter by actor — the userId or email address of a user, or the email address of someone without a Circularo account — and turn the ordering around with order.

Step 4: Follow one document through its life

subjectId collects everything recorded about a single entity:
Request
Response
Read oldest first and the history tells itself: the agreement was created, went out to two recipients, and was signed. The same filter works for any entity you hold an identifier for, so keep the identifiers your integration creates — they are what you search the log by later.

Step 5: Collect the records of one request

One call can leave several records, and they share a requestId:
Request
Response
Sending the agreement out was a single call, and each recipient it reached got a record of its own. That identifier is also what the API reports in the requestId of an error envelope and what support asks for, so it ties a call in your own logs to what it did here.

Complete example

Pulling everything that happened since the last run — the shape of a nightly export into your own audit system. Error handling is minimal for brevity — in production, inspect the error envelope of non-2xx responses.

Next steps