Passer au contenu principal
GET
/
crm
/
v3
/
imports
Obtenez les importations actives
curl --request GET \
  --url https://api.hubapi.com/crm/v3/imports/ \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "createdAt": "2023-11-07T05:31:56Z",
      "id": "<string>",
      "mappedObjectTypeIds": [
        "<string>"
      ],
      "metadata": {
        "counters": {},
        "fileIds": [
          "<string>"
        ],
        "objectLists": [
          {
            "listId": "<string>",
            "objectType": "<string>"
          }
        ]
      },
      "optOutImport": true,
      "state": "CANCELED",
      "updatedAt": "2023-11-07T05:31:56Z",
      "importName": "<string>",
      "importRequestJson": {},
      "importSource": "API",
      "importTemplate": {
        "templateId": 123,
        "templateType": "admin_defined"
      }
    }
  ],
  "paging": {
    "next": {
      "after": "<string>",
      "link": "<string>"
    },
    "prev": {
      "before": "<string>",
      "link": "<string>"
    }
  }
}

Produits pris en charge

Exige l'un des produits suivants ou un produit supérieur.
Marketing HubMarketing Hub -Gratuit
Sales HubSales Hub -Gratuit
Service HubService Hub -Gratuit
Content HubContent Hub -Gratuit

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<int32>

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

Response

successful operation

results
object[]
required
paging
object