> ## 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 media vaults

> Fetches the media vault albums of the channel via Posttu's Fansly REST API (POST /api/v1/fansly/vault) and MCP server.



## OpenAPI

````yaml openapi.json POST /api/v1/fansly/vault
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:
    post:
      tags:
        - Fansly
      summary: List Fansly media vaults
      description: |-
        Fetches the media vault albums of the channel.
        Requires API key scope: `fansly:read`.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FanslyVaultApiInput'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FanslyVaultResponse'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    FanslyVaultApiInput:
      type: object
      properties:
        channelId:
          type: string
          description: Fansly channel ID
          example: ch_fansly123
      required:
        - channelId
    FanslyVaultResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Success status
        data:
          $ref: '#/components/schemas/MediaVaultResponse'
      required:
        - success
        - data
    MediaVaultResponse:
      type:
        - object
        - 'null'
      properties:
        albums:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              accountId:
                type: string
              pos:
                type: number
              title:
                type:
                  - string
                  - 'null'
              description:
                type:
                  - string
                  - 'null'
              type:
                type: number
              status:
                type: number
              itemCount:
                type: number
              lastItemId:
                type:
                  - string
                  - 'null'
              version:
                type: number
              createdAt:
                type: number
            required:
              - id
              - accountId
              - pos
              - title
              - description
              - type
              - status
              - itemCount
              - lastItemId
              - version
              - createdAt
        aggregationData:
          type: object
          properties:
            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:
            - media
      required:
        - albums
        - aggregationData
      description: The MediaVaultResponse.
  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.