Basic

Creates a FILE datasource

Uploads a file (csv, tsv, json, or xlsx) along with a column schema to create a new datasource. Uses multipart/form-data with a request JSON part (containing datasourceName, datasourceType: FILE, and config.file with column definitions) and a file binary part.

post/data-studio/data-source/2026-09

Request

  • Base URL
    https://api.hubapi.com
  • URL
    https://api.hubapi.com/data-studio/data-source/2026-09
  • Auth
    OAuth 2
    Authorization code: https://app.hubspot.com/oauth/authorize
    Token URL: https://api.hubapi.com/oauth/v1/token scopes: data_integration.data_source.file.write

Request body multipart/form-data

filestring binary
requeststring

Response

An error occurred.

Changes

No recorded changes to this operation across all 2 revisions of this API.