Persons-5
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
POST | |
GET | |
POST | |
GET | |
GET | |
POST | |
GET | |
GET |
Create persons funnel
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Query parameters
- formatstringOne of:
"csv""json"
Request parameters
- properties
Example request
POST /api /projects /:project_id /persons /funnelExample response
Status 200 No response body
Create persons funnel
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Query parameters
- formatstringOne of:
"csv""json"
Request parameters
- properties
Example request
POST /api /projects /:project_id /persons /funnelExample response
Status 200 No response body
Retrieve persons funnel correlation
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Query parameters
- formatstringOne of:
"csv""json"
Example request
GET /api /projects /:project_id /persons /funnel /correlationExample response
Status 200 No response body
Retrieve persons funnel correlation
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Query parameters
- formatstringOne of:
"csv""json"
Example request
GET /api /projects /:project_id /persons /funnel /correlationExample response
Status 200 No response body
Create persons funnel correlation
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Query parameters
- formatstringOne of:
"csv""json"
Request parameters
- properties
Example request
POST /api /projects /:project_id /persons /funnel /correlationExample response
Status 200 No response body
Create persons funnel correlation
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Query parameters
- formatstringOne of:
"csv""json"
Request parameters
- properties
Example request
POST /api /projects /:project_id /persons /funnel /correlationExample response
Status 200 No response body
Retrieve persons lifecycle
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Query parameters
- formatstringOne of:
"csv""json"
Example request
GET /api /projects /:project_id /persons /lifecycleExample response
Status 200 No response body
Retrieve persons lifecycle
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Query parameters
- formatstringOne of:
"csv""json"
Example request
GET /api /projects /:project_id /persons /lifecycleExample response
Status 200 No response body
Retrieve persons properties at time
Get person properties as they existed at a specific point in time.
This endpoint reconstructs person properties by querying ClickHouse events for $set and $set_once operations up to the specified timestamp.
Query parameters:
- distinct_id: The distinct_id of the person
- timestamp: ISO datetime string for the point in time (e.g., "2023-06-15T14:30:00Z")
- include_set_once: Whether to handle $set_once operations (default: false)
Required API key scopes
person:readQuery parameters
- distinct_idstring
- formatstringOne of:
"csv""json" - include_set_onceboolean
- person_idstring
- timestampstring
Response
Example request
GET /api /projects /:project_id /persons /properties_at_timeExample response
Status 200
Status 400
Status 404
Status 500
Retrieve persons properties at time
Get person properties as they existed at a specific point in time.
This endpoint reconstructs person properties by querying ClickHouse events for $set and $set_once operations up to the specified timestamp.
Query parameters:
- distinct_id: The distinct_id of the person
- timestamp: ISO datetime string for the point in time (e.g., "2023-06-15T14:30:00Z")
- include_set_once: Whether to handle $set_once operations (default: false)
Required API key scopes
person:readQuery parameters
- distinct_idstring
- formatstringOne of:
"csv""json" - include_set_onceboolean
- person_idstring
- timestampstring
Response
Example request
GET /api /projects /:project_id /persons /properties_at_timeExample response
Status 200
Status 400
Status 404
Status 500
Create persons reset person distinct id
Reset a distinct_id for a deleted person. This allows the distinct_id to be used again.
Required API key scopes
person:writeQuery parameters
- formatstringOne of:
"csv""json"
Request parameters
- properties
Example request
POST /api /projects /:project_id /persons /reset_person_distinct_idExample response
Status 200 No response body
Create persons reset person distinct id
Reset a distinct_id for a deleted person. This allows the distinct_id to be used again.
Required API key scopes
person:writeQuery parameters
- formatstringOne of:
"csv""json"
Request parameters
- properties
Example request
POST /api /projects /:project_id /persons /reset_person_distinct_idExample response
Status 200 No response body
Retrieve persons trends
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Query parameters
- formatstringOne of:
"csv""json"
Example request
GET /api /projects /:project_id /persons /trendsExample response
Status 200 No response body
Retrieve persons trends
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Query parameters
- formatstringOne of:
"csv""json"
Example request
GET /api /projects /:project_id /persons /trendsExample response
Status 200 No response body
Retrieve persons values
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Required API key scopes
person:readQuery parameters
- formatstringOne of:
"csv""json" - keystring
- valuestring
Example request
GET /api /projects /:project_id /persons /valuesExample response
Status 200 No response body
Retrieve persons values
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Required API key scopes
person:readQuery parameters
- formatstringOne of:
"csv""json" - keystring
- valuestring
Example request
GET /api /projects /:project_id /persons /values