PostHog API
Mock the PostHog product analytics API to test event capture, feature-flag clients, cohort queries, and dashboard exports without a PostHog instance.
[01]
About
Mock 388 endpoints of the PostHog API: event capture, persons, cohorts, feature flags, experiments, insights, dashboards, funnels, retention, paths, session recordings, surveys, plugins, and more. Useful for product-analytics integrations, feature-flag SDK tests, or replaying captured data in a controlled environment.
Endpoints
388 across 45 resource groups
Methods
GET 183 · POST 81 · PUT 35 · PATCH 48 · DEL 41 none deprecated
OpenAPI
3.0.3 spec version
Source spec
794 KB · YAML
[02]
Endpoints
| GET |
/api/organizations
|
|
| POST |
/api/organizations
|
|
| GET |
/api/organizations/{id}
|
|
| PUT |
/api/organizations/{id}
|
|
| PATCH |
/api/organizations/{id}
|
|
| DEL |
/api/organizations/{id}
|
|
| GET |
/api/organizations/{organization_id}/batch_exports
|
|
| POST |
/api/organizations/{organization_id}/batch_exports
|
|
| GET |
/api/organizations/{organization_id}/batch_exports/{id}
|
|
| PUT |
/api/organizations/{organization_id}/batch_exports/{id}
|
|
| PATCH |
/api/organizations/{organization_id}/batch_exports/{id}
|
|
| DEL |
/api/organizations/{organization_id}/batch_exports/{id}
|
|
| POST |
/api/organizations/{organization_id}/batch_exports/{id}/backfill
|
Trigger a backfill for a BatchExport. Mocked via Mockzilla.
|
| POST |
/api/organizations/{organization_id}/batch_exports/{id}/pause
|
Pause a BatchExport.
|
| POST |
/api/organizations/{organization_id}/batch_exports/{id}/unpause
|
Unpause a BatchExport.
|
| GET |
/api/organizations/{organization_id}/domains
|
|
| POST |
/api/organizations/{organization_id}/domains
|
|
| GET |
/api/organizations/{organization_id}/domains/{id}
|
|
| PUT |
/api/organizations/{organization_id}/domains/{id}
|
|
| PATCH |
/api/organizations/{organization_id}/domains/{id}
|
|
| DEL |
/api/organizations/{organization_id}/domains/{id}
|
|
| POST |
/api/organizations/{organization_id}/domains/{id}/verify
|
|
| GET |
/api/organizations/{organization_id}/invites
|
|
| POST |
/api/organizations/{organization_id}/invites
|
|
| DEL |
/api/organizations/{organization_id}/invites/{id}
|
|
| POST |
/api/organizations/{organization_id}/invites/bulk
|
|
| GET |
/api/organizations/{organization_id}/members
|
|
| PUT |
/api/organizations/{organization_id}/members/{user__uuid}
|
|
| PATCH |
/api/organizations/{organization_id}/members/{user__uuid}
|
|
| DEL |
/api/organizations/{organization_id}/members/{user__uuid}
|
|
| GET |
/api/organizations/{organization_id}/pipeline_destinations
|
|
| POST |
/api/organizations/{organization_id}/pipeline_destinations
|
|
| GET |
/api/organizations/{organization_id}/pipeline_destinations/{id}
|
|
| PUT |
/api/organizations/{organization_id}/pipeline_destinations/{id}
|
|
| PATCH |
/api/organizations/{organization_id}/pipeline_destinations/{id}
|
|
| DEL |
/api/organizations/{organization_id}/pipeline_destinations/{id}
|
|
| GET |
/api/organizations/{organization_id}/pipeline_destinations/{id}/check_for_updates
|
|
| GET |
/api/organizations/{organization_id}/pipeline_destinations/{id}/source
|
|
| PATCH |
/api/organizations/{organization_id}/pipeline_destinations/{id}/update_source
|
|
| POST |
/api/organizations/{organization_id}/pipeline_destinations/{id}/upgrade
|
|
| GET |
/api/organizations/{organization_id}/pipeline_destinations/activity
|
|
| GET |
/api/organizations/{organization_id}/pipeline_destinations/exports_unsubscribe_configs
|
|
| GET |
/api/organizations/{organization_id}/pipeline_destinations/repository
|
|
| GET |
/api/organizations/{organization_id}/pipeline_destinations/unused
|
|
| GET |
/api/organizations/{organization_id}/pipeline_frontend_apps
|
|
| POST |
/api/organizations/{organization_id}/pipeline_frontend_apps
|
|
| GET |
/api/organizations/{organization_id}/pipeline_frontend_apps/{id}
|
|
| PUT |
/api/organizations/{organization_id}/pipeline_frontend_apps/{id}
|
|
| PATCH |
/api/organizations/{organization_id}/pipeline_frontend_apps/{id}
|
|
| DEL |
/api/organizations/{organization_id}/pipeline_frontend_apps/{id}
|
|
| GET |
/api/organizations/{organization_id}/pipeline_frontend_apps/{id}/check_for_updates
|
|
| GET |
/api/organizations/{organization_id}/pipeline_frontend_apps/{id}/source
|
|
| PATCH |
/api/organizations/{organization_id}/pipeline_frontend_apps/{id}/update_source
|
|
| POST |
/api/organizations/{organization_id}/pipeline_frontend_apps/{id}/upgrade
|
|
| GET |
/api/organizations/{organization_id}/pipeline_frontend_apps/activity
|
|
| GET |
/api/organizations/{organization_id}/pipeline_frontend_apps/exports_unsubscribe_configs
|
|
| GET |
/api/organizations/{organization_id}/pipeline_frontend_apps/repository
|
|
| GET |
/api/organizations/{organization_id}/pipeline_frontend_apps/unused
|
|
| GET |
/api/organizations/{organization_id}/pipeline_import_apps
|
|
| POST |
/api/organizations/{organization_id}/pipeline_import_apps
|
|
| GET |
/api/organizations/{organization_id}/pipeline_import_apps/{id}
|
|
| PUT |
/api/organizations/{organization_id}/pipeline_import_apps/{id}
|
|
| PATCH |
/api/organizations/{organization_id}/pipeline_import_apps/{id}
|
|
| DEL |
/api/organizations/{organization_id}/pipeline_import_apps/{id}
|
|
| GET |
/api/organizations/{organization_id}/pipeline_import_apps/{id}/check_for_updates
|
|
| GET |
/api/organizations/{organization_id}/pipeline_import_apps/{id}/source
|
|
| PATCH |
/api/organizations/{organization_id}/pipeline_import_apps/{id}/update_source
|
|
| POST |
/api/organizations/{organization_id}/pipeline_import_apps/{id}/upgrade
|
|
| GET |
/api/organizations/{organization_id}/pipeline_import_apps/activity
|
|
| GET |
/api/organizations/{organization_id}/pipeline_import_apps/exports_unsubscribe_configs
|
|
| GET |
/api/organizations/{organization_id}/pipeline_import_apps/repository
|
|
| GET |
/api/organizations/{organization_id}/pipeline_import_apps/unused
|
|
| GET |
/api/organizations/{organization_id}/pipeline_transformations
|
|
| POST |
/api/organizations/{organization_id}/pipeline_transformations
|
|
| GET |
/api/organizations/{organization_id}/pipeline_transformations/{id}
|
|
| PUT |
/api/organizations/{organization_id}/pipeline_transformations/{id}
|
|
| PATCH |
/api/organizations/{organization_id}/pipeline_transformations/{id}
|
|
| DEL |
/api/organizations/{organization_id}/pipeline_transformations/{id}
|
|
| GET |
/api/organizations/{organization_id}/pipeline_transformations/{id}/check_for_updates
|
|
| GET |
/api/organizations/{organization_id}/pipeline_transformations/{id}/source
|
|
| PATCH |
/api/organizations/{organization_id}/pipeline_transformations/{id}/update_source
|
|
| POST |
/api/organizations/{organization_id}/pipeline_transformations/{id}/upgrade
|
|
| GET |
/api/organizations/{organization_id}/pipeline_transformations/activity
|
|
| GET |
/api/organizations/{organization_id}/pipeline_transformations/exports_unsubscribe_configs
|
|
| GET |
/api/organizations/{organization_id}/pipeline_transformations/repository
|
|
| GET |
/api/organizations/{organization_id}/pipeline_transformations/unused
|
|
| GET |
/api/organizations/{organization_id}/plugins
|
|
| POST |
/api/organizations/{organization_id}/plugins
|
|
| GET |
/api/organizations/{organization_id}/plugins/{id}
|
|
| PUT |
/api/organizations/{organization_id}/plugins/{id}
|
|
| PATCH |
/api/organizations/{organization_id}/plugins/{id}
|
|
| DEL |
/api/organizations/{organization_id}/plugins/{id}
|
|
| GET |
/api/organizations/{organization_id}/plugins/{id}/check_for_updates
|
|
| GET |
/api/organizations/{organization_id}/plugins/{id}/source
|
|
| PATCH |
/api/organizations/{organization_id}/plugins/{id}/update_source
|
|
| POST |
/api/organizations/{organization_id}/plugins/{id}/upgrade
|
|
| GET |
/api/organizations/{organization_id}/plugins/activity
|
|
| GET |
/api/organizations/{organization_id}/plugins/exports_unsubscribe_configs
|
|
| GET |
/api/organizations/{organization_id}/plugins/repository
|
|
| GET |
/api/organizations/{organization_id}/plugins/unused
|
|
| GET |
/api/organizations/{organization_id}/projects
|
Projects for the current organization.
|
| POST |
/api/organizations/{organization_id}/projects
|
Projects for the current organization.
|
| GET |
/api/organizations/{organization_id}/projects/{id}
|
Projects for the current organization. Available as a Mockzilla mock endpoint.
|
| PUT |
/api/organizations/{organization_id}/projects/{id}
|
Projects for the current organization.
|
| PATCH |
/api/organizations/{organization_id}/projects/{id}
|
Projects for the current organization.
|
| DEL |
/api/organizations/{organization_id}/projects/{id}
|
Projects for the current organization.
|
| GET |
/api/organizations/{organization_id}/projects/{id}/activity
|
Projects for the current organization.
|
| GET |
/api/organizations/{organization_id}/projects/{id}/is_generating_demo_data
|
Projects for the current organization. Mockzilla mock: no signup, no API key.
|
| PATCH |
/api/organizations/{organization_id}/projects/{id}/reset_token
|
Projects for the current organization.
|
| GET |
/api/organizations/{organization_id}/roles
|
|
| POST |
/api/organizations/{organization_id}/roles
|
|
| GET |
/api/organizations/{organization_id}/roles/{id}
|
|
| PUT |
/api/organizations/{organization_id}/roles/{id}
|
|
| PATCH |
/api/organizations/{organization_id}/roles/{id}
|
|
| DEL |
/api/organizations/{organization_id}/roles/{id}
|
|
| GET |
/api/organizations/{organization_id}/roles/{role_id}/role_memberships
|
|
| POST |
/api/organizations/{organization_id}/roles/{role_id}/role_memberships
|
|
| DEL |
/api/organizations/{organization_id}/roles/{role_id}/role_memberships/{id}
|
|
| GET |
/api/projects/{project_id}/actions
|
|
| POST |
/api/projects/{project_id}/actions
|
|
| GET |
/api/projects/{project_id}/actions/{id}
|
|
| PUT |
/api/projects/{project_id}/actions/{id}
|
|
| PATCH |
/api/projects/{project_id}/actions/{id}
|
|
| DEL |
/api/projects/{project_id}/actions/{id}
|
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
|
| GET |
/api/projects/{project_id}/activity_log
|
|
| POST |
/api/projects/{project_id}/activity_log/bookmark_activity_notification
|
|
| GET |
/api/projects/{project_id}/activity_log/important_changes
|
|
| GET |
/api/projects/{project_id}/annotations
|
Create, Read, Update and Delete annotations. See docs for more information on annotations.
|
| POST |
/api/projects/{project_id}/annotations
|
Create, Read, Update and Delete annotations. See docs for more information on annotations.
|
| GET |
/api/projects/{project_id}/annotations/{id}
|
Create, Read, Update and Delete annotations. See docs for more information on annotations. Served by the Mockzilla mock runtime.
|
| PUT |
/api/projects/{project_id}/annotations/{id}
|
Create, Read, Update and Delete annotations. See docs for more information on annotations.
|
| PATCH |
/api/projects/{project_id}/annotations/{id}
|
Create, Read, Update and Delete annotations. See docs for more information on annotations.
|
| DEL |
/api/projects/{project_id}/annotations/{id}
|
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
|
| GET |
/api/projects/{project_id}/app_metrics/{id}
|
|
| GET |
/api/projects/{project_id}/app_metrics/{id}/error_details
|
|
| GET |
/api/projects/{project_id}/app_metrics/{plugin_config_id}/historical_exports
|
|
| GET |
/api/projects/{project_id}/app_metrics/{plugin_config_id}/historical_exports/{id}
|
|
| GET |
/api/projects/{project_id}/batch_exports
|
|
| POST |
/api/projects/{project_id}/batch_exports
|
|
| GET |
/api/projects/{project_id}/batch_exports/{batch_export_id}/logs
|
|
| GET |
/api/projects/{project_id}/batch_exports/{batch_export_id}/runs
|
Get all BatchExportRuns for a BatchExport.
|
| GET |
/api/projects/{project_id}/batch_exports/{batch_export_id}/runs/{id}
|
|
| GET |
/api/projects/{project_id}/batch_exports/{batch_export_id}/runs/{run_id}/logs
|
|
| GET |
/api/projects/{project_id}/batch_exports/{id}
|
|
| PUT |
/api/projects/{project_id}/batch_exports/{id}
|
|
| PATCH |
/api/projects/{project_id}/batch_exports/{id}
|
|
| DEL |
/api/projects/{project_id}/batch_exports/{id}
|
|
| POST |
/api/projects/{project_id}/batch_exports/{id}/backfill
|
Trigger a backfill for a BatchExport. Mocked via Mockzilla.
|
| POST |
/api/projects/{project_id}/batch_exports/{id}/pause
|
Pause a BatchExport.
|
| POST |
/api/projects/{project_id}/batch_exports/{id}/unpause
|
Unpause a BatchExport.
|
| GET |
/api/projects/{project_id}/cohorts
|
|
| POST |
/api/projects/{project_id}/cohorts
|
|
| GET |
/api/projects/{project_id}/cohorts/{id}
|
|
| PUT |
/api/projects/{project_id}/cohorts/{id}
|
|
| PATCH |
/api/projects/{project_id}/cohorts/{id}
|
|
| DEL |
/api/projects/{project_id}/cohorts/{id}
|
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
|
| GET |
/api/projects/{project_id}/cohorts/{id}/duplicate_as_static_cohort
|
|
| GET |
/api/projects/{project_id}/cohorts/{id}/persons
|
|
| GET |
/api/projects/{project_id}/dashboard_templates
|
|
| POST |
/api/projects/{project_id}/dashboard_templates
|
|
| GET |
/api/projects/{project_id}/dashboard_templates/{id}
|
|
| PUT |
/api/projects/{project_id}/dashboard_templates/{id}
|
|
| PATCH |
/api/projects/{project_id}/dashboard_templates/{id}
|
|
| DEL |
/api/projects/{project_id}/dashboard_templates/{id}
|
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
|
| GET |
/api/projects/{project_id}/dashboard_templates/json_schema
|
|
| GET |
/api/projects/{project_id}/dashboards
|
|
| POST |
/api/projects/{project_id}/dashboards
|
|
| GET |
/api/projects/{project_id}/dashboards/{dashboard_id}/collaborators
|
|
| POST |
/api/projects/{project_id}/dashboards/{dashboard_id}/collaborators
|
|
| DEL |
/api/projects/{project_id}/dashboards/{dashboard_id}/collaborators/{user__uuid}
|
|
| GET |
/api/projects/{project_id}/dashboards/{dashboard_id}/sharing
|
|
| GET |
/api/projects/{project_id}/dashboards/{id}
|
|
| PUT |
/api/projects/{project_id}/dashboards/{id}
|
|
| PATCH |
/api/projects/{project_id}/dashboards/{id}
|
|
| DEL |
/api/projects/{project_id}/dashboards/{id}
|
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true. Available as a Mockzilla mock endpoint.
|
| PATCH |
/api/projects/{project_id}/dashboards/{id}/move_tile
|
|
| POST |
/api/projects/{project_id}/dashboards/create_from_template_json
|
|
| GET |
/api/projects/{project_id}/early_access_feature
|
|
| POST |
/api/projects/{project_id}/early_access_feature
|
|
| GET |
/api/projects/{project_id}/early_access_feature/{id}
|
|
| PUT |
/api/projects/{project_id}/early_access_feature/{id}
|
|
| PATCH |
/api/projects/{project_id}/early_access_feature/{id}
|
|
| DEL |
/api/projects/{project_id}/early_access_feature/{id}
|
|
| GET |
/api/projects/{project_id}/event_definitions
|
|
| GET |
/api/projects/{project_id}/event_definitions/{id}
|
|
| PUT |
/api/projects/{project_id}/event_definitions/{id}
|
|
| PATCH |
/api/projects/{project_id}/event_definitions/{id}
|
|
| DEL |
/api/projects/{project_id}/event_definitions/{id}
|
|
| GET |
/api/projects/{project_id}/events
|
This endpoint allows you to list and filter events. It is effectively deprecated and is kept only for backwards compatibility. If you ever ask about it you will be advised to not use it... If you want to ad-hoc list or aggregate events, use the Query endpoint instead. If you want to export all events or many pages of events you should use our CDP/Batch Exports products instead.
|
| GET |
/api/projects/{project_id}/events/{id}
|
|
| GET |
/api/projects/{project_id}/events/values
|
|
| GET |
/api/projects/{project_id}/experiments
|
|
| POST |
/api/projects/{project_id}/experiments
|
|
| GET |
/api/projects/{project_id}/experiments/{id}
|
|
| PUT |
/api/projects/{project_id}/experiments/{id}
|
|
| PATCH |
/api/projects/{project_id}/experiments/{id}
|
|
| DEL |
/api/projects/{project_id}/experiments/{id}
|
|
| GET |
/api/projects/{project_id}/experiments/{id}/results
|
|
| GET |
/api/projects/{project_id}/experiments/{id}/secondary_results
|
|
| GET |
/api/projects/{project_id}/experiments/requires_flag_implementation
|
|
| GET |
/api/projects/{project_id}/explicit_members
|
|
| POST |
/api/projects/{project_id}/explicit_members
|
|
| GET |
/api/projects/{project_id}/explicit_members/{parent_membership__user__uuid}
|
|
| PUT |
/api/projects/{project_id}/explicit_members/{parent_membership__user__uuid}
|
|
| PATCH |
/api/projects/{project_id}/explicit_members/{parent_membership__user__uuid}
|
|
| DEL |
/api/projects/{project_id}/explicit_members/{parent_membership__user__uuid}
|
|
| GET |
/api/projects/{project_id}/exports
|
|
| POST |
/api/projects/{project_id}/exports
|
|
| GET |
/api/projects/{project_id}/exports/{id}
|
|
| GET |
/api/projects/{project_id}/exports/{id}/content
|
|
| GET |
/api/projects/{project_id}/feature_flags
|
Create, read, update and delete feature flags. See docs for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
|
| POST |
/api/projects/{project_id}/feature_flags
|
Create, read, update and delete feature flags. See docs for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
|
| GET |
/api/projects/{project_id}/feature_flags/{feature_flag_id}/role_access
|
|
| POST |
/api/projects/{project_id}/feature_flags/{feature_flag_id}/role_access
|
|
| GET |
/api/projects/{project_id}/feature_flags/{feature_flag_id}/role_access/{id}
|
|
| DEL |
/api/projects/{project_id}/feature_flags/{feature_flag_id}/role_access/{id}
|
|
| GET |
/api/projects/{project_id}/feature_flags/{id}
|
Create, read, update and delete feature flags. See docs for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
|
| PUT |
/api/projects/{project_id}/feature_flags/{id}
|
Create, read, update and delete feature flags. See docs for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user. Mockzilla mock: no signup, no API key.
|
| PATCH |
/api/projects/{project_id}/feature_flags/{id}
|
Create, read, update and delete feature flags. See docs for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
|
| DEL |
/api/projects/{project_id}/feature_flags/{id}
|
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
|
| GET |
/api/projects/{project_id}/feature_flags/{id}/activity
|
Create, read, update and delete feature flags. See docs for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
|
| POST |
/api/projects/{project_id}/feature_flags/{id}/create_static_cohort_for_flag
|
Create, read, update and delete feature flags. See docs for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
|
| POST |
/api/projects/{project_id}/feature_flags/{id}/dashboard
|
Create, read, update and delete feature flags. See docs for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user. Served by the Mockzilla mock runtime.
|
| POST |
/api/projects/{project_id}/feature_flags/{id}/enrich_usage_dashboard
|
Create, read, update and delete feature flags. See docs for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
|
| GET |
/api/projects/{project_id}/feature_flags/activity
|
Create, read, update and delete feature flags. See docs for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
|
| GET |
/api/projects/{project_id}/feature_flags/evaluation_reasons
|
Create, read, update and delete feature flags. See docs for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
|
| GET |
/api/projects/{project_id}/feature_flags/local_evaluation
|
Create, read, update and delete feature flags. See docs for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
|
| GET |
/api/projects/{project_id}/feature_flags/my_flags
|
Create, read, update and delete feature flags. See docs for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user. Mocked via Mockzilla.
|
| POST |
/api/projects/{project_id}/feature_flags/user_blast_radius
|
Create, read, update and delete feature flags. See docs for more information on feature flags. If you're looking to use feature flags on your application, you can either use our JavaScript Library or our dedicated endpoint to check if feature flags are enabled for a given user.
|
| GET |
/api/projects/{project_id}/groups
|
List all groups of a specific group type. You must pass ?group_type_index= in the URL. To get a list of valid group types, call /api/:project_id/groups_types/
|
| GET |
/api/projects/{project_id}/groups/find
|
|
| GET |
/api/projects/{project_id}/groups/property_definitions
|
|
| GET |
/api/projects/{project_id}/groups/property_values
|
|
| GET |
/api/projects/{project_id}/groups/related
|
|
| GET |
/api/projects/{project_id}/groups_types
|
|
| PATCH |
/api/projects/{project_id}/groups_types/update_metadata
|
|
| GET |
/api/projects/{project_id}/insights
|
|
| POST |
/api/projects/{project_id}/insights
|
|
| GET |
/api/projects/{project_id}/insights/{insight_id}/sharing
|
|
| GET |
/api/projects/{project_id}/insights/{id}
|
|
| PUT |
/api/projects/{project_id}/insights/{id}
|
|
| PATCH |
/api/projects/{project_id}/insights/{id}
|
|
| DEL |
/api/projects/{project_id}/insights/{id}
|
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
|
| GET |
/api/projects/{project_id}/insights/{id}/activity
|
|
| POST |
/api/projects/{project_id}/insights/{id}/viewed
|
|
| GET |
/api/projects/{project_id}/insights/activity
|
|
| POST |
/api/projects/{project_id}/insights/cancel
|
|
| GET |
/api/projects/{project_id}/insights/funnel
|
|
| POST |
/api/projects/{project_id}/insights/funnel
|
|
| GET |
/api/projects/{project_id}/insights/funnel/correlation
|
|
| POST |
/api/projects/{project_id}/insights/funnel/correlation
|
|
| GET |
/api/projects/{project_id}/insights/my_last_viewed
|
Returns basic details about the last 5 insights viewed by this user. Most recently viewed first.
|
| GET |
/api/projects/{project_id}/insights/path
|
|
| POST |
/api/projects/{project_id}/insights/path
|
|
| GET |
/api/projects/{project_id}/insights/retention
|
|
| POST |
/api/projects/{project_id}/insights/retention
|
|
| POST |
/api/projects/{project_id}/insights/timing
|
|
| GET |
/api/projects/{project_id}/insights/trend
|
|
| POST |
/api/projects/{project_id}/insights/trend
|
|
| GET |
/api/projects/{project_id}/notebooks
|
The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement. Available as a Mockzilla mock endpoint.
|
| POST |
/api/projects/{project_id}/notebooks
|
The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.
|
| GET |
/api/projects/{project_id}/notebooks/{short_id}
|
The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.
|
| PUT |
/api/projects/{project_id}/notebooks/{short_id}
|
The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.
|
| PATCH |
/api/projects/{project_id}/notebooks/{short_id}
|
The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.
|
| DEL |
/api/projects/{project_id}/notebooks/{short_id}
|
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true. Mockzilla mock: no signup, no API key.
|
| GET |
/api/projects/{project_id}/notebooks/{short_id}/activity
|
The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.
|
| GET |
/api/projects/{project_id}/notebooks/activity
|
The API for interacting with Notebooks. This feature is in early access and the API can have breaking changes without announcement.
|
| GET |
/api/projects/{project_id}/persons
|
To create or update persons, use a PostHog library of your choice and use an identify call. This API endpoint is only for reading and deleting.
|
| GET |
/api/projects/{project_id}/persons/{id}
|
To create or update persons, use a PostHog library of your choice and use an identify call. This API endpoint is only for reading and deleting.
|
| PUT |
/api/projects/{project_id}/persons/{id}
|
Only for setting properties on the person. "properties" from the request data will be updated via a "$set" event. This means that only the properties listed will be updated, but other properties won't be removed nor updated. If you would like to remove a property use the delete_property endpoint. Served by the Mockzilla mock runtime.
|
| PATCH |
/api/projects/{project_id}/persons/{id}
|
To create or update persons, use a PostHog library of your choice and use an identify call. This API endpoint is only for reading and deleting.
|
| DEL |
/api/projects/{project_id}/persons/{id}
|
To create or update persons, use a PostHog library of your choice and use an identify call. This API endpoint is only for reading and deleting.
|
| GET |
/api/projects/{project_id}/persons/{id}/activity
|
To create or update persons, use a PostHog library of your choice and use an identify call. This API endpoint is only for reading and deleting.
|
| POST |
/api/projects/{project_id}/persons/{id}/delete_property
|
To create or update persons, use a PostHog library of your choice and use an identify call. This API endpoint is only for reading and deleting.
|
| GET |
/api/projects/{project_id}/persons/{id}/properties_timeline
|
To create or update persons, use a PostHog library of your choice and use an identify call. This API endpoint is only for reading and deleting. Mocked via Mockzilla.
|
| POST |
/api/projects/{project_id}/persons/{id}/split
|
To create or update persons, use a PostHog library of your choice and use an identify call. This API endpoint is only for reading and deleting.
|
| POST |
/api/projects/{project_id}/persons/{id}/update_property
|
To create or update persons, use a PostHog library of your choice and use an identify call. This API endpoint is only for reading and deleting.
|
| GET |
/api/projects/{project_id}/persons/activity
|
To create or update persons, use a PostHog library of your choice and use an identify call. This API endpoint is only for reading and deleting.
|
| GET |
/api/projects/{project_id}/persons/cohorts
|
To create or update persons, use a PostHog library of your choice and use an identify call. This API endpoint is only for reading and deleting.
|
| GET |
/api/projects/{project_id}/persons/funnel
|
To create or update persons, use a PostHog library of your choice and use an identify call. This API endpoint is only for reading and deleting. Available as a Mockzilla mock endpoint.
|
| POST |
/api/projects/{project_id}/persons/funnel
|
To create or update persons, use a PostHog library of your choice and use an identify call. This API endpoint is only for reading and deleting.
|
| GET |
/api/projects/{project_id}/persons/funnel/correlation
|
To create or update persons, use a PostHog library of your choice and use an identify call. This API endpoint is only for reading and deleting.
|
| POST |
/api/projects/{project_id}/persons/funnel/correlation
|
To create or update persons, use a PostHog library of your choice and use an identify call. This API endpoint is only for reading and deleting.
|
| GET |
/api/projects/{project_id}/persons/lifecycle
|
To create or update persons, use a PostHog library of your choice and use an identify call. This API endpoint is only for reading and deleting.
|
| GET |
/api/projects/{project_id}/persons/path
|
To create or update persons, use a PostHog library of your choice and use an identify call. This API endpoint is only for reading and deleting. Mockzilla mock: no signup, no API key.
|
| POST |
/api/projects/{project_id}/persons/path
|
To create or update persons, use a PostHog library of your choice and use an identify call. This API endpoint is only for reading and deleting.
|
| GET |
/api/projects/{project_id}/persons/retention
|
To create or update persons, use a PostHog library of your choice and use an identify call. This API endpoint is only for reading and deleting.
|
| GET |
/api/projects/{project_id}/persons/stickiness
|
To create or update persons, use a PostHog library of your choice and use an identify call. This API endpoint is only for reading and deleting.
|
| GET |
/api/projects/{project_id}/persons/trends
|
To create or update persons, use a PostHog library of your choice and use an identify call. This API endpoint is only for reading and deleting.
|
| GET |
/api/projects/{project_id}/persons/values
|
To create or update persons, use a PostHog library of your choice and use an identify call. This API endpoint is only for reading and deleting. Served by the Mockzilla mock runtime.
|
| GET |
/api/projects/{project_id}/pipeline_destination_configs
|
|
| POST |
/api/projects/{project_id}/pipeline_destination_configs
|
|
| GET |
/api/projects/{project_id}/pipeline_destination_configs/{id}
|
|
| PUT |
/api/projects/{project_id}/pipeline_destination_configs/{id}
|
|
| PATCH |
/api/projects/{project_id}/pipeline_destination_configs/{id}
|
|
| DEL |
/api/projects/{project_id}/pipeline_destination_configs/{id}
|
|
| GET |
/api/projects/{project_id}/pipeline_destination_configs/{id}/frontend
|
|
| POST |
/api/projects/{project_id}/pipeline_destination_configs/{id}/job
|
|
| PATCH |
/api/projects/{project_id}/pipeline_destination_configs/rearrange
|
|
| GET |
/api/projects/{project_id}/pipeline_frontend_apps_configs
|
|
| POST |
/api/projects/{project_id}/pipeline_frontend_apps_configs
|
|
| GET |
/api/projects/{project_id}/pipeline_frontend_apps_configs/{id}
|
|
| PUT |
/api/projects/{project_id}/pipeline_frontend_apps_configs/{id}
|
|
| PATCH |
/api/projects/{project_id}/pipeline_frontend_apps_configs/{id}
|
|
| DEL |
/api/projects/{project_id}/pipeline_frontend_apps_configs/{id}
|
|
| GET |
/api/projects/{project_id}/pipeline_frontend_apps_configs/{id}/frontend
|
|
| POST |
/api/projects/{project_id}/pipeline_frontend_apps_configs/{id}/job
|
|
| PATCH |
/api/projects/{project_id}/pipeline_frontend_apps_configs/rearrange
|
|
| GET |
/api/projects/{project_id}/pipeline_import_apps_configs
|
|
| POST |
/api/projects/{project_id}/pipeline_import_apps_configs
|
|
| GET |
/api/projects/{project_id}/pipeline_import_apps_configs/{id}
|
|
| PUT |
/api/projects/{project_id}/pipeline_import_apps_configs/{id}
|
|
| PATCH |
/api/projects/{project_id}/pipeline_import_apps_configs/{id}
|
|
| DEL |
/api/projects/{project_id}/pipeline_import_apps_configs/{id}
|
|
| GET |
/api/projects/{project_id}/pipeline_import_apps_configs/{id}/frontend
|
|
| POST |
/api/projects/{project_id}/pipeline_import_apps_configs/{id}/job
|
|
| PATCH |
/api/projects/{project_id}/pipeline_import_apps_configs/rearrange
|
|
| GET |
/api/projects/{project_id}/pipeline_transformation_configs
|
|
| POST |
/api/projects/{project_id}/pipeline_transformation_configs
|
|
| GET |
/api/projects/{project_id}/pipeline_transformation_configs/{id}
|
|
| PUT |
/api/projects/{project_id}/pipeline_transformation_configs/{id}
|
|
| PATCH |
/api/projects/{project_id}/pipeline_transformation_configs/{id}
|
|
| DEL |
/api/projects/{project_id}/pipeline_transformation_configs/{id}
|
|
| GET |
/api/projects/{project_id}/pipeline_transformation_configs/{id}/frontend
|
|
| POST |
/api/projects/{project_id}/pipeline_transformation_configs/{id}/job
|
|
| PATCH |
/api/projects/{project_id}/pipeline_transformation_configs/rearrange
|
|
| GET |
/api/projects/{project_id}/plugin_configs
|
|
| POST |
/api/projects/{project_id}/plugin_configs
|
|
| GET |
/api/projects/{project_id}/plugin_configs/{id}
|
|
| PUT |
/api/projects/{project_id}/plugin_configs/{id}
|
|
| PATCH |
/api/projects/{project_id}/plugin_configs/{id}
|
|
| DEL |
/api/projects/{project_id}/plugin_configs/{id}
|
|
| GET |
/api/projects/{project_id}/plugin_configs/{id}/frontend
|
|
| POST |
/api/projects/{project_id}/plugin_configs/{id}/job
|
|
| GET |
/api/projects/{project_id}/plugin_configs/{plugin_config_id}/logs
|
|
| PATCH |
/api/projects/{project_id}/plugin_configs/rearrange
|
|
| GET |
/api/projects/{project_id}/property_definitions
|
|
| GET |
/api/projects/{project_id}/property_definitions/{id}
|
|
| PUT |
/api/projects/{project_id}/property_definitions/{id}
|
|
| PATCH |
/api/projects/{project_id}/property_definitions/{id}
|
|
| DEL |
/api/projects/{project_id}/property_definitions/{id}
|
|
| GET |
/api/projects/{project_id}/property_definitions/seen_together
|
Allows a caller to provide a list of event names and a single property name Returns a map of the event names to a boolean representing whether that property has ever been seen with that event_name
|
| POST |
/api/projects/{project_id}/query
|
|
| GET |
/api/projects/{project_id}/query/{id}
|
(Experimental)
|
| DEL |
/api/projects/{project_id}/query/{id}
|
(Experimental)
|
| GET |
/api/projects/{project_id}/query/draft_sql
|
|
| GET |
/api/projects/{project_id}/session_recording_playlists
|
|
| POST |
/api/projects/{project_id}/session_recording_playlists
|
|
| GET |
/api/projects/{project_id}/session_recording_playlists/{short_id}
|
|
| PUT |
/api/projects/{project_id}/session_recording_playlists/{short_id}
|
|
| PATCH |
/api/projects/{project_id}/session_recording_playlists/{short_id}
|
|
| DEL |
/api/projects/{project_id}/session_recording_playlists/{short_id}
|
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
|
| GET |
/api/projects/{project_id}/session_recording_playlists/{short_id}/recordings
|
|
| POST |
/api/projects/{project_id}/session_recording_playlists/{short_id}/recordings/{session_recording_id}
|
|
| DEL |
/api/projects/{project_id}/session_recording_playlists/{short_id}/recordings/{session_recording_id}
|
|
| GET |
/api/projects/{project_id}/session_recordings
|
|
| GET |
/api/projects/{project_id}/session_recordings/{id}
|
|
| DEL |
/api/projects/{project_id}/session_recordings/{id}
|
|
| POST |
/api/projects/{project_id}/session_recordings/{id}/persist
|
|
| GET |
/api/projects/{project_id}/session_recordings/{id}/similar_sessions
|
|
| GET |
/api/projects/{project_id}/session_recordings/{id}/snapshots
|
Snapshots can be loaded from multiple places: 1. From S3 if the session is older than our ingestion limit. This will be multiple files that can be streamed to the client 2. or from Redis if the session is newer than our ingestion limit. Clients need to call this API twice. First without a source parameter to get a list of sources supported by the given session. And then once for each source in the returned list to get the actual snapshots. NB version 1 of this API has been deprecated and ClickHouse stored snapshots are no longer supported. Mocked via Mockzilla.
|
| POST |
/api/projects/{project_id}/session_recordings/{id}/summarize
|
|
| GET |
/api/projects/{project_id}/session_recordings/{recording_id}/sharing
|
|
| GET |
/api/projects/{project_id}/session_recordings/error_clusters
|
|
| GET |
/api/projects/{project_id}/session_recordings/matching_events
|
Gets a list of event ids that match the given session recording filter. The filter must include a single session ID. And must include at least one event or action filter. This API is intended for internal use and might have unannounced breaking changes.
|
| GET |
/api/projects/{project_id}/session_recordings/properties
|
|
| GET |
/api/projects/{project_id}/subscriptions
|
|
| POST |
/api/projects/{project_id}/subscriptions
|
|
| GET |
/api/projects/{project_id}/subscriptions/{id}
|
|
| PUT |
/api/projects/{project_id}/subscriptions/{id}
|
|
| PATCH |
/api/projects/{project_id}/subscriptions/{id}
|
|
| DEL |
/api/projects/{project_id}/subscriptions/{id}
|
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
|
| GET |
/api/projects/{project_id}/surveys
|
|
| POST |
/api/projects/{project_id}/surveys
|
|
| GET |
/api/projects/{project_id}/surveys/{id}
|
|
| PUT |
/api/projects/{project_id}/surveys/{id}
|
|
| PATCH |
/api/projects/{project_id}/surveys/{id}
|
|
| DEL |
/api/projects/{project_id}/surveys/{id}
|
|
| GET |
/api/projects/{project_id}/surveys/responses_count
|
|
| GET |
/api/users
|
|
| GET |
/api/users/{uuid}
|
|
| PUT |
/api/users/{uuid}
|
|
| PATCH |
/api/users/{uuid}
|
|
| POST |
/api/users/{uuid}/request_email_verification
|
|
| POST |
/api/users/{uuid}/scene_personalisation
|
|
| GET |
/api/users/{uuid}/start_2fa_setup
|
|
| POST |
/api/users/{uuid}/validate_2fa
|
|
| POST |
/api/users/{uuid}/verify_email
|