Recent activity log

Get a paginated, newest-first audit/activity feed for the authenticated partner and (if a partner) all of its child account companies.

Auth: Partner — authentication under the partner/ prefix group. Scope comes from the caller: is resolved, then getAccessibleCompanyIds collects that company's id plus, if bundle_id == 1 (partner), all non-deleted child companies (company.company_id == partner.id). Activities cover only those company_ids; if the user has assign_brand set, results are further narrowed to the user's assignBrands company ids. Returns Company not found error if the user has no associated company.

Rate limit: No rate limit.

Request

  • Query: limit (integer, optional) — items per page; 10–100 (values below 10 are raised to 10), defaults to 10. (page is honored by the underlying paginate but is not validated in the request validation.)

Response{ data. } envelope. The data object contains:

  • data (array) — list of activity rows, newest first. Each item:
  • id (integer) — activity row id.
  • description (string) — ucfirst of the activity's description column.
  • date (string, ISO-8601) — the activity's created_at.
  • activity_type (string) — e.g. location_created, brand_created.
  • entity_type (string) — e.g. location, brand.
  • current_page (integer) — current paginator page.
  • per_page (integer) — page size.
  • total (integer) — total matching activities.

Errors: 422 on validation failure.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

Optional — items per page (1–100, default 10)

Response

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json