Skip to main content
GET
/
org
/
apps
/
{provider}
/
authorize
Start organization OAuth flow
curl --request GET \
  --url https://api.onecli.sh/v1/org/apps/{provider}/authorize \
  --header 'Authorization: Bearer <token>'
{
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

API key obtained from the dashboard or GET /user/api-key

Path Parameters

provider
string
required

App provider identifier (e.g., gmail, github, jira)

Query Parameters

connectionId
string

Reconnect an existing organization connection instead of creating a new one

org
string

Target organization ID when the caller belongs to several organizations. Defaults to the organization derived from the credentials.

Response

Redirect to OAuth provider