How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

PostHog projects API

The projects API from PostHog — 11 operation(s) for projects.

PostHog projects API is one of 139 APIs that PostHog publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Project. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, authentication docs, and an AsyncAPI specification.

This API exposes 15 operations across 11 paths, and defines 12 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

Requests are made against a single base URL, https://app.posthog.com/api.

15 operations 11 paths 12 schemas 1 DELETE4 GET6 PATCH3 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://app.posthog.com/api
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

PostHog projects API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (PersonalAPIKeyAuth).

Paths & Operations 15

Across 11 paths, the API surfaces 15 operations — 1 DELETE, 4 GET, 6 PATCH, 3 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

projects 15
GET
/api/organizations/{organization_id}/projects/
Projects for the current organization.
organizations_projects_list 4 params → 200
POST
/api/organizations/{organization_id}/projects/
Projects for the current organization.
organizations_projects_create 1 param body → 201
GET
/api/organizations/{organization_id}/projects/{id}/
Retrieve a project and its settings.
organizations_projects_retrieve 2 params → 200
PUT
/api/organizations/{organization_id}/projects/{id}/
Replace a project and its settings. Prefer the PATCH endpoint for partial updates — PUT requires every writable field to be provided.
organizations_projects_update 2 params body → 200
PATCH
/api/organizations/{organization_id}/projects/{id}/
Update one or more of a project's settings. Only the fields included in the request body are changed.
organizations_projects_partial_update 2 params body → 200
DELETE
/api/organizations/{organization_id}/projects/{id}/
Projects for the current organization.
organizations_projects_destroy 2 params → 204
GET
/api/organizations/{organization_id}/projects/{id}/activity/
Projects for the current organization.
organizations_projects_activity_retrieve 2 params → 200
PATCH
/api/organizations/{organization_id}/projects/{id}/add_product_intent/
Projects for the current organization.
organizations_projects_add_product_intent_partial_update 2 params body → 200
POST
/api/organizations/{organization_id}/projects/{id}/change_organization/
Projects for the current organization.
organizations_projects_change_organization_create 2 params body → 200
PATCH
/api/organizations/{organization_id}/projects/{id}/complete_product_onboarding/
Projects for the current organization.
organizations_projects_complete_product_onboarding_partial_update 2 params body → 200
PATCH
/api/organizations/{organization_id}/projects/{id}/delete_secret_token_backup/
Projects for the current organization.
organizations_projects_delete_secret_token_backup_partial_update 2 params body → 200
POST
/api/organizations/{organization_id}/projects/{id}/generate_conversations_public_token/
Projects for the current organization.
organizations_projects_generate_conversations_public_token_create 2 params body → 200
GET
/api/organizations/{organization_id}/projects/{id}/is_generating_demo_data/
Projects for the current organization.
organizations_projects_is_generating_demo_data_retrieve 2 params → 200
PATCH
/api/organizations/{organization_id}/projects/{id}/reset_token/
Projects for the current organization.
organizations_projects_reset_token_partial_update 2 params body → 200
PATCH
/api/organizations/{organization_id}/projects/{id}/rotate_secret_token/
Projects for the current organization.
organizations_projects_rotate_secret_token_partial_update 2 params body → 200

Schemas 12

The contract defines 12 schemas that model the data the API accepts and returns. The most detailed are ProjectBackwardCompat (69 properties), PatchedProjectBackwardCompat (69 properties), ProjectBackwardCompatBasic (11 properties), PaginatedProjectBackwardCompatBasicList (4 properties). Each schema is shown below with its type and property counts.

ProjectBackwardCompatBasic
object
Like ProjectBasicSerializer, but also works as a drop-in replacement for TeamBasicSerializer by way of passthrough fields. This allows the meaning of Team to c…
11 properties 11 required
WeekStartDayEnum
integer
0 - Sunday 1 - Monday
PatchedProjectBackwardCompat
object
Like ProjectBasicSerializer, but also works as a drop-in replacement for TeamBasicSerializer by way of passthrough fields. This allows the meaning of Team to c…
69 properties
BlankEnum
ProjectBackwardCompat
object
Like ProjectBasicSerializer, but also works as a drop-in replacement for TeamBasicSerializer by way of passthrough fields. This allows the meaning of Team to c…
69 properties 17 required
NullEnum
SessionRecordingRetentionPeriodEnum
string
30d - 30 Days 90d - 90 Days 1y - 1 Year 5y - 5 Years
EffectiveMembershipLevelEnum
integer
BusinessModelEnum
string
b2b - B2B b2c - B2C other - Other
TimezoneEnum
string
Africa/Abidjan - Africa/Abidjan Africa/Accra - Africa/Accra Africa/AddisAbaba - Africa/AddisAbaba Africa/Algiers - Africa/Algiers Africa/Asmara - Africa/Asmara…
PaginatedProjectBackwardCompatBasicList
object
4 properties 2 required
AvailableSetupTaskIdsEnum
string
ingestfirstevent - ingestfirstevent setupreverseproxy - setupreverseproxy createfirstinsight - createfirstinsight createfirstdashboard - createfirstdashboard t…

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

posthog-projects-api-openapi.yml Raw ↑

Other APIs PostHog publishes across the network.

PostHog Capture API
PostHog Query API
PostHog Persons API
PostHog Feature Flags API
PostHog Experiments API
PostHog Insights API
PostHog Cohorts API
PostHog Annotations API
PostHog actions API
PostHog activity_log API
PostHog activity_logs API
PostHog advanced_activity_logs API
Where this information came from

This is an independent, third-party profile of PostHog projects API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.