Skip to main content
GET
Start an OAuth connect

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Path Parameters

provider
string
required

App provider identifier (for example gmail, github, jira).

Query Parameters

_token
string

The bearer token, for browser navigations that cannot send Authorization.

_workspace
string

The workspace id, for browser navigations that cannot send X-Workspace-Id.

_org
string

Connect at the organization level (admin only). Prefer GET /org/apps/{provider}/authorize.

connectionId
string

Re-authenticate this connection.

agent_name
string

Carried through to the success redirect for the CLI's post-connect flow.

Response

Redirect to the provider's consent screen