> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# List recent Instagram media



## OpenAPI

````yaml /openapi.json get /api/v1/instagram/media
openapi: 3.1.0
info:
  title: Instance Public API
  version: 1.0.0
  description: >-
    Programmatic REST API for Instance CRM, Sales Chat, Automations, Audience
    Lists, Bio Links, Scheduled Posts, Analytics, and Webhooks.
servers:
  - url: http://localhost:4000
    description: Local Self-Hosted Development
  - url: https://api.yourdomain.com
    description: Production Instance API
security:
  - ApiKeyAuth: []
tags:
  - name: Workspace
    description: Workspace info, tags, pipelines, and automations list
  - name: Contacts
    description: CRM leads, tags, stages, assignments, and history
  - name: Conversations
    description: Sales Chat threads, AI toggle, Whisper Notes, and deal closing
  - name: Messages
    description: Send outbound Instagram DMs
  - name: Automations
    description: Trigger, update, and inspect automation executions
  - name: Audience Lists
    description: Segmented email/phone contact lists
  - name: Bio Links
    description: Bio Link page settings, links, products, leads, and analytics
  - name: Posts
    description: Schedule and manage Instagram Photos, Reels, Carousels, and Stories
  - name: Instagram
    description: Media, Story mentions, and DM Icebreakers
  - name: Analytics
    description: Workspace overview and sales funnel metrics
  - name: Webhooks
    description: Manage outbound HMAC-SHA256 webhooks
paths:
  /api/v1/instagram/media:
    get:
      tags:
        - Instagram
      summary: List recent Instagram media
      parameters:
        - name: accountId
          in: query
          required: false
          description: Connected Instagram account ID
          schema:
            type: string
      responses:
        '200':
          description: Instagram media list
          content:
            application/json:
              schema:
                type: object
              example:
                status: success
                data:
                  data:
                    - id: '17900000001'
                      caption: How we scale DMs
                      media_type: VIDEO
                      permalink: https://www.instagram.com/p/abc123/
                      timestamp: 2026-04-08T18:00:00+0000
                      isAutomated: true
                      automation:
                        id: auto_1
                        name: Reel Comment Funnel
                        triggerType: COMMENT
                        isActive: true
                  paging: {}
                  cached: false
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        Workspace API key generated in Dashboard -> Settings -> API Keys
        (inst_live_...)

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.