# /subaccount/{subaccountId}/themes/{themeId}/forms

Get a paginated list of forms using the specified theme in the subaccount

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Formstack API v2025.0",
    "version": "0.0.4"
  },
  "servers": [
    {
      "url": "https://www.formstack.com/api/v2025",
      "description": "Production server"
    },
    {
      "url": "https://staging-formstack.com/api/v2025",
      "description": "Staging server"
    },
    {
      "url": "https://dev-formstack.com/api/v2025",
      "description": "Development server"
    }
  ],
  "paths": {
    "/subaccount/{subaccountId}/themes/{themeId}/forms": {
      "get": {
        "tags": [
          "Subaccounts"
        ],
        "description": "Get a paginated list of forms using the specified theme in the subaccount",
        "operationId": "getSubaccountThemeFormList",
        "parameters": [
          {
            "name": "subaccountId",
            "in": "path",
            "description": "Unique identifier of the subaccount",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "themeId",
            "in": "path",
            "description": "Unique identifier of the theme",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pageNumber",
            "in": "query",
            "description": "Page number (1-based)",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/GetThemeFormListApiDto/properties/pageNumber"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "description": "Number of items per page",
            "required": false,
            "schema": {
              "$ref": "#/components/schemas/GetThemeFormListApiDto/properties/pageSize"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Forms retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubaccountThemeFormListDto"
                }
              }
            }
          },
          "400": {
            "description": "Bad request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Subaccount or theme not found"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "PaginationApiDto": {
        "title": "Pagination Info",
        "description": "Pagination information",
        "properties": {
          "size": {
            "description": "The amount of records returned for this page",
            "type": "integer",
            "nullable": false
          },
          "pageNumber": {
            "description": "The current page number",
            "type": "integer",
            "nullable": false
          },
          "pageSize": {
            "description": "The actual page size",
            "type": "integer",
            "nullable": false
          },
          "totalElements": {
            "description": "The total amount of resources available",
            "type": "integer",
            "nullable": false
          },
          "totalPages": {
            "description": "The total amount of pages available, based on the pageSize",
            "type": "integer",
            "nullable": false
          }
        },
        "type": "object"
      },
      "SubaccountFormDto": {
        "title": "Form Details",
        "description": "Represents detailed form information",
        "properties": {
          "id": {
            "description": "The ID of the form",
            "type": "string",
            "nullable": false
          },
          "name": {
            "description": "The name of the form",
            "type": "string",
            "nullable": false
          },
          "created": {
            "description": "Form creation date",
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "updated": {
            "description": "Form last update date",
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "active": {
            "description": "Whether the form is active",
            "type": "boolean",
            "nullable": false
          },
          "version": {
            "description": "Form version",
            "type": "integer",
            "nullable": true
          },
          "submissionCount": {
            "description": "Number of submissions for this form",
            "type": "integer",
            "nullable": true
          }
        },
        "type": "object"
      },
      "SubaccountThemeFormListDto": {
        "title": "Theme Form List Response",
        "description": "Paginated list of forms using a specific theme",
        "properties": {
          "page": {
            "$ref": "#/components/schemas/PaginationApiDto"
          },
          "forms": {
            "description": "Array of form objects",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SubaccountFormDto"
            }
          }
        },
        "type": "object"
      },
      "GetThemeFormListApiDto": {
        "title": "Get Theme Form List Request",
        "description": "Request parameters for getting a paginated list of forms using a specific theme",
        "properties": {
          "pageNumber": {
            "description": "Page number (1-based)",
            "type": "integer",
            "default": 1,
            "minimum": 1,
            "nullable": true
          },
          "pageSize": {
            "description": "Number of items per page (10-100)",
            "type": "integer",
            "default": 25,
            "maximum": 100,
            "minimum": 10,
            "nullable": true
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    {
      "name": "Subaccounts",
      "description": "Subaccounts let a parent account manage separate child accounts. Use these endpoints to list subaccounts and to work with subaccount-scoped resources: copy a form into a subaccount, list a subaccount's themes, copy or delete a subaccount theme, list the forms using a subaccount theme, and assign a theme to a subaccount form. Subaccount records include details such as SMTP credentials."
    }
  ]
}
```