Auth Structure
Get OAuth URL
Get the OAuth authorization URL for an app.
GET
Build the OAuth authorization URL for an app and linked account. Redirect the user to the returned
auth_url to start the consent flow; after they approve, Refold completes the token exchange and attaches the integration to the linked account.
The app must be an OAuth2 app. Some integrations require per-app prerequisite values supplied as query parameters — these vary by app.
Authentication
Your Refold API key. Find it in Settings → Credentials.
The linked account the connection will be attached to.
Path Parameters
The OAuth2 app slug.Example:
hubspotResponse
- 200 OK
The OAuth authorization URL. Redirect the user here to begin the consent flow.