---
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

## Changes

> 16 revisions in range; 1 not diffed.

- **2019-10-10** `f16566c7c7ef` — 1 breaking, 1 info
  - the request property `name` became required
  - the response property `name` became required for the status `201`

[Change history](https://skmtc.dev/watchdogpolska/apis/small-eod/changes/letter/file/sign/post.md)

---

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