Skip to main content
GET
/
crm
/
v3
/
imports
/
Obtener importaciones activas
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": "2020-01-14T22:45:00.153+00:00",
      "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": "2020-01-14T22:45:00.153+00:00"
    }
  ]
}

Productos compatibles

Se requiere uno de los siguientes productos o productos de ediciones superiores.
Marketing HubMarketing Hub -Gratuito
Sales HubSales Hub -Gratuito
Service HubService Hub -Gratuito
Content HubContent Hub -Gratuito
Esta API requiere uno de los siguientes ámbitos:
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

El token del cursor de paginación del último recurso leído con éxito se devolverá como la propiedad JSON paging.next.after de una respuesta paginada que contenga más resultados.

before
string
limit
integer

El número máximo de resultados que se mostrarán por página.

Response

successful operation

results
object[]
required
paging
object
I