Integrations
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
GET | |
GET | |
GET | |
GET | |
GET | |
GET | |
GET | |
GET | |
POST | |
GET | |
POST | |
POST | |
POST | |
POST |
Retrieve integrations github teams
Required API key scopes
integration:readPath parameters
- idinteger
Query parameters
- limitintegerDefault:
100 - offsetintegerDefault:
0 - searchstringDefault:
Response
Example request
GET /api /projects /:project_id /integrations /:id /github_teamsExample response
Status 200
Retrieve integrations google accessible accounts
Path parameters
- idinteger
Example request
GET /api /projects /:project_id /integrations /:id /google_accessible_accountsExample response
Status 200 No response body
Retrieve integrations google conversion actions
Path parameters
- idinteger
Example request
GET /api /projects /:project_id /integrations /:id /google_conversion_actionsExample response
Status 200 No response body
Retrieve integrations jira projects
Required API key scopes
integration:readPath parameters
- idinteger
Response
Example request
GET /api /projects /:project_id /integrations /:id /jira_projectsExample response
Status 200
Retrieve integrations linear teams
Required API key scopes
integration:readPath parameters
- idinteger
Response
Example request
GET /api /projects /:project_id /integrations /:id /linear_teamsExample response
Status 200
Retrieve integrations linkedin ads accounts
Path parameters
- idinteger
Example request
GET /api /projects /:project_id /integrations /:id /linkedin_ads_accountsExample response
Status 200 No response body
Retrieve integrations linkedin ads conversion rules
Path parameters
- idinteger
Example request
GET /api /projects /:project_id /integrations /:id /linkedin_ads_conversion_rulesExample response
Status 200 No response body
Retrieve integrations twilio phone numbers
Path parameters
- idinteger
Example request
GET /api /projects /:project_id /integrations /:id /twilio_phone_numbersExample response
Status 200 No response body
Retrieve integrations authorize
Example request
GET /api /projects /:project_id /integrations /authorizeExample response
Status 200 No response body
Create integrations domain connect apply url
Unified endpoint for generating Domain Connect apply URLs.
Accepts a context ("email" or "proxy") and the relevant resource ID. The backend resolves the domain, template variables, and service ID based on context, then builds the signed apply URL.
Request parameters
- kind
- config
Example request
POST /api /projects /:project_id /integrations /domain-connect /apply-urlExample response
Status 200 No response body
Retrieve integrations domain connect check
Example request
GET /api /projects /:project_id /integrations /domain-connect /checkExample response
Status 200 No response body
Create integrations github link existing
Reuse a GitHub installation already linked to a sibling team in the same organization.
Required API key scopes
integration:writeRequest parameters
- source_team_idintegernull
- installation_idstring
Response
Example request
POST /api /projects /:project_id /integrations /github /link_existingExample response
Status 200
Create integrations github oauth authorize
Mint a User OAuth URL to bootstrap a fresh code when the install flow returns without one.
Required API key scopes
integration:writeRequest parameters
- installation_idstring
- nextstring
- connect_from
Response
Example request
POST /api /projects /:project_id /integrations /github /oauth_authorizeExample response
Status 200
Create integrations github prepare callback
Seed GitHub setup callback state without redirecting to GitHub.
Used when the user opens an existing installation's settings on github.com (e.g. PostHog Code "Update in GitHub") so the subsequent Setup URL redirect can be validated.
Required API key scopes
integration:writeRequest parameters
- nextstring
- installation_idstring
Example request
POST /api /projects /:project_id /integrations /github /prepare_callbackExample response
Status 204 No response body
Create integrations request access
Notify project admins that a member is requesting an integration be connected.
Required API key scopes
integration:writeRequest parameters
- kind
- reasonstring
Response
Example request
POST /api /projects /:project_id /integrations /request_access