pydo.genai.create_oauth2_dropbox_tokens()
Generated on 8 May 2026
from pydo version
v0.34.0
Usage
client.genai.create_oauth2_dropbox_tokens(
body={
"code": "example string",
"redirect_url": "example string",
},
)Description
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’
Parameters
codestring optionalExample:
example stringThe oauth2 code from google
redirect_urlstring optionalExample:
example stringRedirect url
Request Sample
Response Example
More Information
See /v2/gen-ai/oauth2/dropbox/tokens in the API reference for additional detail on responses, headers, parameters, and more.