How do I connect a REST API source?
Overview
The REST API connector letsLets you pull data from any external system that exposeswith a REST API —(ERP, ERPs,CRM, CRMs,HRMS, HRMSIoT). platforms, IoT feeds, or any web service that returns JSON, CSV, XML, or NDJSON responses. Unlike a one-time file upload, an API connection can syncSyncs automatically on a schedule, so— your dashboards always reflect the latest data withoutno manual re-uploads.
Vantageneeded. connects to the API usingUses a Connection → Dataset → Run model. You set up the connection once (base URL, credentials), then definemodel: one connection, multiple datasets, each sync tracked as a run.
When to Use
Use this feature when:
- You want live data from a CRM, ERP, HRMS, or
moreIoTdatasetsplatform - You need dashboards to update automatically on a schedule
- The API supports incremental updates (
eachcursoraor date filter) - You want to combine external data with Converse forms
Concepts
- Connection – Saved link to an external API with base URL and encrypted credentials
- Dataset – A specific API endpoint with its own schedule, pagination, and
column mapping). Each sync creates a run record so you can track history, spot failures, and retry if needed.When to UseSet up a REST API connection when you need to:Pull live data from an external system— Your data lives in a CRM, ERP, HRMS, or IoT platform that provides a REST API, and you want it in Vantage without exporting files.mappingKeep dashboards up to date automatically— The data changes frequently (daily, hourly) and you need Vantage to sync on a schedule rather than relying on manual uploads.Bring in incremental updates— The API supports a cursor or date-based filter, so each sync pulls only new or changed records instead of re-downloading everything.Combine external data with internal forms— You want to join API-sourced data with Converse form submissions or other Vantage sources using relationships.
ConceptsConnection– A saved link to an external API, storing the base URL and encrypted credentials (API key, token, or basic auth). One connection can have multiple datasets.Dataset– A specific API endpoint within a connection. Each dataset has its own URL path, request parameters, sync schedule, pagination settings, and column mapping. Each dataset becomes a separate data source in Vantage.Run – A single
executionsyncofexecution;atrackeddatasetassync. Vantage records the status of every run (running, success, partial, orfailed)failed - Sync Schedule – How often a dataset
pullssyncsfresh data. You can set an— interval in minutes(minimum 5 minutes)or a cron expression - Cursor –
A high-High-water mark that tracks the lastsuccessfullysyncedrecord.recordOnforeach sync, Vantage sends the cursor value to the API so it returns only new or changed records. The cursor advances only on a successfulincremental sync - Date Tokens – Placeholders like {today}
, {yesterday}, {today-7d},or {month_start}yesterday}that you can use in request parameters. Vantage resolves them to actual datesresolved at synctime,time - Pagination –
The methodHow Vantageuses to walk throughwalks multi-page APIresponses.responsesSupported styles include page number,(page, offset, cursor, linkheaderheader) - Import Strategy –
HowAppend, Replace, or Upsert — how new data is written into thedatasource - Auto-Disable –
AfterDataset disables itself after 5 consecutive failedsyncs,syncs
Set Up Guide
Open Vantage from the Vantage Dashboard widget on the Home Page.
OpenGothe Data Sources screen— In the Vantage sidebar, clickto Data Sources.Start a new API connection—Click + Add Sourceand→ select API Connectionas the connector type. The API connection setup wizard opens.- Enter the base URL
— Type the base URL of the external API (e.g., https://api.example.com/v1). This is the root address that all datasets in this connection will share. - Add credentials
— Enter the authentication details the API requires —(API key,bearertoken, or basicauth (username and password). Credentials are encrypted and stored securely. You will not be able to view them again after saving, only update them.auth) Save the connection—Click Save.Theto create the connectionis now created and ready for datasets.Add a dataset—Click + Add Datasetwithin→the connection. Enterenter the endpoint path(e.g., /sales/daily), request method (GET or POST),andany queryparametersor request body. Use date tokens like {today} or {yesterday} in parameters if the API supports date filtering.- Configure pagination
— Select the pagination style the API uses (page number, offset, cursor, link header, or none). Set the page size if applicable. - Set the sync schedule
— Choose how often this dataset should sync — an(intervalin minutesoracron)cron expression. Select yourand timezone. You can also leave it on manual-only and click Run Now whenever you want to sync.zone - Choose the import strategy
— Select(Append, Replace, orUpsert. If using Upsert, specify the key field that identifies each record.Upsert) - Review the column mapping
- Click Save —
Afterthe first syncruns, Vantage detects the columns and data types from the API response. Review and adjust as needed. Save the dataset— ClickSave. The first syncrunsautomatically, and the data source is ready for use in dashboards.automatically
Best Practices
- Use a cursor or date token for incremental sync
- Match the sync schedule to
matchhow often thesourcedata actually changes - Test with
aRun Now before enabling a schedule - Use Replace for full-snapshot
APIs andAPIs, Upsert forAPIs that returnchanged-records-onlychangedAPIs - Keep
the base URL andcredentials at the connection level—soifrotationthe API key rotates, you update it once andupdates all datasets - Monitor
theSync Failurespage regularly—after5 consecutive failures auto-disables the dataset - Enable pagination
and setwith a reasonable page sizetoforavoidlargetimeouts.responses
Related Links / FAQs
- How do I connect an Excel or CSV file as a data source?
- How do I connect internal Converse forms as a data source?
- How do I view and edit data in a source?
- How do I create a relationship between data sources?
FAQs
What response formats doesare the API connector support? supported?
JSON, NDJSON (newline-delimited JSON),NDJSON, XML, CSV, and TSV. Vantage can also auto-detect the format from the Content-Type header.
Can I connect to an API that requires OAuth? TheOnly connectorvia supportsa APItoken key,— bearer token, and basic auth.browser-redirect OAuth flows thataren't require a browser redirect are not supported directly — use a token from your OAuth provider.supported.
What happens if a sync fails?
The run is recorded asmarked failed and the cursor isdoesn't notadvance; advanced, so no data is skipped. Afterafter 5 consecutive failures the dataset is automatically disabled. You can fix the issue, re-enable the dataset, and retry.auto-disables.
Can I have multiple datasets on one connection? Yes.Yes Each— datasetthey pointsshare tothe abase different endpointURL and credentials but each has its own schedule, pagination,schedule and import strategy, but they all share the same base URL and credentials.settings.
What are date tokens?
Placeholders like {today}, {yesterday}, {today-7d},or {month_start} that resolve to real dates at sync time. Use them in query parameters so each sync automatically fetches the correct time window.
Version Notes
Last Updated: Oct 2026