---
title: "Subscribe"
method: POST
path: "/api/plans/subscribe"
tags: ["plans"]
---

# Subscribe

`POST /api/plans/subscribe`

## Request

- Base URL: `https://api.maritime.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maritime.sh/api/plans/subscribe`
- Auth: HTTP bearer

Start a plan (returns a Stripe Checkout URL that collects the card),
or switch/resume in place when a live subscription exists. A lapsed
account that subscribes again goes through Checkout and reactivates on
the completed webhook; its slept agents wake on next use.

## Request body

- SubscribeBody
  - `plan` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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