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

# List subscription templates

> Returns reusable invoice schedules used to create subscriptions.



## OpenAPI

````yaml /openapi.yaml get /v1/subscription-templates
openapi: 3.1.0
info:
  title: Quentli REST API
  version: 1.0.0
  description: OpenAPI spec for Quentli REST endpoints.
servers:
  - url: https://api.quentli.com
    description: Production API
  - url: https://api.staging.quentli.com
    description: Staging API for production-like validation
security:
  - organizationApiKey: []
  - oauthAccessToken: []
tags:
  - name: Auth
  - name: Management
  - name: Billing
  - name: Catalog
  - name: Customers
  - name: Invoices
  - name: Payment Methods
  - name: Payment Sessions
  - name: Payments
  - name: Subscriptions
  - name: Tax Invoices
  - name: Webhooks
  - name: Messaging
paths:
  /v1/subscription-templates:
    get:
      tags:
        - Subscriptions
      summary: List subscription templates
      description: Returns reusable invoice schedules used to create subscriptions.
      operationId: subscription_templates_list
      parameters:
        - schema:
            type: object
            properties:
              id:
                $ref: '#/components/schemas/StringFilter'
              name:
                $ref: '#/components/schemas/StringFilter'
              sku:
                $ref: '#/components/schemas/StringFilter'
            additionalProperties: false
            description: Filter fields encoded with `qs` bracket notation.
          required: false
          description: Filter fields encoded with `qs` bracket notation.
          style: deepObject
          explode: true
          name: filter
          in: query
        - schema:
            type: number
            minimum: 0
            default: 0
            description: Pagination offset.
            example: 0
          required: false
          description: Pagination offset.
          name: skip
          in: query
        - schema:
            type: number
            minimum: 1
            maximum: 100
            default: 20
            description: Pagination limit.
            example: 20
          required: false
          description: Pagination limit.
          name: take
          in: query
      responses:
        '200':
          description: Subscription templates list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetSubscriptionTemplatesResponse'
        '401':
          description: Authentication required
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserError'
        '403':
          description: Permission denied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserError'
components:
  schemas:
    StringFilter:
      type: object
      properties:
        equals:
          type: string
        in:
          type: array
          items:
            type: string
        notIn:
          type: array
          items:
            type: string
        lt:
          type: string
        lte:
          type: string
        gt:
          type: string
        gte:
          type: string
        contains:
          type: string
        startsWith:
          type: string
        endsWith:
          type: string
        search:
          type: string
        not:
          $ref: '#/components/schemas/StringFilter'
      additionalProperties: false
    GetSubscriptionTemplatesResponse:
      type: array
      items:
        $ref: '#/components/schemas/SubscriptionTemplate'
      description: List of subscription templates returned by the query.
    UserError:
      type: object
      properties:
        error:
          type: object
          properties:
            message:
              type: string
          required:
            - message
      required:
        - error
      additionalProperties: false
      description: Standard user-facing error response envelope.
    SubscriptionTemplate:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier of the subscription template.
          example: st_1234567890abcdefghij
        createdAt:
          type: string
          format: date-time
          description: When the template was created.
        updatedAt:
          type: string
          format: date-time
          description: When the template was last updated.
        organizationId:
          type: string
          description: Organization that owns the template.
        name:
          type: string
          description: Name of the template.
          example: Colegiatura 2025
        sku:
          type:
            - string
            - 'null'
          description: Optional unique SKU.
          example: null
        active:
          type: boolean
          description: Whether the template is active.
        createdById:
          type: string
          description: User who created the template.
        updatedById:
          type:
            - string
            - 'null'
          description: User who last updated the template.
        invoices:
          type: array
          items:
            $ref: '#/components/schemas/SubscriptionTemplateInvoice'
          description: Invoice schedule, in order.
      required:
        - id
        - createdAt
        - updatedAt
        - organizationId
        - name
        - sku
        - active
        - createdById
        - updatedById
      description: A reusable schedule of invoices used to create subscriptions.
    SubscriptionTemplateInvoice:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier of the template invoice.
        order:
          type: integer
          description: Position of this invoice in the schedule.
          example: 0
        offset:
          type: integer
          description: Time after the subscription start when this invoice is due.
          example: 1
        offsetInterval:
          type: string
          enum:
            - DAY
            - WEEK
            - FORTNIGHT
            - MONTH
            - YEAR
          description: Unit of the offset.
        dueDate:
          type:
            - string
            - 'null'
          format: date-time
          description: Fixed due date, when the template uses one.
        expireDate:
          type:
            - string
            - 'null'
          format: date-time
          description: Fixed expiration date, when the template uses one.
        items:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                description: Unique identifier of the template item.
              conceptId:
                type: string
                description: Payment concept billed by this item.
                example: pc_1234567890abcdefghij
              quantity:
                type: integer
                description: Number of units.
                example: 1
            required:
              - id
              - conceptId
              - quantity
      required:
        - id
        - order
        - offset
        - offsetInterval
        - dueDate
        - expireDate
        - items
      description: An invoice generated by a subscription template.
  securitySchemes:
    organizationApiKey:
      type: http
      scheme: bearer
      description: 'Organization API key using `Authorization: Bearer sk_...`.'
    oauthAccessToken:
      type: http
      scheme: bearer
      bearerFormat: OAuth 2.1
      description: 'OAuth access token using `Authorization: Bearer qoa_at_...`.'

````

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