---
title: "Upgrade Subscription"
method: POST
path: "/api/v1/subscriptions/upgrade"
tags: ["subscriptions"]
---

# Upgrade Subscription

`POST /api/v1/subscriptions/upgrade`

## Request

- Base URL: `https://agentavow.com` (the document declares no server; this is the origin it was published from)
- URL: `https://agentavow.com/api/v1/subscriptions/upgrade`
- Auth: HTTP bearer

Upgrade (or downgrade) the entity's subscription tier.

In production this would create a Stripe Subscription. For now it
updates the entity's onboarding_data with the new tier.

## Headers

- `x-api-key` string, nullable

## Request body

- UpgradeRequest
  - `target_tier` string, required
  - `billing_period` string

## Response `200`

Successful Response

- UpgradeResponse
  - `entity_id` string, required
  - `previous_tier` string, required
  - `new_tier` string, required
  - `billing_period` string, required
  - `price_cents` integer, required
  - `effective_at` string, required

## Other responses

- `422`: Validation Error

---

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