MagicWP Docs
Workspace

The workspace activity log

GET
/v1/workspace/activity

Permission: activity.view

Authorization

apiToken
headerAuthorizationBearer <token>

An API token (mwp_…) from Settings → API tokens. Only accepted on this host.

Query Parameters

cursor?|

Opaque cursor from a previous page's next_cursor.

limit?Limit
Range1 <= value <= 100
Default50
action?|

Exact action code; must be in the user-visible allowlist.

since?|null
until?|null

Response Body

Successful Response

application/json
  1. response
success*boolean
data*

The result; on an error, details such as code and permission.

message*string
status_code*integer
timestamp*string
Formatdate-time
meta?|null
curl -X GET "https://example.com/v1/workspace/activity"
{  "message": "string",  "status_code": 0,  "timestamp": "2019-08-24T14:15:22Z",  "meta": {},  "success": true,  "data": {    "items": [      {        "id": "string",        "action": "string",        "description": "string",        "ip_address": "string",        "site_id": "string",        "context": {},        "created_at": "string",        "actor_user_id": null,        "actor_email": null,        "api_token_id": null      }    ],    "next_cursor": null  }}