PostHog
Create PostHog Annotation
Create PostHog Annotation.
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. |
| contentstring · required | string | required | PostHog content. |
| date_markerstring · optional | string | optional | PostHog date marker. |
| creation_typestring · optional | string | optional | PostHog creation type. |
| dashboard_itemnumber · optional | number | optional | PostHog dashboard item; null clears this value. |
| dashboard_idnumber · optional | number | optional | PostHog dashboard id from the matching lookup in this project. |
| scopestring · optional | string | optional | PostHog scope. |
Response schema
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "number"
},
"scope": {
"type": "string"
},
"content": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"deleted": {
"type": "boolean"
},
"created_at": {
"type": "string"
},
"updated_at": {
"type": "string"
},
"date_marker": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"dashboard_id": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"insight_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"creation_type": {
"type": "string"
},
"dashboard_item": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"dashboard_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"insight_short_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"insight_derived_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}