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

# List clauses

> Returns a paginated list of clauses belonging to your organization. Supports cursor-based pagination and optional name filtering.



## OpenAPI

````yaml /openapi-2025-01-29.alpha.json get /clauses
openapi: 3.0.0
info:
  title: Tomorro API
  description: >
    The Tomorro Public API enables you to programmatically manage contracts,
    members, and counterparties. Build powerful integrations that automate your
    contract management workflows.


    ## API Version: 2025-01-29.alpha


    This documentation is for API version `2025-01-29.alpha`.


    ### Using this version

    ```

    curl -X GET https://api.tomorro.com/members \
      -H "x-api-key: YOUR_API_KEY" \
      -H "tomorro-version: 2025-01-29.alpha"
    ```
  version: 2025-01-29.alpha
  contact: {}
servers:
  - url: https://api.tomorro.com/v2
    description: Production
  - url: https://api.demo.tomorro.com/v2
    description: Demo
  - url: http://localhost:3015
    description: Local Development
security: []
tags: []
paths:
  /clauses:
    get:
      tags:
        - Clauses
      summary: List clauses
      description: >-
        Returns a paginated list of clauses belonging to your organization.
        Supports cursor-based pagination and optional name filtering.
      operationId: ClauseController_listClauses
      parameters:
        - name: limit
          required: false
          in: query
          description: Number of items per page (1-50)
          schema:
            minimum: 1
            maximum: 50
            default: 20
            example: 20
            type: number
        - name: after
          required: false
          in: query
          description: >-
            Cursor for forward pagination. Use the `next_cursor` value from a
            previous response.
          schema:
            example: eyJpZCI6IjEyMyJ9
            type: string
        - name: before
          required: false
          in: query
          description: >-
            Cursor for backward pagination. Use the `prev_cursor` value from a
            previous response.
          schema:
            example: eyJpZCI6IjEwMCJ9
            type: string
        - name: search
          required: false
          in: query
          description: Filter clauses by name (case-insensitive partial match).
          schema:
            example: Confidentiality
            type: string
      responses:
        '200':
          description: Paginated list of clauses
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClauseListResponseDto'
        '401':
          description: Unauthorized - Invalid or missing API key
        '403':
          description: Forbidden - Insufficient permissions
        '429':
          description: Too Many Requests - Rate limit exceeded
      security:
        - X-API-KEY: []
components:
  schemas:
    ClauseListResponseDto:
      type: object
      properties:
        data:
          description: An array of Clause objects.
          example:
            - id: 550e8400-e29b-41d4-a716-446655440000
              name: Confidentiality
              description: Standard confidentiality clause
          type: array
          items:
            $ref: '#/components/schemas/ClauseResponseDto'
        pagination:
          description: Pagination metadata including cursors and navigation flags.
          example:
            limit: 20
            next_cursor: eyJpZCI6IjEyMyJ9
            prev_cursor: eyJpZCI6IjEwMCJ9
            has_next: true
            has_previous: false
          allOf:
            - $ref: '#/components/schemas/PaginationMetaDto'
        links:
          description: HATEOAS navigation links for pagination.
          example:
            self: /clauses?limit=20
            next: /clauses?limit=20&after=eyJpZCI6IjEyMyJ9
            prev: /clauses?limit=20&before=eyJpZCI6IjEwMCJ9
          allOf:
            - $ref: '#/components/schemas/PaginationLinksDto'
      required:
        - data
        - pagination
        - links
    ClauseResponseDto:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the clause.
          example: 550e8400-e29b-41d4-a716-446655440000
        name:
          type: string
          description: The name of the clause.
          example: Confidentiality
        description:
          type: string
          description: A short description of the clause.
          example: Standard confidentiality clause
        organizationId:
          type: string
          description: The organization this clause belongs to.
          example: 550e8400-e29b-41d4-a716-446655440000
        content:
          description: The raw JSON content of the clause (Slate editor format).
          example:
            - type: paragraph
              children:
                - text: Clause content
          type: array
          items:
            type: string
        listNumbering:
          type: object
          description: List numbering configuration, if any.
          nullable: true
          example: null
        translations:
          description: Per-language translations of the clause.
          example:
            - language: en
              content:
                - type: paragraph
                  children:
                    - text: Clause content
              order: 0
          type: array
          items:
            $ref: '#/components/schemas/ClauseTranslationResponseDto'
        languages:
          description: Languages available for this clause.
          example:
            - en
            - fr
          type: array
          items:
            type: string
        createdAt:
          format: date-time
          type: string
          description: >-
            Time at which the clause was created. Formatted as an ISO 8601
            date-time string.
          example: '2024-01-01T00:00:00.000Z'
        updatedAt:
          format: date-time
          type: string
          description: >-
            Time at which the clause was last updated. Formatted as an ISO 8601
            date-time string.
          example: '2024-01-02T00:00:00.000Z'
      required:
        - id
        - name
        - description
        - organizationId
        - content
        - listNumbering
        - translations
        - languages
        - createdAt
        - updatedAt
    PaginationMetaDto:
      type: object
      properties:
        limit:
          type: number
          description: The number of items per page.
          example: 20
        next_cursor:
          type: string
          description: >-
            Cursor for fetching the next page. Use with the `after` query
            parameter.
          nullable: true
          example: eyJpZCI6IjEyMyJ9
        prev_cursor:
          type: string
          description: >-
            Cursor for fetching the previous page. Use with the `before` query
            parameter.
          nullable: true
          example: eyJpZCI6IjEwMCJ9
        has_next:
          type: boolean
          description: Whether there are more items available after this page.
          example: true
        has_previous:
          type: boolean
          description: Whether there are items available before this page.
          example: false
      required:
        - limit
        - next_cursor
        - prev_cursor
        - has_next
        - has_previous
    PaginationLinksDto:
      type: object
      properties:
        self:
          type: string
          description: URL of the current page.
          example: /members?limit=20
        next:
          type: string
          description: URL to fetch the next page. Null if there is no next page.
          nullable: true
          example: /members?limit=20&after=eyJpZCI6IjEyMyJ9
        prev:
          type: string
          description: URL to fetch the previous page. Null if there is no previous page.
          nullable: true
          example: /members?limit=20&before=eyJpZCI6IjEwMCJ9
      required:
        - self
        - next
        - prev
    ClauseTranslationResponseDto:
      type: object
      properties:
        language:
          type: string
          description: The language of the translation.
          example: en
        content:
          description: >-
            The rich-text content of the clause in this language (Slate editor
            format).
          example:
            - type: paragraph
              children:
                - text: Clause content
          type: array
          items:
            type: string
        order:
          type: number
          description: The display order of this translation.
          example: 0
      required:
        - language
        - content
        - order
  securitySchemes:
    X-API-KEY:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        API key for authentication. Get your key at
        https://app.tomorro.com/settings/integrations?integration=api-key

````