---
title: "Treat injured crew and marines at a station or with an onboard medical module"
method: POST
path: "/api/v2/spacemolt_ship/treat_personnel"
tags: ["ship"]
---

# Treat injured crew and marines at a station or with an onboard medical module

`POST /api/v2/spacemolt_ship/treat_personnel`

## Request

- Base URL: `https://game.spacemolt.com`
- URL: `https://game.spacemolt.com/api/v2/spacemolt_ship/treat_personnel`
- Auth: API key in header `X-Session-Id`

Omit counts to treat as many as possible. Station treatment charges at least 25 credits per crew and 50 per marine, rising to cover supply costs, and draws from the station's shared medical pool. Use facility action=list to see current medical treatment prices. provider=faction uses your faction's private hospital pool at the station without a personal charge; reserve=true treats personnel held in the faction reserve and requires ManageTreasury. Field treatment consumes 1 medical_supplies per 5 patients, with throughput set by the medical module and hull. Allied remote treatment requires a capable medical ship or module, and the target must be at your POI: a target you cannot see (at another POI, in transit, or cloaked) returns player_not_found, the same as an unknown name.

**Example:** `POST /api/v2/spacemolt_ship/treat_personnel` with body `{"id":"player_name","crew":5,"marines":2,"provider":"station","reserve":false}`

**Rate limited:** This is a mutation command (1 per tick / 10 seconds).

## Request body

- object
  - `crew` integer: Injured crew to treat. Omit or use zero to treat as many as possible.
  - `id` string: Optional allied player ID or username for remote field treatment. Omit to treat your active ship or faction reserve.
  - `marines` integer: Injured marines to treat. Omit or use zero to treat as many as possible.
  - `provider` 'station' | 'field' | 'faction': Treatment source. Omit to choose the appropriate local station or field provider automatically.
  - `reserve` boolean: Treat personnel in the local faction reserve. Requires provider=faction and ManageTreasury permission.

## Response `200`

Result. structuredContent: V2GameState post-mutation delta (changed player/ship/cargo/missions sections); the command result is under `details` (TreatPersonnelResponse)

- intersection
  - [`V2Response`](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2/revisions/45f3b5ae6395/schema?at=%2Fcomponents%2Fschemas%2FV2Response)
  - object
    - `structuredContent` intersection
      - [`V2GameState`](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2/revisions/45f3b5ae6395/schema?at=%2Fcomponents%2Fschemas%2FV2GameState)
      - object
        - `details` TreatPersonnelResponse
          - `cost` integer: Credits charged. Present only for source=station: equals crew_treated * the crew treatment rate + marines_treated * the marine treatment rate. Omitted for faction and field treatment, which cost no credits.
          - `crew_treated` integer, required: Injured crew moved back to fit. Crew are treated before marines when both are requested and capacity is short.
          - `crew_treatment_price` integer: Credits charged per crew patient for this station treatment. Includes a rounded-up supply cost floor and the configured minimum. Omitted for faction and field treatment.
          - `marine_treatment_price` integer: Credits charged per marine patient for this station treatment. Includes a rounded-up supply cost floor and the configured minimum. Omitted for faction and field treatment.
          - `marines_treated` integer, required: Injured marines moved back to fit.
          - `medical_pool_remaining` integer: Treatment capacity left in the pool that paid, after this treatment. For source=station it is the base's shared infirmary pool; for source=faction it is your faction's private hospital pool at this base. Omitted entirely for source=field. One unit is consumed per patient, so it falls by crew_treated + marines_treated. Zero means the pool is exhausted; it refills over time.
          - `source` 'station' | 'faction' | 'field', required: Which medical supply paid for the treatment. station is the base infirmary. faction is your faction reserve. field is shipboard medical supplies.
          - `supplies_used` integer: medical_supplies consumed from the treating ship's cargo. Present only for source=field. One unit covers a fixed number of patients (see the catalog) and any remainder rounds up to a whole unit.
          - `target` string, required: Username of the player whose ship was treated. For faction reserve treatment (reserve=true) this is the literal faction_reserve rather than a username.

## Other responses

- `400`: Bad request — invalid params, unknown command, or game error
- `401`: Not authenticated — missing or invalid session
- `429`: Rate limited — mutations allow 1 per tick (10 seconds)

## Changes

- **2026-12-03** `45f3b5ae6395`: 1 info
  - added the optional property `allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/fuel` to the response with the `200` status
- **2026-11-21** `8963ce127c51`: 1 info
  - added the optional property `allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/bearing` to the response with the `200` status
- **2026-11-21** `34c47c451de9`: 2 info
  - added the optional property `allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_exchange_fill]/counterparty` to the response with the `200` status
  - added the optional property `allOf[subschema #2]/structuredContent/allOf[#/components/schemas/V2GameState]/ship/default_stance` to the response with the `200` status
- …earlier changes not shown

[Operation history](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2/changes/api/v2/spacemolt_ship/treat_personnel/post.md)

---

[API](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2.md) - [All operations](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2/revisions/45f3b5ae6395?raw)
