---
title: "Update Trip Destination"
method: POST
path: "/trips/{trip_id}/destination"
---

# Update Trip Destination

`POST /trips/{trip_id}/destination`

## Request

- Base URL: `https://stardrift.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://stardrift.ai/trips/{trip_id}/destination`
- Auth: none declared

The only writer that overwrites `extracted_destination`; heroes are only auto-chosen, so it re-picks one.

## Path parameters

- `trip_id` string, required

## Request body

- UpdateDestinationRequest
  - `place` StructuredSuggestion: One autocomplete prediction with its Google place identity intact, so selection can be resolved to coords/components instead of round- tripping a display string through the geocoder.
    - `place_id` string, required
    - `main_text` string, required
    - `secondary_text` string, nullable
    - `types` string[]

## Response `200`

Successful Response

- UpdateDestinationResponse
  - `extracted_destination` object[], required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-16** `81df2dc1bcec`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/stardrift/apis/fastapi/changes/trips/:trip_id/destination/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/be9ed1e6c38a?raw)
