Generate URL
Get Oauth2 URL
/v2/gen-ai/oauth2/url
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
Query Parameters
redirect_url: optional string
The redirect url.
type: optional string
Type "google" / "dropbox".
Returns
url: optional string
The oauth2 url
Get Oauth2 URL
curl https://api.digitalocean.com/v2/gen-ai/oauth2/url \
-H "Authorization: Bearer $DIGITALOCEAN_ACCESS_TOKEN"
{
"url": "example string"
}Returns Examples
{
"url": "example string"
}