{
  "info": {
    "name": "Ayrshare — mcp.ai",
    "description": "REST API for the Ayrshare 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/ayrshare",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "ayrshare_create_auto_schedule",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/auto/schedule",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "auto",
            "schedule"
          ]
        },
        "description": "Tool to create a new auto-post schedule with specified times and optional weekday filters. Use when setting up recurring posting plans.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"title\": \"\",\n  \"schedule\": \"\",\n  \"daysOfWeek\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "ayrshare_delete_delete_post",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/delete/post",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "delete",
            "post"
          ]
        },
        "description": "Tool to delete an Ayrshare post. Use when you need to remove a published or scheduled post by its Ayrshare Post ID, after confirming the correct ID. Note: Instagram and TikTok published posts cannot b",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"id\": \"\",\n  \"bulk\": \"\",\n  \"markManualDeleted\": false,\n  \"deleteAllScheduled\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "ayrshare_get_post_history",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/post/history",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "post",
            "history"
          ]
        },
        "description": "Tool to retrieve Ayrshare post history with metrics. Use when you need to fetch and filter past posts by date, status, or record count.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"limit\": 0,\n  \"status\": \"\",\n  \"endDate\": \"\",\n  \"lastDays\": 0,\n  \"startDate\": \"\",\n  \"Profile-Key\": \"\",\n  \"lastRecords\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}