{
  "openapi": "3.1.0",
  "info": {
    "title": "cloudmail website read API",
    "version": "1.0.0",
    "description": "Public facts about cloudmail: features, pricing, FAQ and comparisons. Read-only, no key. The same facts the pages on trycloudmail.com show. Lists return 10 items by default and at most 25. Rate limit: 60 requests a minute per IP address. Over that, the answer is 429 with a Retry-After header. This is not the API of a cloudmail deployment; each deployment serves its own at /api/v1/openapi.json."
  },
  "servers": [
    {
      "url": "https://trycloudmail.com"
    }
  ],
  "externalDocs": {
    "description": "Setup for MCP clients, REST and the CLI",
    "url": "https://trycloudmail.com/mcp"
  },
  "paths": {
    "/v1/search": {
      "get": {
        "operationId": "search",
        "summary": "Search cloudmail facts",
        "description": "Keyword search across cloudmail's features, FAQ answers, plans, comparisons and documentation links. Returns the best matches with their text and a link, 10 by default and at most 25. Public data, the same facts the page shows. No key needed.",
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "required": true,
            "description": "Keywords, for example \"import gmail\".",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "How many items to return. Default 10, at most 25; a higher number is lowered to 25.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 25,
              "default": 10
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "query": {
                      "type": "string"
                    },
                    "total": {
                      "type": "integer",
                      "description": "How many items match, before limit and offset."
                    },
                    "limit": {
                      "type": "integer",
                      "description": "The limit that was applied."
                    },
                    "results": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "type": {
                            "type": "string",
                            "enum": [
                              "feature",
                              "faq",
                              "comparison",
                              "doc",
                              "plan"
                            ]
                          },
                          "title": {
                            "type": "string"
                          },
                          "text": {
                            "type": "string",
                            "description": "The feature description, FAQ answer, plan summary, comparison summary or doc description."
                          },
                          "url": {
                            "type": "string",
                            "description": "Where to read more: a page on trycloudmail.com, or the documentation on GitHub."
                          }
                        },
                        "required": [
                          "type",
                          "title",
                          "text",
                          "url"
                        ]
                      }
                    }
                  },
                  "required": [
                    "query",
                    "total",
                    "limit",
                    "results"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "An argument is missing or not valid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/pricing": {
      "get": {
        "operationId": "get_pricing",
        "summary": "Get cloudmail pricing",
        "description": "The two cloudmail licences with their prices and buy links, the upgrade price, what the licence covers, and what Cloudflare charges to run it. Prices are in USD. Public data, the same facts the page shows. No key needed.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string",
                      "description": "The page on trycloudmail.com that shows this."
                    },
                    "currency": {
                      "type": "string",
                      "description": "Currency of every price here."
                    },
                    "billing": {
                      "type": "string",
                      "enum": [
                        "one-time"
                      ],
                      "description": "Each licence is paid once for one deployment. There is no subscription and no per-seat fee."
                    },
                    "plans": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "price": {
                            "type": "number",
                            "description": "One-time price."
                          },
                          "domains": {
                            "type": "string",
                            "description": "How many domains the licence covers."
                          },
                          "summary": {
                            "type": "string"
                          },
                          "href": {
                            "type": "string",
                            "description": "Checkout link."
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "price",
                          "domains",
                          "summary",
                          "href"
                        ]
                      }
                    },
                    "upgradePrice": {
                      "type": "number",
                      "description": "Price to move from the first plan to the second later, from inside the app."
                    },
                    "licenceTerms": {
                      "type": "object",
                      "properties": {
                        "updates": {
                          "type": "string",
                          "description": "Which releases the licence covers."
                        },
                        "support": {
                          "type": "object",
                          "properties": {
                            "solo": {
                              "type": "string"
                            },
                            "unlimited": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "solo",
                            "unlimited"
                          ]
                        }
                      },
                      "required": [
                        "updates",
                        "support"
                      ]
                    },
                    "cloudflare": {
                      "type": "object",
                      "properties": {
                        "workersPaid": {
                          "type": "number",
                          "description": "Cloudflare's Workers Paid plan, per account per month. Recommended, and needed to send through Cloudflare Email Service."
                        },
                        "emailsIncluded": {
                          "type": "integer",
                          "description": "Sent emails a month included with Workers Paid."
                        },
                        "emailsOverPer1000": {
                          "type": "number",
                          "description": "Price per 1,000 sent emails after that."
                        },
                        "aiNeuronsFreePerDay": {
                          "type": "integer",
                          "description": "Workers AI neurons a day that are free."
                        },
                        "aiOverPer1000Neurons": {
                          "type": "number",
                          "description": "Price per 1,000 neurons after that."
                        }
                      },
                      "required": [
                        "workersPaid",
                        "emailsIncluded",
                        "emailsOverPer1000",
                        "aiNeuronsFreePerDay",
                        "aiOverPer1000Neurons"
                      ]
                    }
                  },
                  "required": [
                    "url",
                    "currency",
                    "billing",
                    "plans",
                    "upgradePrice",
                    "licenceTerms",
                    "cloudflare"
                  ]
                }
              }
            }
          },
          "429": {
            "description": "Too many requests.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/features": {
      "get": {
        "operationId": "list_features",
        "summary": "List cloudmail features",
        "description": "cloudmail's features with a one-sentence description each, in the groups the features page uses (AI, agents, mail, teams, sending, security, apps). Returns 10 by default and at most 25 per call; use offset for more, or group to narrow. Public data, the same facts the page shows. No key needed.",
        "parameters": [
          {
            "name": "group",
            "in": "query",
            "required": false,
            "description": "Only this group.",
            "schema": {
              "type": "string",
              "enum": [
                "ai",
                "agents",
                "mail",
                "teams",
                "sending",
                "security",
                "apps"
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "How many items to return. Default 10, at most 25; a higher number is lowered to 25.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 25,
              "default": 10
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "How many items to skip, for the next page.",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string",
                      "description": "The page on trycloudmail.com that shows this."
                    },
                    "total": {
                      "type": "integer",
                      "description": "How many items match, before limit and offset."
                    },
                    "limit": {
                      "type": "integer",
                      "description": "The limit that was applied."
                    },
                    "offset": {
                      "type": "integer"
                    },
                    "groups": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "kicker": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "intro": {
                            "type": "string"
                          },
                          "count": {
                            "type": "integer",
                            "description": "Features in this group."
                          }
                        },
                        "required": [
                          "id",
                          "kicker",
                          "title",
                          "intro",
                          "count"
                        ]
                      }
                    },
                    "features": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "group": {
                            "type": "string",
                            "description": "A group id."
                          },
                          "title": {
                            "type": "string"
                          },
                          "body": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string",
                            "description": "The page on trycloudmail.com that shows this."
                          }
                        },
                        "required": [
                          "group",
                          "title",
                          "body",
                          "url"
                        ]
                      }
                    }
                  },
                  "required": [
                    "url",
                    "total",
                    "limit",
                    "offset",
                    "groups",
                    "features"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "An argument is missing or not valid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/faq": {
      "get": {
        "operationId": "list_faq",
        "summary": "List cloudmail FAQ",
        "description": "The questions and answers from the home page (topic \"product\") and the pricing page (topic \"pricing\"): where mail is stored, what Cloudflare charges, agent sends and approval, licences, refunds. Returns 10 by default and at most 25. Public data, the same facts the page shows. No key needed.",
        "parameters": [
          {
            "name": "topic",
            "in": "query",
            "required": false,
            "description": "Only this topic.",
            "schema": {
              "type": "string",
              "enum": [
                "product",
                "pricing"
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "How many items to return. Default 10, at most 25; a higher number is lowered to 25.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 25,
              "default": 10
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "How many items to skip, for the next page.",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "total": {
                      "type": "integer",
                      "description": "How many items match, before limit and offset."
                    },
                    "limit": {
                      "type": "integer",
                      "description": "The limit that was applied."
                    },
                    "offset": {
                      "type": "integer"
                    },
                    "faq": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "topic": {
                            "type": "string",
                            "enum": [
                              "product",
                              "pricing"
                            ]
                          },
                          "q": {
                            "type": "string",
                            "description": "The question."
                          },
                          "a": {
                            "type": "string",
                            "description": "The answer."
                          },
                          "url": {
                            "type": "string",
                            "description": "The page on trycloudmail.com that shows this."
                          }
                        },
                        "required": [
                          "topic",
                          "q",
                          "a",
                          "url"
                        ]
                      }
                    }
                  },
                  "required": [
                    "total",
                    "limit",
                    "offset",
                    "faq"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "An argument is missing or not valid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/comparisons": {
      "get": {
        "operationId": "list_comparisons",
        "summary": "List cloudmail comparisons",
        "description": "The products cloudmail is compared with, each with a slug and a summary. Returns at most 25. Call get_comparison with a slug for the full table. Public data, the same facts the page shows. No key needed.",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "How many items to return. Default 10, at most 25; a higher number is lowered to 25.",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 25,
              "default": 10
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "url": {
                      "type": "string",
                      "description": "The page on trycloudmail.com that shows this."
                    },
                    "total": {
                      "type": "integer",
                      "description": "How many items match, before limit and offset."
                    },
                    "limit": {
                      "type": "integer",
                      "description": "The limit that was applied."
                    },
                    "comparisons": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string",
                            "description": "The other product."
                          },
                          "title": {
                            "type": "string"
                          },
                          "description": {
                            "type": "string"
                          },
                          "lede": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string",
                            "description": "The page on trycloudmail.com that shows this."
                          }
                        },
                        "required": [
                          "slug",
                          "name",
                          "title",
                          "description",
                          "lede",
                          "url"
                        ]
                      }
                    }
                  },
                  "required": [
                    "url",
                    "total",
                    "limit",
                    "comparisons"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "An argument is missing or not valid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "/v1/comparisons/{slug}": {
      "get": {
        "operationId": "get_comparison",
        "summary": "Get one cloudmail comparison",
        "description": "cloudmail against one other product (slugs: google-workspace, microsoft-365, fastmail, proton-mail, front, help-scout, missive, agentmail, mailcow): the side-by-side rows, why teams switch and how to move over. Another vendor's prices appear only where its own pricing page states them; pricingUrl is that page and note says when it was read. Public data, the same facts the page shows. No key needed.",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "description": "Which comparison.",
            "schema": {
              "type": "string",
              "enum": [
                "google-workspace",
                "microsoft-365",
                "fastmail",
                "proton-mail",
                "front",
                "help-scout",
                "missive",
                "agentmail",
                "mailcow"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "slug": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string",
                      "description": "The other product."
                    },
                    "title": {
                      "type": "string"
                    },
                    "description": {
                      "type": "string"
                    },
                    "lede": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string",
                      "description": "The page on trycloudmail.com that shows this."
                    },
                    "pricingUrl": {
                      "type": "string",
                      "description": "The other vendor's own pricing or requirements page."
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "topic": {
                            "type": "string"
                          },
                          "us": {
                            "type": "string",
                            "description": "cloudmail."
                          },
                          "them": {
                            "type": "string",
                            "description": "The other product."
                          }
                        },
                        "required": [
                          "topic",
                          "us",
                          "them"
                        ]
                      }
                    },
                    "reasons": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A reason teams switch to cloudmail."
                      }
                    },
                    "switching": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "description": "A step for moving over."
                      }
                    },
                    "note": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "slug",
                    "name",
                    "title",
                    "description",
                    "lede",
                    "url",
                    "pricingUrl",
                    "rows",
                    "reasons",
                    "switching"
                  ]
                }
              }
            }
          },
          "400": {
            "description": "An argument is missing or not valid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "Nothing has that slug.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "headers": {
              "Retry-After": {
                "description": "Seconds to wait.",
                "schema": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Error": {
        "type": "object",
        "required": [
          "error"
        ],
        "properties": {
          "error": {
            "type": "object",
            "required": [
              "code",
              "message"
            ],
            "properties": {
              "code": {
                "type": "string",
                "enum": [
                  "invalid_argument",
                  "not_found",
                  "rate_limited",
                  "internal_error"
                ]
              },
              "message": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
