---
title: "Create"
method: POST
path: "/public/api/photos"
tags: ["Photos"]
---

# Create

`POST /public/api/photos`

Upload a photo.

To upload a photo, you should make a post request of type `multipart/form-data`.
The request body should contain two fields:

`file`: the binary image file you want to upload.
`title`: give a title to the photo.

## Headers

- `Accept` string

## Response `200`

OK

- object
  - `photo_id` string
  - `title` string
  - `url` string
  - `created_date` string
  - `updated_date` string

---

[API](https://skmtc.net/yoobic/apis/yoobic-public-api.md) · [All operations](https://skmtc.net/yoobic/apis/yoobic-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/yoobic/yoobic-public-api/revisions/dd57df399bc4/schema)
