---
title: "Create deployment"
method: POST
path: "/applications/{application-identifier}/deployments"
tags: ["deployments"]
---

# Create deployment

`POST /applications/{application-identifier}/deployments`

Create a deployment for the specified application

## Request body

- object
  - `version` string, required
  - `ownerName` string
  - `emailAddress` string, email
  - `comment` string
  - `scmIdentifier` string
  - `scmType` 'gitHub' | 'gitLab' | 'azureDevOps' | 'bitbucket'
  - `createdAt` string, date-time — Prefer `deployedAt`. This field is for backwards compatibility. Specifying both `createdAt` and `deployedAt` will prioritize the use of `deployedAt`
  - `deployedAt` string, date-time

## Response `201`

Created

- Deployment
  - `identifier` string, required
  - `applicationIdentifier` string, required
  - `version` string, required
  - `emailAddress` string, email
  - `ownerName` string
  - `comment` string
  - `scmIdentifier` string
  - `scmType` 'gitHub' | 'bitbucket' | 'gitLab' | 'azureDevOps'
  - `deployedAt` string, date-time
  - `applicationUrl` string, uri

## Other responses

- `400` — Problem Details
- `401` — Problem Details
- `403` — Problem Details
- `404` — Problem Details
- `422` — Validation problem details
- `429` — Too Many Requests

---

[API](https://skmtc.net/raygun/apis/raygun-api.md) · [All operations](https://skmtc.net/raygun/apis/raygun-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/raygun/raygun-api/versions/13074513b266/schema)
