Most integrations in RCB Automation use OAuth 2.0, which requires a user to authenticate through a browser. The
POST /integrations/connect endpoint handles both API-key integrations (fully programmable) and OAuth integrations (returns a redirect URL for the browser flow). See the connect endpoint for details.List integrations
Retrieve all integrations connected to your account.Query parameters
Filter by connection status. Accepted values:
connected, expired, disconnected.Filter by integration type (app name). For example:
google_sheets, slack, stripe, airtable.Response fields
Array of integration objects.
Pagination metadata.
Example
Response
Connect an integration
Initiate a new integration connection. The behavior of this endpoint differs depending on whether the target integration uses API-key authentication or OAuth 2.0.Body parameters
The integration type to connect. Examples:
google_sheets, slack, stripe, airtable, hubspot. See your dashboard’s Integrations catalog for the full list of supported types.Optional human-readable label for this connection. Useful when you have multiple connections to the same app (for example, “Stripe staging” and “Stripe production”). Defaults to the integration type name if not provided.
Required for API-key integrations. Pass the credentials needed to authenticate. For integrations that use API keys, provide:Omit this field for OAuth integrations — the authentication happens through the browser redirect flow.
Response: API-key integration
For integrations that use an API key (such asstripe), the endpoint validates the key and returns a connected integration object immediately:
Unique identifier for the new integration.
Integration type.
Display label for the integration.
Connection status. Returns
connected when the credentials are valid.ISO 8601 timestamp of the connection.
null for API-key integrations, which do not have token expiry.Response: OAuth integration
For integrations that use OAuth 2.0 (such asgoogle_sheets or slack), the endpoint returns a redirect URL. Direct the user’s browser to this URL to complete the authorization flow. After the user grants access, RCB Automation exchanges the authorization code for a token and marks the integration as connected.
The OAuth authorization URL. Open this URL in the user’s browser to start the OAuth flow.
The ID of the pending integration. You can poll
GET /integrations/{integration_id} to check when the status changes to connected.Examples
API key response (201 Created)
OAuth response (200 OK)
OAuth connection flow
For OAuth integrations, follow these steps to complete the connection:Initiate the connection
Send
POST /integrations/connect with the integration type and optional label. Do not include credentials.Redirect the user
Open the
redirect_url from the response in the user’s browser. The user logs in to the third-party app and grants RCB Automation the requested permissions.Wait for callback
After the user approves access, the third-party app redirects to RCB Automation’s callback URL. RCB Automation completes the token exchange automatically.