dots.v2.genAi.oauth2.url.get()
Generated on 5 Nov 2026
from DoTs version
v1.23.0
Usage
client.v2.genAi.oauth2.url.get(requestConfiguration?: RequestConfiguration<UrlRequestBuilderGetQueryParameters>): Promise<undefined | ApiGenerateOauth2URLOutput>Description
To generate an Oauth2-URL for use with your localhost, send a GET request to /v2/gen-ai/oauth2/url. Pass ‘http://localhost:3000 as redirect_url
Parameters
typestring optionalExample:
"example string"Type "google" / "dropbox".
redirectUrlstring optionalExample:
"example string"The redirect url.
Request Sample
Response Example
More Information
See /v2/gen-ai/oauth2/url in the API reference for additional detail on responses, headers, parameters, and more.