GET
/
crm
/
v3
/
imports
/
Obtenez les importations actives
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"
    }
  ]
}
Produits pris en charge
Exige l'un des produits suivants ou un produit supérieur.
Marketing HubMarketing HubGratuit
Sales HubSales HubGratuit
Service HubService HubGratuit
Content HubContent HubGratuit

Portées requises

Cette API requiert l’une des portées suivantes :
  • 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

Le jeton de curseur de pagination de la dernière ressource lue avec succès sera renvoyé en tant que propriété JSON « paging.next.after » d'une réponse paginée contenant plus de résultats.

before
string
limit
integer

Le nombre maximum de résultats à afficher par page.

Response

200
application/json

successful operation

The response is of type object.