# API: Transfers (public)

| Method | Path | What it does | Scope |
|---|---|---|---|
| GET | `/v1/public/transfer/challenge` | The human check for sending without an account, unlocking a transfer or reporting one: a proof of work, and the Turnstile widget's settings when it's on (no sign-in) | — |
| POST | `/v1/public/transfer/code` | Send a six-digit code to your own address, so a transfer can be emailed from it without an account (no sign-in) | — |
| GET | `/v1/public/transfer/limits` | What sending without an account allows: the largest transfer, the 30-day volume, the longest expiry and recipients per email (no sign-in) | — |
| DELETE | `/v1/public/transfer/m/:token` | Delete a transfer sent without an account: the link stops working now (no sign-in) | — |
| GET | `/v1/public/transfer/m/:token` | A transfer sent without an account, for its sender: status, files, downloads and the parts uploaded so far (no sign-in) | — |
| PATCH | `/v1/public/transfer/m/:token` | Rename a transfer sent without an account, or change its expiry (up to 7 days from when it was sent) (no sign-in) | — |
| POST | `/v1/public/transfer/m/:token/complete` | Finish a transfer sent without an account, once every part is uploaded (no sign-in) | — |
| POST | `/v1/public/transfer/m/:token/parts` | Presigned upload URLs for parts of one file of a transfer sent without an account (its management token) (no sign-in) | — |
| PUT | `/v1/public/transfer/m/:token/parts` | Record that a part is uploaded, for a transfer sent without an account (no sign-in) | — |
| GET | `/v1/public/transfer/r/:token` | A request link's page: who's asking, their message, until when, and how large an upload can be (no sign-in) | — |
| POST | `/v1/public/transfer/r/:token/upload` | Start sending files through a request link, from an address you verified with a code. Answers with each file's part plan and an upload token (no sign-in) | — |
| POST | `/v1/public/transfer/report` | Report a transfer: phishing, malware, copyright, child sexual abuse material or something else. We review every report (no sign-in) | — |
| POST | `/v1/public/transfer/send` | Start a transfer without an account: by link, or by email from an address you verified with a code. Answers with each file's part plan and a private management link (no sign-in) | — |
| POST | `/v1/public/transfer/stop/:token` | Stop every email sent through us to your address (the link at the foot of each transfer email) (no sign-in) | — |
| GET | `/v1/public/transfer/t/:token` | A transfer's download page: who sent it, its files and sizes, when it expires, and whether it needs a password (no sign-in) | — |
| POST | `/v1/public/transfer/t/:token/download` | Download links for some or all of a transfer's files (valid 10 minutes; ask again for fresh ones). The first counts one download (no sign-in) | — |
| POST | `/v1/public/transfer/t/:token/preview` | A link that shows one image, PDF, video or audio file in the browser (valid an hour). It counts as a download, like the first download link (no sign-in) | — |
| POST | `/v1/public/transfer/t/:token/unlock` | Open a transfer for downloading (with its password, if it has one): answers with its files and a download session that lasts a day (no sign-in) | — |
| GET | `/v1/public/transfer/to/:slug` | A page anyone can send files to (its owner's branding, their message, how large an upload can be) (no sign-in) | — |
| POST | `/v1/public/transfer/to/:slug/upload` | Start sending files through someone's page, from an address you verified with a code. Answers with each file's part plan and an upload token (no sign-in) | — |
| GET | `/v1/public/transfer/u/:token` | Files being sent through a request link and the parts uploaded so far, to resume (no sign-in) | — |
| POST | `/v1/public/transfer/u/:token/complete` | Finish sending files through a request link; the requester is told (no sign-in) | — |
| POST | `/v1/public/transfer/u/:token/parts` | Presigned upload URLs for parts of one file sent through a request link (its upload token) (no sign-in) | — |
| PUT | `/v1/public/transfer/u/:token/parts` | Record that a part is uploaded, for files sent through a request link (no sign-in) | — |

## Examples

### GET /v1/public/transfer/challenge

The human check for sending without an account, unlocking a transfer or reporting one: a proof of work, and the Turnstile widget's settings when it's on. No sign-in, so it sends no key.

```bash
curl -s "https://api.ferryseal.com/v1/public/transfer/challenge"
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/public/transfer/challenge`, {
  method: "GET",
});
const data = await res.json();
```

### POST /v1/public/transfer/code

Send a six-digit code to your own address, so a transfer can be emailed from it without an account. No sign-in, so it sends no key.

```bash
curl -s -X POST "https://api.ferryseal.com/v1/public/transfer/code" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/public/transfer/code`, {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/public/transfer/limits

What sending without an account allows: the largest transfer, the 30-day volume, the longest expiry and recipients per email. No sign-in, so it sends no key.

```bash
curl -s "https://api.ferryseal.com/v1/public/transfer/limits"
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/public/transfer/limits`, {
  method: "GET",
});
const data = await res.json();
```

