---
title: "Upload Photos to a Location"
method: POST
path: "/locations/photos"
tags: ["Locations", "Photos"]
---

# Upload Photos to a Location

`POST /locations/photos`

## Request

- Base URL: `https://api.synup.com/api/v4`
- URL: `https://api.synup.com/api/v4/locations/photos`
- Auth: none required
- TypeScript: <https://skmtc.dev/synup/apis/synup-api/docs/locations/photos/post.ts> (a function with typed inputs; its response is checked against the schema)

This API allows you to add photos to a specific location. Photos can be of different types, including logos, cover photos, and additional images.

:::info[]
 Each location can only have one logo and one cover photo.
:::

For more details, refer to Manage photos for your location.

## Headers

- `Authorization` string, required

## Request body

- object
  - `input` object, required
    - `locationId` string, required: The ID of the location for which photos will be added
    - `photos` object[], required
      - `photo` string, uri, required: URL of the image
      - `type` 'LOGO' | 'COVER' | 'ADDITIONAL', required: Type of photo

## Response `200`

- object
  - `data` object, required
    - `addLocationPhotos` object, required
      - `success` boolean, required
      - `errors` unknown, required
      - `photos` object[], required
        - `databaseId` integer, required
        - `fileSize` integer, required
        - `id` string, required
        - `name` string, required
        - `starred` unknown, required
        - `thumbnailUrl` string, required
        - `type` string, required
        - `url` string, required
        - `publisherOverride` string, required
      - `request` object, required
        - `requestId` unknown, required
        - `status` unknown, required
      - `clientMutationId` unknown, required

## Other responses

- `400`
- `x-200:Example Response (Over 30 Photos)`

---

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