Account

How to use the audit log

Short answer

The audit log is an append-only record of who changed what on your team: API keys, domains, webhooks, members and roles, two-factor and SSO settings, and billing. Admins open Audit log in the dashboard to filter by area and date and see before and after values. With a full-access key, GET /v1/audit-events returns the same events, filterable by action.

Last checked 16 November 2026

When something changes unexpectedly, such as a webhook that stopped or a key nobody remembers making, the audit log tells you who did it and when.

Open the audit log

You must be an admin.

  1. Open Audit log in the left menu.
  2. The table shows When (UTC), Who (a person’s email, or a key’s name marked API key, or Automatic), Action, and What (a short summary such as developer → admin). An IP column can be shown from the column toggle.
  3. Press Details on a row to see the full before and after values.

Filters:

  • Area: API keys, Domains, Webhooks, Members and roles, Security settings, or Billing.
  • When: a from and until date.

What is recorded

Area Actions
API keys api_key.created, api_key.revoked
Domains domain.created, domain.verification_changed, domain.deleted
Webhooks webhook.created, webhook.updated, webhook.secret_rotated, webhook.deleted
Members and roles member.invited, member.invitation_cancelled, member.joined, member.role_changed, member.removed, member.left
Security settings security.mfa_requirement_changed, security.sso_updated
Billing billing.plan_changed, billing.renewal_cancelled, billing.card_changed

Secrets are never stored: not API key tokens and not webhook signing secrets.

Read it with the API

Use a full-access key. Newest first:

curl "https://api.mailcandor.com/v1/audit-events?limit=50" \
  -H "Authorization: Bearer $MAILCANDOR_KEY"

Filter by one action, or a whole group with a prefix ending in a dot:

curl "https://api.mailcandor.com/v1/audit-events?action=member." \
  -H "Authorization: Bearer $MAILCANDOR_KEY"

Each event:

{
  "object": "audit_event",
  "id": "...",
  "action": "member.role_changed",
  "actor": { "type": "user", "id": "...", "name": "ana@acme.com" },
  "subject": { "type": "user", "id": "..." },
  "ip": "203.0.113.7",
  "user_agent": "...",
  "before": { "email": "sam@acme.com", "role": "developer" },
  "after": { "email": "sam@acme.com", "role": "admin" },
  "created_at": "2026-11-16T09:12:00Z"
}

actor.type is user, api_key or system. Page through older events with after set to the last id. To keep a copy, pull the log on a schedule and store it in your own system.

Common questions it answers

  • Who revoked this key? Filter Area: API keys and look for api_key.revoked.
  • Why did webhook signatures start failing? Look for webhook.secret_rotated.
  • When did this person get admin? Filter Members and roles for member.role_changed.
  • Who changed our plan? Filter Billing for billing.plan_changed.

Note: a webhook turned off automatically after 8 failed deliveries is shown on the webhook itself, under Why it is off.

If it does not work

  • No Audit log in the menu. You are not an admin. Ask one, or read it with a full-access key.
  • API answers 403 restricted_api_key. You used a sending-only key.
  • “Nothing recorded yet.” No tracked change has happened on this team yet, or your filters exclude everything. Clear the filters.

The full schema is in the API reference.

Questions

Who can see the audit log?

Admins only, in the dashboard. Through the API, any full-access key can read it.

Can events be edited or deleted?

No. The log is append-only. Nobody on your team can change or remove an entry.

Does the audit log record emails sent?

No. Sending is in Emails and its events. The audit log covers changes to settings, people and billing.

Are secrets stored in the log?

No. API key tokens and webhook signing secrets are never written to it.

Related

Send with someone on your side.

Unlimited domains on every plan, a person before any block, and 3,000 emails a month free. Tell us what you send and we set you up within one business day.