Zum Hauptinhalt springen
POST
/
crm
/
v3
/
imports
/
新しいインポートを開始
curl --request POST \
  --url https://api.hubapi.com/crm/v3/imports/ \
  --header 'Content-Type: multipart/form-data' \
  --header 'private-app: <api-key>' \
  --form 'importRequest=<string>' \
  --form files=@example-file
{
  "importTemplate": {
    "templateType": "admin_defined",
    "templateId": 123
  },
  "createdAt": "2023-11-07T05:31:56Z",
  "metadata": {
    "counters": {},
    "fileIds": [
      "<string>"
    ],
    "objectLists": [
      {
        "listId": "<string>",
        "objectType": "<string>"
      }
    ]
  },
  "importRequestJson": {},
  "importSource": "API",
  "importName": "<string>",
  "state": "STARTED",
  "id": "<string>",
  "optOutImport": true,
  "mappedObjectTypeIds": [
    "<string>"
  ],
  "updatedAt": "2023-11-07T05:31:56Z"
}
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub -無料ツール
Sales HubSales Hub -無料ツール
Service HubService Hub -無料ツール
Content HubContent Hub -無料ツール
この API には、次のいずれかのスコープが必要です。
crm.import

Authorizations

private-app
string
header
required

Body

multipart/form-data
files
file
importRequest
string

Response

successful operation

createdAt
string<date-time>
required
metadata
object
required
state
enum<string>
required

インポートのステータス。

Verfügbare Optionen:
STARTED,
PROCESSING,
DONE,
FAILED,
CANCELED,
DEFERRED,
REVERTED
id
string
required
optOutImport
boolean
required

Eメールを受信しない人のリストのインポートかどうか。

mappedObjectTypeIds
string[]
required
updatedAt
string<date-time>
required
importTemplate
object
importRequestJson
object
importSource
enum<string>
Verfügbare Optionen:
API,
CRM_UI,
IMPORT,
MOBILE_ANDROID,
MOBILE_IOS,
SALESFORCE
importName
string