> ## 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.

# Get contract type templates

> Returns the templates of a specific contract type with their full smart-fields (type, document and condition attributes).



## OpenAPI

````yaml /openapi-2025-01-15.init.json get /contract-types/{id}/templates
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-15.init


    This documentation is for API version `2025-01-15.init`.


    > **Warning:** This version is deprecated. This version is deprecated.
    Please upgrade to 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-15.init"
    ```
  version: 2025-01-15.init
  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:
  /contract-types/{id}/templates:
    get:
      tags:
        - Contract Types
      summary: Get contract type templates
      description: >-
        Returns the templates of a specific contract type with their full
        smart-fields (type, document and condition attributes).
      operationId: ContractTypeController_listContractTypeTemplates
      parameters:
        - name: id
          required: true
          in: path
          description: The unique identifier (UUID) of the contract type
          schema:
            example: 550e8400-e29b-41d4-a716-446655440000
            type: string
      responses:
        '200':
          description: List of templates with smart-fields
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ContractTypeTemplateResponseDto'
        '401':
          description: Unauthorized - Invalid or missing API key
        '403':
          description: Forbidden - Insufficient permissions
        '404':
          description: Contract type not found
        '429':
          description: Too Many Requests - Rate limit exceeded
      security:
        - X-API-KEY: []
components:
  schemas:
    ContractTypeTemplateResponseDto:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier of the template.
          example: 550e8400-e29b-41d4-a716-446655440000
        language:
          type: string
          description: Language of the template.
          example: FR
        smartFields:
          description: >-
            Smart-fields associated with this template (includes type, document
            and condition attributes).
          example:
            - id: 550e8400-e29b-41d4-a716-446655440000
              name: Contract Start Date
              defaultValue: '2024-01-01'
              isMandatory: true
          type: array
          items:
            $ref: '#/components/schemas/ContractTypeSmartFieldDto'
      required:
        - id
        - language
        - smartFields
    ContractTypeSmartFieldDto:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier of the smart-field.
          example: 550e8400-e29b-41d4-a716-446655440000
        name:
          type: string
          description: Display name of the smart-field.
          example: Contract Start Date
        defaultValue:
          type: string
          description: Default value of the smart-field, if any.
          nullable: true
          example: '2024-01-01'
        isMandatory:
          type: boolean
          description: Whether this smart-field is mandatory for contract creation.
          example: true
      required:
        - id
        - name
        - defaultValue
        - isMandatory
  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

````