GET
/
crm
/
v3
/
imports
/
有効なインポートを取得
curl --request GET \
  --url https://api.hubapi.com/crm/v3/imports/ \
  --header 'Authorization: Bearer <token>'
{
  "paging": {
    "next": {
      "link": "",
      "after": ""
    },
    "prev": {
      "before": "",
      "link": ""
    }
  },
  "results": [
    {
      "importTemplate": {
        "templateType": "admin_defined",
        "templateId": 123
      },
      "createdAt": "2023-11-07T05:31:56Z",
      "metadata": {
        "counters": "{\"TOTAL_ROWS\":2,\"CREATED_OBJECTS\":1,\"UPDATED_OBJECTS\":1,\"UNIQUE_OBJECTS_WRITTEN\":2,\"PROPERTY_VALUES_EMITTED\":2}",
        "fileIds": "[\"3579849\"]",
        "objectLists": "[{\"listId\":\"3\",\"objectType\":\"contacts\"}]"
      },
      "importRequestJson": {},
      "importSource": "API",
      "importName": "<string>",
      "state": "DONE",
      "id": "1471",
      "optOutImport": false,
      "mappedObjectTypeIds": [
        "<string>"
      ],
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ]
}
サポートされる製品
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub無料ツール
Sales HubSales Hub無料ツール
Service HubService Hub無料ツール
Content HubContent Hub無料ツール

必須スコープ

この API には、次のいずれかのスコープが必要です。
  • crm.import

Authorizations

Authorization
string
header
required

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

Query Parameters

after
string

前回正常に読み取られたリソースのページ設定カーソルトークンが、その他の結果が含まれるページ設定されたレスポンスの「paging.next.after」JSONプロパティーとして返されます。

before
string
limit
integer

ページごとに表示する結果の最大数。

Response

200
application/json

successful operation

The response is of type object.