---
title: "Extend a running trial's end date and/or value cap"
method: POST
path: "/management/organization/{organization_id}/trial/extend"
tags: ["management", "superuser"]
---

# Extend a running trial's end date and/or value cap

`POST /management/organization/{organization_id}/trial/extend`

## Request

- Base URL: `https://api.cloud.wherobots.com`
- URL: `https://api.cloud.wherobots.com/management/organization/{organization_id}/trial/extend`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Extend the org's running trial (see :mod:`src.internal.trial_admin`).

A lapsed trial is reinstated instead: see ``/trial/reinstate``.

## Path parameters

- `organization_id` string, required

## Request body

- ExtendTrialRequest
  - `trial_end_date` string, date-time, nullable: New trial end (timezone-aware); must be later than the current one.
  - `additional_trial_value_usd` union: USD added to the trial's value cap, as a credit block that expires at the trial end.
    - number
    - string
  - `reason` string, required
  - `idempotency_key` string, nullable: Optional. Reuse it when retrying a request whose outcome is unknown, so Orb grants additional_trial_value_usd only once.
  - `allow_expiring_value_grants` boolean: Move the end date even though live trial value grants expire before it (the value cap then drops when they do). Without it such a request is refused with 409.

## Response `200`

Successful Response

- TrialExtensionResponse
  - `organization_id` string, required
  - `orb_subscription_id` string, required
  - `previous_trial_end_date` string, date-time, required
  - `trial_end_date` string, date-time, required
  - `additional_trial_value_usd` string, nullable, required
  - `warning` string, nullable: Set when part of the change committed and the rest failed; the rest of the response describes what did commit.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `422`: Validation Error
- `500`: Internal Server Error

## Changes

- **2026-10-31** `54fa857fb12d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/wherobots/apis/wherobots-cloud-api/changes/management/organization/:organization_id/trial/extend/post.md)

---

[API](https://skmtc.dev/wherobots/apis/wherobots-cloud-api.md) - [All operations](https://skmtc.dev/wherobots/apis/wherobots-cloud-api/llms.txt) - [OpenAPI document](https://skmtc.dev/wherobots/apis/wherobots-cloud-api/revisions/54fa857fb12d?raw)
