---
title: "Get a presigned URL to upload a custom ambient noise audio file"
method: POST
path: "/api/v1/workflow/ambient-noise/upload-url"
tags: ["main"]
---

# Get a presigned URL to upload a custom ambient noise audio file

`POST /api/v1/workflow/ambient-noise/upload-url`

## Request

- Base URL: `https://app.dograh.com`
- URL: `https://app.dograh.com/api/v1/workflow/ambient-noise/upload-url`
- Auth: none declared

Generate a presigned PUT URL for uploading a custom ambient noise file.

## Headers

- `authorization` string, nullable
- `X-API-Key` string, nullable

## Request body

- AmbientNoiseUploadRequest
  - `workflow_id` integer, required
  - `filename` string, required
  - `mime_type` string
  - `file_size` integer, required: Max 10MB

## Response `200`

Successful Response

- AmbientNoiseUploadResponse
  - `upload_url` string, required
  - `storage_key` string, required
  - `storage_backend` string, required

## Other responses

- `404`: Not found
- `422`: Validation Error

## Changes

- **2026-11-03** `faa00cf76fcb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/dograh/apis/dograh-api/changes/api/v1/workflow/ambient-noise/upload-url/post.md)

---

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