---
title: "Request Upload Url"
method: POST
path: "/api/smart-virals/request-upload"
tags: ["Smart Virals"]
---

# Request Upload Url

`POST /api/smart-virals/request-upload`

Returns a presigned PUT URL so the client can upload audio directly to R2.

## Request body

- SmartViralsUploadRequest
  - `filename` string, required

## Response `200`

Successful Response

- SmartViralsUploadResponse
  - `upload_url` string, required
  - `object_key` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/premierecopilot/apis/premierecopilot-api.md) · [All operations](https://skmtc.dev/premierecopilot/apis/premierecopilot-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/premierecopilot/premierecopilot-api/revisions/fa72d3c14142/schema)
