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

# List blog theme versions

> Returns the workspace's theme versions, newest first, files included. Requires the blog read permission.



## OpenAPI

````yaml /openapi.json get /api/blogThemes.list
openapi: 3.0.3
info:
  title: Notifuse API
  description: API for Notifuse - a transactional email and newsletter management platform
  version: 1.0.0
  contact:
    name: Notifuse Support
    url: https://www.notifuse.com/support
    email: hello@notifuse.com
  license:
    name: BUSL-1.1
    url: https://github.com/Notifuse/notifuse/blob/main/LICENSE
servers:
  - url: https://{notifuseDomain}
    description: Customer-specific Notifuse API server
    variables:
      notifuseDomain:
        description: Your unique Notifuse domain
        default: demo.notifuse.com
security: []
paths:
  /api/blogThemes.list:
    get:
      tags:
        - Blog
      summary: List blog theme versions
      description: >-
        Returns the workspace's theme versions, newest first, files included.
        Requires the blog read permission.
      operationId: listBlogThemes
      parameters:
        - name: workspace_id
          in: query
          required: true
          schema:
            type: string
          description: The ID of the workspace
          example: ws_1234567890
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            default: 50
            maximum: 100
          description: >-
            Versions per page. Values above the maximum are clamped to it rather
            than refused.
          example: 50
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            default: 0
          description: Versions to skip.
          example: 0
      responses:
        '200':
          description: One page of theme versions
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListBlogThemesResponse'
        '400':
          description: Bad request - invalid query parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: limit must be a valid integer
        '401':
          description: Unauthorized - invalid or missing authentication token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Forbidden - missing the blog read permission
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PermissionErrorResponse'
              example:
                error: 'Insufficient permissions: read access to blog required'
                resource: blog
                permission: read
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - BearerAuth: []
components:
  schemas:
    ListBlogThemesResponse:
      type: object
      required:
        - themes
        - total_count
      properties:
        themes:
          type: array
          nullable: true
          description: >-
            Newest version first. `null` rather than `[]` when the page is
            empty.
          items:
            $ref: '#/components/schemas/BlogTheme'
        total_count:
          type: integer
          description: Theme versions in the workspace across all pages.
          example: 4
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Error message
      required:
        - error
    PermissionErrorResponse:
      type: object
      description: >-
        Returned with a 403 when the user or API key lacks the permission the
        endpoint requires.
      properties:
        error:
          type: string
          description: Error message
        resource:
          type: string
          description: The permission resource the endpoint requires.
          example: blog
        permission:
          type: string
          enum:
            - read
            - write
          description: The access level the endpoint requires on that resource.
      required:
        - error
        - resource
        - permission
    BlogTheme:
      type: object
      required:
        - version
        - files
        - created_at
        - updated_at
      properties:
        version:
          type: integer
          description: Assigned on creation, one above the highest existing version.
          example: 4
        published_at:
          type: string
          format: date-time
          description: Present only on the theme currently live on the blog.
        published_by_user_id:
          type: string
          description: >-
            The user or API key that published it. Present only on the live
            theme.
        files:
          $ref: '#/components/schemas/BlogThemeFiles'
        notes:
          type: string
          example: Darker header, larger body text.
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    BlogThemeFiles:
      type: object
      description: >-
        The theme's source files. Liquid files render the blog's pages; see the
        blog theme guide for the variables each one receives.
      properties:
        home.liquid:
          type: string
          description: The blog home page.
        category.liquid:
          type: string
          description: A category page.
        post.liquid:
          type: string
          description: A post page.
        header.liquid:
          type: string
        footer.liquid:
          type: string
        shared.liquid:
          type: string
          description: Snippets shared by the other templates.
        styles.css:
          type: string
        scripts.js:
          type: string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: API token for authentication

````