---
title: "API Request File Upload Parameter"
slug: "api-request-file-upload-parameter"
description: "In this documentation article, learn how to assign uploaded files to API parameter values. "
tags: ["Test Automation", "API Testing", "Test Modeller"]
updated: 2023-09-12T09:08:52Z
published: 2023-09-12T09:08:52Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://knowledge.curiositysoftware.ie/llms.txt
> Use this file to discover all available pages before exploring further.

# API Request File Upload Parameter

In this documentation article, learn how to assign uploaded files to API parameter values.

[Embedded content](https://www.youtube.com/embed/_nBoIDF25g8?&amp;wmode=opaque&amp;rel=0)

To get started with adding a parameter to an API request, you must first have one set up.

Once set up, open your API request and head to the **API Request -> Body tabs** in the edit function window.

![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/Screenshot%202023-06-23%20102146.png)

Here, click the **Add**button to add a new value.

![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/Screenshot%202023-06-23%20102200.png)

This will create an empty field for you to fill in. Assign a **Key** and then use the **browse for file button** to upload an existing file as your parameter.

## Related

- [QuickStart API Automation](/quickstart-api-automation.md)
- [Automating Tests](/automating-and-executing-tests-in-test-modeller.md)
