posthog_connections

Read the connected project's identity

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.

get/api/projects/{project_id}/posthog_connections/{id}/target/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/posthog_connections/{id}/target/
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

idstring required
project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Response

project_idinteger required

Project id to use in target API paths. It is the connected project's id, not this one's.

project_namestring required

Name of the connected project.

organization_idstring required

Id of the organization the connected project belongs to.

organization_namestring required

Name of the organization the connected project belongs to.

regionstring required

Cloud region the connected project lives in, e.g. US or EU.

base_urlstring required

Base URL requests through this connection are sent to.

Changes

No recorded changes to this operation across all 1 revision of this API.