---
title: "Save Photo"
method: POST
path: "/admin/photos/save"
tags: ["admin-photos"]
---

# Save Photo

`POST /admin/photos/save`

Save a photo for a destination. Accepts multipart/form-data.
Provide either photo_url (Unsplash) or image (custom upload), not both.
orientation: "landscape" (default) saves to photo_url, "portrait" saves to portrait_photo_url.
Geocodes the destination and upserts BestPhoto.

## Response `200`

Successful Response

- SavePhotoResponse — Response from saving a photo.
  - `success` boolean, required
  - `destination` string, required
  - `photo_id` integer, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/stardrift/apis/fastapi.md) · [All operations](https://skmtc.dev/stardrift/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stardrift/fastapi/revisions/00746572572a/schema)
