Skip to Content
APISources
API referenceAPIAvailable

Sources

Manage source imports that bring data from connected apps into Vendo.

Last reviewed July 13, 2026

Sources define how data is imported from a connected source app into Vendo.

List Sources

GET /api/v1/sources

Query Parameters

ParameterTypeDescription
limitintegerNumber of items to return
offsetintegerNumber of items to skip
sortstringSort by created_at, updated_at, or last_sync_at
statestringFilter by active, inactive, deleted
sync_typestringFilter by connector type such as shopify
app_idstringFilter by app ID
integration_statusstringFilter by current import lifecycle status

Example Response

{ "data": [ { "id": "src_123", "accountId": "acct_123", "appId": "app_123", "appName": "My Shopify Store", "syncType": "shopify", "importTasks": ["orders", "customers"], "syncFrequency": "24 hours", "syncAnchorTime": "02:00", "syncAnchorTimezone": "Australia/Sydney", "rollingPeriodDays": 2, "state": "active", "integrationStatus": "running", "lastSyncAt": "2026-04-02T00:00:00Z", "lastError": null, "consecutiveFailures": 0, "createdAt": "2026-04-01T00:00:00Z", "updatedAt": "2026-04-02T00:00:00Z" } ] }

Get Source Details

GET /api/v1/sources/{sourceId}

Detail responses include source app information, dataset/warehouse fields, onboarding state, and active job references such as latestJobId and activeImportJobId.

Create Source

POST /api/v1/sources

Request Body

FieldTypeRequiredDescription
appIdstringYesExisting source-role app connection
syncTypestringYesMust match the connected app type
importTasksstring[]NoTasks to import
syncFrequencyValueintegerNoSync frequency value
syncFrequencyUnitstringNohours or days
syncAnchorTimestringNoHH:MM
syncAnchorTimezonestringNoIANA timezone
rollingPeriodHoursintegerNoRolling sync window in hours
historicalSyncStartDatedatetimeNoBackfill start date
oneOffbooleanNoCreate a one-off sync
runNowbooleanNoDispatch immediately for one-off/onboarding flows
configobjectNoConnector-specific config

Example Request

curl -X POST \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "appId": "app_123", "syncType": "shopify", "importTasks": ["orders", "customers"], "syncFrequencyValue": 24, "syncFrequencyUnit": "hours", "syncAnchorTime": "02:00", "rollingPeriodHours": 48 }' \ https://app2.vendodata.com/api/v1/sources

Update Source

PATCH /api/v1/sources/{sourceId}

Supported updates:

  • importTasks
  • config
  • isActive

Setting isActive to false moves the source to an inactive/paused state.

Delete Source

DELETE /api/v1/sources/{sourceId}

Sources are soft-deleted.

Trigger a Sync

POST /api/v1/sources/{sourceId}/sync

Sync requests return a dispatched job payload when accepted.

Need help?

Include your workspace, integration or job ID, and the first error message when you contact support.

support@vendodata.com
Last updated on