Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Use a valid Bearer token to authenticate.

Body

multipart/form-data
file
file
required

The file containing data to import. Supported formats: CSV, XLS, XLSX. Maximum file size: 20MB. Example: datasource_import.xlsx

dataTypeId
string
required

The identifier for the data type. Required for datasource import type. Use GET /data-types API to get the list of Data Type IDs. Example: 63db2fb476bc679c540369c4

hubId
string

The identifier for the hub. Required if the data type has commonData set to false (hub-specific data). Use GET /hubs API to get the list of Hub IDs. Example: 63c63ab1b6972d3150348172

Response

Success - File uploaded and import process queued

status
boolean

Status of response.

message
string

Message of API response.

data
object

Import monitoring record created for this import.