| Connection Type | Use When |
|---|---|
| Simple | API requires headers only (API keys, basic auth) |
| OAuth 2.0 | API uses token-based authentication with client credentials |
| Session | API uses cookie-based session authentication |
| Google/GCP | Connecting to Google Cloud Platform services |
Simple
Headers and query params only
OAuth 2.0
Token-based authentication
Session
Cookie-based sessions
Google/GCP
Service account auth
Simple
Basic connection type for APIs that authenticate via HTTP headers. Use this when the API requires a static API key, basic authentication, or any header-based credential that doesn’t expire or refresh.When to use
- APIs with static API keys
- Services using
Authorization: Basicheaders - Any API where credentials are passed directly in headers
Configuration
Simple connections require only the headers that the target API expects. No additional configuration is needed. Required fields:| Field | Description |
|---|---|
| Headers | Key-value pairs to include in every request |
| Query Params | Key-value pairs to include as URL query parameters |
OAuth 2.0
Connection type for APIs that use OAuth 2.0 authentication. RWS Integration requests an access token from the OAuth server and includes it in subsequent API calls.When to use
- Enterprise APIs (Salesforce, HubSpot, Microsoft)
- APIs requiring client credentials flow
- Services where tokens expire and need refresh
- Any API that issues Bearer tokens
Configuration
OAuth 2.0 connections require details about the token endpoint, how to extract the token from the response, and how the token should be sent in subsequent requests. Required fields:| Field | Description |
|---|---|
| Token Type | How the token is sent: Bearer (Authorization header) or Api Token (custom header) |
| Header Attribute Name | The header name used to send the token in subsequent requests. For Bearer type, this is automatically set to Authorization. For Api Token type, specify the custom header name (e.g., X-Auth-Token, Api-Key) |
| Method | HTTP method for the token request (typically POST) |
| Base URL | Base URL of the OAuth server |
| Path | Endpoint path for token requests (e.g., /oauth/token) |
| Token Path in Response | JSON path to extract the token from the response body |
Token Type and Header Attribute Name
The Token Type determines the format used when sending the token, while the Header Attribute Name specifies which header carries the token:| Token Type | Header Attribute Name | Request Header Sent |
|---|---|---|
Bearer | Authorization (automatic) | Authorization: Bearer {token} |
Api Token | Custom (e.g., X-Auth-Token) | X-Auth-Token: {token} |
Api Token | Custom (e.g., Api-Key) | Api-Key: {token} |
Session
Connection type for APIs that use session-based authentication via cookies. RWS Integration performs a login request, captures theSet-Cookie headers, and maintains the session for subsequent requests.
When to use
- Legacy systems with session-based authentication
- Internal APIs that require cookie authentication
- Web services with login flows
- Systems that don’t support modern token-based auth
Configuration
Session connections require the login endpoint details. RWS Integration automatically handles cookie capture and session management. Required fields:| Field | Description |
|---|---|
| Method | HTTP method for the login request (typically POST) |
| Base URL | Base URL of the authentication server |
| Path | Login endpoint path (e.g., /api/login) |
RWS Integration captures all
Set-Cookie headers from the login response and includes them automatically in all subsequent requests to the same base URL.Google/GCP
Connection type for Google Cloud Platform services. Uses service account authentication to access GCP APIs like Google Sheets, BigQuery, Cloud Storage, and others.When to use
- Google Sheets integration
- BigQuery data extraction or loading
- Google Drive file operations
- Cloud Storage (GCS) access
- Any GCP API service
Configuration
GCP connections require a service account with appropriate permissions and the OAuth scopes for the services you need to access. Required fields:| Field | Description |
|---|---|
| Google API Scopes | OAuth scopes required for the GCP services (one per line) |
| Google Service Account (JSON) | Full JSON key file content from your GCP service account |
Common scopes
| Service | Scope |
|---|---|
| Google Sheets (read/write) | https://www.googleapis.com/auth/spreadsheets |
| Google Sheets (read only) | https://www.googleapis.com/auth/spreadsheets.readonly |
| Google Drive | https://www.googleapis.com/auth/drive |
| BigQuery | https://www.googleapis.com/auth/bigquery |
| Cloud Storage | https://www.googleapis.com/auth/devstorage.read_write |
Permissions
Next steps
Pagination
Handle different API pagination patterns
Business Rules
Transform data with JavaScript