> ## 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 Fansly vault album media

> Fetches media inside a vault album with media type filter, search and time-window pagination programmatically via Posttu's Fansly API and MCP server.



## OpenAPI

````yaml openapi.json POST /api/v1/fansly/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/fansly/vault/folders:
    post:
      tags:
        - Fansly
      summary: List Fansly vault album media
      description: >-
        Fetches media inside a vault album with media type filter, search and
        time-window pagination.

        Requires API key scope: `fansly:read`.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FanslyVaultAlbumApiInput'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FanslyVaultAlbumResponse'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    FanslyVaultAlbumApiInput:
      type: object
      properties:
        channelId:
          type: string
          description: Fansly channel ID
          example: ch_fansly123
        vaultId:
          type: string
        params:
          type: object
          properties:
            mediaType:
              type: string
              enum:
                - '1'
                - '2'
            search:
              type: string
            before:
              type: number
            after:
              type: number
      required:
        - channelId
        - vaultId
    FanslyVaultAlbumResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Success status
        data:
          $ref: '#/components/schemas/MediaVaultAlbumResponse'
      required:
        - success
        - data
    MediaVaultAlbumResponse:
      type:
        - object
        - 'null'
      properties:
        albumMedia:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              mediaId:
                type: string
              mediaType:
                type: number
              albumId:
                type: string
              accountId:
                type: string
              createdAt:
                type: number
              customFilename:
                type: string
            required:
              - id
              - mediaId
              - mediaType
              - albumId
              - accountId
              - createdAt
              - customFilename
        media:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              type:
                type: number
              status:
                type: number
              accountId:
                type: string
              mimetype:
                type: string
              flags:
                type: number
              filename:
                type: string
              location:
                type: string
              width:
                type: number
              height:
                type: number
              metadata:
                type: string
              updatedAt:
                type: number
              createdAt:
                type: number
              variants:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                    type:
                      type: number
                    status:
                      type: number
                    mimetype:
                      type: string
                    flags:
                      type: number
                    filename:
                      type: string
                    location:
                      type: string
                    width:
                      type: number
                    height:
                      type: number
                    metadata:
                      type: string
                    updatedAt:
                      type: number
                    locations:
                      type: array
                      items:
                        type: object
                        properties:
                          locationId:
                            type: string
                          location:
                            type: string
                        required:
                          - locationId
                          - location
                  required:
                    - id
                    - type
                    - status
                    - mimetype
                    - flags
                    - filename
                    - location
                    - width
                    - height
                    - metadata
                    - updatedAt
                    - locations
              variantHash:
                type: object
                properties: {}
              locations:
                type: array
                items:
                  type: object
                  properties:
                    locationId:
                      type: string
                    location:
                      type: string
                  required:
                    - locationId
                    - location
            required:
              - id
              - type
              - status
              - accountId
              - mimetype
              - flags
              - filename
              - location
              - width
              - height
              - metadata
              - updatedAt
              - createdAt
              - variants
              - variantHash
              - locations
      required:
        - albumMedia
        - media
      description: The z.infer< typeof MediaVaultAlbumResponseSchema >.
  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.