> ## 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: 80cdf0f0-4d42-42b0-bad9-baeff7618145
---

# Retrieve validation rules metadata

> Retrieve metadata for validation rules associated with stages in CRM smart transfers. This endpoint provides detailed information about the configuration rules that apply to different stages, which can be useful for understanding and managing the validation processes involved in CRM data transfers.

> [accordion] Supported products

> [accordion] Required Scopes


## OpenAPI

````yaml specs/2027-03-beta/crm-smart-transfer-v2027-03-beta.json GET /crm/smart-transfer/2027-03-beta/stages/validation-rules/metadata
openapi: 3.0.1
info:
  title: CRM Smart Transfer
  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: Account
  - name: Audit
  - name: Markup
  - name: Transfer
  - name: Transfer Revert
paths:
  /crm/smart-transfer/2027-03-beta/stages/validation-rules/metadata:
    get:
      tags:
        - Transfer
      summary: Retrieve validation rules metadata
      description: >-
        Retrieve metadata for validation rules associated with stages in CRM
        smart transfers. This endpoint provides detailed information about the
        configuration rules that apply to different stages, which can be useful
        for understanding and managing the validation processes involved in CRM
        data transfers.
      operationId: get-/crm/smart-transfer/2027-03-beta/stages/validation-rules/metadata
      parameters: []
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/CollectionResponseStageConfigurationRuleTypeSchemaNoPaging
        default:
          $ref: '#/components/responses/Error'
          description: ''
      security:
        - oauth2:
            - crm.smart_transfer.transfer.read
components:
  schemas:
    CollectionResponseStageConfigurationRuleTypeSchemaNoPaging:
      required:
        - results
      type: object
      properties:
        results:
          type: array
          description: >-
            An array of StageConfigurationRuleTypeSchema objects, each
            representing a specific type of stage configuration rule.
          items:
            $ref: '#/components/schemas/StageConfigurationRuleTypeSchema'
    StageConfigurationRuleTypeSchema:
      required:
        - description
        - fields
        - type
      type: object
      properties:
        description:
          type: string
          description: A string providing a description of the stage configuration rule.
        fields:
          type: array
          description: >-
            An array of StageConfigurationRuleTypeField objects, each defining a
            field associated with the stage configuration rule.
          items:
            $ref: '#/components/schemas/StageConfigurationRuleTypeField'
        type:
          type: string
          description: A string representing the type of the stage configuration rule.
    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, represented 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. It is formatted as a UUID.
          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
    StageConfigurationRuleTypeField:
      required:
        - description
        - name
        - required
        - type
      type: object
      properties:
        description:
          type: string
          description: >-
            A string providing a human-readable description of the field,
            explaining its purpose or usage within the stage configuration rule.
        name:
          type: string
          description: >-
            The name of the field. It is a string that identifies the field
            within the stage configuration rule.
        required:
          type: boolean
          description: >-
            A boolean indicating whether the field is mandatory. If true, the
            field must be provided in the stage configuration.
        type:
          type: string
          description: >-
            The data type of the field. It is a string that specifies what kind
            of data the field holds.
    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. This is a required property.
        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.smart_transfer.audit.read: ''
            crm.smart_transfer.audit.write: ''
            crm.smart_transfer.revert.read: ''
            crm.smart_transfer.revert.write: ''
            crm.smart_transfer.transfer.read: ''
            crm.smart_transfer.transfer.write: ''

````