> ## 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 a Facebook message

> Get a Facebook message via Posttu's Facebook REST API (POST /api/v1/facebook/conversations/message/get) 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/facebook/conversations/message/get
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/facebook/conversations/message/get:
    post:
      tags:
        - Facebook
      summary: Get a Facebook message
      description: |-
        Get a Facebook message
        Requires API key scope: `facebook:read`.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FacebookMessageLookupInput'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FacebookUserMessageGetResponse'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    FacebookMessageLookupInput:
      type: object
      properties:
        channelId:
          type: string
          description: Facebook channel ID
          example: ch_fb123
        messageId:
          type: string
          description: Facebook message ID
        fields:
          type: array
          items:
            type: string
          description: Graph API fields to request
      required:
        - channelId
        - messageId
    FacebookUserMessageGetResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Success status
        data:
          type:
            - object
            - 'null'
          properties:
            data:
              $ref: '#/components/schemas/FacebookMessageDetails'
            success:
              type: boolean
          required:
            - data
            - success
          description: 'The { data: FacebookMessageDetails; success: boolean; }.'
      required:
        - success
        - data
    FacebookMessageDetails:
      type: object
      properties:
        id:
          type: string
        created_time:
          type: string
        from:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
          required:
            - id
        to:
          type: object
          properties:
            data:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                  name:
                    type: string
                  email:
                    type: string
                required:
                  - id
          required:
            - data
        message:
          type: string
        attachments:
          type: object
          properties:
            data:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                  mime_type:
                    type: string
                  name:
                    type: string
                  size:
                    type: number
                  file_url:
                    type: string
                  image_data:
                    type: object
                    properties:
                      width:
                        type: number
                      height:
                        type: number
                      url:
                        type: string
                    required:
                      - width
                      - height
                  video_data:
                    type: object
                    properties:
                      width:
                        type: number
                      height:
                        type: number
                      url:
                        type: string
                required:
                  - id
                additionalProperties: {}
          required:
            - data
      required:
        - id
      additionalProperties: {}
  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.