Skip to content

Audit log

Who changed keys, webhooks, settings and approvals in your workspace, newest first.

Send your API key as Authorization: Bearer apk_test_… (sandbox) or apk_live_… (live). Each endpoint lists the scope the key needs. See API keys.

List audit entries

GET/api/v1/audit-log
API keyaudit:read

Changes made in the Console, by API keys (webhook endpoints) and by AutoPayKe staff.

Query parameters
  • limitintegeroptional

    1 to 100, default 20.

  • beforestringoptional

    An entry id: return older entries.

  • actionstringoptional

    Only this action, like api_key.created.

Request
curl "https://api.autopayke.com/api/v1/audit-log" \
  -H "Authorization: Bearer $AUTOPAYKE_API_KEY"
Response200 application/json
{
  "ok": true,
  "data": {
    "object": "list",
    "data": [
      {
        "id": "7f0c3a52-91d4-4b8e-a3f1-2c6d9e0b4a17",
        "object": "audit_entry",
        "action": "api_key.created",
        "actor": {
          "type": "user",
          "id": "c2a1e8f0-5b3d-4c7a-9e21-8f4b6d0a3c95",
          "name": "finance@example.com"
        },
        "target": {
          "type": "api_key",
          "id": "e91b4d27-3a6c-4f08-b5d2-7c1e0a9f8b34"
        },
        "environment": "live",
        "ip": "41.90.12.7",
        "details": {
          "name": "Shop server",
          "scopes": [
            "payouts:read",
            "payouts:write"
          ],
          "expiry": "90d"
        },
        "created": "2026-11-03T09:10:00.000Z"
      }
    ],
    "has_more": false
  }
}
Errors

Plus the key and rate errors any keyed call can return.