> ## Documentation Index
> Fetch the complete documentation index at: https://developers.hubspot.es/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Start an import

export const ScopesList = ({scopes = [], description = "Esta API requiere uno de los siguientes ámbitos:"}) => {
  if (!scopes || scopes.length === 0) {
    return null;
  }
  const sortedScopes = scopes.sort((a, b) => a.localeCompare(b));
  return <div>
      <div className="text-sm mb-2">{description}</div>
      <div>
        {sortedScopes.map((scope, index) => <div key={index}>
            <code>
              <span className="text-xs">{scope}</span>
            </code>
          </div>)}
      </div>
    </div>;
};

export const SupportedProducts = ({marketing, sales, service, cms, marketingLevel, salesLevel, serviceLevel, cmsLevel}) => {
  const translations = {
    header: "Productos compatibles",
    description: "Se requiere uno de los siguientes productos o productos de ediciones superiores.",
    productNames: {
      marketing: "Marketing Hub",
      sales: "Sales Hub",
      service: "Service Hub",
      cms: "Content Hub"
    },
    tiers: {
      free: "Gratuito",
      starter: "Starter",
      professional: "Pro",
      enterprise: "Enterprise"
    }
  };
  const translateTier = tier => {
    if (!tier) return '';
    const lowerTier = tier.toLowerCase();
    return translations.tiers[lowerTier] || tier;
  };
  const products = [{
    name: marketing ? translations.productNames.marketing : '',
    level: translateTier(marketingLevel),
    icon: "https://mintlify-assets.b-cdn.net/Icons/marketing-bolt.svg",
    alt: "Marketing Hub"
  }, {
    name: sales ? translations.productNames.sales : '',
    level: translateTier(salesLevel),
    icon: "https://mintlify-assets.b-cdn.net/Icons/sales-star.svg",
    alt: "Sales Hub"
  }, {
    name: service ? translations.productNames.service : '',
    level: translateTier(serviceLevel),
    icon: "https://mintlify-assets.b-cdn.net/Icons/service-heart.svg",
    alt: "Service Hub"
  }, {
    name: cms ? translations.productNames.cms : '',
    level: translateTier(cmsLevel),
    icon: "https://mintlify-assets.b-cdn.net/Icons/content-play.svg",
    alt: "Content Hub"
  }].filter(product => product.name && product.level);
  if (products.length === 0) return null;
  return <div>
      <div className="text-sm mb-2">{translations.description}</div>
      <div className={`grid ${products.length === 1 ? 'grid-cols-1' : 'grid-cols-2'} gap-1.5`}>
        {products.map((product, index) => <div key={index} style={{
    display: 'flex',
    alignItems: 'center'
  }}>
            <img src={product.icon} alt={product.alt} className="w-3.5 h-3.5 mr-1.5 mt-2.5 mb-2.5 flex-shrink-0 align-middle" />
            <span className="font-medium mr-1 text-sm">{product.name} -</span>
            <span className="text-sm">{product.level}</span>
          </div>)}
      </div>
    </div>;
};

<AccordionGroup>
  <Accordion title="Supported products" defaultOpen="true" icon="cubes">
    <SupportedProducts marketing={true} sales={true} service={true} cms={true} marketingLevel="FREE" salesLevel="FREE" serviceLevel="FREE" cmsLevel="FREE" />
  </Accordion>

  <Accordion title="Required Scopes" icon="key">
    <ScopesList
      scopes={[
  'crm.import'
]}
    />
  </Accordion>
</AccordionGroup>


## OpenAPI

````yaml specs/2026-03/crm-imports-v2026-03.json POST /crm/imports/2026-03
openapi: 3.0.1
info:
  title: CRM Imports
  description: Basepom for all HubSpot Projects
  version: 2026-03
  x-hubspot-product-tier-requirements:
    marketing: FREE
    sales: FREE
    service: FREE
    cms: FREE
    commerce: FREE
    crmHub: FREE
    dataHub: FREE
servers:
  - url: https://api.hubapi.com
security: []
tags:
  - name: Advanced
  - name: Basic
paths:
  /crm/imports/2026-03:
    post:
      tags:
        - Advanced
      operationId: post-/crm/imports/2026-03_/crm/imports/v3
      parameters: []
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                files:
                  type: string
                  format: binary
                importRequest:
                  type: string
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicImportResponse'
        default:
          $ref: '#/components/responses/Error'
          description: ''
      security:
        - oauth2:
            - crm.import
