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

Documentation Index

Fetch the complete documentation index at: https://onecli.sh/docs/llms.txt

Use this file to discover all available pages before exploring further.

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 connection instead of creating a new one

agent_name
string

Agent name to associate with the connection

Response

Redirect to OAuth provider