Skip to main content
Using the Rest API source provides access to read data from HTTP endpoints such as Rest Web Services. Use the Rest API source component to define the authentication method, request parameters, and response fields to use in the package. For OAuth-protected APIs, use the Connection option with a Universal OAuth connection to handle token management automatically.
REST API source component in the pipeline designer

Authentication

  • None - No authentication
  • Basic - Use basic authentication (user and/or password).
  • Connection - Use a saved Integrate.io ETL connection to handle authentication automatically. When selected, a Choose connection dropdown appears with two types of connections:
    • Pre-built service connections – Ready-made connections for popular platforms, including: Google Analytics, Facebook Ads Insights, HubSpot (Service Token), HubSpot, Facebook Ads (Destination), Intercom, Xero, LinkedIn, Instagram, Google Sheets, Google Drive, YouTube, Shopify, Salesforce, Marketing Cloud (SOAP), and Marketing Cloud (REST).
      • Universal OAuth – A flexible connection for any OAuth-protected API not covered by the pre-built options. Supports three authentication methods: OAuth 2.0 (authorization code flow), Client Credentials (server-to-server), and Custom Auth (non-standard endpoints). See Allowing Integrate.io ETL access to any API with Universal OAuth to set one up.
      • Tip: If the API you want to connect to appears in the pre-built list, select it for the simplest setup experience. If your API is not listed, use the Universal OAuth connection to configure authentication manually.

Using a Universal OAuth Connection

When you select Connection as your authentication method:
  1. A Choose connection dropdown appears. Select an existing connection or create a new one.
  2. The component will automatically attach the correct authentication header (typically Authorization: Bearer {token}) to every outbound API request.
  3. If you configured a custom authentication header in your connection (e.g., X-Shopify-Access-Token for Shopify), that will be used instead, so no changes are needed in the Headers section.
  4. Tokens are refreshed automatically when possible, so long-running jobs won’t fail due to token expiry mid-execution.

Request and response

Request

  • method - The HTTP method. Select GET (default), POST, PATCH or PUT.
  • URL - Enter the URL of your source endpoint.
  • Headers - Optionally add request headers (names and values).
  • Body - Optionally add a request body string.

Pagination

Check Use pagination to have the source component make paginated requests. See here for list of supported API endpoints in addition to the standard link headers.
  • Pagination scheme - The method to paginate through response data (e.g. page number, offset+limit, cursor, link headers) and how to detect the final page.
    • Automatic (Default) - the source detects the pagination scheme to use by the URL host/path.
      • Jira - Use with hosted Jira installations.
      • Magento - Use with hosted Magento installations.
      • BigCommerce - Use with hosted BigCommerce installations.
      • Elasticsearch - Use with hosted Elasticsearch installations.
      • UMU Enterprise API - Used when the URL host is exactly eapi.umu.com, eapi.umu.co or eapi.test.umu.work. See UMU Enterprise API pagination.
      • Microsoft Graph group members - Used for group member lists on graph.microsoft.com. See Microsoft Graph group member pagination.
      • Link headers - the fallback option which will be used with the default automatic as well.
  • Sleep interval between paginated requests (ms) - use to throttle API requests to avoid rate limitations. Default is 0 (no sleep).
  • Maximum paginated requests - use to control the maximum number of pages for the source to go through. Default is unlimited, 0 or 1 means a single request will be made.

UMU Enterprise API pagination

With Automatic pagination, the source reads every page of a UMU Enterprise API list endpoint. It increments the page query parameter until it reaches the total record count that UMU reports, or until a page returns no records. Keep the page and size parameters in the URL. The source uses the page size that UMU returns in the response, so a size above the endpoint’s cap still reads every page.
  • The source waits at least 100 ms between page requests to stay within UMU’s rate limit of 100 requests per 10 seconds. A longer Sleep interval between paginated requests is kept.
  • UMU reports errors as a non-zero err_code in an HTTP 200 response. If any page returns a non-zero err_code, including the first page, the job fails.
  • UMU rejects a signature timestamp older than 1 minute. The package computes the timestamp and token once per job, so all page requests must finish within about 60 seconds. That is roughly 100 to 150 pages. Longer reads fail with an err_code of 200001. Use a larger size to reduce the number of pages.

Microsoft Graph group member pagination

With Automatic pagination, the source reads every page of a Microsoft Graph group member list. It follows the @odata.nextLink URL in each response until a response has no next link. This applies to these paths on graph.microsoft.com, under /v1.0 or /beta:
  • /groups/{id}/members
  • /groups/{id}/transitiveMembers
  • Either path cast to one member type, such as /groups/{id}/members/microsoft.graph.user
  • The source sends the headers you configure, such as ConsistencyLevel: eventual, with every page request.
  • Pagination stops if the next link repeats a URL already requested, or points to a different host. The source doesn’t send your authentication headers to another host.
  • Other Microsoft Graph endpoints, such as /users, and national cloud hosts still use link headers. Those requests read a single page.
  • This behavior applies to clusters created after the release. To keep reading only the first page, set Maximum paginated requests to 1.

