---
title: "Set User Plan"
method: POST
path: "/api/admin/set-plan"
tags: ["admin"]
---

# Set User Plan

`POST /api/admin/set-plan`

## Request

- Base URL: `https://api.tintin-x.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tintin-x.com/api/admin/set-plan`
- Auth: none declared

Change a user's subscription plan (admin API key required).

## Headers

- `x-admin-key` string, nullable

## Request body

- AdminSetPlanRequest
  - `user_id` string, required: User UUID
  - `plan` string, required: Plan name: starter, growth, viral, enterprise

## Response `200`

Successful Response

- AdminSetPlanResponse
  - `user_id` string, required
  - `plan` string, required
  - `max_agent_slots` integer, required

## Other responses

- `422`: Validation Error

---

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