Activity Logs
Authorizations
AuthorizationstringRequired
API key passed in the Authorization header. Format: <api-key>
Query parameters
filter[subject_type]stringOptional
Filter results by subject_type.
filter[subject_id]stringOptional
Filter results by subject_id.
fields[causer]stringOptional
Comma-separated list of causer fields to return. Available: id, name, email
pageinteger · min: 1OptionalDefault:
Page number for pagination.
1per_pageinteger · min: 1 · max: 100Optional
Number of results per page.
Responses
200
Successful response
application/json
401
Unauthenticated
403
Unauthorized
get/api/v1/activity-logs
GET /api/v1/activity-logs HTTP/1.1
Host: core.wearepatchworks.com
Authorization: YOUR_API_KEY
Accept: */*
{
"data": [
{
"log_name": "string",
"subject_type": "string",
"subject_id": "string",
"causer_id": "string",
"event": "string",
"created_at": "2025-01-15T10:30:00.000000Z",
"updated_at": "2025-01-15T10:30:00.000000Z",
"changes": "string",
"user": {
"id": 0,
"name": "string",
"email": "string"
}
}
],
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"path": "https://api.example.com/api/v1/activity-logs",
"per_page": 15,
"to": 1,
"total": 1
},
"links": {
"first": "https://api.example.com/api/v1/activity-logs?page=1",
"last": "https://api.example.com/api/v1/activity-logs?page=1",
"prev": null,
"next": null
}
}Last updated
Was this helpful?