---
updatedAt: 2026-04-20T20:26:21.000Z
agentTools:
  projectIndex: https://docs.wistia.com/llms.txt
---

# Show Subfolder

Retrieves detailed information about a specific subfolder, including all media contained within it.

## Requires api token with one of the following permissions
```
Read all folder and media data
```

Tokens with the "Act with a team member's permissions" permission
(`all:delegate_to_contact_permissions` scope) can also be used. Requests
made with such a token are authorized using the permissions of the
contact assigned to the token.

An [expiring access token](https://docs.wistia.com/reference/post_expiring-token)
created with the `all:delegate_to_contact_permissions` scope and an
authorization naming this folder (any permission) can also be used. The
embedded media are limited to those the token's authorizations name.


# OpenAPI definition

````json
{
  "openapi": "3.1.1",
  "info": {
    "title": "Data API",
    "description": "Wistia Data API",
    "version": "2026.09.0"
  },
  "servers": [
    {
      "url": "https://api.wistia.com/modern"
    }
  ],
  "security": [
    {
      "BearerAuth": []
    }
  ],
  "tags": [
    {
      "name": "Subfolders"
    }
  ],
  "paths": {
    "/folders/{folderId}/subfolders/{subfolderId}": {
      "get": {
        "summary": "Show Subfolder",
        "x-speakeasy-group": "subfolders",
        "x-speakeasy-name-override": "get",
        "description": "Retrieves detailed information about a specific subfolder, including all media contained within it.\n\n## Requires api token with one of the following permissions\n```\nRead all folder and media data\n```\n\nTokens with the \"Act with a team member's permissions\" permission\n(`all:delegate_to_contact_permissions` scope) can also be used. Requests\nmade with such a token are authorized using the permissions of the\ncontact assigned to the token.\n\nAn [expiring access token](https://docs.wistia.com/reference/post_expiring-token)\ncreated with the `all:delegate_to_contact_permissions` scope and an\nauthorization naming this folder (any permission) can also be used. The\nembedded media are limited to those the token's authorizations name.\n",
        "parameters": [
          {
            "name": "folderId",
            "in": "path",
            "description": "The hashed ID of the folder",
            "required": true,
            "schema": {
              "type": "string",
              "examples": [
                "abc123def4"
              ]
            }
          },
          {
            "name": "subfolderId",
            "in": "path",
            "description": "The hashed ID of the subfolder",
            "required": true,
            "schema": {
              "type": "string",
              "examples": [
                "xyz789ghi0"
              ]
            }
          },
          {
            "name": "description_format",
            "in": "query",
            "description": "Format for media descriptions",
            "required": false,
            "schema": {
              "type": "string",
              "examples": [
                "markdown"
              ],
              "const": "markdown"
            }
          },
          {
            "name": "X-Wistia-API-Version",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string",
              "default": "2026-09"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Subfolder details with contained media",
            "content": {
              "application/json": {
                "schema": {
                  "unevaluatedProperties": false,
                  "description": "A subfolder with its contained media files.",
                  "allOf": [
                    {
                      "type": "object",
                      "description": "A subfolder within a folder that contains media.",
                      "properties": {
                        "hashed_id": {
                          "description": "A unique alphanumeric identifier for this subfolder.",
                          "type": [
                            "string",
                            "null"
                          ],
                          "examples": [
                            "abc123def4"
                          ]
                        },
                        "name": {
                          "description": "The display name of the subfolder.",
                          "type": [
                            "string",
                            "null"
                          ],
                          "examples": [
                            "Marketing Videos"
                          ]
                        },
                        "description": {
                          "description": "A description for the subfolder.",
                          "type": [
                            "string",
                            "null"
                          ],
                          "examples": [
                            "Collection of all marketing and promotional videos"
                          ]
                        },
                        "position": {
                          "description": "The position of this subfolder within its folder, used for ordering.",
                          "type": [
                            "integer",
                            "null"
                          ],
                          "examples": [
                            1
                          ]
                        },
                        "created": {
                          "description": "The date when the subfolder was created.",
                          "type": [
                            "string",
                            "null"
                          ],
                          "format": "date-time",
                          "examples": [
                            "2024-01-15T10:30:00+00:00"
                          ]
                        },
                        "updated": {
                          "description": "The date when the subfolder was last modified.",
                          "type": [
                            "string",
                            "null"
                          ],
                          "format": "date-time",
                          "examples": [
                            "2024-01-20T14:45:00+00:00"
                          ]
                        },
                        "cursor": {
                          "description": "A cursor for stable pagination based on current `sort_by` order. You can pass this to `cursor[before]` or `cursor[after]` as a parameter to fetch the records before or after this record in the same sort order. This is only populated if records were fetched with `cursor[enabled]`, or `cursor[before]` or `cursor[after]`.",
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "hashed_id",
                        "position",
                        "created",
                        "updated"
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "medias": {
                          "description": "Array of media files contained in this subfolder.",
                          "type": "array",
                          "items": {
                            "unevaluatedProperties": false,
                            "allOf": [
                              {
                                "type": "object",
                                "description": "A media generally represents a video or an audio which can be embedded into your website.\n\nCDN-backed medias are accessible using this url structure: https://fast.wistia.com/embed/medias/{hashed_id}.m3u8.\nFor more information, see https://docs.wistia.com/docs/asset-urls#getting-hls-assets.\n",
                                "properties": {
                                  "id": {
                                    "description": "A unique numeric identifier for the media within the system.",
                                    "type": "integer"
                                  },
                                  "name": {
                                    "description": "The display name of the media.",
                                    "type": "string"
                                  },
                                  "type": {
                                    "description": "A string representing what type of media this is.",
                                    "type": "string",
                                    "enum": [
                                      "Video",
                                      "Audio",
                                      "Image",
                                      "PdfDocument",
                                      "MicrosoftOfficeDocument",
                                      "Swf",
                                      "UnknownType"
                                    ]
                                  },
                                  "archived": {
                                    "description": "Whether or not the media is archived, either true or false.",
                                    "type": "boolean"
                                  },
                                  "created": {
                                    "description": "The date when the media was originally uploaded.",
                                    "type": "string",
                                    "format": "date-time"
                                  },
                                  "updated": {
                                    "description": "The date when the media was last changed.",
                                    "type": "string",
                                    "format": "date-time"
                                  },
                                  "duration": {
                                    "unevaluatedProperties": false,
                                    "description": "Specifies the length (in seconds) for audio and video files. Specifies number of pages in the document. Omitted for other types of media.",
                                    "oneOf": [
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "embedCode": {
                                    "description": "DEPRECATED: If you want to programmatically embed videos, follow the construct an embed code guide.\n",
                                    "type": "string",
                                    "deprecated": true
                                  },
                                  "hashed_id": {
                                    "description": "A unique alphanumeric identifier for this media.",
                                    "type": "string"
                                  },
                                  "description": {
                                    "description": "A description for the media which usually appears near the top of the sidebar on the media's page.",
                                    "type": "string"
                                  },
                                  "progress": {
                                    "description": "A floating point value between 0 and 1 that indicates the progress of the processing for this file.",
                                    "type": "number",
                                    "maximum": 1,
                                    "minimum": 0
                                  },
                                  "status": {
                                    "description": "Post upload processing status. - `queued`: the file is waiting in the queue to be processed. - `processing`: the file is actively being processed. - `ready`: the file has been fully processed and is ready for embedding and viewing. - `failed`: the file was unable to be processed (usually a format or size error).\n",
                                    "type": "string",
                                    "enum": [
                                      "queued",
                                      "processing",
                                      "ready",
                                      "failed"
                                    ]
                                  },
                                  "section": {
                                    "unevaluatedProperties": false,
                                    "description": "The title of the section in which the media appears. This attribute is omitted if the media is not in a section (default).",
                                    "oneOf": [
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "thumbnail": {
                                    "unevaluatedProperties": false,
                                    "type": "object",
                                    "properties": {
                                      "url": {
                                        "type": "string"
                                      },
                                      "width": {
                                        "type": "integer"
                                      },
                                      "height": {
                                        "type": "integer"
                                      }
                                    }
                                  },
                                  "protected": {
                                    "description": "Whether the media is protected (e.g. requires a password or other authentication to view). Null if the media is not protected.",
                                    "type": [
                                      "boolean",
                                      "null"
                                    ]
                                  }
                                }
                              }
                            ]
                          }
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized, invalid or missing token",
            "content": {
              "application/json": {
                "schema": {
                  "unevaluatedProperties": false,
                  "type": "object",
                  "properties": {
                    "code": {
                      "description": "A machine-readable identifier for the specific authorization failure.",
                      "type": "string",
                      "enum": [
                        "unauthorized_credentials",
                        "account_inactive",
                        "unauthorized_scope",
                        "unauthorized_params"
                      ]
                    },
                    "error": {
                      "type": "string",
                      "examples": [
                        "Invalid credentials."
                      ]
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Folder or subfolder not found",
            "content": {
              "application/json": {
                "schema": {
                  "unevaluatedProperties": false,
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "examples": [
                        "Subfolder with ID xyz789ghi0 not found."
                      ]
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "unevaluatedProperties": false,
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "examples": [
                        "Internal server error"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "tags": [
          "Subfolders"
        ],
        "x-readme": {
          "code-samples": [
            {
              "name": "Typescript (SDK)",
              "language": "javascript",
              "code": "import { Wistia } from \"@wistia/wistia-api-client\";\n\nconst wistia = new Wistia({\n  bearerAuth: process.env[\"WISTIA_BEARER_AUTH\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await wistia.subfolders.get({\n    folderId: \"abc123def4\",\n    subfolderId: \"xyz789ghi0\",\n  });\n\n  console.log(result);\n}\n\nrun();"
            }
          ]
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "x-readme": {
    "samples-languages": [
      "javascript",
      "shell",
      "node",
      "python",
      "ruby"
    ]
  }
}
````