Features

Create a new feature

post/subscription/features

Request

  • Base URL: https://app.mammoth.io/api/v2
  • URL: https://app.mammoth.io/api/v2/subscription/features
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-KEY and API key in header X-API-SECRET and API key in header X-WORKSPACE-ID

Request body

namestring required

Feature name

descriptionstring nullable

Feature description

price_per_monthnumber

Monthly price in USD

enabledboolean

Whether feature is enabled

rollout_defaultstring nullable

How a catalog change reaches live deals that do not state this item: retroactive = follows the base plan; opt_in = the deal keeps its old value until opted in

kindstring nullable

capacity | meter | enum | switch. Structural: it decides how every plan value stored under this key is read, and cannot be changed after creation

unitstring nullable

Display unit, e.g. GB, /mo, days

group_namestring nullable

Scale | Access | Brand | Governance | Service. NULL means the key is NEVER GATED: granted on every plan and listed apart

enforcementstring nullable

enforced | unenforced | unbuilt | unconfirmed | split | commitment. Anything but 'enforced' requires a note

notestring nullable

What the product actually does today. REQUIRED when enforcement is not 'enforced' — the badge alone cannot be used by the person quoting the limit

valuesstring[] nullable

Allowed values for the feature

Response

Document created, URL follows

messagestring required

Changes

No recorded changes to this operation across all 3 revisions of this API.