---
title: "The account's activity log"
method: GET
path: "/api/activity"
---

# The account's activity log

`GET /api/activity`

## Request

- Base URL: `https://postwire.io`
- URL: `https://postwire.io/api/activity`
- Auth: HTTP bearer

Who or what did what: post.published / post.failed / post.deferred / post.canceled (per network), x.credits_spent, approval.requested / approved / rejected / edited / withdrawn, key.created / key.revoked, settings.approvals_changed / settings.guardrails_changed. Each row says its source (actor_kind, actor_label: the dashboard, an API key by name, an AI connector by app, n8n/Make/Zapier, an approver's email) and the X credits it used.

## Query parameters

- `since` string, date-time
- `until` string, date-time
- `action` string
- `actor` string
- `brand_id` string, uuid
- `key_id` string, uuid
- `limit` integer
- `before_id` integer

## Response `200`

{ activity: [{ id, at, action, actor_kind, actor_label, key_id, grant_id, brand_id, platform, target_id, x_credits, summary, detail }], days, since, next_before_id? }

---

[API](https://skmtc.dev/postwire/apis/postwire-api.md) · [All operations](https://skmtc.dev/postwire/apis/postwire-api/llms.txt) · [OpenAPI document](https://skmtc.dev/postwire/apis/postwire-api/revisions/513a409ab8f7?raw)
