Skip to main content
POST

Authorizations

Authorization
string
header
required

API key starting with sk_case_

Body

application/json
provider
enum<string>
required
Available options:
gdrive
return_url
string
required

HTTPS URL the user is sent back to after consent.

scope_tier
enum<string>

Optional provider scope tier. Omit for the least-privilege default. drive grants full read/write access for exact mirroring and is available only where the restricted-scope rollout is enabled.

Available options:
drive.file,
drive

Response

Pending connection created

connection_id
string
connect_url
string
expires_at
string