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

---
id: de991869-1b06-4be5-8bc8-f9deeae2f25f
---

# Batch read images

> Retrieve images for multiple CRM records in a single request. This endpoint allows you to fetch images associated with specified records by their IDs. It supports up to 100 records per request, and duplicate IDs will return a single result. You can specify the property used to identify records, such as 'hs_object_id', 'email' for contacts, or 'domain' for companies.

> [accordion] Supported products

> [accordion] Required Scopes

Supports [user-level access](https://developers.hubspot.com/docs/apps/developer-platform/build-apps/authentication/user-level-apps.md).


## OpenAPI

````yaml specs/2027-03-beta/crm-record-objects-v2027-03-beta.json POST /crm/record-images/2027-03-beta/{objectTypeId}/batch/read
openapi: 3.0.1
info:
  title: CRM Record Objects
  description: Basepom for all HubSpot Projects
  version: 2027-03-beta
  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: Basic
  - name: Batch
paths:
  /crm/record-images/2027-03-beta/{objectTypeId}/batch/read:
    post:
      tags:
        - Batch
      summary: Batch read images
      description: >-
        Retrieve images for multiple CRM records in a single request. This
        endpoint allows you to fetch images associated with specified records by
        their IDs. It supports up to 100 records per request, and duplicate IDs
        will return a single result. You can specify the property used to
        identify records, such as 'hs_object_id', 'email' for contacts, or
        'domain' for companies.
      operationId: post-/crm/record-images/2027-03-beta/{objectTypeId}/batch/read
      parameters:
        - name: objectTypeId
          in: path
          description: >-
            The unique identifier for the type of object whose images are being
            retrieved.
          required: true
          style: simple
          explode: false
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BatchReadRecordImagesRequest'
        required: true
      responses:
        '200':
          description: All inputs resolved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchReadRecordImagesResponse'
        '207':
          description: Some inputs failed; see errors
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchReadRecordImagesResponse'
        default:
          $ref: '#/components/responses/Error'
          description: ''
      security:
        - oauth2:
            - record_images.signed_urls.read
        - oauth2:
            - crm.record_images.read
components:
  schemas:
    BatchReadRecordImagesRequest:
      required:
        - inputs
      type: object
      properties:
        idProperty:
          type: string
          description: >-
            A string indicating the property used to identify records. It
            defaults to 'hs_object_id' if omitted, but can also be 'email' for
            contacts or 'domain' for companies.
        inputs:
          type: array
          description: >-
            An array of records to fetch images for, allowing 1 to 100 inputs.
            Duplicate values will return a single result. Each entry is a record
            ID or the value of the idProperty when set.
          items:
            $ref: '#/components/schemas/RecordImageInput'
    BatchReadRecordImagesResponse:
      required:
        - errors
        - results
      type: object
      properties:
        errors:
          type: array
          description: >-
            An array of RecordImageError objects, each describing an error that
            occurred during the batch operation, including the error category
            and associated record IDs.
          items:
            $ref: '#/components/schemas/RecordImageError'
        results:
          type: array
          description: >-
            An array of RecordImageResult objects, each containing details about
            a successfully retrieved record image, including its URL and
            expiration date.
          items:
            $ref: '#/components/schemas/RecordImageResult'
    RecordImageInput:
      required:
        - id
      type: object
      properties:
        id:
          type: string
          description: >-
            The unique identifier for the record whose image is being requested.
            This is a string.
    RecordImageError:
      required:
        - category
        - ids
        - message
      type: object
      properties:
        category:
          type: string
          description: >-
            The error category, indicating the type of error encountered. Valid
            values include 'OBJECT_NOT_FOUND' and 'VALIDATION_ERROR'.
          enum:
            - OBJECT_NOT_FOUND
            - VALIDATION_ERROR
        ids:
          type: array
          description: An array of strings representing the IDs associated with the error.
          items:
            type: string
        message:
          type: string
          description: A human-readable message that describes the error.
    RecordImageResult:
      required:
        - expiresAt
        - id
        - url
      type: object
      properties:
        expiresAt:
          type: string
          description: >-
            The date and time when the record image URL expires, in ISO 8601
            format.
          format: date-time
        id:
          type: string
          description: The unique identifier for the record image, represented as a string.
        url:
          type: string
          description: >-
            The URL where the record image can be accessed, represented as a
            string.
    Error:
      required:
        - category
        - correlationId
        - message
      type: object
      properties:
        category:
          type: string
          description: The error category.
        context:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: >-
            Context about the error condition, provided as an object with
            additional properties.
          example: >-
            {invalidPropertyName=[propertyValue], missingScopes=[scope1,
            scope2]}
        correlationId:
          type: string
          description: >-
            A unique identifier for the request. Include this value with any
            error reports or support tickets.
          format: uuid
          example: aeb5f871-7f07-4993-9211-075dc63e7cbf
        errors:
          type: array
          description: >-
            Further information about the error, represented as an array of
            ErrorDetail objects.
          items:
            $ref: '#/components/schemas/ErrorDetail'
        links:
          type: object
          additionalProperties:
            type: string
          description: >-
            A map of link names to associated URIs containing documentation
            about the error or recommended remediation steps.
        message:
          type: string
          description: >-
            A human readable message describing the error along with remediation
            steps where appropriate.
          example: An error occurred
        subCategory:
          type: string
          description: >-
            A specific category that contains more specific detail about the
            error.
      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
    ErrorDetail:
      required:
        - message
      type: object
      properties:
        code:
          type: string
          description: The status code associated with the error detail.
        context:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: >-
            Context about the error condition, represented as an object with
            additional properties that are arrays of strings.
          example: '{missingScopes=[scope1, scope2]}'
        in:
          type: string
          description: The name of the field or parameter in which the error was found.
        message:
          type: string
          description: >-
            A human readable message describing the error along with remediation
            steps where appropriate.
        subCategory:
          type: string
          description: >-
            A specific category that contains more specific detail about the
            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.record_images.read: ''
            crm.record_images.write: ''
            record_images.signed_urls.read: ''
      x-hubspot-app-availability:
        crm.record_images.read:
          user:
            - public
            - private
          developer: false
        crm.record_images.write:
          user:
            - public
            - private
          developer: false
        record_images.signed_urls.read:
          portal:
            - public
            - private
          developer: false

````