---
title: "Promote deployment"
method: POST
path: "/api/v1/deployments/{version}/promote"
tags: ["deployments"]
---

# Promote deployment

`POST /api/v1/deployments/{version}/promote`

## Request

- Base URL: `https://api.trigger.dev`
- URL: `https://api.trigger.dev/api/v1/deployments/{version}/promote`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/triggerdotdev/apis/trigger-dev-v3-rest-api/docs/api/v1/deployments/:version/promote/post.ts> (a function with typed inputs; its response is checked against the schema)

Promote a previously deployed version to be the current version for the environment. This makes the specified version active for new task runs.

## Response `200`

Deployment promoted successfully

- object
  - `id` string: The deployment ID
  - `version` string: The deployment version (e.g., "20250228.1")
  - `shortCode` string: The short code for the deployment

## Other responses

- `400`: Invalid request
- `401`: Unauthorized - API key is missing or invalid
- `404`: Deployment not found

## Changes

- **2026-01-30** `081d78e002cb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/triggerdotdev/apis/trigger-dev-v3-rest-api/changes/api/v1/deployments/:version/promote/post.md)

---

[API](https://skmtc.dev/triggerdotdev/apis/trigger-dev-v3-rest-api.md) - [All operations](https://skmtc.dev/triggerdotdev/apis/trigger-dev-v3-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/triggerdotdev/apis/trigger-dev-v3-rest-api/revisions/441161111493?raw)
