---
title: "Add Stay To Itinerary"
method: POST
path: "/trips/{trip_id}/stays/add"
tags: ["stays"]
---

# Add Stay To Itinerary

`POST /trips/{trip_id}/stays/add`

## 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}/stays/add`
- Auth: none declared

Geocode a stay's address and add it to the trip's itinerary + map.

## Path parameters

- `trip_id` string, required

## Headers

- `x-client-id` string, nullable

## Request body

- AddStayRequest
  - `address` string, required
  - `place_id` string, nullable
  - `name` string, nullable
  - `check_in_date` string, date, nullable
  - `check_out_date` string, date, nullable
  - `check_in_time` string, time, nullable
  - `check_out_time` string, time, nullable
  - `total_price` number, nullable
  - `currency` string
  - `confirmation_number` string, nullable

## Response `200`

Successful Response

- AddStayResponse
  - `stay_id` string, required
  - `hotel` object, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/stardrift/apis/stardrift-api.md) - [All operations](https://skmtc.dev/stardrift/apis/stardrift-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stardrift/apis/stardrift-api/revisions/be9ed1e6c38a?raw)
