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

# List OnlyFans vault folder media

> Lists media inside a vault folder with filtering by type, sorting, search and pagination programmatically via Posttu's OnlyFans API and MCP server.



## OpenAPI

````yaml openapi.json POST /api/v1/onlyfans/vault/folders
openapi: 3.1.0
info:
  title: Posttu API
  version: 1.0.0
  description: >-
    Posttu V1 REST API — Workflow automation, social-media post management,
    inbox, tags, and calendar.
servers:
  - url: https://posttu.com
    description: Production
security: []
paths:
  /api/v1/onlyfans/vault/folders:
    post:
      tags:
        - OnlyFans
      summary: List OnlyFans vault folder media
      description: >-
        Lists media inside a vault folder with filtering by type, sorting,
        search and pagination.

        Requires API key scope: `onlyfans:read`.
      requestBody:
        content:
          application/json:
            schema:
              allOf:
                - type: object
                  properties:
                    offset:
                      type: number
                      default: 0
                    limit:
                      type: number
                      default: 24
                    field:
                      type: string
                      enum:
                        - recent
                        - most-liked
                        - highest-tips
                      default: recent
                    sort:
                      type: string
                      enum:
                        - desc
                        - asc
                      default: desc
                    list:
                      type: string
                      default: all
                    type:
                      type: string
                      enum:
                        - photo
                        - video
                        - audio
                        - gif
                    query:
                      type: string
                - $ref: '#/components/schemas/OnlyfansBaseInput'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OnlyfansVaultAlbumResponse'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    OnlyfansBaseInput:
      type: object
      properties:
        channelId:
          type: string
          description: OnlyFans channel ID
          example: ch_of123
      required:
        - channelId
    OnlyfansVaultAlbumResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Success status
        error:
          type: string
          description: Error message
        data:
          type:
            - object
            - 'null'
          properties:
            list:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: number
                  type:
                    type: string
                    enum:
                      - photo
                      - video
                      - audio
                      - gif
                  convertedToVideo:
                    type: boolean
                  canView:
                    type: boolean
                  hasError:
                    type: boolean
                  createdAt:
                    type: string
                  isReady:
                    type: boolean
                  counters:
                    type: object
                    properties:
                      likesCount:
                        type: number
                      tipsSumm:
                        type: number
                    required:
                      - likesCount
                      - tipsSumm
                  files:
                    type: object
                    properties:
                      full:
                        type: object
                        properties:
                          url:
                            type: string
                          width:
                            type: number
                          height:
                            type: number
                          size:
                            type: number
                          sources:
                            type: array
                            items: {}
                        required:
                          - url
                          - width
                          - height
                          - size
                          - sources
                      thumb:
                        type: object
                        properties:
                          url:
                            type: string
                          width:
                            type: number
                          height:
                            type: number
                          size:
                            type: number
                        required:
                          - url
                          - width
                          - height
                          - size
                      preview:
                        type: object
                        properties:
                          url:
                            type: string
                          width:
                            type: number
                          height:
                            type: number
                          size:
                            type: number
                        required:
                          - url
                          - width
                          - height
                          - size
                      squarePreview:
                        type: object
                        properties:
                          url:
                            type: string
                          width:
                            type: number
                          height:
                            type: number
                          size:
                            type: number
                        required:
                          - url
                          - width
                          - height
                          - size
                  duration:
                    type: number
                  hasPosts:
                    type: boolean
                  listStates:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: number
                        type:
                          type: string
                        name:
                          type: string
                        hasMedia:
                          type: boolean
                        canAddMedia:
                          type: boolean
                      required:
                        - id
                        - type
                        - name
                        - hasMedia
                        - canAddMedia
                  hasCustomPreview:
                    type: boolean
                  videoSources:
                    type: object
                    properties:
                      '240': {}
                      '720': {}
                required:
                  - id
                  - type
                  - files
            hasMore:
              type: boolean
          required:
            - list
            - hasMore
      required:
        - success
        - data
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: 'Pass your API key via the Authorization header: `Bearer <api-key>`'

````

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