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

# POST /upload/

> Upload an Ipa or Apk build

To upload a build, use the following endpoint:

```
https://api.appsend.dev/v1/uploads/
```

> [!WARNING]
>
> Note the required **trailing slash**.

## Request data

Content-type: **multipart/form-data**

**file** `string` *required*

Build file (.apk or .ipa). Max size: **150mb**

**message** `string`

Build description message

**testers** `string`

Comma-separated emails of users that will be invited to test a build. Max **5 emails**

```bash cUrl theme={null}
curl https://api.appsend.dev/v1/uploads/ \
 -F file=@build.ipa \
 -F message="Short build description" \
 -F testers="tester_1@example.com, tester_2@example.com" 
```

```Python Python theme={null}
import requests

url = 'https://api.appsend.dev/v1/uploads/'
files = {'file': open('build.ipa', 'rb')}
data = {
'message': 'Short build description',
'testers': 'tester_1@example.com, tester_2@example.com'
}

response = requests.post(url, files=files, data=data)
data = response.json()

print(f"Install url: https://appsend.dev/i/{data['uid']}")
```

## Response

**uid** `string` *required*

Uid of build, used to derive install url

**fileName** `string` *required*

Name of the uploaded file

**fileSize** `integer` *required*

Size of uploaded build **in bytes**

**createdAt** `datetime` *required*

Date and time of upload

**message** `string`

Optional build description message

**testers** `array[string]`

Optional list of testers' emails that were invited

```json Response example theme={null}
{
   "uid":"0a99e402-f160-4224-948d-e9e95386506d",
   "fileName":"build.ipa",
   "fileSize":11492275,
   "fileType":"ipa",
   "createdAt":"2024-01-20T20:02:30.861700",
   "message":"Added new uploads feature",
   "testers":[
      "tester_1@example.com"
   ]
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.