---
title: "Upload the buyer's own product: multipart field `file`, a PDF or .txt up to 25 MB."
method: POST
path: "/api/v1/funnel-store/upload"
tags: ["Funnel Store"]
---

# Upload the buyer's own product: multipart field \`file\`, a PDF or .txt up to 25 MB.

`POST /api/v1/funnel-store/upload`

## Request

- Base URL: `https://api.avatarfactory.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.avatarfactory.io/api/v1/funnel-store/upload`
- Auth: one of:
  - API key in cookie `session`
  - HTTP bearer

<br/>Replaces an earlier upload. Emits `funnel_store_upload_created`.

## Response `200`

OK

- UploadResponse: What the upload route stored.
  - `bytes` integer, required
  - `filename` string, required
  - `kind` 'pdf' | 'txt', required

## Other responses

- `400`: Bad Request
- `413`: Request Entity Too Large
- `415`: Unsupported Media Type
- `422`: Unprocessable Entity

---

[API](https://skmtc.dev/avatarfactory/apis/avatarfactory-api.md) · [All operations](https://skmtc.dev/avatarfactory/apis/avatarfactory-api/llms.txt) · [OpenAPI document](https://skmtc.dev/avatarfactory/apis/avatarfactory-api/revisions/66fc7aa3f296?raw)
