Integrations
Complete OAuth connection
Exchanges an OAuth authorization code to complete an integration connection.
Flow:
- Call GET /v1/users/:user_id/integrations/connect with provider to get an authUrl
- Redirect the user to the authUrl
- After user authorizes, they're redirected back with a code
- Call this POST endpoint with the code, provider, and state to complete the connection
Supported providers: gmail, slack, outlook, teams
Reconnection: Pass reconnect with an integration ID (int_xxx format) to reconnect an existing integration
post/v1/users/{user_id}/integrations/connect
Request
- Base URL: http://0.0.0.0:3000
- URL: http://0.0.0.0:3000/v1/users/{user_id}/integrations/connect
- Auth: none declared
Path parameters
user_idstring uuid required
Request body
Response
Default Response
Changes
No recorded changes to this operation across all 1 revision of this API.