Activity
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
List all activity log
Required API key scopes
activity_log:read
Path parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Response
Request
GET
/api /projects /:project_id /activity_log
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/projects/:project_id/activity_log/
Response
Status 200
RESPONSE
Create activity log bookmark activity notification
Path parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- user
- organization_idstring
- was_impersonatedboolean
- is_systemboolean
- activitystring
- item_idstring
- scopestring
- detail
- created_atstring
Request
POST
/api /projects /:project_id /activity_log /bookmark_activity_notification
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl-H 'Content-Type: application/json'\-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/projects/:project_id/activity_log/bookmark_activity_notification/\-d user=undefined,\-d activity="string",\-d scope="string"
Response
Status 200 No response body
Retrieve activity log important changes
Path parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request
GET
/api /projects /:project_id /activity_log /important_changes
export POSTHOG_PERSONAL_API_KEY=[your personal api key]curl \-H "Authorization: Bearer $POSTHOG_PERSONAL_API_KEY" \<ph_app_host>/api/projects/:project_id/activity_log/important_changes/