PostHog
List PostHog Surveys
List PostHog Surveys.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| identifieraccount · required | account | required | — |
| project_idstring · required | string | required | Project ID returned by List PostHog Projects. Uses only the selected connected account. |
| cursorstring · optional | string | optional | Pass next_cursor from the previous page unchanged; omit for the first page. |
| limitnumber · optional | number | optional | Results per page, from 1 to 100; defaults to 50. Default: |
| searchstring · optional | string | optional | PostHog search. |
| archivedboolean · optional | boolean | optional | PostHog archived. |
Response schema
{
"type": "object",
"required": [
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"archived": {
"type": "boolean"
},
"end_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"schedule": {
"type": "string"
},
"questions": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"appearance": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"conditions": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"created_at": {
"type": "string"
},
"start_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"type": "string"
},
"base_language": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"linked_flag_id": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"iteration_count": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"responses_limit": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"current_iteration": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"linked_insight_id": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"targeting_flag_id": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"user_access_level": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"enable_iframe_embedding": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"enable_partial_responses": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"iteration_frequency_days": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"current_iteration_start_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
},
"next_cursor": {
"type": "string"
}
},
"additionalProperties": false
}