> ## 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 raw Instagram media fields

> Get raw Instagram media fields via Posttu's Instagram REST API (POST /api/v1/instagram/posts/media) and MCP server.



## OpenAPI

````yaml openapi.json POST /api/v1/instagram/posts/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/instagram/posts/media:
    post:
      tags:
        - Instagram
      summary: Get raw Instagram media fields
      description: |-
        Get raw Instagram media fields
        Requires API key scope: `instagram:read`.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InstagramMediaLookupInput'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InstagramPostMediaGetResponse'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    InstagramMediaLookupInput:
      type: object
      properties:
        channelId:
          type: string
          description: Instagram channel ID
          example: ch_ig123
        postId:
          type: string
          description: Instagram media ID
        fields:
          type: array
          items:
            type: string
        edges:
          type: array
          items:
            type: string
      required:
        - channelId
        - postId
    InstagramPostMediaGetResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Success status
        data:
          $ref: '#/components/schemas/InstagramMediaResponse'
      required:
        - success
        - data
    InstagramMediaResponse:
      type:
        - object
        - 'null'
      properties:
        id:
          type: string
        media_type:
          type: string
          enum:
            - IMAGE
            - VIDEO
            - CAROUSEL_ALBUM
        media_url:
          type: string
        cover_url:
          type: string
        thumbnail_url:
          type: string
        permalink:
          type: string
        caption:
          type: string
        media_product_type:
          type: string
          enum:
            - FEED
            - REELS
            - STORY
        timestamp:
          type: string
        username:
          type: string
        is_comment_enabled:
          type: boolean
        is_shared_to_feed:
          type: boolean
        like_count:
          type: number
        comments_count:
          type: number
        children:
          type: object
          properties:
            data:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                  media_type:
                    type: string
                    enum:
                      - IMAGE
                      - VIDEO
                  media_url:
                    type: string
                  thumbnail_url:
                    type: string
                  timestamp:
                    type: string
                required:
                  - id
                additionalProperties: {}
          required:
            - data
        owner:
          type: object
          properties:
            id:
              type: string
          required:
            - id
        copyright_check_information:
          type: object
          properties:
            status:
              type: string
              enum:
                - completed
                - error
                - in_progress
                - not_started
            matches_found:
              type: boolean
          required:
            - status
      required:
        - id
      additionalProperties: {}
      description: The InstagramMediaResponse.
  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.