integrations

Mint a User OAuth URL to bootstrap a fresh code when the install flow returns without one.

post/api/projects/{project_id}/integrations/github/oauth_authorize/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/integrations/github/oauth_authorize/
  • Auth: HTTP bearer

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

installation_idstring

GitHub installation ID to carry through the User OAuth flow.

nextstring

Relative URL to redirect to after the OAuth flow completes.

connect_from'posthog_code'
  • posthog_code - posthog_code

Response

oauth_urlstring required

GitHub User OAuth URL the client should redirect to.

Changes

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