Skip to Content
Pouch
Activity

Read an activity entry

GET
/v1/activity/{id}

Auth: Bearer key with no domain scope.

Authorization

bearer
headerAuthorizationBearer <token>

An API key in the Authorization header.

Path Parameters

id*string

An opaque, type-prefixed id.

Query Parameters

fields?string

Comma-separated top-level keys to return in place of the defaults. id always comes back. Valid: id, action, family, outcome, actor, applies_to, subject_label, address, metadata, created_at.

Response Body

One entry in the organization's activity log.

application/json
  1. response
id?string

Opaque id, prefixed act_.

action?string

What happened, as subject.verb: domain.added, key.revoked, webhook.endpoint.created.

family?string

The kind of thing acted on.

Value in"key""domain""suppression""settings""webhook""provider""session""system""list"
outcome?string

Whether it worked.

Value in"success""failure""neutral"
actor?

Who did it. type is user, admin, api_key, worker, provider. id is null for the worker. label is the name when it happened.

applies_to?|

The subject's id, its type implied by the action. Null for an organization-wide action.

subject_label?|

The subject's name when it happened. A suppression's address while the suppression exists.

address?|

A list member's address while the membership or domain stop exists, else null.

metadata?|

What changed, by action: from and to, counts, reasons, the key behind a webhook endpoint.

created_at?string

ISO 8601 timestamp.

Example Request
curl -X GET 'https://pouch.example.com/v1/activity/string'
Example Response
{  "id": "string",  "action": "string",  "family": "key",  "outcome": "success",  "actor": {    "type": "string",    "id": "string",    "label": "string"  },  "applies_to": "string",  "subject_label": "string",  "address": "string",  "metadata": {},  "created_at": "string"}