---
title: "Switches a subscription to another tier."
method: PUT
path: "/api/premium/subscription/{externalId}/switch"
tags: ["Premium"]
---

# Switches a subscription to another tier.

`PUT /api/premium/subscription/{externalId}/switch`

## Request

- Base URL: `https://sky.coflnet.com` (the document declares no server; this is the origin it was published from)
- URL: `https://sky.coflnet.com/api/premium/subscription/{externalId}/switch`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `GoogleToken`

## Path parameters

- `externalId` string, required

## Query parameters

- `targetProductSlug` string

## Response `200`

OK

- SubscriptionChangeResult
  - `status` string, nullable
  - `redirectUrl` string, nullable

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

## Changes

- **2026-10-12** `dc2f7ffe2903`: 3 info
  - added the media type `application/json` for the response with the status `200`
  - added the media type `text/json` for the response with the status `200`
  - added the media type `text/plain` for the response with the status `200`
- **2026-08-04** `41f7cdd4406b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/coflnet/apis/skyapi/changes/api/premium/subscription/:externalId/switch/put.md)

---

[API](https://skmtc.dev/coflnet/apis/skyapi.md) - [All operations](https://skmtc.dev/coflnet/apis/skyapi/llms.txt) - [OpenAPI document](https://skmtc.dev/coflnet/apis/skyapi/revisions/c787372dc7a2?raw)
