---
title: "Activate an alias"
method: POST
path: "/workflows/definitions/{id}/aliases/{alias}/activate"
tags: ["Workflow aliases"]
---

# Activate an alias

`POST /workflows/definitions/{id}/aliases/{alias}/activate`

## Request

- Base URL: `https://api.nullplatform.com`
- URL: `https://api.nullplatform.com/workflows/definitions/{id}/aliases/{alias}/activate`
- Auth: HTTP bearer

Turns the alias on: every trigger on its revision registers, so cron schedules start firing, webhooks get a public URL, and event subscriptions are created. Until this call, a published workflow has zero side effects.

- If any trigger fails to register, the response is still 200 but the alias rolls back to inactive: check `failedTriggers` for the reason.
- `latest` cannot be activated. Create a named alias (for example `live`) first.

## Path parameters

- `id` string, required
- `alias` string, required

## Response `200`

The activation outcome, including per-trigger results.

- object
  - `alias` Alias
    - `workflowId` string, required
    - `name` string, required
    - `revision` integer, required
    - `active` boolean, required: Whether the alias's triggers are activated.
    - `updatedAt` string, date-time, required
    - `updatedBy` string
    - `metadata` object
    - `triggerStates` object: Map of trigger id to its activation state.
  - `activatedTriggers` string[]
  - `failedTriggers` object[]
    - `id` string
    - `pluginType` string
    - `status` 'failed'
    - `error` string
  - `triggerResults` object[]
    - `id` string
    - `pluginType` string
    - `status` 'active' | 'failed'
    - `error` string

## Other responses

- `4XX`: Client error. The body says what went wrong: an error `type`, a human-readable `detail`, and, on validation failures, one entry per offending field.
- `5XX`: Unexpected server error.

## Changes

- **2026-09-17** `43b3c1ecdfd8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nullplatform/apis/nullplatform-api/changes/workflows/definitions/:id/aliases/:alias/activate/post.md)

---

[API](https://skmtc.dev/nullplatform/apis/nullplatform-api.md) - [All operations](https://skmtc.dev/nullplatform/apis/nullplatform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nullplatform/apis/nullplatform-api/revisions/d3f66bc633d4?raw)
