---
title: "Upload Portfolio Photos"
method: POST
path: "/{program_id}/portfolio/{project_id}/photos/v1"
tags: ["Portfolio Photo"]
---

# Upload Portfolio Photos

`POST /{program_id}/portfolio/{project_id}/photos/v1`

## Request

- Base URL: `https://api.yelp.com`
- URL: `https://api.yelp.com/{program_id}/portfolio/{project_id}/photos/v1`
- Auth: HTTP bearer

Upload photos to a portfolio project.

## Notes:

* The first uploaded photo will be the cover photo.
* Either provide an existing biz photo ID or a link to the URL
* the `is_before_photo` field adds a "before" label to the photo

## Parameters

- `#/paths/~1program~1%7Bprogram_id%7D~1portfolio~1v1/post/parameters/0` (unresolved $ref)
- `#/paths/~1%7Bprogram_id%7D~1portfolio~1%7Bproject_id%7D~1v1/get/parameters/1` (unresolved $ref)

## Request body

- object
  - `photo_url` string
  - `biz_photo_id` string
  - `is_before_photo` boolean, required
  - `caption` string, required

## Response `200`

Successfully uploaded a photo to a portfolio project.

- object
  - `photo_id` string

## Other responses

- `400` (unresolved $ref)

---

[API](https://skmtc.dev/yelp/apis/businesses.md) - [All operations](https://skmtc.dev/yelp/apis/businesses/llms.txt) - [OpenAPI document](https://skmtc.dev/yelp/apis/businesses/revisions/d3f744f55ed7?raw)
