---
title: "POST /operations/billing/subscription"
method: POST
path: "/operations/billing/subscription"
tags: ["Operations/Billing/Subscription"]
---

# POST /operations/billing/subscription

`POST /operations/billing/subscription`

## Request

- Base URL: `https://api.optimyzee.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.optimyzee.com/operations/billing/subscription`
- Auth: none declared
- TypeScript: <https://skmtc.dev/optimyzee/apis/optimyzee-api/docs/operations/billing/subscription/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- object
  - `plan` 'STARTUP' | 'BUSINESS' | 'PROFESSIONAL', required
  - `description` string, required
  - `features` string[], required
  - `featured` boolean, required
  - `stripePriceId` string, required
  - `annual` boolean, required
  - `amount` number, required
  - `trial` number, nullable
  - `sales` boolean, required
  - `legacy` boolean, required

## Response `201`

Successful

- IdSchema
  - `id` integer, required

## Other responses

- `401`: Unauthenticated
- `403`: Forbidden
- `422`: Validation Error

---

[API](https://skmtc.dev/optimyzee/apis/optimyzee-api.md) - [All operations](https://skmtc.dev/optimyzee/apis/optimyzee-api/llms.txt) - [OpenAPI document](https://skmtc.dev/optimyzee/apis/optimyzee-api/revisions/ccaa14692e9f?raw)
