{
  "info": {
    "name": "Instagram Actions — mcp.ai",
    "description": "REST API for the Instagram Actions MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/instagram_actions",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "instagram_actions_follow",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/follow",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "follow"
          ]
        },
        "description": "Follow one or more Instagram users (by @username or user id). Returns a job_id.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"targets\": \"\",\n  \"speed\": \"\",\n  \"account\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_actions_get_job_status",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/job/status",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "job",
            "status"
          ]
        },
        "description": "Get the status/progress/result of a previously started action by its job_id.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"job_id\": \"\",\n  \"account\": \"\",\n  \"job_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_actions_like",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/like",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "like"
          ]
        },
        "description": "Like one or more Instagram posts. Returns a job_id; poll instagram_actions_get_job_status.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"media_ids\": \"\",\n  \"speed\": \"\",\n  \"account\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_actions_list_accounts",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/accounts",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "accounts"
          ]
        },
        "description": "List the Instagram accounts connected to this install — id, username, label.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"account\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_actions_list_jobs",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/jobs",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "jobs"
          ]
        },
        "description": "List recent action jobs for the connected account, optionally filtered by status.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"status\": \"\",\n  \"account\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_actions_list_stories",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/list/stories",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "list",
            "stories"
          ]
        },
        "description": "List available stories — the home tray, or a specific user's stories when `target` is given. Returns a job_id (or the result inline when wait=true).",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"target\": \"\",\n  \"wait\": false,\n  \"account\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_actions_post_feed",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/post/feed",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "post",
            "feed"
          ]
        },
        "description": "Publish to the feed — a single photo/video, or a carousel when more than one media URL is given. Media must be reachable public URLs. Returns a job_id; poll instagram_actions_get_job_status.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"media_urls\": \"\",\n  \"caption\": \"\",\n  \"account\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_actions_post_story",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/post/story",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "post",
            "story"
          ]
        },
        "description": "Publish a photo or video to your story. Media must be a reachable public URL. Returns a job_id.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"media_url\": \"\",\n  \"caption\": \"\",\n  \"mention\": \"\",\n  \"link\": \"\",\n  \"account\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_actions_read_messages",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/read/messages",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "read",
            "messages"
          ]
        },
        "description": "Read direct messages — the inbox, or a specific thread's messages when `thread_id` is given. Returns a job_id (or the result inline when wait=true).",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"thread_id\": \"\",\n  \"limit\": 0,\n  \"wait\": false,\n  \"account\": \"\",\n  \"thread_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_actions_reshare_story",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/reshare/story",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "reshare",
            "story"
          ]
        },
        "description": "Reshare to your own story a story you were mentioned/tagged in. Pass the story's `media_url` (delivered by the instagram_actions.story_mention webhook) — or `media_id` as a fallback. Returns a job_id.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"media_url\": \"\",\n  \"media_id\": \"\",\n  \"author\": \"\",\n  \"caption\": \"\",\n  \"account\": \"\",\n  \"media_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_actions_send_message",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/send/message",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "send",
            "message"
          ]
        },
        "description": "Send a direct message (to an existing thread_id or a @username). Returns a job_id.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"text\": \"\",\n  \"thread_id\": \"\",\n  \"username\": \"\",\n  \"account\": \"\",\n  \"thread_ids\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_actions_unfollow",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/unfollow",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "unfollow"
          ]
        },
        "description": "Unfollow one or more Instagram users (by @username or user id). Returns a job_id.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"targets\": \"\",\n  \"speed\": \"\",\n  \"account\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "instagram_actions_view_story",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/view/story",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "view",
            "story"
          ]
        },
        "description": "View (mark as seen) one or more stories. Returns a job_id.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"story_ids\": \"\",\n  \"account\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}