CustomDomain Docs
Billing

Public plan catalog (plus billing {configured, mode})

Public plan catalog (plus billing {configured, mode}): CustomDomain™ API reference in the billing group. Covers parameters, request body and responses.

GET
/plans

The public plan catalog: starter ($10 a month, 10 new domains in any 12 months, the default for a new workspace, 14 day trial), startup, growth, and the contact-sales premium and enterprise. The retired free plan is not listed; a workspace created before it was retired keeps it until it subscribes. The figures above are the defaults: an operator can change a plan's price_cents, domains_per_year (and so domains_per_month and quota), trial_days and hard_cap without a release, so read them from this response rather than hard coding them. billing.trial_days is the default plan's trial.

Response Body

application/json

curl -X GET "https://example.com/plans"
{  "plans": [    {      "id": "starter",      "name": "string",      "price_cents": 0,      "public_price": true,      "domains_per_year": 0,      "domains_per_month": 0,      "quota": 0,      "quota_window_months": 0,      "metered": true,      "overage_increment": 0,      "motion": "self_serve",      "entitlements": {},      "hard_cap": true,      "trial_days": 0,      "default": true    }  ],  "billing": {    "configured": true,    "mode": "test",    "trial_days": 0  }}