> ## 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.

# Get Fanvue chat message media

> Get Fanvue chat message media via Posttu's Fanvue REST API (POST /api/v1/fanvue/conversations/message/media) and MCP server.

> [!NOTE]
>
> Looking for a unified API across all platforms? Posttu also provides a centralized [Inbox API](https://docs.posttu.com/api-reference/inbox/overview.md) (`/api/v1/inbox/*`) supporting comments, direct messages, replies, likes, and moderation in a single endpoint.


## OpenAPI

````yaml openapi.json POST /api/v1/fanvue/conversations/message/media
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/fanvue/conversations/message/media:
    post:
      tags:
        - Fanvue
      summary: Get Fanvue chat message media
      description: |-
        Get Fanvue chat message media
        Requires API key scope: `fanvue:read`.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FanvueMessageApiInput'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FanvueChatMessageMediaResponse'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    FanvueMessageApiInput:
      type: object
      properties:
        channelId:
          type: string
          description: Fanvue channel ID
          example: ch_fanvue123
        userUuid:
          type: string
        messageUuid:
          type: string
      required:
        - channelId
        - userUuid
        - messageUuid
    FanvueChatMessageMediaResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Success status
        data:
          $ref: '#/components/schemas/FanvueResolveMessageMediaResponse'
      required:
        - success
        - data
    FanvueResolveMessageMediaResponse:
      type:
        - object
        - 'null'
      properties:
        results:
          type: object
          additionalProperties:
            type:
              - object
              - 'null'
            properties:
              uuid:
                type: string
              messageUuid:
                type: string
              mediaType:
                type: string
                enum:
                  - image
                  - video
                  - audio
                  - document
                  - unknown
              created_at:
                type:
                  - string
                  - 'null'
              sentAt:
                type:
                  - string
                  - 'null'
              ownerUuid:
                type: string
              name:
                type:
                  - string
                  - 'null'
              variants:
                type: array
                items:
                  type: object
                  properties:
                    variantType:
                      type: string
                      enum:
                        - main
                        - thumbnail
                        - thumbnail_gallery
                        - blurred
                    displayPosition:
                      type: number
                    url:
                      type: string
                    width:
                      type:
                        - number
                        - 'null'
                    height:
                      type:
                        - number
                        - 'null'
                    lengthMs:
                      type:
                        - number
                        - 'null'
                  required:
                    - variantType
                    - displayPosition
                    - url
                    - width
                    - height
                    - lengthMs
              purchasedAt:
                type:
                  - string
                  - 'null'
              pricing:
                type:
                  - object
                  - 'null'
                properties:
                  USD:
                    type: object
                    properties:
                      price:
                        type: number
                    required:
                      - price
                required:
                  - USD
              amountPaid:
                type:
                  - object
                  - 'null'
                properties:
                  USD:
                    type: object
                    properties:
                      price:
                        type: number
                    required:
                      - price
                required:
                  - USD
            required:
              - uuid
              - messageUuid
              - mediaType
              - created_at
              - sentAt
              - ownerUuid
              - name
        errors:
          type: array
          items:
            type: object
            properties:
              mediaUuid:
                type: string
              code:
                type: string
                enum:
                  - NOT_IN_MESSAGE
                  - INTERNAL
              message:
                type: string
            required:
              - mediaUuid
              - code
              - message
      required:
        - results
        - errors
      description: The FanvueResolveMessageMediaResponse.
  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.