Skip to main content
POST
Create Oauth Link

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
mcp_instance_id
string<uuid>
required
access_control
string
default:workspace

Access control level: workspace | public

expires_in_days
integer | null

Optional link expiry in days

provider_config
Provider Config · object

OAuth provider config: provider, auth_url, token_url, client_id, scopes, …

Response

Successful Response

access_control
string
required
access_count
integer
required
created_at
string
required
expires_at
string | null
required
id
string<uuid>
required
is_active
boolean
required
last_accessed_at
string | null
required
mcp_instance_id
string<uuid>
required
token
string
required