Zum Hauptinhalt springen
GET
/
crm
/
v3
/
imports
/
{importId}
Informationen über einen beliebigen Import abrufen
curl --request GET \
  --url https://api.hubapi.com/crm/v3/imports/{importId} \
  --header 'Authorization: Bearer <token>'
{
  "createdAt": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "importName": "<string>",
  "importRequestJson": {},
  "importSource": "API",
  "importTemplate": {
    "templateId": 123,
    "templateType": "admin_defined"
  },
  "mappedObjectTypeIds": [
    "<string>"
  ],
  "metadata": {
    "counters": {},
    "fileIds": [
      "<string>"
    ],
    "objectLists": [
      {
        "listId": "<string>",
        "objectType": "<string>"
      }
    ]
  },
  "optOutImport": true,
  "state": "CANCELED",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Unterstützte Produkte

Erfordert eines der folgenden Produkte oder höher.
Marketing HubMarketing Hub -Kostenlos
Sales HubSales Hub -Kostenlos
Service HubService Hub -Kostenlos
Content HubContent Hub -Kostenlos
Diese API erfordert einen der folgenden Bereiche:
crm.import

Authorizations

Authorization
string
header
required

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

Path Parameters

importId
integer
required

Response

successful operation

createdAt
string<date-time>
required
id
string
required
mappedObjectTypeIds
string[]
required
metadata
object
required
optOutImport
boolean
required

Ob es sich beim Import um eine Liste mit Personen handelt, die keine E-Mails mehr bekommen sollen, oder nicht.

state
enum<string>
required

Der Status des Imports.

Verfügbare Optionen:
CANCELED,
DEFERRED,
DONE,
FAILED,
PROCESSING,
REVERTED,
STARTED
updatedAt
string<date-time>
required
importName
string
importRequestJson
object
importSource
enum<string>
Verfügbare Optionen:
API,
CRM_UI,
IMPORT,
MOBILE_ANDROID,
MOBILE_IOS,
SALESFORCE
importTemplate
object