just/mocks_
mockzilla.org →
Catalog /analytics /PostHog API

PostHog API

PROVIDER · PostHog SPEC v · OpenAPI 3.0.3 MOCK · LIVE
▸ TRY IT
https://api.justmocks.com/posthog
Open mock →

Mock the PostHog product analytics API to test event capture, feature-flag clients, cohort queries, and dashboard exports without a PostHog instance.

[01]

About

overview

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

388 operations · 45 resource groups
GET /api/organizations
organizations
POST /api/organizations
organizations
GET /api/organizations/{id}
organizations
PUT /api/organizations/{id}
organizations
PATCH /api/organizations/{id}
organizations
DEL /api/organizations/{id}
organizations
GET /api/organizations/{organization_id}/batch_exports
organizationsbatch_exports
POST /api/organizations/{organization_id}/batch_exports
organizationsbatch_exports
GET /api/organizations/{organization_id}/batch_exports/{id}
organizationsbatch_exports
PUT /api/organizations/{organization_id}/batch_exports/{id}
organizationsbatch_exports
PATCH /api/organizations/{organization_id}/batch_exports/{id}
organizationsbatch_exports
DEL /api/organizations/{organization_id}/batch_exports/{id}
organizationsbatch_exports
POST /api/organizations/{organization_id}/batch_exports/{id}/backfill
organizationsbatch_exports
Trigger a backfill for a BatchExport. Mocked via Mockzilla.
POST /api/organizations/{organization_id}/batch_exports/{id}/pause
organizationsbatch_exports
Pause a BatchExport.
POST /api/organizations/{organization_id}/batch_exports/{id}/unpause
organizationsbatch_exports
Unpause a BatchExport.
GET /api/organizations/{organization_id}/domains
organizationsdomains
POST /api/organizations/{organization_id}/domains
organizationsdomains
GET /api/organizations/{organization_id}/domains/{id}
organizationsdomains
PUT /api/organizations/{organization_id}/domains/{id}
organizationsdomains
PATCH /api/organizations/{organization_id}/domains/{id}
organizationsdomains
DEL /api/organizations/{organization_id}/domains/{id}
organizationsdomains
POST /api/organizations/{organization_id}/domains/{id}/verify
organizationsdomains
GET /api/organizations/{organization_id}/invites
organizationsinvites
POST /api/organizations/{organization_id}/invites
organizationsinvites
DEL /api/organizations/{organization_id}/invites/{id}
organizationsinvites
POST /api/organizations/{organization_id}/invites/bulk
organizationsinvites
GET /api/organizations/{organization_id}/members
organizationsmembers
PUT /api/organizations/{organization_id}/members/{user__uuid}
organizationsmembers
PATCH /api/organizations/{organization_id}/members/{user__uuid}
organizationsmembers
DEL /api/organizations/{organization_id}/members/{user__uuid}
organizationsmembers
GET /api/organizations/{organization_id}/pipeline_destinations
organizationspipeline_destinations
POST /api/organizations/{organization_id}/pipeline_destinations
organizationspipeline_destinations
GET /api/organizations/{organization_id}/pipeline_destinations/{id}
organizationspipeline_destinations
PUT /api/organizations/{organization_id}/pipeline_destinations/{id}
organizationspipeline_destinations
PATCH /api/organizations/{organization_id}/pipeline_destinations/{id}
organizationspipeline_destinations
DEL /api/organizations/{organization_id}/pipeline_destinations/{id}
organizationspipeline_destinations
GET /api/organizations/{organization_id}/pipeline_destinations/{id}/check_for_updates
organizationspipeline_destinations
GET /api/organizations/{organization_id}/pipeline_destinations/{id}/source
organizationspipeline_destinations
PATCH /api/organizations/{organization_id}/pipeline_destinations/{id}/update_source
organizationspipeline_destinations
POST /api/organizations/{organization_id}/pipeline_destinations/{id}/upgrade
organizationspipeline_destinations
GET /api/organizations/{organization_id}/pipeline_destinations/activity
organizationspipeline_destinations
GET /api/organizations/{organization_id}/pipeline_destinations/exports_unsubscribe_configs
organizationspipeline_destinations
GET /api/organizations/{organization_id}/pipeline_destinations/repository
organizationspipeline_destinations
GET /api/organizations/{organization_id}/pipeline_destinations/unused
organizationspipeline_destinations
GET /api/organizations/{organization_id}/pipeline_frontend_apps
organizationspipeline_frontend_apps
POST /api/organizations/{organization_id}/pipeline_frontend_apps
organizationspipeline_frontend_apps
GET /api/organizations/{organization_id}/pipeline_frontend_apps/{id}
organizationspipeline_frontend_apps
PUT /api/organizations/{organization_id}/pipeline_frontend_apps/{id}
organizationspipeline_frontend_apps
PATCH /api/organizations/{organization_id}/pipeline_frontend_apps/{id}
organizationspipeline_frontend_apps
DEL /api/organizations/{organization_id}/pipeline_frontend_apps/{id}
organizationspipeline_frontend_apps
GET /api/organizations/{organization_id}/pipeline_frontend_apps/{id}/check_for_updates
organizationspipeline_frontend_apps
GET /api/organizations/{organization_id}/pipeline_frontend_apps/{id}/source
organizationspipeline_frontend_apps
PATCH /api/organizations/{organization_id}/pipeline_frontend_apps/{id}/update_source
organizationspipeline_frontend_apps
POST /api/organizations/{organization_id}/pipeline_frontend_apps/{id}/upgrade
organizationspipeline_frontend_apps
GET /api/organizations/{organization_id}/pipeline_frontend_apps/activity
organizationspipeline_frontend_apps
GET /api/organizations/{organization_id}/pipeline_frontend_apps/exports_unsubscribe_configs
organizationspipeline_frontend_apps
GET /api/organizations/{organization_id}/pipeline_frontend_apps/repository
organizationspipeline_frontend_apps
GET /api/organizations/{organization_id}/pipeline_frontend_apps/unused
organizationspipeline_frontend_apps
GET /api/organizations/{organization_id}/pipeline_import_apps
organizationspipeline_import_apps
POST /api/organizations/{organization_id}/pipeline_import_apps
organizationspipeline_import_apps
GET /api/organizations/{organization_id}/pipeline_import_apps/{id}
organizationspipeline_import_apps
PUT /api/organizations/{organization_id}/pipeline_import_apps/{id}
organizationspipeline_import_apps
PATCH /api/organizations/{organization_id}/pipeline_import_apps/{id}
organizationspipeline_import_apps
DEL /api/organizations/{organization_id}/pipeline_import_apps/{id}
organizationspipeline_import_apps
GET /api/organizations/{organization_id}/pipeline_import_apps/{id}/check_for_updates
organizationspipeline_import_apps
GET /api/organizations/{organization_id}/pipeline_import_apps/{id}/source
organizationspipeline_import_apps
PATCH /api/organizations/{organization_id}/pipeline_import_apps/{id}/update_source
organizationspipeline_import_apps
POST /api/organizations/{organization_id}/pipeline_import_apps/{id}/upgrade
organizationspipeline_import_apps
GET /api/organizations/{organization_id}/pipeline_import_apps/activity
organizationspipeline_import_apps
GET /api/organizations/{organization_id}/pipeline_import_apps/exports_unsubscribe_configs
organizationspipeline_import_apps
GET /api/organizations/{organization_id}/pipeline_import_apps/repository
organizationspipeline_import_apps
GET /api/organizations/{organization_id}/pipeline_import_apps/unused
organizationspipeline_import_apps
GET /api/organizations/{organization_id}/pipeline_transformations
organizationspipeline_transformations
POST /api/organizations/{organization_id}/pipeline_transformations
organizationspipeline_transformations
GET /api/organizations/{organization_id}/pipeline_transformations/{id}
organizationspipeline_transformations
PUT /api/organizations/{organization_id}/pipeline_transformations/{id}
organizationspipeline_transformations
PATCH /api/organizations/{organization_id}/pipeline_transformations/{id}
organizationspipeline_transformations
DEL /api/organizations/{organization_id}/pipeline_transformations/{id}
organizationspipeline_transformations
GET /api/organizations/{organization_id}/pipeline_transformations/{id}/check_for_updates
organizationspipeline_transformations
GET /api/organizations/{organization_id}/pipeline_transformations/{id}/source
organizationspipeline_transformations
PATCH /api/organizations/{organization_id}/pipeline_transformations/{id}/update_source
organizationspipeline_transformations
POST /api/organizations/{organization_id}/pipeline_transformations/{id}/upgrade
organizationspipeline_transformations
GET /api/organizations/{organization_id}/pipeline_transformations/activity
organizationspipeline_transformations
GET /api/organizations/{organization_id}/pipeline_transformations/exports_unsubscribe_configs
organizationspipeline_transformations
GET /api/organizations/{organization_id}/pipeline_transformations/repository
organizationspipeline_transformations
GET /api/organizations/{organization_id}/pipeline_transformations/unused
organizationspipeline_transformations
GET /api/organizations/{organization_id}/plugins
organizationsplugins
POST /api/organizations/{organization_id}/plugins
organizationsplugins
GET /api/organizations/{organization_id}/plugins/{id}
organizationsplugins
PUT /api/organizations/{organization_id}/plugins/{id}
organizationsplugins
PATCH /api/organizations/{organization_id}/plugins/{id}
organizationsplugins
DEL /api/organizations/{organization_id}/plugins/{id}
organizationsplugins
GET /api/organizations/{organization_id}/plugins/{id}/check_for_updates
organizationsplugins
GET /api/organizations/{organization_id}/plugins/{id}/source
organizationsplugins
PATCH /api/organizations/{organization_id}/plugins/{id}/update_source
organizationsplugins
POST /api/organizations/{organization_id}/plugins/{id}/upgrade
organizationsplugins
GET /api/organizations/{organization_id}/plugins/activity
organizationsplugins
GET /api/organizations/{organization_id}/plugins/exports_unsubscribe_configs
organizationsplugins
GET /api/organizations/{organization_id}/plugins/repository
organizationsplugins
GET /api/organizations/{organization_id}/plugins/unused
organizationsplugins
GET /api/organizations/{organization_id}/projects
organizationsprojects
Projects for the current organization.
POST /api/organizations/{organization_id}/projects
organizationsprojects
Projects for the current organization.
GET /api/organizations/{organization_id}/projects/{id}
organizationsprojects
Projects for the current organization. Available as a Mockzilla mock endpoint.
PUT /api/organizations/{organization_id}/projects/{id}
organizationsprojects
Projects for the current organization.
PATCH /api/organizations/{organization_id}/projects/{id}
organizationsprojects
Projects for the current organization.
DEL /api/organizations/{organization_id}/projects/{id}
organizationsprojects
Projects for the current organization.
GET /api/organizations/{organization_id}/projects/{id}/activity
organizationsprojects
Projects for the current organization.
GET /api/organizations/{organization_id}/projects/{id}/is_generating_demo_data
organizationsprojects
Projects for the current organization. Mockzilla mock: no signup, no API key.
PATCH /api/organizations/{organization_id}/projects/{id}/reset_token
organizationsprojects
Projects for the current organization.
GET /api/organizations/{organization_id}/roles
organizationsroles
POST /api/organizations/{organization_id}/roles
organizationsroles
GET /api/organizations/{organization_id}/roles/{id}
organizationsroles
PUT /api/organizations/{organization_id}/roles/{id}
organizationsroles
PATCH /api/organizations/{organization_id}/roles/{id}
organizationsroles
DEL /api/organizations/{organization_id}/roles/{id}
organizationsroles
GET /api/organizations/{organization_id}/roles/{role_id}/role_memberships
organizationsroles
POST /api/organizations/{organization_id}/roles/{role_id}/role_memberships
organizationsroles
DEL /api/organizations/{organization_id}/roles/{role_id}/role_memberships/{id}
organizationsroles
GET /api/projects/{project_id}/actions
actions
POST /api/projects/{project_id}/actions
actions
GET /api/projects/{project_id}/actions/{id}
actions
PUT /api/projects/{project_id}/actions/{id}
actions
PATCH /api/projects/{project_id}/actions/{id}
actions
DEL /api/projects/{project_id}/actions/{id}
actions
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
activity_log
POST /api/projects/{project_id}/activity_log/bookmark_activity_notification
activity_log
GET /api/projects/{project_id}/activity_log/important_changes
activity_log
GET /api/projects/{project_id}/annotations
annotations
Create, Read, Update and Delete annotations. See docs for more information on annotations.
POST /api/projects/{project_id}/annotations
annotations
Create, Read, Update and Delete annotations. See docs for more information on annotations.
GET /api/projects/{project_id}/annotations/{id}
annotations
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}
annotations
Create, Read, Update and Delete annotations. See docs for more information on annotations.
PATCH /api/projects/{project_id}/annotations/{id}
annotations
Create, Read, Update and Delete annotations. See docs for more information on annotations.
DEL /api/projects/{project_id}/annotations/{id}
annotations
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}
app_metrics
GET /api/projects/{project_id}/app_metrics/{id}/error_details
app_metrics
GET /api/projects/{project_id}/app_metrics/{plugin_config_id}/historical_exports
app_metrics
GET /api/projects/{project_id}/app_metrics/{plugin_config_id}/historical_exports/{id}
app_metrics
GET /api/projects/{project_id}/batch_exports
batch_exports
POST /api/projects/{project_id}/batch_exports
batch_exports
GET /api/projects/{project_id}/batch_exports/{batch_export_id}/logs
batch_exports
GET /api/projects/{project_id}/batch_exports/{batch_export_id}/runs
batch_exports
Get all BatchExportRuns for a BatchExport.
GET /api/projects/{project_id}/batch_exports/{batch_export_id}/runs/{id}
batch_exports
GET /api/projects/{project_id}/batch_exports/{batch_export_id}/runs/{run_id}/logs
batch_exports
GET /api/projects/{project_id}/batch_exports/{id}
batch_exports
PUT /api/projects/{project_id}/batch_exports/{id}
batch_exports
PATCH /api/projects/{project_id}/batch_exports/{id}
batch_exports
DEL /api/projects/{project_id}/batch_exports/{id}
batch_exports
POST /api/projects/{project_id}/batch_exports/{id}/backfill
batch_exports
Trigger a backfill for a BatchExport. Mocked via Mockzilla.
POST /api/projects/{project_id}/batch_exports/{id}/pause
batch_exports
Pause a BatchExport.
POST /api/projects/{project_id}/batch_exports/{id}/unpause
batch_exports
Unpause a BatchExport.
GET /api/projects/{project_id}/cohorts
cohorts
POST /api/projects/{project_id}/cohorts
cohorts
GET /api/projects/{project_id}/cohorts/{id}
cohorts
PUT /api/projects/{project_id}/cohorts/{id}
cohorts
PATCH /api/projects/{project_id}/cohorts/{id}
cohorts
DEL /api/projects/{project_id}/cohorts/{id}
cohorts
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
cohorts
GET /api/projects/{project_id}/cohorts/{id}/persons
cohorts
GET /api/projects/{project_id}/dashboard_templates
dashboard_templates
POST /api/projects/{project_id}/dashboard_templates
dashboard_templates
GET /api/projects/{project_id}/dashboard_templates/{id}
dashboard_templates
PUT /api/projects/{project_id}/dashboard_templates/{id}
dashboard_templates
PATCH /api/projects/{project_id}/dashboard_templates/{id}
dashboard_templates
DEL /api/projects/{project_id}/dashboard_templates/{id}
dashboard_templates
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
dashboard_templates
GET /api/projects/{project_id}/dashboards
dashboards
POST /api/projects/{project_id}/dashboards
dashboards
GET /api/projects/{project_id}/dashboards/{dashboard_id}/collaborators
dashboards
POST /api/projects/{project_id}/dashboards/{dashboard_id}/collaborators
dashboards
DEL /api/projects/{project_id}/dashboards/{dashboard_id}/collaborators/{user__uuid}
dashboards
GET /api/projects/{project_id}/dashboards/{dashboard_id}/sharing
dashboards
GET /api/projects/{project_id}/dashboards/{id}
dashboards
PUT /api/projects/{project_id}/dashboards/{id}
dashboards
PATCH /api/projects/{project_id}/dashboards/{id}
dashboards
DEL /api/projects/{project_id}/dashboards/{id}
dashboards
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
dashboards
POST /api/projects/{project_id}/dashboards/create_from_template_json
dashboards
GET /api/projects/{project_id}/early_access_feature
early_access_feature
POST /api/projects/{project_id}/early_access_feature
early_access_feature
GET /api/projects/{project_id}/early_access_feature/{id}
early_access_feature
PUT /api/projects/{project_id}/early_access_feature/{id}
early_access_feature
PATCH /api/projects/{project_id}/early_access_feature/{id}
early_access_feature
DEL /api/projects/{project_id}/early_access_feature/{id}
early_access_feature
GET /api/projects/{project_id}/event_definitions
event_definitions
GET /api/projects/{project_id}/event_definitions/{id}
event_definitions
PUT /api/projects/{project_id}/event_definitions/{id}
event_definitions
PATCH /api/projects/{project_id}/event_definitions/{id}
event_definitions
DEL /api/projects/{project_id}/event_definitions/{id}
event_definitions
GET /api/projects/{project_id}/events
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}
events
GET /api/projects/{project_id}/events/values
events
GET /api/projects/{project_id}/experiments
experiments
POST /api/projects/{project_id}/experiments
experiments
GET /api/projects/{project_id}/experiments/{id}
experiments
PUT /api/projects/{project_id}/experiments/{id}
experiments
PATCH /api/projects/{project_id}/experiments/{id}
experiments
DEL /api/projects/{project_id}/experiments/{id}
experiments
GET /api/projects/{project_id}/experiments/{id}/results
experiments
GET /api/projects/{project_id}/experiments/{id}/secondary_results
experiments
GET /api/projects/{project_id}/experiments/requires_flag_implementation
experiments
GET /api/projects/{project_id}/explicit_members
explicit_members
POST /api/projects/{project_id}/explicit_members
explicit_members
GET /api/projects/{project_id}/explicit_members/{parent_membership__user__uuid}
explicit_members
PUT /api/projects/{project_id}/explicit_members/{parent_membership__user__uuid}
explicit_members
PATCH /api/projects/{project_id}/explicit_members/{parent_membership__user__uuid}
explicit_members
DEL /api/projects/{project_id}/explicit_members/{parent_membership__user__uuid}
explicit_members
GET /api/projects/{project_id}/exports
exports
POST /api/projects/{project_id}/exports
exports
GET /api/projects/{project_id}/exports/{id}
exports
GET /api/projects/{project_id}/exports/{id}/content
exports
GET /api/projects/{project_id}/feature_flags
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
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
feature_flags
POST /api/projects/{project_id}/feature_flags/{feature_flag_id}/role_access
feature_flags
GET /api/projects/{project_id}/feature_flags/{feature_flag_id}/role_access/{id}
feature_flags
DEL /api/projects/{project_id}/feature_flags/{feature_flag_id}/role_access/{id}
feature_flags
GET /api/projects/{project_id}/feature_flags/{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.
PUT /api/projects/{project_id}/feature_flags/{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. Mockzilla mock: no signup, no API key.
PATCH /api/projects/{project_id}/feature_flags/{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.
DEL /api/projects/{project_id}/feature_flags/{id}
feature_flags
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
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/{id}/create_static_cohort_for_flag
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/{id}/dashboard
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. Served by the Mockzilla mock runtime.
POST /api/projects/{project_id}/feature_flags/{id}/enrich_usage_dashboard
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/activity
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/evaluation_reasons
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/local_evaluation
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/my_flags
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. Mocked via Mockzilla.
POST /api/projects/{project_id}/feature_flags/user_blast_radius
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}/groups
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
groups
GET /api/projects/{project_id}/groups/property_definitions
groups
GET /api/projects/{project_id}/groups/property_values
groups
GET /api/projects/{project_id}/groups/related
groups
GET /api/projects/{project_id}/groups_types
groups_types
PATCH /api/projects/{project_id}/groups_types/update_metadata
groups_types
GET /api/projects/{project_id}/insights
insights
POST /api/projects/{project_id}/insights
insights
GET /api/projects/{project_id}/insights/{insight_id}/sharing
insights
GET /api/projects/{project_id}/insights/{id}
insights
PUT /api/projects/{project_id}/insights/{id}
insights
PATCH /api/projects/{project_id}/insights/{id}
insights
DEL /api/projects/{project_id}/insights/{id}
insights
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
insights
POST /api/projects/{project_id}/insights/{id}/viewed
insights
GET /api/projects/{project_id}/insights/activity
insights
POST /api/projects/{project_id}/insights/cancel
insights
GET /api/projects/{project_id}/insights/funnel
insights
POST /api/projects/{project_id}/insights/funnel
funnelinsights
GET /api/projects/{project_id}/insights/funnel/correlation
insights
POST /api/projects/{project_id}/insights/funnel/correlation
insights
GET /api/projects/{project_id}/insights/my_last_viewed
insights
Returns basic details about the last 5 insights viewed by this user. Most recently viewed first.
GET /api/projects/{project_id}/insights/path
insights
POST /api/projects/{project_id}/insights/path
insights
GET /api/projects/{project_id}/insights/retention
insights
POST /api/projects/{project_id}/insights/retention
insights
POST /api/projects/{project_id}/insights/timing
insights
GET /api/projects/{project_id}/insights/trend
insights
POST /api/projects/{project_id}/insights/trend
trendinsights
GET /api/projects/{project_id}/notebooks
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
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}
notebooks
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}
notebooks
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}
notebooks
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}
notebooks
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
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/activity
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}/persons
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}
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.
PUT /api/projects/{project_id}/persons/{id}
persons
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}
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.
DEL /api/projects/{project_id}/persons/{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}/activity
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.
POST /api/projects/{project_id}/persons/{id}/delete_property
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}/properties_timeline
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. Mocked via Mockzilla.
POST /api/projects/{project_id}/persons/{id}/split
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.
POST /api/projects/{project_id}/persons/{id}/update_property
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/activity
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/cohorts
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/funnel
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. Available as a Mockzilla mock endpoint.
POST /api/projects/{project_id}/persons/funnel
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/funnel/correlation
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.
POST /api/projects/{project_id}/persons/funnel/correlation
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/lifecycle
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/path
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. Mockzilla mock: no signup, no API key.
POST /api/projects/{project_id}/persons/path
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/retention
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/stickiness
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/trends
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/values
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. Served by the Mockzilla mock runtime.
GET /api/projects/{project_id}/pipeline_destination_configs
pipeline_destination_configs
POST /api/projects/{project_id}/pipeline_destination_configs
pipeline_destination_configs
GET /api/projects/{project_id}/pipeline_destination_configs/{id}
pipeline_destination_configs
PUT /api/projects/{project_id}/pipeline_destination_configs/{id}
pipeline_destination_configs
PATCH /api/projects/{project_id}/pipeline_destination_configs/{id}
pipeline_destination_configs
DEL /api/projects/{project_id}/pipeline_destination_configs/{id}
pipeline_destination_configs
GET /api/projects/{project_id}/pipeline_destination_configs/{id}/frontend
pipeline_destination_configs
POST /api/projects/{project_id}/pipeline_destination_configs/{id}/job
pipeline_destination_configs
PATCH /api/projects/{project_id}/pipeline_destination_configs/rearrange
pipeline_destination_configs
GET /api/projects/{project_id}/pipeline_frontend_apps_configs
pipeline_frontend_apps_configs
POST /api/projects/{project_id}/pipeline_frontend_apps_configs
pipeline_frontend_apps_configs
GET /api/projects/{project_id}/pipeline_frontend_apps_configs/{id}
pipeline_frontend_apps_configs
PUT /api/projects/{project_id}/pipeline_frontend_apps_configs/{id}
pipeline_frontend_apps_configs
PATCH /api/projects/{project_id}/pipeline_frontend_apps_configs/{id}
pipeline_frontend_apps_configs
DEL /api/projects/{project_id}/pipeline_frontend_apps_configs/{id}
pipeline_frontend_apps_configs
GET /api/projects/{project_id}/pipeline_frontend_apps_configs/{id}/frontend
pipeline_frontend_apps_configs
POST /api/projects/{project_id}/pipeline_frontend_apps_configs/{id}/job
pipeline_frontend_apps_configs
PATCH /api/projects/{project_id}/pipeline_frontend_apps_configs/rearrange
pipeline_frontend_apps_configs
GET /api/projects/{project_id}/pipeline_import_apps_configs
pipeline_import_apps_configs
POST /api/projects/{project_id}/pipeline_import_apps_configs
pipeline_import_apps_configs
GET /api/projects/{project_id}/pipeline_import_apps_configs/{id}
pipeline_import_apps_configs
PUT /api/projects/{project_id}/pipeline_import_apps_configs/{id}
pipeline_import_apps_configs
PATCH /api/projects/{project_id}/pipeline_import_apps_configs/{id}
pipeline_import_apps_configs
DEL /api/projects/{project_id}/pipeline_import_apps_configs/{id}
pipeline_import_apps_configs
GET /api/projects/{project_id}/pipeline_import_apps_configs/{id}/frontend
pipeline_import_apps_configs
POST /api/projects/{project_id}/pipeline_import_apps_configs/{id}/job
pipeline_import_apps_configs
PATCH /api/projects/{project_id}/pipeline_import_apps_configs/rearrange
pipeline_import_apps_configs
GET /api/projects/{project_id}/pipeline_transformation_configs
pipeline_transformation_configs
POST /api/projects/{project_id}/pipeline_transformation_configs
pipeline_transformation_configs
GET /api/projects/{project_id}/pipeline_transformation_configs/{id}
pipeline_transformation_configs
PUT /api/projects/{project_id}/pipeline_transformation_configs/{id}
pipeline_transformation_configs
PATCH /api/projects/{project_id}/pipeline_transformation_configs/{id}
pipeline_transformation_configs
DEL /api/projects/{project_id}/pipeline_transformation_configs/{id}
pipeline_transformation_configs
GET /api/projects/{project_id}/pipeline_transformation_configs/{id}/frontend
pipeline_transformation_configs
POST /api/projects/{project_id}/pipeline_transformation_configs/{id}/job
pipeline_transformation_configs
PATCH /api/projects/{project_id}/pipeline_transformation_configs/rearrange
pipeline_transformation_configs
GET /api/projects/{project_id}/plugin_configs
plugin_configs
POST /api/projects/{project_id}/plugin_configs
plugin_configs
GET /api/projects/{project_id}/plugin_configs/{id}
plugin_configs
PUT /api/projects/{project_id}/plugin_configs/{id}
plugin_configs
PATCH /api/projects/{project_id}/plugin_configs/{id}
plugin_configs
DEL /api/projects/{project_id}/plugin_configs/{id}
plugin_configs
GET /api/projects/{project_id}/plugin_configs/{id}/frontend
plugin_configs
POST /api/projects/{project_id}/plugin_configs/{id}/job
plugin_configs
GET /api/projects/{project_id}/plugin_configs/{plugin_config_id}/logs
plugin_configs
PATCH /api/projects/{project_id}/plugin_configs/rearrange
plugin_configs
GET /api/projects/{project_id}/property_definitions
property_definitions
GET /api/projects/{project_id}/property_definitions/{id}
property_definitions
PUT /api/projects/{project_id}/property_definitions/{id}
property_definitions
PATCH /api/projects/{project_id}/property_definitions/{id}
property_definitions
DEL /api/projects/{project_id}/property_definitions/{id}
property_definitions
GET /api/projects/{project_id}/property_definitions/seen_together
property_definitions
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
query
GET /api/projects/{project_id}/query/{id}
query
(Experimental)
DEL /api/projects/{project_id}/query/{id}
query
(Experimental)
GET /api/projects/{project_id}/query/draft_sql
query
GET /api/projects/{project_id}/session_recording_playlists
session_recording_playlists
POST /api/projects/{project_id}/session_recording_playlists
session_recording_playlists
GET /api/projects/{project_id}/session_recording_playlists/{short_id}
session_recording_playlists
PUT /api/projects/{project_id}/session_recording_playlists/{short_id}
session_recording_playlists
PATCH /api/projects/{project_id}/session_recording_playlists/{short_id}
session_recording_playlists
DEL /api/projects/{project_id}/session_recording_playlists/{short_id}
session_recording_playlists
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
session_recording_playlists
POST /api/projects/{project_id}/session_recording_playlists/{short_id}/recordings/{session_recording_id}
session_recording_playlists
DEL /api/projects/{project_id}/session_recording_playlists/{short_id}/recordings/{session_recording_id}
session_recording_playlists
GET /api/projects/{project_id}/session_recordings
session_recordings
GET /api/projects/{project_id}/session_recordings/{id}
session_recordings
DEL /api/projects/{project_id}/session_recordings/{id}
session_recordings
POST /api/projects/{project_id}/session_recordings/{id}/persist
session_recordings
GET /api/projects/{project_id}/session_recordings/{id}/similar_sessions
session_recordings
GET /api/projects/{project_id}/session_recordings/{id}/snapshots
session_recordings
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
session_recordings
GET /api/projects/{project_id}/session_recordings/{recording_id}/sharing
session_recordings
GET /api/projects/{project_id}/session_recordings/error_clusters
session_recordings
GET /api/projects/{project_id}/session_recordings/matching_events
session_recordings
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
session_recordings
GET /api/projects/{project_id}/subscriptions
subscriptions
POST /api/projects/{project_id}/subscriptions
subscriptions
GET /api/projects/{project_id}/subscriptions/{id}
subscriptions
PUT /api/projects/{project_id}/subscriptions/{id}
subscriptions
PATCH /api/projects/{project_id}/subscriptions/{id}
subscriptions
DEL /api/projects/{project_id}/subscriptions/{id}
subscriptions
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
GET /api/projects/{project_id}/surveys
surveys
POST /api/projects/{project_id}/surveys
surveys
GET /api/projects/{project_id}/surveys/{id}
surveys
PUT /api/projects/{project_id}/surveys/{id}
surveys
PATCH /api/projects/{project_id}/surveys/{id}
surveys
DEL /api/projects/{project_id}/surveys/{id}
surveys
GET /api/projects/{project_id}/surveys/responses_count
surveys
GET /api/users
users
GET /api/users/{uuid}
users
PUT /api/users/{uuid}
users
PATCH /api/users/{uuid}
users
POST /api/users/{uuid}/request_email_verification
users
POST /api/users/{uuid}/scene_personalisation
users
GET /api/users/{uuid}/start_2fa_setup
users
POST /api/users/{uuid}/validate_2fa
users
POST /api/users/{uuid}/verify_email
users