---
title: "Upgrade subscription"
method: POST
path: "/api/user/subscription/upgrade"
tags: ["User"]
---

# Upgrade subscription

`POST /api/user/subscription/upgrade`

## Request

- Base URL: `https://studio.edgeimpulse.com/v1`
- URL: `https://studio.edgeimpulse.com/v1/api/user/subscription/upgrade`
- Auth: one of:
  - API key in header `x-api-key`
  - API key in cookie `jwt`
  - API key in header `x-jwt-token`
  - OAuth 2
    - Authorization code: `/v1/oauth/authorize`
    - Client credentials
    - Implicit: `/v1/oauth/authorize`
    - Password
    - Token URL: `/v1/oauth/token`
- TypeScript: <https://skmtc.dev/edgeimpulse/apis/edge-impulse-api/docs/api/user/subscription/upgrade/post.ts> (a function with typed inputs; its response is checked against the schema)

Upgrade the current subscription.

## Request body

- UpgradeSubscriptionRequest
  - `billingCycle` 'monthly' | 'yearly', required: Specifies the frequency at which the subscription fee is billed: - `monthly`: Billed once every month. - `yearly`: Billed once every year, often at a discounted rate compared to monthly billing.
  - `successUrl` string, required: URL to redirect the user to after a successful checkout process.
  - `cancelUrl` string, required: URL to redirect the user to after the checkout process is canceled.

## Other responses

- `302`: A redirect to the payment portal

---

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