Skip to main content
GET
Redirect the user’s browser to this URL to start connecting an account. BundleUp validates the parameters, then sends the user to the provider’s consent screen. When the flow finishes, the user is redirected to your redirect_uri. This is a browser URL, not an API call: don’t send your API key, and don’t call it from your backend. See Connecting user accounts for the full flow.

Query parameters

string
required
Your workspace’s client ID, from Auth in the dashboard.
string
required
The identifier of the integration to connect, for example github.
string
required
Where to send the user when the flow ends. Must exactly match a redirect URI registered under Auth.
string
Your own reference for this connection, usually your user ID. Returned when you exchange the code, and included in webhooks.
string
Any value. Returned unchanged on the redirect to redirect_uri, on success and on error. Use a random value per flow to prevent CSRF.

Result

The user has 10 minutes to complete the flow. Then BundleUp redirects to redirect_uri with:
string
On success. A one-time code to exchange for the connection ID. Expires after 5 minutes. Single use.
string
On failure. The provider’s error code (such as access_denied), or invalid_request (the provider returned no code) or token_error (the provider’s token exchange failed).
string
On failure. A human-readable description.
string
Your state, if you sent one.
If client_id, integration_id or redirect_uri is missing or invalid, BundleUp shows an error page and doesn’t redirect.