Create plan
Creates a new plan in draft status.
Authorizations
Server API Key
Headers
Account ID — optional when authenticating with a user JWT (Bearer token); falls back to the user's first membership. Ignored for API-key auth.
Environment ID — required when authenticating with a user JWT (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the key).
Body
Request to create a new plan
The unique identifier for the entity
1 - 255^[a-zA-Z0-9][a-zA-Z0-9_|.-]*$The display name of the package
255The product ID to associate the plan with
1 - 255^[a-zA-Z0-9][a-zA-Z0-9_|.-]*$The description of the package
255The ID of the parent plan, if applicable
255The pricing type of the package
FREE, PAID, CUSTOM The unique identifier for the entity in the billing provider
255The status of the package
DRAFT, PUBLISHED, ARCHIVED Metadata associated with the entity
Default trial configuration for the plan
Response
The newly created plan object.
Response object
Plan configuration object
