---
title: "Store a private progress photo under 3 MB"
method: POST
path: "/v1/photos"
tags: ["photos"]
---

# Store a private progress photo under 3 MB

`POST /v1/photos`

## Request

- Base URL: `http://localhost:4318`
- URL: `http://localhost:4318/v1/photos`
- Auth: HTTP bearer

## Request body

- object
  - `date` string, required
  - `note` string
  - `mime` 'image/jpeg' | 'image/png' | 'image/webp', required
  - `base64` string, required

## Response `201`

Success

- Photo
  - `id` string
  - `date` string, date
  - `note` string

## Other responses

- `400`: Invalid input
- `401`: Missing or invalid bearer token
- `409`: Revision or idempotency conflict
- `429`: Rate limit exceeded

---

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