API reference / Organizations and teams
List the activity log
GET/v1/orgs/{orgId}/activity
The organization's audit trail, newest first, including who acted and through which source (app, API key, platform).
Before you call it
- Permission
activity:view
Parameters
| Parameter | What it does |
|---|---|
orgIdpath, uuidrequired | The organization the call acts on. For platform calls, your platform's id; for customer calls, the customer's organization id. Get them from getMe or the customer list. |
beforequery, date-time | No description in the spec yet. |
limitquery, integer | How many items to return. 1 to 200, default 50 |
Response 200
Audit trail for the organization
| Field | What it does |
|---|---|
itemsActivityEvent[]required | No description in the spec yet. |
items[].idstring (uuid)required | No description in the spec yet. |
items[].occurred_atstring (date-time)required | No description in the spec yet. |
items[].actor_typeenumrequired | No description in the spec yet. One of |
items[].actor_idstringrequired | No description in the spec yet. |
items[].actor_namestringrequired | No description in the spec yet. |
items[].on_behalfbooleanrequired | Performed by Payezy staff or a platform partner on the customer's behalf |
items[].via_platform_namestring | Set when a platform did this, either in view-as or with a customer key that platform minted |
items[].actionstringrequired | No description in the spec yet. |
items[].resource_typestringrequired | No description in the spec yet. |
items[].resource_idstringrequired | No description in the spec yet. |
items[].reasonstringrequired | No description in the spec yet. |
next_beforestring (date-time) | No description in the spec yet. |