PostHog
Get PostHog Event Definition
Get PostHog Event Definition.
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",
"name"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"owner": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"hidden": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"verified": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"action_id": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"is_action": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"created_at": {
"type": "string"
},
"created_by": {
"anyOf": [
{
"type": "object",
"required": [
"id",
"uuid",
"distinct_id",
"first_name",
"last_name",
"email",
"is_email_verified",
"hedgehog_config",
"role_at_organization"
],
"properties": {
"id": {
"type": "number"
},
"uuid": {
"type": "string"
},
"email": {
"type": "string"
},
"last_name": {
"type": "string"
},
"first_name": {
"type": "string"
},
"distinct_id": {
"type": "string"
},
"hedgehog_config": {
"type": "object",
"additionalProperties": {}
},
"is_email_verified": {
"type": "boolean"
},
"role_at_organization": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"updated_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"updated_by": {
"anyOf": [
{
"type": "object",
"required": [
"id",
"uuid",
"distinct_id",
"first_name",
"last_name",
"email",
"is_email_verified",
"hedgehog_config",
"role_at_organization"
],
"properties": {
"id": {
"type": "number"
},
"uuid": {
"type": "string"
},
"email": {
"type": "string"
},
"last_name": {
"type": "string"
},
"first_name": {
"type": "string"
},
"distinct_id": {
"type": "string"
},
"hedgehog_config": {
"type": "object",
"additionalProperties": {}
},
"is_email_verified": {
"type": "boolean"
},
"role_at_organization": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"verified_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"verified_by": {
"anyOf": [
{
"type": "object",
"required": [
"id",
"uuid",
"distinct_id",
"first_name",
"last_name",
"email",
"is_email_verified",
"hedgehog_config",
"role_at_organization"
],
"properties": {
"id": {
"type": "number"
},
"uuid": {
"type": "string"
},
"email": {
"type": "string"
},
"last_name": {
"type": "string"
},
"first_name": {
"type": "string"
},
"distinct_id": {
"type": "string"
},
"hedgehog_config": {
"type": "object",
"additionalProperties": {}
},
"is_email_verified": {
"type": "boolean"
},
"role_at_organization": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"last_seen_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"post_to_slack": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"is_calculating": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
},
"default_columns": {
"type": "array",
"items": {
"type": "string"
}
},
"last_updated_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"enforcement_mode": {
"type": "string"
},
"primary_property": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"last_calculated_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"media_preview_urls": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}