---
title: "POST /apps/{appId}/branches/{branchName}/deployments"
method: POST
path: "/apps/{appId}/branches/{branchName}/deployments"
---

# POST /apps/{appId}/branches/{branchName}/deployments

`POST /apps/{appId}/branches/{branchName}/deployments`

Creates a deployment for a manually deployed Amplify app. Manually deployed apps are not connected to a repository.

## Path parameters

- `appId` string, required
- `branchName` string, required

## Request body

- object
  - `fileMap` object — An optional file map that contains the file name as the key and the file content md5 hash as the value. If this argument is provided, the service will generate a unique upload URL per file. Otherwise, the service will only generate a single upload URL for the zipped files.

## Response `200`

Success

- CreateDeploymentResult — The result structure for the create a new deployment request.
  - `jobId` string — The job ID for this deployment. will supply to start deployment api.
  - `fileUploadUrls` object, required — When the <code>fileMap</code> argument is provided in the request, <code>fileUploadUrls</code> will contain a map of file names to upload URLs.
  - `zipUploadUrl` string, required — When the <code>fileMap</code> argument is not provided in the request, this <code>zipUploadUrl</code> is returned.

## Other responses

- `480` — BadRequestException
- `481` — UnauthorizedException
- `482` — InternalFailureException
- `483` — LimitExceededException

---

[API](https://skmtc.net/aws/apis/amplify.md) · [All operations](https://skmtc.net/aws/apis/amplify/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/amplify/revisions/573daadbd119/schema)
