---
title: "Source ids of the photos already on a trip"
method: GET
path: "/api/trips/{id}/photos/sources"
tags: ["Photos"]
---

# Source ids of the photos already on a trip

`GET /api/trips/{id}/photos/sources`

## Request

- Base URL: `https://trvlrr.app`
- URL: `https://trvlrr.app/api/trips/{id}/photos/sources`
- Auth: HTTP bearer

So a client can skip re-uploading a photo it already sent (source_id is the client's hash of the image).

## Path parameters

- `id` string, required: The trip id.

## Response `200`

Source ids.

- string[]

## Other responses

- `401`: No usable credential: a Clerk session token, a device token or an OAuth access token is required.
- `404`: No such thing, or not one the caller can see.

---

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