DigitalOcean-public.v2-new_GradientAI Platform
Get Oauth2 Dropbox Tokens
To obtain the refresh token, needed for creation of data sources, send a GET request to /v2/gen-ai/oauth2/dropbox/tokens. Pass the code you obtrained from the oauth flow in the field 'code'
post/v2/gen-ai/oauth2/dropbox/tokens
Request body
Example request
{
"code": "example string",
"redirect_url": "example string"
}Response
A successful response.
Example response
{
"refresh_token": "example string",
"token": "example string"
}