Maileditor Docs

Plans

Public, unauthenticated endpoints that list plugin plans and compare them.

No authentication. Prices and limits below are illustrative; read the live values from the endpoints.

List plans

GET /public/plugin/plans

200

{
  "message": "Plugin plans retrieved successfully",
  "result": {
    "plans": {
      "interval": [{ "value": "month", "label": "Monthly" }],
      "package": {
        "month": [
          {
            "id": 3,
            "title": "Pro",
            "description": "For growing teams",
            "price": 49,
            "discount_info": null,
            "is_free": false,
            "invoice_interval": "month",
            "invoice_period": 30,
            "trial_period": 14,
            "trial_interval": "day",
            "modules": [
              {
                "id": 5,
                "name": "Template gallery access",
                "feature": "template_gallery_access",
                "value": "unlimited",
                "reset_period": null,
                "order": 1
              }
            ]
          }
        ]
      }
    }
  }
}

Single plan

GET /public/plugin/plans/3

200 returns result.plan in the same shape as an entry above.

Compare plans

Monthly public plans, pivoted by module for a pricing table.

GET /public/plugin/compare-plans

200

{
  "message": "Plugin plans compared successfully",
  "result": {
    "plans": [ "…same shape as list plans, without the interval grouping…" ],
    "comparison": [
      {
        "module": "Template gallery access",
        "plans": [
          { "id": 1, "name": "Free", "price": 0, "value": "10", "reset_period": "monthly" },
          { "id": 3, "name": "Pro", "price": 49, "value": "unlimited", "reset_period": null }
        ]
      }
    ]
  }
}

On this page