---
title: "Extend User Trial"
method: POST
path: "/admin/users/{user_id}/extend-trial"
tags: ["admin"]
---

# Extend User Trial

`POST /admin/users/{user_id}/extend-trial`

## Request

- Base URL: `https://api.threadchain.pro` (the document declares no server; this is the origin it was published from)
- URL: `https://api.threadchain.pro/admin/users/{user_id}/extend-trial`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

Extend a user's trial by a number of days.

## Path parameters

- `user_id` string, uuid, required

## Request body

- TrialExtensionRequest
  - `days` integer, required: Number of days to extend trial by
  - `reason` string, nullable: Admin note for audit/logging

## Response `200`

Successful Response

- TrialExtensionResponse
  - `success` boolean
  - `user_id` string, uuid, required
  - `org_id` string, uuid, required
  - `days_added` integer, required
  - `previous_trial_end` string, date-time, nullable
  - `new_trial_end` string, date-time, required
  - `subscription_status` string, required
  - `trial_enabled` boolean
  - `reason` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/threadchain/apis/threadchain-backend.md) - [All operations](https://skmtc.dev/threadchain/apis/threadchain-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/threadchain/apis/threadchain-backend/revisions/8ee288a7e6bd?raw)
