Search and filter admin activity logs using a POST request with event type filter in the request body. You can find more details about the available event types in the List all activity log event types endpoint.
Intercom API version.
By default, it's equal to the version set in the app package.
The start date that you request data for. It must be formatted as a UNIX timestamp.
The end date that you request data for. It must be formatted as a UNIX timestamp.
An optional list of event types to filter activity logs by. Use the list all activity log event types endpoint to retrieve available values.
[ "app_name_change", "message_state_change" ]
- The production API serverhttps://api.intercom.io/admins/activity_logs/search
- The european API serverhttps://api.eu.intercom.io/admins/activity_logs/search
- The australian API serverhttps://api.au.intercom.io/admins/activity_logs/search
- Search with event types filter
- Search with date range only
curl -i -X POST \
https://api.intercom.io/admins/activity_logs/search \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-H 'Intercom-Version: 2.16' \
-d '{
"created_at_after": 1677253093,
"created_at_before": 1677861493,
"event_types": [
"app_name_change",
"message_state_change"
]
}'Successful response
String representing the object's type. Always has the value activity_log.list.
Cursor-based pagination is a technique used in the Intercom API to navigate through large amounts of data. A "cursor" or pointer is used to keep track of the current position in the result set, allowing the API to return the data in small chunks or "pages" as needed.
An array of activity logs
{ "type": "activity_log.list", "pages": { "type": "pages", "next": null, "page": 1, "per_page": 20, "total_pages": 1 }, "activity_logs": [ { … } ] }