Add a user to a multi-user OAuth source connector
POST/org/:organizationId/connectors/sources/:sourceConnectorId/users
⚠️ SDK Recommended: We strongly recommend using the Vectorize Connect SDK which handles OAuth flows and token management for you.
This endpoint adds a user to a multi-user OAuth connector (types ending with '_OAUTH_MULTI' or '_OAUTH_MULTI_CUSTOM').
Direct API usage is only recommended if:
- Your programming language doesn't have SDK support (e.g., PHP, Ruby)
- You have existing OAuth infrastructure
- You need custom OAuth flow control
Requirements:
- Valid OAuth tokens from the provider's OAuth flow
- For Dropbox/Google Drive: Refresh token from OAuth callback
- For Notion: Access token from OAuth callback
- The selectedFiles object from the OAuth callback response
Note: The userId should be YOUR application's user identifier, not the provider's user ID.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
User successfully added to the source connector
Invalid request
Unauthorized
Forbidden
Not found
Internal server error