Export data source records by applying specific filters. This endpoint supports exporting various data types defined in your organization with customizable field selection.
Export Modes:
background=false): Returns file immediately. Best for datasets < 10,000 recordsbackground=true): Queued for processing. Monitor via GET /tasks/export-log. Best for large datasetsSupported Formats:
xlsx: Excel format (recommended for most use cases)json: JSON format (for programmatic processing)Important Notes:
fields parameter to select specific columns for exportdataTypeId to export specific data type recordsUse a valid Bearer token to authenticate.
File type that user want to download. There are 2 types of download:
enum: json,xlsx
Example: xlsx
json, xlsx If the user sets the background parameter to true, the export process will utilize background processing, and the results will be available at GET /tasks/export-log API. If the user sets the background parameter to false, the export process will run directly, and the results will be immediately available in the response.
Example: true.
Default: false
Fields is for selecting the specific fields that you can choose by multiples to show in the response using a string with a comma delimiter.
Example: dataId,name,address
The identifier for the hub that generated by system. Use GET /hubs API to get the list of Hub IDs.
Example: 63c63ab1b6972d3150348172
The identifier for the dataType that generated by system. Use GET /data-types API to get the list of dataType IDs.
Example: 6422816ef6710f053056d812
Pagination of data result list.
Example: 2.
Default: 1
Limit of data result list.
Example: 10.
Default: 30
sortBy is used to sort the result-set in ascending or descending order according to selected field. The value of this param is one of available fields on data source objects.
Example: name, address, hubId, etc.
Default: createdTime
sortOrder is to decide ascending or descending order
Example: asc or desc.
Default: desc
asc, desc Success - Export completed or queued
Status of response.
Message of API response.
Total number of data source records successfully exported.
ID of the last data source record that was successfully exported.
Name of the last field that was successfully exported.
Export file information.