---
title: "Confirm an uploaded image: verifies the bytes and makes it embeddable"
method: POST
path: "/note/{note_id}/images/{image_id}/complete"
tags: ["note-images"]
---

# Confirm an uploaded image: verifies the bytes and makes it embeddable

`POST /note/{note_id}/images/{image_id}/complete`

## Request

- Base URL: `https://api.focusbear.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.focusbear.io/note/{note_id}/images/{image_id}/complete`
- Auth: HTTP bearer

## Path parameters

- `note_id` string, uuid, required
- `image_id` string, uuid, required

## Request body

- CompleteNoteImageUploadDto
  - `file_name` string: Original file name, for display and "save image"

## Response `200`

- NoteImageResponseDto
  - `id` string, required
  - `note_id` string, nullable, required: Set for an image in a personal note, otherwise null
  - `project_note_id` string, nullable, required: Set for an image in a project note, otherwise null
  - `kind` 'image' | 'audio' | 'pdf', required: image, audio or pdf; matches the endpoints it was uploaded to
  - `reference` string, required: Embed reference used in the note body: fb-note-image://<id>, fb-note-audio://<id> or fb-note-pdf://<id>
  - `file_name` string, nullable, required
  - `content_type` string, required: Detected from the file signature: image/png, image/jpeg, image/gif or image/webp for images; audio/mp4, audio/mpeg, audio/webm, audio/ogg or audio/wav for audio; application/pdf for PDFs
  - `file_size` number, required: Size in bytes
  - `uploaded_by` string, nullable, required: Null when the uploader has since deleted their account
  - `url` string, required: Short-lived signed GET URL for the file bytes
  - `url_expires_at` string, required: When url stops working (ISO 8601)
  - `created_at` string, required

## Other responses

- `400`: note_image_not_uploaded | note_image_unsupported_type | note_image_too_large
- `409`: note_image_limit_reached

---

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