Connections
Start Native OAuth
Start an OAuth-based connection with a native provider (Gmail, Google Sheets, Outlook, etc.). Returns an authorization URL that must be opened in a browser by a human end-user; once they grant consent, Duvo creates the matching connection and redirects the browser to the optional return_url (or the Duvo dashboard if none is provided). Poll /v2/teams/:team_id/connections to detect the new connection.
post/v2/teams/{teamId}/connections/oauth/native/{provider}/start
Request
- Base URLhttps://api.duvo.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
providerstring required
OAuth provider slug (e.g. 'google', 'gmail', 'googlesheets', 'outlook'). Must match a configured native OAuth provider.
teamIdstring required
Request body
Response
Default Response
Changes
No recorded changes to this operation across all 1 revision of this API.