Skip to main content
GET
/
api
/
content
/
sources
/
oauth
/
authorize
Begin content-source OAuth flow
curl --request GET \
  --url https://api.tedro.io/api/content/sources/oauth/authorize \
  --header 'x-workspace-id: <api-key>' \
  --cookie better-auth.session_token=
{
  "authorizationUrl": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.tedro.io/llms.txt

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

Authorizations

better-auth.session_token
string
cookie
required

Session cookie set by Better Auth on sign-in.

x-workspace-id
string
header
required

Workspace UUID. Required on all /api/* endpoints.

Query Parameters

provider
enum<string>
required

Content-source OAuth provider

Available options:
notion,
google_content

Response

Authorization URL

authorizationUrl
string<uri>
required