integrations

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.

post/api/projects/{project_id}/integrations/domain-connect/apply-url/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/integrations/domain-connect/apply-url/
  • Auth: none declared

Path parameters

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/.

Request body

idinteger required
kind'anthropic' | 'apple-ads' | 'apns' | 'aws-redshift' | 'aws-s3' | 'azure-blob' | 'bing-ads' | 'clickup' | 'customerio-app' | 'customerio-track' | 'customerio-webhook' | 'databricks' | 'email' | 'firebase' | 'github' | 'gitlab' | 'google-ads' | 'google-analytics' | 'google-calendar' | 'google-cloud-service-account' | 'google-cloud-storage' | 'google-pubsub' | 'google-search-console' | 'google-sheets' | 'helpscout' | 'hubspot' | 'instagram' | 'intercom' | 'jira' | 'linear' | 'linkedin-ads' | 'meta-ads' | 'pardot' | 'pinterest-ads' | 'postgresql' | 'posthog' | 'reddit-ads' | 'twitter-ads' | 'resend' | 's3-compatible' | 'salesforce' | 'slack' | 'slack-posthog-code' | 'snapchat' | 'snowflake' | 'stripe' | 'tiktok-ads' | 'twilio' | 'vercel' | 'youtube-analytics' required
  • anthropic - Anthropic
  • apple-ads - Apple Ads
  • apns - Apple Push
  • aws-redshift - Aws Redshift
  • aws-s3 - Aws S3
  • azure-blob - Azure Blob
  • bing-ads - Bing Ads
  • clickup - Clickup
  • customerio-app - Customerio App
  • customerio-track - Customerio Track
  • customerio-webhook - Customerio Webhook
  • databricks - Databricks
  • email - Email
  • firebase - Firebase
  • github - Github
  • gitlab - Gitlab
  • google-ads - Google Ads
  • google-analytics - Google Analytics
  • google-calendar - Google Calendar
  • google-cloud-service-account - Google Cloud Service Account
  • google-cloud-storage - Google Cloud Storage
  • google-pubsub - Google Pubsub
  • google-search-console - Google Search Console
  • google-sheets - Google Sheets
  • helpscout - Helpscout
  • hubspot - Hubspot
  • instagram - Instagram
  • intercom - Intercom
  • jira - Jira
  • linear - Linear
  • linkedin-ads - Linkedin Ads
  • meta-ads - Meta Ads
  • pardot - Pardot
  • pinterest-ads - Pinterest Ads
  • postgresql - Postgresql
  • posthog - Posthog
  • reddit-ads - Reddit Ads
  • twitter-ads - Twitter Ads
  • resend - Resend
  • s3-compatible - S3 Compatible
  • salesforce - Salesforce
  • slack - Slack
  • slack-posthog-code - Slack Posthog Code
  • snapchat - Snapchat
  • snowflake - Snowflake
  • stripe - Stripe
  • tiktok-ads - Tiktok Ads
  • twilio - Twilio
  • vercel - Vercel
  • youtube-analytics - Youtube Analytics
configunknown
created_atstring date-time required
errorsstring required
display_namestring required
files_write_requestableboolean required

Slack only: whether reconnecting can request the files:write scope.

installation_sharedboolean nullable required

GitHub only, null otherwise. Whether another project's GitHub integration references the same App installation. When false, disconnecting this integration also uninstalls the GitHub App from the connected account or organization and removes personal GitHub connections that share it.

Response

No response body

Changes

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