---
title: "Publish Trip"
method: POST
path: "/v1/trips/{trip_id}/publish"
tags: ["mcp-server"]
---

# Publish Trip

`POST /v1/trips/{trip_id}/publish`

## Path parameters

- `trip_id` string, uuid, required

## Request body

- PublishRequest
  - `visibility` 'draft' | 'private' | 'public', required
  - `slug` string, nullable

## Response `200`

Successful Response

- ApiMcpServerTripSummary
  - `id` string, uuid, required
  - `title` string, nullable, required
  - `slug` string, nullable, required
  - `visibility` string, required
  - `is_published` boolean, required
  - `start_date` string, date, nullable
  - `end_date` string, date, nullable
  - `updated_at` string, date-time, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-24** `1060a62bfafc` — 3 info
  - added the optional property `end_date` to the response with the `200` status
  - added the optional property `start_date` to the response with the `200` status
  - added the optional property `updated_at` to the response with the `200` status
- **2026-09-18** `7367652ab574` — 1 breaking, 3 info
  - request property `visibility` was restricted to a list of enum values
  - added the new `draft` enum value to the request property `visibility`
  - added the new `private` enum value to the request property `visibility`
  - added the new `public` enum value to the request property `visibility`

[Change history](https://skmtc.dev/stardrift/apis/fastapi/changes/v1/trips/:trip_id/publish/post.md)

---

[API](https://skmtc.dev/stardrift/apis/fastapi.md) · [All operations](https://skmtc.dev/stardrift/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc.dev/stardrift/apis/fastapi/revisions/f6559d3df7e9?raw)
