Zum Hauptinhalt springen
POST
/
cms
/
v3
/
hubdb
/
tables
/
{tableIdOrName}
/
draft
/
import
Daten in Entwurfstabelle importieren
curl --request POST \
  --url https://api.hubapi.com/cms/v3/hubdb/tables/{tableIdOrName}/draft/import \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'config=<string>' \
  --form file='@example-file'
{
  "duplicateRows": 123,
  "errors": [
    {
      "message": "Invalid input (details will vary based on the error)",
      "correlationId": "aeb5f871-7f07-4993-9211-075dc63e7cbf",
      "category": "VALIDATION_ERROR",
      "links": {
        "knowledge-base": "https://www.hubspot.com/products/service/knowledge-base"
      }
    }
  ],
  "rowLimitExceeded": true,
  "rowsImported": 123
}

Unterstützte Produkte

Erfordert eines der folgenden Produkte oder höher.
Marketing HubMarketing Hub -Professional
Sales HubSales Hub -Kostenlos
Service HubService Hub -Kostenlos
Content HubContent Hub -Professional

Autorisierungen

Authorization
string
header
erforderlich

The access token received from the authorization server in the OAuth 2.0 flow.

Pfadparameter

tableIdOrName
string
erforderlich

Die ID der Zieltabelle, in die die Daten importiert werden sollen.

Body

multipart/form-data
config
string
file
file

Antwort

successful operation

duplicateRows
integer<int32>
erforderlich

Gibt die Anzahl der doppelten Zeilen an

errors
object[]
erforderlich

Liste der Fehler während des Imports

rowLimitExceeded
boolean
erforderlich

Gibt an, ob das Zeilenlimit beim Importieren überschritten wurde

rowsImported
integer<int32>
erforderlich

Gibt die Anzahl der importierten Zeilen an

Last modified on January 26, 2026