### DELETE /v1/public/transfer/m/$TOKEN

Delete a transfer sent without an account: the link stops working now. No sign-in, so it sends no key.

```bash
curl -s -X DELETE "https://api.ferryseal.com/v1/public/transfer/m/$TOKEN"
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/public/transfer/m/${token}`, {
  method: "DELETE",
});
const data = await res.json();
```

### GET /v1/public/transfer/m/$TOKEN

A transfer sent without an account, for its sender: status, files, downloads and the parts uploaded so far. No sign-in, so it sends no key.

```bash
curl -s "https://api.ferryseal.com/v1/public/transfer/m/$TOKEN"
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/public/transfer/m/${token}`, {
  method: "GET",
});
const data = await res.json();
```

### PATCH /v1/public/transfer/m/$TOKEN

Rename a transfer sent without an account, or change its expiry (up to 7 days from when it was sent). No sign-in, so it sends no key.

```bash
curl -s -X PATCH "https://api.ferryseal.com/v1/public/transfer/m/$TOKEN" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/public/transfer/m/${token}`, {
  method: "PATCH",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/public/transfer/m/$TOKEN/complete

Finish a transfer sent without an account, once every part is uploaded. No sign-in, so it sends no key.

```bash
curl -s -X POST "https://api.ferryseal.com/v1/public/transfer/m/$TOKEN/complete" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/public/transfer/m/${token}/complete`, {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/public/transfer/m/$TOKEN/parts

Presigned upload URLs for parts of one file of a transfer sent without an account (its management token). No sign-in, so it sends no key.

```bash
curl -s -X POST "https://api.ferryseal.com/v1/public/transfer/m/$TOKEN/parts" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/public/transfer/m/${token}/parts`, {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### PUT /v1/public/transfer/m/$TOKEN/parts

Record that a part is uploaded, for a transfer sent without an account. No sign-in, so it sends no key.

```bash
curl -s -X PUT "https://api.ferryseal.com/v1/public/transfer/m/$TOKEN/parts" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/public/transfer/m/${token}/parts`, {
  method: "PUT",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/public/transfer/r/$TOKEN

A request link's page: who's asking, their message, until when, and how large an upload can be. No sign-in, so it sends no key.

```bash
curl -s "https://api.ferryseal.com/v1/public/transfer/r/$TOKEN"
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/public/transfer/r/${token}`, {
  method: "GET",
});
const data = await res.json();
```

### POST /v1/public/transfer/r/$TOKEN/upload

Start sending files through a request link, from an address you verified with a code. Answers with each file's part plan and an upload token. No sign-in, so it sends no key.

```bash
curl -s -X POST "https://api.ferryseal.com/v1/public/transfer/r/$TOKEN/upload" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/public/transfer/r/${token}/upload`, {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/public/transfer/report

Report a transfer: phishing, malware, copyright, child sexual abuse material or something else. We review every report. No sign-in, so it sends no key.

```bash
curl -s -X POST "https://api.ferryseal.com/v1/public/transfer/report" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/public/transfer/report`, {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/public/transfer/send

Start a transfer without an account: by link, or by email from an address you verified with a code. Answers with each file's part plan and a private management link. No sign-in, so it sends no key.

```bash
curl -s -X POST "https://api.ferryseal.com/v1/public/transfer/send" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/public/transfer/send`, {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/public/transfer/stop/$TOKEN

Stop every email sent through us to your address (the link at the foot of each transfer email). No sign-in, so it sends no key.

```bash
curl -s -X POST "https://api.ferryseal.com/v1/public/transfer/stop/$TOKEN" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/public/transfer/stop/${token}`, {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/public/transfer/t/$TOKEN

A transfer's download page: who sent it, its files and sizes, when it expires, and whether it needs a password. No sign-in, so it sends no key.

```bash
curl -s "https://api.ferryseal.com/v1/public/transfer/t/$TOKEN"
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/public/transfer/t/${token}`, {
  method: "GET",
});
const data = await res.json();
```

### POST /v1/public/transfer/t/$TOKEN/download

Download links for some or all of a transfer's files (valid 10 minutes; ask again for fresh ones). The first counts one download. No sign-in, so it sends no key.

```bash
curl -s -X POST "https://api.ferryseal.com/v1/public/transfer/t/$TOKEN/download" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/public/transfer/t/${token}/download`, {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/public/transfer/t/$TOKEN/preview

A link that shows one image, PDF, video or audio file in the browser (valid an hour). It counts as a download, like the first download link. No sign-in, so it sends no key.

```bash
curl -s -X POST "https://api.ferryseal.com/v1/public/transfer/t/$TOKEN/preview" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/public/transfer/t/${token}/preview`, {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/public/transfer/t/$TOKEN/unlock

Open a transfer for downloading (with its password, if it has one): answers with its files and a download session that lasts a day. No sign-in, so it sends no key.

```bash
curl -s -X POST "https://api.ferryseal.com/v1/public/transfer/t/$TOKEN/unlock" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/public/transfer/t/${token}/unlock`, {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/public/transfer/to/$SLUG

A page anyone can send files to (its owner's branding, their message, how large an upload can be). No sign-in, so it sends no key.

```bash
curl -s "https://api.ferryseal.com/v1/public/transfer/to/$SLUG"
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/public/transfer/to/${slug}`, {
  method: "GET",
});
const data = await res.json();
```

### POST /v1/public/transfer/to/$SLUG/upload

Start sending files through someone's page, from an address you verified with a code. Answers with each file's part plan and an upload token. No sign-in, so it sends no key.

```bash
curl -s -X POST "https://api.ferryseal.com/v1/public/transfer/to/$SLUG/upload" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/public/transfer/to/${slug}/upload`, {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/public/transfer/u/$TOKEN

Files being sent through a request link and the parts uploaded so far, to resume. No sign-in, so it sends no key.

```bash
curl -s "https://api.ferryseal.com/v1/public/transfer/u/$TOKEN"
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/public/transfer/u/${token}`, {
  method: "GET",
});
const data = await res.json();
```

### POST /v1/public/transfer/u/$TOKEN/complete

Finish sending files through a request link; the requester is told. No sign-in, so it sends no key.

```bash
curl -s -X POST "https://api.ferryseal.com/v1/public/transfer/u/$TOKEN/complete" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/public/transfer/u/${token}/complete`, {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/public/transfer/u/$TOKEN/parts

Presigned upload URLs for parts of one file sent through a request link (its upload token). No sign-in, so it sends no key.

```bash
curl -s -X POST "https://api.ferryseal.com/v1/public/transfer/u/$TOKEN/parts" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/public/transfer/u/${token}/parts`, {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### PUT /v1/public/transfer/u/$TOKEN/parts

Record that a part is uploaded, for files sent through a request link. No sign-in, so it sends no key.

```bash
curl -s -X PUT "https://api.ferryseal.com/v1/public/transfer/u/$TOKEN/parts" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/public/transfer/u/${token}/parts`, {
  method: "PUT",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

Request and response schemas: [https://www.ferryseal.com/openapi.json](https://www.ferryseal.com/openapi.json). All resources: [API reference](https://www.ferryseal.com/docs/api).
