PostHog
Get PostHog Survey
Get PostHog Survey.
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. |
| idstring · required | string | required | PostHog id from the matching lookup in this project. |
Response schema
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"archived": {
"type": "boolean"
},
"end_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"schedule": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"questions": {
"anyOf": [
{
"type": "array",
"items": {}
},
{
"type": "null"
}
]
},
"appearance": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"conditions": {
"anyOf": [
{
"type": "object",
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"created_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"created_by": {
"anyOf": [
{
"type": "object",
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"start_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"description": {
"type": "string"
},
"linked_flag": {
"anyOf": [
{
"type": "object",
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"form_content": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"translations": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"base_language": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"linked_flag_id": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"targeting_flag": {
"anyOf": [
{
"type": "object",
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"iteration_count": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"responses_limit": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"current_iteration": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"feature_flag_keys": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": {}
}
},
{
"type": "null"
}
]
},
"linked_insight_id": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"user_access_level": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"iteration_start_dates": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
},
"enable_iframe_embedding": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"internal_targeting_flag": {
"anyOf": [
{
"type": "object",
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"response_sampling_limit": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"enable_partial_responses": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"iteration_frequency_days": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"response_sampling_interval": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"current_iteration_start_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"response_sampling_start_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"response_sampling_daily_limits": {
"anyOf": [
{},
{
"type": "null"
}
]
},
"response_sampling_interval_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": true
}