{
  "info": {
    "name": "Goodbits — mcp.ai",
    "description": "REST API for the Goodbits 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/goodbits",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "goodbits_create_link",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/link",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "link"
          ]
        },
        "description": "Tool to create a content link in Goodbits Content Library. Use when you have an article URL and optional metadata ready.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"url\": \"\",\n  \"title\": \"\",\n  \"description\": \"\",\n  \"image_candidates\": \"\",\n  \"fetch_remote_thumbnail_url\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "goodbits_create_subscriber",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/create/subscriber",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "create",
            "subscriber"
          ]
        },
        "description": "Tool to add a new subscriber to the newsletter. Use after confirming user opt-in.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"subscriber\": {}\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "goodbits_delete_subscriber",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/delete/subscriber",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "delete",
            "subscriber"
          ]
        },
        "description": "Tool to mark a subscriber as deleted. Use when you need to prevent future emails being sent to a subscriber.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"email\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "goodbits_get_newsletter",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/newsletter",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "newsletter"
          ]
        },
        "description": "Tool to fetch newsletter identifier and name. Use after authenticating with your API token.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "goodbits_update_subscriber_status",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/update/subscriber/status",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "update",
            "subscriber",
            "status"
          ]
        },
        "description": "Tool to update subscriber status. Use when you need to change an existing subscriber’s subscription status by email. Example: \"Update the status of john@example.com to unsubscribed\"",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"email\": \"\",\n  \"status\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}