Response

Select the response type to determine how to parse the response from the API endpoint.
  • Raw - returns 3 fields: status code (integer), body (string) and headers (map).
  • JSON - Response is processed using a JSONPath expression.
    You can use a custom JSONPath expression to extract nested objects and arrays or the presets for object and array. Using the object preset, the response fields are the keys of the JSON object. Using the array preset, the response fields are the keys of the JSON objects within the array and each object is returned as a record in the component’s output.
  • Line Delimited JSON - Response is a single JSON object per line. Note that the response as a whole is not a valid JSON. The response fields are the keys of the JSON objects and each object is processed as a record.
  • Line Delimited raw data - Response is broken to record per line. Useful when data contains records delimited by new line.

Extended JSON extraction

Setting this option to true enables extracting nested json fields into schema. As you can see on the screenshot below, each nested object property or array item can be selected directly in the schema section.
Extended JSON extraction showing nested fields in schema
Nested object properties selectable in the schema section
You can also modify key item directly in the schema in the case, where the nested attribute is missing in the list. The job will take that field for given record if it will be available. If not, then it will be set to null. For example, in the below screenshot, tags is an array of object. However, first item has empty tags, so it’s not available in the fields list. But you can modify Key manually to tags[*].name.
Manually editing a Key path for missing nested attributes
Field names that start with a number Some APIs key their JSON by number. For example, Gravity Forms returns each form field under its numeric field ID:
With Extended JSON extraction enabled, you can select and extract these fields like any other field. Keep the original JSON key (for example 44) in the Key column and set the field’s alias to a name that starts with a letter, such as first_name. The alias becomes the output field name. The same applies to any field name that does not start with a letter. Multiple output parses If you want to extract data from the REST API response for multiple components, then you can add new parse using + Add output parse button. It will add a new schema section. Each section/edge can be named differently.
Add output parse button for multiple output parses
Multiple output parse sections with different edge names
Schema fields configured for an additional output parse

Schema

After defining the request and the response, select the fields to use in the source.

Redirect handling

When the source follows an HTTP redirect, it compares each hop with the origin of the URL you configured. The origin is the scheme, host and port together. Redirects within the same origin send every header as usual. A same-host upgrade from http (port 80) to https (port 443) also counts as the same origin. When a redirect leaves the configured origin, the source follows it without these credential headers:
  • Authorization, Proxy-Authorization and Cookie.
  • Any header whose name contains auth, token, api-key (or apikey, api_key), secret, passw, session or credential, for example X-Api-Key or X-Shopify-Access-Token.
  • The header your connection adds to authenticate requests, whatever its name.
Other headers, such as Accept, Content-Type or X-Request-Id, are still sent. A header that carries a credential under a name that matches none of the rules above (for example Ocp-Apim-Subscription-Key entered in the component’s headers) is also still sent. If a later redirect returns to the configured origin, the credentials are sent there again. This lets you read endpoints that hand off to pre-signed URLs on another host. A common case is an API that returns a 302 to an S3 URL whose signature is already in the query string. If the credentials were forwarded, the second host would reject the request because two authentication mechanisms would arrive together. The source applies these limits to redirects:
  • A redirect from https to http on the same host fails when the request carries credentials, with the error Refusing to follow a redirect from https to http. Point the source at the final https URL instead. A downgrade to a different host is followed with the credentials removed.
  • A request follows at most 20 redirects. A longer chain fails with Maximum redirects (20) exceeded.
Each time credentials are removed, the job log shows a warning that starts with Redirect left the configured origin. It lists both origins and the names of the removed headers, never their values. If the API you call redirects to another host or port that still requires your credentials (for example, api.example.com to www.example.com), that request typically returns 401 or 403. Point the source directly at the final host. When a response has a non-2xx status, the source masks credentials in the response body before it appears in previews or job errors. The credential values the request sent, values after an Authorization or Proxy-Authorization key, and Basic or Bearer tokens are replaced with <REDACTED>. Bodies of 2xx responses are never changed.

Known Limitations

When using a $ sign in the call, it needs to be escaped with back slash - \ Please note - it will run successfully at runtime, but will fail with a preview of the API source component or component preview in the flow. Only one bag field can be flattened per parse. To flatten another BAG field, create a new parse.

API Ingestion Guide

Ingesting a Postman API Call

API Endpoints with Pagination

Universal OAuth

Last modified on December 1, 2026