Posthog
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
POST | |
GET |
Create posthog connections forward
Replay an API request against the connected PostHog project. The server injects the connection's token; the response is passed through.
Required API key scopes
integration:writePath parameters
- idstring
Request parameters
- method
- pathstring
- queryobject
- data
Response
Example request
POST /api /projects /:project_id /posthog_connections /:id /forwardExample response
Status 200
RESPONSE
Retrieve posthog connections target
Resolve which project, organization and region a PostHog connection points at, so callers can build target API paths without reading api/users/@me/ through the connection first.
Required API key scopes
integration:readPath parameters
- idstring
Response
Example request
GET /api /projects /:project_id /posthog_connections /:id /targetExample response
Status 200
RESPONSE
Status 502
RESPONSE