Retrieve activity logs

Fetches paginated activity logs for the authenticated user. Supports filtering by log type, entity identifiers, actions, team members, and date range.

Headers

X-API-KeystringRequired

PriceLabs Customer API key (found in Account Settings > API Details).

Request

This endpoint expects an object.
log_typeenumRequired
Entity type to which the logs belong.
actionslist of enumsOptional

Action keys to filter by. Allowed values depend on log_type.

listingslist of objectsOptional

Listing identifiers to filter by. Each entry requires listing_id and pms. Only applicable when log_type is listing.

group_nameslist of stringsOptional

Group names to filter by. Only applicable when log_type is group.

pms_nameslist of stringsOptional

PMS names to filter by. Only applicable when log_type is account.

user_idslist of integersOptional
User IDs to filter logs by specific team members.
start_datedateOptional

Start of date range filter (YYYY-MM-DD). Defaults to 30 days ago.

end_datedateOptional

End of date range filter (YYYY-MM-DD). Defaults to today.

offsetintegerOptional0-1000Defaults to 0
Number of records to skip. Defaults to 0, maximum 1000.
limitintegerOptional1-200Defaults to 50
Number of records to return. Defaults to 50, maximum 200.

Response

Successfully retrieved logs.
datalist of objects
paginationobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error
503
Service Unavailable Error