components:
  schemas:
    PublicImportResponse:
      required:
        - createdAt
        - id
        - mappedObjectTypeIds
        - metadata
        - optOutImport
        - state
        - updatedAt
      type: object
      properties:
        createdAt:
          type: string
          description: La marca de tiempo en la que se creó el objeto, en formato ISO 8601.
          format: date-time
        id:
          type: string
          description: El identificador único de esta importación.
        importName:
          type: string
          description: El nombre proporcionado por el usuario para esta importación.
        importRequestJson:
          type: object
          properties: {}
          description: >-
            La configuración completa de la solicitud de importación como objeto
            JSON.
        importSource:
          type: string
          description: Indica dónde y cómo se inició la importación.
          enum:
            - API
            - CRM_UI
            - IMPORT
            - MOBILE_ANDROID
            - MOBILE_IOS
            - SALESFORCE
        importTemplate:
          $ref: '#/components/schemas/ImportTemplate'
        mappedObjectTypeIds:
          type: array
          items:
            type: string
        metadata:
          $ref: '#/components/schemas/PublicImportMetadata'
        optOutImport:
          type: boolean
          description: >-
            Si la importación es o no es una lista de personas que no califican
            para recibir correos.
        state:
          type: string
          description: El estado de la importación.
          enum:
            - CANCELED
            - DEFERRED
            - DONE
            - FAILED
            - PROCESSING
            - REVERTED
            - STARTED
        updatedAt:
          type: string
          description: >-
            La marca de tiempo de cuando se actualizó por última vez el registro
            de importación, formateada como un instante de ISO 8601.
          format: date-time
    ImportTemplate:
      required:
        - templateId
        - templateType
      type: object
      properties:
        templateId:
          type: integer
          description: >-
            El identificador único de la plantilla guardada específica o de la
            importación anterior a la que se hace referencia.
          format: int64
        templateType:
          type: string
          description: >-
            La clasificación de qué tipo de plantilla representa, y cuál es su
            origen o finalidad.
          enum:
            - admin_defined
            - previous_import
            - user_file
    PublicImportMetadata:
      required:
        - counters
        - fileIds
        - objectLists
      type: object
      properties:
        counters:
          type: object
          additionalProperties:
            type: integer
            format: int32
          description: >-
            Resultados resumidos de cada fila que un desarrollador intentó
            importar a HubSpot.
        fileIds:
          type: array
          description: >-
            Los ID de los archivos cargados en la API del Administrador de
            archivos.
          items:
            type: string
        objectLists:
          type: array
          description: Las listas que contienen los objetos importados.
          items:
            $ref: '#/components/schemas/PublicObjectListRecord'
    Error:
      required:
        - category
        - correlationId
        - message
      type: object
      properties:
        category:
          type: string
          description: La categoría del error
        context:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: Contexto de la condición de error
          example: >-
            {invalidPropertyName=[propertyValue], missingScopes=[scope1,
            scope2]}
        correlationId:
          type: string
          description: >-
            Un identificador único para la solicitud. Incluye este valor con
            cualquier informe de error o ticket de asistencia.
          format: uuid
          example: aeb5f871-7f07-4993-9211-075dc63e7cbf
        errors:
          type: array
          description: información adicional acerca del error
          items:
            $ref: '#/components/schemas/ErrorDetail'
        links:
          type: object
          additionalProperties:
            type: string
          description: >-
            Un mapa de nombres de enlaces a las URI asociadas que contienen
            documentación sobre el error o los pasos recomendados para
            solucionarlo
        message:
          type: string
          description: >-
            Un mensaje legible en el que se describa el error y los pasos para
            solucionarlo, si procede
          example: An error occurred
        subCategory:
          type: string
          description: >-
            Una categoría específica que contiene detalles más concretos acerca
            del error
      description: >-
        Representa una respuesta de error que devuelve la API cuando una
        operación falla. Este componente se usa en varios puntos de terminación
        para dar información detallada sobre el error que se encontró.
      example:
        message: Invalid input (details will vary based on the error)
        correlationId: aeb5f871-7f07-4993-9211-075dc63e7cbf
        category: VALIDATION_ERROR
        links:
          knowledge-base: https://www.hubspot.com/products/service/knowledge-base
    PublicObjectListRecord:
      required:
        - listId
        - objectType
      type: object
      properties:
        listId:
          type: string
          description: El ID de la lista que contiene los objetos importados.
        objectType:
          type: string
          description: El tipo de objeto contenido en la lista.
    ErrorDetail:
      required:
        - message
      type: object
      properties:
        code:
          type: string
          description: El código de estado asociado al detalle del error
        context:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: Contexto de la condición de error
          example: '{missingScopes=[scope1, scope2]}'
        in:
          type: string
          description: El nombre del campo o parámetro en el que se encontró el error.
        message:
          type: string
          description: >-
            Un mensaje legible en el que se describa el error y los pasos para
            solucionarlo, si procede
        subCategory:
          type: string
          description: >-
            Una categoría específica que contiene detalles más concretos acerca
            del error
      description: >-
        Representa información detallada sobre un error que ocurrió en la API.
        Este componente se usa para dar contexto adicional y detalles
        específicos sobre los errores, normalmente como parte de una respuesta
        de error.
  responses:
    Error:
      description: An error occurred.
      content:
        '*/*':
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://app.hubspot.com/oauth/authorize
          tokenUrl: https://api.hubapi.com/oauth/v1/token
          scopes:
            crm.import: ''

````