List activity logs
Retrieve a paginated list of activity log entries.
AuthorizationBasic <token>
WordPress Application Password authentication. Generate one at wp-admin > Users > Application Passwords. Use as Basic Auth with username:application_password (base64-encoded).
In: header
Query Parameters
per_page?integer
Default
10page?integer
Default
1search?string
log_type?string
Filter by log type
module_name?string
Filter by module name (e.g. "Order")
module_id?integer
Filter by module ID
Response Body
application/json
application/json
curl -X GET "https://your-site.com/wp-json/fluent-cart/v2/activity"{
"activities": {
"current_page": 0,
"data": [
{
"id": 0,
"status": "info",
"log_type": "string",
"module_type": "string",
"module_id": 0,
"module_name": "string",
"user_id": "string",
"title": "string",
"content": "string",
"read_status": "read",
"created_by": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"user": {
"ID": 0,
"display_name": "string",
"user_email": "user@example.com"
}
}
],
"first_page_url": "http://example.com",
"from": 0,
"last_page": 0,
"last_page_url": "http://example.com",
"links": [
{
"url": "http://example.com",
"label": "string",
"active": true
}
],
"next_page_url": "http://example.com",
"path": "http://example.com",
"per_page": 0,
"prev_page_url": "http://example.com",
"to": 0,
"total": 0
}
}{
"code": "rest_forbidden",
"message": "Sorry, you are not allowed to do that.",
"data": {
"status": 401
}
}