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

# List automation rules

> List automation rules for the workspace.

<Info>Replace `{your-subdomain}` with your workspace’s subdomain. <br /> Learn how to find your subdomain in [Workspace subdomain](/getting-started/workspace-subdomain).</Info>


## OpenAPI

````yaml bundled/automation-rules.yaml GET /automation-rules
openapi: 3.0.3
info:
  title: NeetoCal Automation Rules APIs
  version: 2.0.0
servers:
  - description: NeetoCal APIs
    url: https://{your-subdomain}.neetocal.com/api/external/v2
    variables:
      your-subdomain:
        default: spinkart
        description: >-
          Replace **spinkart** with your [workspace's
          subdomain](/getting-started/workspace-subdomain).
security: []
tags:
  - name: Automation Rules
    description: APIs to create automation rules for sending calendar invites.
paths:
  /automation-rules:
    get:
      tags:
        - Automation Rules
      summary: List automation rules
      description: List automation rules for the workspace.
      parameters:
        - $ref: '#/components/parameters/api_key_header'
        - $ref: '#/components/parameters/page_number_param'
        - $ref: '#/components/parameters/page_size_param'
      responses:
        '200':
          description: OK - Request succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/automation_rule_list_response'
components:
  parameters:
    api_key_header:
      in: header
      name: X-Api-Key
      description: >-
        Use the X-Api-Key header to provide your workspace API key. Refer to
        [Authentication](/getting-started/authentication) for more information.
      required: true
      schema:
        type: string
    page_number_param:
      in: query
      name: page_number
      description: >-
        Retrieve paginated results by specifying the desired page number. If
        this parameter is absent, all results will be returned.
      required: false
      schema:
        type: integer
    page_size_param:
      in: query
      name: page_size
      description: >-
        Set the number of results returned in the response. Defaulting to 30
        when omitted.
      required: false
      schema:
        type: integer
  schemas:
    automation_rule_list_response:
      type: object
      properties:
        workflows:
          type: array
          items:
            $ref: '#/components/schemas/automation_rule'
          description: List of automation rules for the workspace.
        pagination:
          $ref: '#/components/schemas/pagination'
    automation_rule:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the automation rule.
        name:
          type: string
          description: >-
            Name of the automation rule. If not provided during creation, an
            auto-generated name like "New Rule - 172719992" will be assigned
            based on the event.
        meeting_ids:
          type: array
          items:
            type: string
          description: >-
            Array of meeting IDs associated with this automation rule. Only
            valid meeting IDs (not template meeting IDs) are accepted.
    pagination:
      type: object
      properties:
        total_records:
          type: integer
          description: Total number of records.
        total_pages:
          type: integer
          description: Total number of pages available.
        current_page_number:
          type: integer
          description: Current page number.
        page_size:
          type: integer
          description: Number of records per page.

````