---
title: "Post a mission on your faction's mission board"
method: POST
path: "/api/v2/spacemolt_faction_admin/post_mission"
tags: ["faction_admin"]
---

# Post a mission on your faction's mission board

`POST /api/v2/spacemolt_faction_admin/post_mission`

## Request

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

Post contracts, bounties, and jobs that tell a story about what your faction needs. Rewards are escrowed from faction storage. Any number of pilots can accept a posting, but only the first to complete it gets paid. Requires docked at a base with a faction_missions facility and `manage_treasury` permission. Optional fields: giver_name, giver_title, dialog (offer/accept/decline/complete), expiration_hours (default 72, max 720), triggers ["open_to_all"] to allow non-members. Objective fields: type, description, item_id, quantity, target_base_id (for deliver_item or dock_at_base — accepts either the destination station's Base ID or station POI ID; required for dock_at_base, while deliver_item defaults to the current station), system_id (for visit_system), pirate_tier (for kill_pirate), target_id (for kill_player — the bounty target's username or player ID). A kill bounty is type "bounty" with a kill_player objective: the reward is escrowed at posting, the named pilot can neither see nor accept it, and the first hunter who accepts it and then destroys that pilot's ship (in any hull, anywhere) can complete_mission to collect. Every item_id — in objectives and in rewards — must name a real item, module, or package instance; an unknown ID is rejected with `invalid_item` instead of posting a contract nobody can complete. A `deliver_item` objective must carry an item_id.

**Example:** `POST /api/v2/spacemolt_faction_admin/post_mission` with body `{"type":"delivery","title":"Ore Needed","description":"We need iron ore delivered.","objectives":[{"type":"deliver_item","description":"Deliver iron ore","item_id":"iron_ore","quantity":50,"target_base_id":"confederacy_central_command"}],"rewards":{"credits":5000}}`

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

## Request body

- object
  - `description` string, required: Mission description
  - `dialog` object: Optional: dialog text for offer/accept/decline/complete
  - `expiration_hours` integer: Hours before mission expires (default 72, max 720)
  - `giver_name` string: Optional: NPC name who gives the mission
  - `giver_title` string: Optional: NPC title
  - `objectives` object[], required: List of mission objectives
    - `description` string, required
    - `item_id` string
    - `pirate_tier` string: Optional pirate role ID for kill_pirate objectives; omit to count any role. Must name an existing pirate role.
    - `quantity` integer
    - `system_id` string
    - `target_base_id` string: Destination for a deliver_item or dock_at_base objective, as either the station's Base ID or station POI ID. Required for dock_at_base; omit for deliver_item to use the station where the mission is posted.
    - `target_id` string: Bounty target for a kill_player objective: the pilot's username or player ID. Required for kill_player.
    - `type` string, required: Objective type (deliver_item, kill_pirate, kill_player, visit_system, dock_at_base)
  - `rewards` object, required: Mission rewards (credits, items, reputation)
    - `credits` integer
    - `items` object: Item IDs mapped to reward quantities
  - `title` string, required: Mission title
  - `triggers` string[]: Optional: triggers like 'open_to_all' to allow non-members
  - `type` string, required: Mission type (delivery, combat, exploration, bounty, etc.)

## Response `200`

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

- intersection
  - [`V2Response`](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2-2/revisions/ab53b0dcd00f/schema?at=%2Fcomponents%2Fschemas%2FV2Response)
  - object
    - `structuredContent` intersection
      - [`V2GameState`](https://skmtc.dev/spacemolt/apis/spacemolt-rest-api-v2-2/revisions/ab53b0dcd00f/schema?at=%2Fcomponents%2Fschemas%2FV2GameState)
      - object
        - `details` FactionPostMissionResponse
          - `auto_docked` boolean: True when the engine docked you automatically before running this command, because the command requires being docked. Omitted when no automatic dock happened.
          - `auto_undocked` boolean: True when the engine undocked you automatically before running this command, because the command requires being undocked. Omitted when no automatic undock happened.
          - `escrowed` EscrowedRewards, required
            - `credits` integer, required
            - `items` object
          - `message` string, required
          - `status` string, required
          - `template_id` string, required
          - `title` string, required

## 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** `ab53b0dcd00f`: 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** `1e9277d34636`: 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-17** `fe4c21741895`: 1 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
- **2026-11-17** `02d3343b9802`: 1 info
  - 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-2/changes/api/v2/spacemolt_faction_admin/post_mission/post.md)

---

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