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

# List create-card rules

> Returns the older create-card rules on a board (`board` and `schedule` rules that move or copy cards). These are not Automations - see `.../configuration/automations`.



## OpenAPI

````yaml /openapi.yaml get /api/board/{boardId}/configuration/card-rules
openapi: 3.0.3
info:
  title: Aptly API
  version: '1.1'
  description: |
    The Aptly API lets external systems work with boards, contacts, inboxes,
    tasks, files, and other Aptly resources.

    Most endpoints accept an API key in the `x-token` header. Some endpoints
    also accept a delegate token or partner bearer token, as shown in each
    operation's security requirements, and explicitly public endpoints require
    no credential. API keys are scoped to a company and may be restricted to
    specific boards and read, insert, or update permissions; requests outside
    those restrictions receive a 403 `FORBIDDEN` response.
servers:
  - url: https://core-api.getaptly.com
    description: Production
security:
  - ApiKeyHeader: []
paths:
  /api/board/{boardId}/configuration/card-rules:
    get:
      tags:
        - Board
      summary: List create-card rules
      description: >-
        Returns the older create-card rules on a board (`board` and `schedule`
        rules that move or copy cards). These are not Automations - see
        `.../configuration/automations`.
      operationId: listCardRules
      parameters:
        - name: boardId
          in: path
          required: true
          schema:
            type: string
          description: The board's UUID.
      responses:
        '200':
          description: Array of create-card rules.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/CardRule'
        '401':
          description: Invalid or missing API key.
        '404':
          description: Board not found.
      security:
        - ApiKeyHeader: []
        - PartnerBearer: []
components:
  schemas:
    CardRule:
      type: object
      description: >-
        An older create-card rule (`board` or `schedule`) that moves or copies
        cards. Not an Automation.
      properties:
        uuid:
          type: string
          description: Unique identifier for the rule.
        title:
          type: string
          description: Display name of the automation.
        automationType:
          type: string
          enum:
            - board
            - schedule
          description: >-
            `board` automations move/copy cards based on board events;
            `schedule` automations run on a time-based schedule.
        archived:
          type: boolean
        destinationBoardUuid:
          type: string
          description: UUID of the destination board. Defaults to the current board.
        sourceBoardUuid:
          type: string
          description: (board type only) UUID of the source board.
        runMode:
          type: string
          description: >-
            Board type: `continuously`, `onDate`, `onMonth`, `dateRange`,
            `onDayOfWeek`. Schedule type: `onDayOfWeek`, `onDate`,
            `onDayOfYear`.
        segment:
          description: (board type only) Card segment/stage filter.
        moveMode:
          type: string
          enum:
            - Copy
            - Move
          description: (board type only) Whether to copy or move matching cards.
        timeOfDay:
          type: number
          description: (schedule type only) Hour of the day to run (0–23).
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: x-token
    PartnerBearer:
      type: http
      scheme: bearer
      description: 'Partner token. Format: `Authorization: Bearer <token>`'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.