---
title: "Create a pre-signed URLs for file"
method: POST
path: "/letter/file/sign"
tags: ["file"]
---

# Create a pre-signed URLs for file

`POST /letter/file/sign`

## Request body

- FileSigner
  - `name` string, required
  - `method` 'POST' | 'PUT'
  - `url` string — Path to send file. See details: https://docs.aws.amazon.com/AmazonS3/latest/dev/PresignedUrlUploadObject.html
  - `path` string

## Response `201`

Expected response to a valid request

- FileSigner
  - `name` string, required
  - `method` 'POST' | 'PUT'
  - `url` string — Path to send file. See details: https://docs.aws.amazon.com/AmazonS3/latest/dev/PresignedUrlUploadObject.html
  - `path` string

## Other responses

- `default` — unexpected error

---

[API](https://skmtc.net/watchdogpolska/apis/small-eod.md) · [All operations](https://skmtc.net/watchdogpolska/apis/small-eod/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/watchdogpolska/small-eod/revisions/1c5ac40bf412/schema)
