/api/organizations/{organization_id}/projects/{id}
Projects for the current organization.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | A unique integer value identifying this team. |
| organization_id | path | required | string | — |
No response body
DELETE /api/organizations/{organization_id}/projects/{id}
/api/organizations/{organization_id}/projects/{id}
Projects for the current organization.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | A unique integer value identifying this team. |
| organization_id | path | required | string | — |
GET /api/organizations/{organization_id}/projects/{id}
/api/organizations/{organization_id}/projects/{id}
Projects for the current organization.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | A unique integer value identifying this team. |
| organization_id | path | required | string | — |
application/json
PatchedTeam
| Property | Type | Required |
|---|---|---|
| id | integer | optional |
| name | string | optional |
| uuid | string | optional |
| is_demo | boolean | optional |
| app_urls | array | optional |
| timezone | string | optional |
| api_token | string | optional |
| created_at | string | optional |
| updated_at | string | optional |
| organization | string | optional |
| anonymize_ips | boolean | optional |
| access_control | boolean | optional |
| extra_settings | object | optional |
| ingested_event | boolean | optional |
| surveys_opt_in | boolean | optional |
| week_start_day | object | optional |
| data_attributes | object | optional |
| has_group_types | boolean | optional |
| inject_web_apps | boolean | optional |
| primary_dashboard | integer | optional |
| …24 more | object | optional |
multipart/form-data
PatchedTeam
| Property | Type | Required |
|---|---|---|
| id | integer | optional |
| name | string | optional |
| uuid | string | optional |
| is_demo | boolean | optional |
| app_urls | array | optional |
| timezone | string | optional |
| api_token | string | optional |
| created_at | string | optional |
| updated_at | string | optional |
| organization | string | optional |
| anonymize_ips | boolean | optional |
| access_control | boolean | optional |
| extra_settings | object | optional |
| ingested_event | boolean | optional |
| surveys_opt_in | boolean | optional |
| week_start_day | object | optional |
| data_attributes | object | optional |
| has_group_types | boolean | optional |
| inject_web_apps | boolean | optional |
| primary_dashboard | integer | optional |
| …24 more | object | optional |
application/x-www-form-urlencoded
PatchedTeam
| Property | Type | Required |
|---|---|---|
| id | integer | optional |
| name | string | optional |
| uuid | string | optional |
| is_demo | boolean | optional |
| app_urls | array | optional |
| timezone | string | optional |
| api_token | string | optional |
| created_at | string | optional |
| updated_at | string | optional |
| organization | string | optional |
| anonymize_ips | boolean | optional |
| access_control | boolean | optional |
| extra_settings | object | optional |
| ingested_event | boolean | optional |
| surveys_opt_in | boolean | optional |
| week_start_day | object | optional |
| data_attributes | object | optional |
| has_group_types | boolean | optional |
| inject_web_apps | boolean | optional |
| primary_dashboard | integer | optional |
| …24 more | object | optional |
PATCH /api/organizations/{organization_id}/projects/{id}
/api/organizations/{organization_id}/projects/{id}
Projects for the current organization.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | A unique integer value identifying this team. |
| organization_id | path | required | string | — |
application/json
Team
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | optional |
| uuid | string | required |
| is_demo | boolean | optional |
| app_urls | array | optional |
| timezone | string | optional |
| api_token | string | required |
| created_at | string | required |
| updated_at | string | required |
| organization | string | required |
| anonymize_ips | boolean | optional |
| access_control | boolean | optional |
| extra_settings | object | optional |
| ingested_event | boolean | required |
| surveys_opt_in | boolean | optional |
| week_start_day | object | optional |
| data_attributes | object | optional |
| has_group_types | boolean | required |
| inject_web_apps | boolean | optional |
| primary_dashboard | integer | optional |
| …24 more | object | optional |
multipart/form-data
Team
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | optional |
| uuid | string | required |
| is_demo | boolean | optional |
| app_urls | array | optional |
| timezone | string | optional |
| api_token | string | required |
| created_at | string | required |
| updated_at | string | required |
| organization | string | required |
| anonymize_ips | boolean | optional |
| access_control | boolean | optional |
| extra_settings | object | optional |
| ingested_event | boolean | required |
| surveys_opt_in | boolean | optional |
| week_start_day | object | optional |
| data_attributes | object | optional |
| has_group_types | boolean | required |
| inject_web_apps | boolean | optional |
| primary_dashboard | integer | optional |
| …24 more | object | optional |
application/x-www-form-urlencoded
Team
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | optional |
| uuid | string | required |
| is_demo | boolean | optional |
| app_urls | array | optional |
| timezone | string | optional |
| api_token | string | required |
| created_at | string | required |
| updated_at | string | required |
| organization | string | required |
| anonymize_ips | boolean | optional |
| access_control | boolean | optional |
| extra_settings | object | optional |
| ingested_event | boolean | required |
| surveys_opt_in | boolean | optional |
| week_start_day | object | optional |
| data_attributes | object | optional |
| has_group_types | boolean | required |
| inject_web_apps | boolean | optional |
| primary_dashboard | integer | optional |
| …24 more | object | optional |
PUT /api/organizations/{organization_id}/projects/{id}
/api/organizations/{organization_id}/projects/{id}/activity
Projects for the current organization.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | A unique integer value identifying this team. |
| organization_id | path | required | string | — |
GET /api/organizations/{organization_id}/projects/{id}/activity
/api/organizations/{organization_id}/projects/{id}/is_generating_demo_data
Projects for the current organization.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | A unique integer value identifying this team. |
| organization_id | path | required | string | — |
GET /api/organizations/{organization_id}/projects/{id}/is_generating_demo_data
/api/organizations/{organization_id}/projects/{id}/reset_token
Projects for the current organization.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | A unique integer value identifying this team. |
| organization_id | path | required | string | — |
application/json
PatchedTeam
| Property | Type | Required |
|---|---|---|
| id | integer | optional |
| name | string | optional |
| uuid | string | optional |
| is_demo | boolean | optional |
| app_urls | array | optional |
| timezone | string | optional |
| api_token | string | optional |
| created_at | string | optional |
| updated_at | string | optional |
| organization | string | optional |
| anonymize_ips | boolean | optional |
| access_control | boolean | optional |
| extra_settings | object | optional |
| ingested_event | boolean | optional |
| surveys_opt_in | boolean | optional |
| week_start_day | object | optional |
| data_attributes | object | optional |
| has_group_types | boolean | optional |
| inject_web_apps | boolean | optional |
| primary_dashboard | integer | optional |
| …24 more | object | optional |
multipart/form-data
PatchedTeam
| Property | Type | Required |
|---|---|---|
| id | integer | optional |
| name | string | optional |
| uuid | string | optional |
| is_demo | boolean | optional |
| app_urls | array | optional |
| timezone | string | optional |
| api_token | string | optional |
| created_at | string | optional |
| updated_at | string | optional |
| organization | string | optional |
| anonymize_ips | boolean | optional |
| access_control | boolean | optional |
| extra_settings | object | optional |
| ingested_event | boolean | optional |
| surveys_opt_in | boolean | optional |
| week_start_day | object | optional |
| data_attributes | object | optional |
| has_group_types | boolean | optional |
| inject_web_apps | boolean | optional |
| primary_dashboard | integer | optional |
| …24 more | object | optional |
application/x-www-form-urlencoded
PatchedTeam
| Property | Type | Required |
|---|---|---|
| id | integer | optional |
| name | string | optional |
| uuid | string | optional |
| is_demo | boolean | optional |
| app_urls | array | optional |
| timezone | string | optional |
| api_token | string | optional |
| created_at | string | optional |
| updated_at | string | optional |
| organization | string | optional |
| anonymize_ips | boolean | optional |
| access_control | boolean | optional |
| extra_settings | object | optional |
| ingested_event | boolean | optional |
| surveys_opt_in | boolean | optional |
| week_start_day | object | optional |
| data_attributes | object | optional |
| has_group_types | boolean | optional |
| inject_web_apps | boolean | optional |
| primary_dashboard | integer | optional |
| …24 more | object | optional |
PATCH /api/organizations/{organization_id}/projects/{id}/reset_token
/api/organizations/{organization_id}/roles
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| limit | query | optional | integer | Number of results to return per page. |
| offset | query | optional | integer | The initial index from which to return the results. |
| organization_id | path | required | string | — |
GET /api/organizations/{organization_id}/roles
/api/organizations/{organization_id}/roles
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| organization_id | path | required | string | — |
application/json
Role
| Property | Type | Required |
|---|---|---|
| id | string | required |
| name | string | required |
| members | string | required |
| created_at | string | required |
| created_by | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| associated_flags | string | required |
| feature_flags_access_level | integer | optional |
multipart/form-data
Role
| Property | Type | Required |
|---|---|---|
| id | string | required |
| name | string | required |
| members | string | required |
| created_at | string | required |
| created_by | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| associated_flags | string | required |
| feature_flags_access_level | integer | optional |
application/x-www-form-urlencoded
Role
| Property | Type | Required |
|---|---|---|
| id | string | required |
| name | string | required |
| members | string | required |
| created_at | string | required |
| created_by | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| associated_flags | string | required |
| feature_flags_access_level | integer | optional |
POST /api/organizations/{organization_id}/roles
/api/organizations/{organization_id}/roles/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | string | A UUID string identifying this role. |
| organization_id | path | required | string | — |
No response body
DELETE /api/organizations/{organization_id}/roles/{id}
/api/organizations/{organization_id}/roles/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | string | A UUID string identifying this role. |
| organization_id | path | required | string | — |
GET /api/organizations/{organization_id}/roles/{id}
/api/organizations/{organization_id}/roles/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | string | A UUID string identifying this role. |
| organization_id | path | required | string | — |
application/json
PatchedRole
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| members | string | optional |
| created_at | string | optional |
| created_by | object | optional |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| associated_flags | string | optional |
| feature_flags_access_level | integer | optional |
multipart/form-data
PatchedRole
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| members | string | optional |
| created_at | string | optional |
| created_by | object | optional |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| associated_flags | string | optional |
| feature_flags_access_level | integer | optional |
application/x-www-form-urlencoded
PatchedRole
| Property | Type | Required |
|---|---|---|
| id | string | optional |
| name | string | optional |
| members | string | optional |
| created_at | string | optional |
| created_by | object | optional |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| associated_flags | string | optional |
| feature_flags_access_level | integer | optional |
PATCH /api/organizations/{organization_id}/roles/{id}
/api/organizations/{organization_id}/roles/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | string | A UUID string identifying this role. |
| organization_id | path | required | string | — |
application/json
Role
| Property | Type | Required |
|---|---|---|
| id | string | required |
| name | string | required |
| members | string | required |
| created_at | string | required |
| created_by | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| associated_flags | string | required |
| feature_flags_access_level | integer | optional |
multipart/form-data
Role
| Property | Type | Required |
|---|---|---|
| id | string | required |
| name | string | required |
| members | string | required |
| created_at | string | required |
| created_by | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| associated_flags | string | required |
| feature_flags_access_level | integer | optional |
application/x-www-form-urlencoded
Role
| Property | Type | Required |
|---|---|---|
| id | string | required |
| name | string | required |
| members | string | required |
| created_at | string | required |
| created_by | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| associated_flags | string | required |
| feature_flags_access_level | integer | optional |
PUT /api/organizations/{organization_id}/roles/{id}
/api/organizations/{organization_id}/roles/{role_id}/role_memberships
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| limit | query | optional | integer | Number of results to return per page. |
| offset | query | optional | integer | The initial index from which to return the results. |
| organization_id | path | required | string | — |
| role_id | path | required | string | — |
GET /api/organizations/{organization_id}/roles/{role_id}/role_memberships
/api/organizations/{organization_id}/roles/{role_id}/role_memberships
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| organization_id | path | required | string | — |
| role_id | path | required | string | — |
application/json
RoleMembership
| Property | Type | Required |
|---|---|---|
| id | string | required |
| user | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| role_id | string | required |
| joined_at | string | required |
| user_uuid | string | required |
| updated_at | string | required |
| organization_member | object | required |
| └ id | string | required |
| └ user | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| └ level | integer | optional |
| └ joined_at | string | required |
| └ updated_at | string | required |
| └ is_2fa_enabled | boolean | required |
| └ has_social_auth | boolean | required |
multipart/form-data
RoleMembership
| Property | Type | Required |
|---|---|---|
| id | string | required |
| user | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| role_id | string | required |
| joined_at | string | required |
| user_uuid | string | required |
| updated_at | string | required |
| organization_member | object | required |
| └ id | string | required |
| └ user | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| └ level | integer | optional |
| └ joined_at | string | required |
| └ updated_at | string | required |
| └ is_2fa_enabled | boolean | required |
| └ has_social_auth | boolean | required |
application/x-www-form-urlencoded
RoleMembership
| Property | Type | Required |
|---|---|---|
| id | string | required |
| user | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| role_id | string | required |
| joined_at | string | required |
| user_uuid | string | required |
| updated_at | string | required |
| organization_member | object | required |
| └ id | string | required |
| └ user | object | required |
| └ id | integer | required |
| └ uuid | string | required |
| string | required | |
| └ last_name | string | optional |
| └ first_name | string | optional |
| └ distinct_id | string | optional |
| └ is_email_verified | boolean | optional |
| └ level | integer | optional |
| └ joined_at | string | required |
| └ updated_at | string | required |
| └ is_2fa_enabled | boolean | required |
| └ has_social_auth | boolean | required |
POST /api/organizations/{organization_id}/roles/{role_id}/role_memberships
/api/organizations/{organization_id}/roles/{role_id}/role_memberships/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | string | A UUID string identifying this role membership. |
| organization_id | path | required | string | — |
| role_id | path | required | string | — |
No response body
DELETE /api/organizations/{organization_id}/roles/{role_id}/role_memberships/{id}
/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.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| distinct_id | query | optional | string | Filter list by distinct id. |
| query | optional | string | Filter persons by email (exact match) |
|
| format | query | optional | string | — |
| limit | query | optional | integer | Number of results to return per page. |
| offset | query | optional | integer | The initial index from which to return the results. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
| properties | query | optional | array | Filter Persons by person properties. |
| search | query | optional | string | Search persons, either by email (full text search) or distinct_id (exact match). |
GET /api/projects/{project_id}/persons
/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.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| format | query | optional | string | — |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/persons/activity
/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.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| format | query | optional | string | — |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/persons/cohorts
/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.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| format | query | optional | string | — |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/persons/funnel
/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.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| format | query | optional | string | — |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
application/json
Person
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | required |
| uuid | string | required |
| created_at | string | required |
| properties | object | optional |
| distinct_ids | array | required |
multipart/form-data
Person
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | required |
| uuid | string | required |
| created_at | string | required |
| properties | object | optional |
| distinct_ids | array | required |
application/x-www-form-urlencoded
Person
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | required |
| uuid | string | required |
| created_at | string | required |
| properties | object | optional |
| distinct_ids | array | required |
POST /api/projects/{project_id}/persons/funnel
/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.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| format | query | optional | string | — |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/persons/funnel/correlation
/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.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| format | query | optional | string | — |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
application/json
Person
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | required |
| uuid | string | required |
| created_at | string | required |
| properties | object | optional |
| distinct_ids | array | required |
multipart/form-data
Person
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | required |
| uuid | string | required |
| created_at | string | required |
| properties | object | optional |
| distinct_ids | array | required |
application/x-www-form-urlencoded
Person
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | required |
| uuid | string | required |
| created_at | string | required |
| properties | object | optional |
| distinct_ids | array | required |
POST /api/projects/{project_id}/persons/funnel/correlation
/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.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| format | query | optional | string | — |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/persons/lifecycle
/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.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| format | query | optional | string | — |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/persons/path
/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.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| format | query | optional | string | — |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
application/json
Person
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | required |
| uuid | string | required |
| created_at | string | required |
| properties | object | optional |
| distinct_ids | array | required |
multipart/form-data
Person
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | required |
| uuid | string | required |
| created_at | string | required |
| properties | object | optional |
| distinct_ids | array | required |
application/x-www-form-urlencoded
Person
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | required |
| uuid | string | required |
| created_at | string | required |
| properties | object | optional |
| distinct_ids | array | required |
POST /api/projects/{project_id}/persons/path
/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.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| format | query | optional | string | — |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/persons/retention
/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.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| format | query | optional | string | — |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/persons/stickiness
/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.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| format | query | optional | string | — |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/persons/trends
/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.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| format | query | optional | string | — |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/persons/values
/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.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| delete_events | query | optional | boolean | If true, a task to delete all events associated with this person will be created and queued. The task does not run immediately and instead is batched together and at 5AM UTC every Sunday (controlled by environment variable CLEAR_CLICKHOUSE_REMOVED_DATA_SCHEDULE_CRON) |
| format | query | optional | string | — |
| id | path | required | integer | A unique integer value identifying this person. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
No response body
DELETE /api/projects/{project_id}/persons/{id}
/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.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| format | query | optional | string | — |
| id | path | required | integer | A unique integer value identifying this person. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/persons/{id}
/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.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| format | query | optional | string | — |
| id | path | required | integer | A unique integer value identifying this person. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
application/json
PatchedPerson
| Property | Type | Required |
|---|---|---|
| id | integer | optional |
| name | string | optional |
| uuid | string | optional |
| created_at | string | optional |
| properties | object | optional |
| distinct_ids | array | optional |
multipart/form-data
PatchedPerson
| Property | Type | Required |
|---|---|---|
| id | integer | optional |
| name | string | optional |
| uuid | string | optional |
| created_at | string | optional |
| properties | object | optional |
| distinct_ids | array | optional |
application/x-www-form-urlencoded
PatchedPerson
| Property | Type | Required |
|---|---|---|
| id | integer | optional |
| name | string | optional |
| uuid | string | optional |
| created_at | string | optional |
| properties | object | optional |
| distinct_ids | array | optional |
PATCH /api/projects/{project_id}/persons/{id}
/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.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| format | query | optional | string | — |
| id | path | required | integer | A unique integer value identifying this person. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
application/json
Person
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | required |
| uuid | string | required |
| created_at | string | required |
| properties | object | optional |
| distinct_ids | array | required |
multipart/form-data
Person
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | required |
| uuid | string | required |
| created_at | string | required |
| properties | object | optional |
| distinct_ids | array | required |
application/x-www-form-urlencoded
Person
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | required |
| uuid | string | required |
| created_at | string | required |
| properties | object | optional |
| distinct_ids | array | required |
PUT /api/projects/{project_id}/persons/{id}
/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.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| format | query | optional | string | — |
| id | path | required | integer | A unique integer value identifying this person. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/persons/{id}/activity
/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.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| $unset | query | required | string | Specify the property key to delete |
| format | query | optional | string | — |
| id | path | required | integer | A unique integer value identifying this person. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
application/json
Person
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | required |
| uuid | string | required |
| created_at | string | required |
| properties | object | optional |
| distinct_ids | array | required |
multipart/form-data
Person
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | required |
| uuid | string | required |
| created_at | string | required |
| properties | object | optional |
| distinct_ids | array | required |
application/x-www-form-urlencoded
Person
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | required |
| uuid | string | required |
| created_at | string | required |
| properties | object | optional |
| distinct_ids | array | required |
POST /api/projects/{project_id}/persons/{id}/delete_property
/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.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| format | query | optional | string | — |
| id | path | required | integer | A unique integer value identifying this person. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/persons/{id}/properties_timeline
/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.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| format | query | optional | string | — |
| id | path | required | integer | A unique integer value identifying this person. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
application/json
Person
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | required |
| uuid | string | required |
| created_at | string | required |
| properties | object | optional |
| distinct_ids | array | required |
multipart/form-data
Person
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | required |
| uuid | string | required |
| created_at | string | required |
| properties | object | optional |
| distinct_ids | array | required |
application/x-www-form-urlencoded
Person
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | required |
| uuid | string | required |
| created_at | string | required |
| properties | object | optional |
| distinct_ids | array | required |
POST /api/projects/{project_id}/persons/{id}/split
/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.
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| format | query | optional | string | — |
| id | path | required | integer | A unique integer value identifying this person. |
| key | query | required | string | Specify the property key |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
| value | query | required | Specify the property value |
application/json
Person
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | required |
| uuid | string | required |
| created_at | string | required |
| properties | object | optional |
| distinct_ids | array | required |
multipart/form-data
Person
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | required |
| uuid | string | required |
| created_at | string | required |
| properties | object | optional |
| distinct_ids | array | required |
application/x-www-form-urlencoded
Person
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | required |
| uuid | string | required |
| created_at | string | required |
| properties | object | optional |
| distinct_ids | array | required |
POST /api/projects/{project_id}/persons/{id}/update_property
/api/projects/{project_id}/pipeline_destination_configs
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| limit | query | optional | integer | Number of results to return per page. |
| offset | query | optional | integer | The initial index from which to return the results. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/pipeline_destination_configs
/api/projects/{project_id}/pipeline_destination_configs
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
application/json
PluginConfig
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | optional |
| error | string | required |
| order | integer | required |
| config | string | required |
| plugin | integer | required |
| deleted | boolean | optional |
| enabled | boolean | optional |
| team_id | integer | required |
| created_at | string | required |
| updated_at | string | required |
| description | string | optional |
| plugin_info | string | required |
| delivery_rate_24h | string | required |
multipart/form-data
PluginConfig
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | optional |
| error | string | required |
| order | integer | required |
| config | string | required |
| plugin | integer | required |
| deleted | boolean | optional |
| enabled | boolean | optional |
| team_id | integer | required |
| created_at | string | required |
| updated_at | string | required |
| description | string | optional |
| plugin_info | string | required |
| delivery_rate_24h | string | required |
application/x-www-form-urlencoded
PluginConfig
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | optional |
| error | string | required |
| order | integer | required |
| config | string | required |
| plugin | integer | required |
| deleted | boolean | optional |
| enabled | boolean | optional |
| team_id | integer | required |
| created_at | string | required |
| updated_at | string | required |
| description | string | optional |
| plugin_info | string | required |
| delivery_rate_24h | string | required |
POST /api/projects/{project_id}/pipeline_destination_configs
/api/projects/{project_id}/pipeline_destination_configs/rearrange
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
application/json
PatchedPluginConfig
| Property | Type | Required |
|---|---|---|
| id | integer | optional |
| name | string | optional |
| error | string | optional |
| order | integer | optional |
| config | string | optional |
| plugin | integer | optional |
| deleted | boolean | optional |
| enabled | boolean | optional |
| team_id | integer | optional |
| created_at | string | optional |
| updated_at | string | optional |
| description | string | optional |
| plugin_info | string | optional |
| delivery_rate_24h | string | optional |
multipart/form-data
PatchedPluginConfig
| Property | Type | Required |
|---|---|---|
| id | integer | optional |
| name | string | optional |
| error | string | optional |
| order | integer | optional |
| config | string | optional |
| plugin | integer | optional |
| deleted | boolean | optional |
| enabled | boolean | optional |
| team_id | integer | optional |
| created_at | string | optional |
| updated_at | string | optional |
| description | string | optional |
| plugin_info | string | optional |
| delivery_rate_24h | string | optional |
application/x-www-form-urlencoded
PatchedPluginConfig
| Property | Type | Required |
|---|---|---|
| id | integer | optional |
| name | string | optional |
| error | string | optional |
| order | integer | optional |
| config | string | optional |
| plugin | integer | optional |
| deleted | boolean | optional |
| enabled | boolean | optional |
| team_id | integer | optional |
| created_at | string | optional |
| updated_at | string | optional |
| description | string | optional |
| plugin_info | string | optional |
| delivery_rate_24h | string | optional |
PATCH /api/projects/{project_id}/pipeline_destination_configs/rearrange
/api/projects/{project_id}/pipeline_destination_configs/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | A unique integer value identifying this plugin config. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
No response body
DELETE /api/projects/{project_id}/pipeline_destination_configs/{id}
/api/projects/{project_id}/pipeline_destination_configs/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | A unique integer value identifying this plugin config. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/pipeline_destination_configs/{id}
/api/projects/{project_id}/pipeline_destination_configs/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | A unique integer value identifying this plugin config. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
application/json
PatchedPluginConfig
| Property | Type | Required |
|---|---|---|
| id | integer | optional |
| name | string | optional |
| error | string | optional |
| order | integer | optional |
| config | string | optional |
| plugin | integer | optional |
| deleted | boolean | optional |
| enabled | boolean | optional |
| team_id | integer | optional |
| created_at | string | optional |
| updated_at | string | optional |
| description | string | optional |
| plugin_info | string | optional |
| delivery_rate_24h | string | optional |
multipart/form-data
PatchedPluginConfig
| Property | Type | Required |
|---|---|---|
| id | integer | optional |
| name | string | optional |
| error | string | optional |
| order | integer | optional |
| config | string | optional |
| plugin | integer | optional |
| deleted | boolean | optional |
| enabled | boolean | optional |
| team_id | integer | optional |
| created_at | string | optional |
| updated_at | string | optional |
| description | string | optional |
| plugin_info | string | optional |
| delivery_rate_24h | string | optional |
application/x-www-form-urlencoded
PatchedPluginConfig
| Property | Type | Required |
|---|---|---|
| id | integer | optional |
| name | string | optional |
| error | string | optional |
| order | integer | optional |
| config | string | optional |
| plugin | integer | optional |
| deleted | boolean | optional |
| enabled | boolean | optional |
| team_id | integer | optional |
| created_at | string | optional |
| updated_at | string | optional |
| description | string | optional |
| plugin_info | string | optional |
| delivery_rate_24h | string | optional |
PATCH /api/projects/{project_id}/pipeline_destination_configs/{id}
/api/projects/{project_id}/pipeline_destination_configs/{id}
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | A unique integer value identifying this plugin config. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
application/json
PluginConfig
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | optional |
| error | string | required |
| order | integer | required |
| config | string | required |
| plugin | integer | required |
| deleted | boolean | optional |
| enabled | boolean | optional |
| team_id | integer | required |
| created_at | string | required |
| updated_at | string | required |
| description | string | optional |
| plugin_info | string | required |
| delivery_rate_24h | string | required |
multipart/form-data
PluginConfig
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | optional |
| error | string | required |
| order | integer | required |
| config | string | required |
| plugin | integer | required |
| deleted | boolean | optional |
| enabled | boolean | optional |
| team_id | integer | required |
| created_at | string | required |
| updated_at | string | required |
| description | string | optional |
| plugin_info | string | required |
| delivery_rate_24h | string | required |
application/x-www-form-urlencoded
PluginConfig
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | optional |
| error | string | required |
| order | integer | required |
| config | string | required |
| plugin | integer | required |
| deleted | boolean | optional |
| enabled | boolean | optional |
| team_id | integer | required |
| created_at | string | required |
| updated_at | string | required |
| description | string | optional |
| plugin_info | string | required |
| delivery_rate_24h | string | required |
PUT /api/projects/{project_id}/pipeline_destination_configs/{id}
/api/projects/{project_id}/pipeline_destination_configs/{id}/frontend
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | A unique integer value identifying this plugin config. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/pipeline_destination_configs/{id}/frontend
/api/projects/{project_id}/pipeline_destination_configs/{id}/job
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| id | path | required | integer | A unique integer value identifying this plugin config. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
application/json
PluginConfig
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | optional |
| error | string | required |
| order | integer | required |
| config | string | required |
| plugin | integer | required |
| deleted | boolean | optional |
| enabled | boolean | optional |
| team_id | integer | required |
| created_at | string | required |
| updated_at | string | required |
| description | string | optional |
| plugin_info | string | required |
| delivery_rate_24h | string | required |
multipart/form-data
PluginConfig
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | optional |
| error | string | required |
| order | integer | required |
| config | string | required |
| plugin | integer | required |
| deleted | boolean | optional |
| enabled | boolean | optional |
| team_id | integer | required |
| created_at | string | required |
| updated_at | string | required |
| description | string | optional |
| plugin_info | string | required |
| delivery_rate_24h | string | required |
application/x-www-form-urlencoded
PluginConfig
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | optional |
| error | string | required |
| order | integer | required |
| config | string | required |
| plugin | integer | required |
| deleted | boolean | optional |
| enabled | boolean | optional |
| team_id | integer | required |
| created_at | string | required |
| updated_at | string | required |
| description | string | optional |
| plugin_info | string | required |
| delivery_rate_24h | string | required |
POST /api/projects/{project_id}/pipeline_destination_configs/{id}/job
/api/projects/{project_id}/pipeline_frontend_apps_configs
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| limit | query | optional | integer | Number of results to return per page. |
| offset | query | optional | integer | The initial index from which to return the results. |
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
GET /api/projects/{project_id}/pipeline_frontend_apps_configs
/api/projects/{project_id}/pipeline_frontend_apps_configs
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| project_id | path | required | string | Project ID of the project you’re trying to access. To find the ID of the project, make a call to /api/projects/. |
application/json
PluginConfig
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | optional |
| error | string | required |
| order | integer | required |
| config | string | required |
| plugin | integer | required |
| deleted | boolean | optional |
| enabled | boolean | optional |
| team_id | integer | required |
| created_at | string | required |
| updated_at | string | required |
| description | string | optional |
| plugin_info | string | required |
| delivery_rate_24h | string | required |
multipart/form-data
PluginConfig
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | optional |
| error | string | required |
| order | integer | required |
| config | string | required |
| plugin | integer | required |
| deleted | boolean | optional |
| enabled | boolean | optional |
| team_id | integer | required |
| created_at | string | required |
| updated_at | string | required |
| description | string | optional |
| plugin_info | string | required |
| delivery_rate_24h | string | required |
application/x-www-form-urlencoded
PluginConfig
| Property | Type | Required |
|---|---|---|
| id | integer | required |
| name | string | optional |
| error | string | required |
| order | integer | required |
| config | string | required |
| plugin | integer | required |
| deleted | boolean | optional |
| enabled | boolean | optional |
| team_id | integer | required |
| created_at | string | required |
| updated_at | string | required |
| description | string | optional |
| plugin_info | string | required |
| delivery_rate_24h | string | required |
POST /api/projects/{project_id}/pipeline_frontend_apps_configs