---
title: "Presigned PUT to upload the book file to your cloud"
method: POST
path: "/v1/sync/books/{bookId}/file/presign"
tags: ["sync/library"]
---

# Presigned PUT to upload the book file to your cloud

`POST /v1/sync/books/{bookId}/file/presign`

## Request

- Base URL: `https://api.ditto.audio` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ditto.audio/v1/sync/books/{bookId}/file/presign`
- Auth: HTTP bearer

## Path parameters

- `bookId` string, required

## Request body

- PresignBlobDto
  - `fileName` string, required
  - `contentType` string
  - `contentHash` string

## Response `201`

---

[API](https://skmtc.dev/ditto/apis/ditto-audio-api.md) · [All operations](https://skmtc.dev/ditto/apis/ditto-audio-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ditto/apis/ditto-audio-api/revisions/30c8d7c218da?raw)
