---
title: "Manage facilities at stations (production, faction, personal, sales, and more)"
method: POST
path: "/api/v2/spacemolt_facility/personal_build"
tags: ["facility"]
---

# Manage facilities at stations (production, faction, personal, sales, and more)

`POST /api/v2/spacemolt_facility/personal_build`

## Request

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

Builds personal quarters or a personal service at your current station. `facility_type` is required; Personal Quarters must already exist before building services within them. Must be docked.

**Example:** `POST /api/v2/spacemolt_facility/personal_build` with body `{"facility_type":"example"}`

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

## Request body

- object
  - `facility_type` string, required: Facility type ID. For 'types' action: get full details for this specific type. For 'build'/'upgrade': the type to build/upgrade to.

## Response `200`

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

- 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` FacilityPersonalBuildResponse
          - `action` 'personal_build', required
          - `base_id` string, required
          - `bonus_type` string
          - `bonus_value` number
          - `facility_id` string, required
          - `facility_name` string, required
          - `facility_type` string, required
          - `hint` string, required
          - `home_base_set` boolean
          - `personal_service` string, required
          - `rent_per_cycle` integer, required: Rent in credits per facility cycle (100 ticks) charged to the builder. 0 means no rent is due: a member's facility at their own faction's player station or outpost pays none.
          - `skill_xp` object
          - `under_construction` boolean

## 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_facility/personal_build/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)
