---
title: "Create Transition"
method: POST
path: "/api/v1/journeys/{journey_id}/transitions"
---

# Create Transition

`POST /api/v1/journeys/{journey_id}/transitions`

## Request

- Base URL: `https://api.ascendkit.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ascendkit.dev/api/v1/journeys/{journey_id}/transitions`
- Auth: API key in header `X-AscendKit-Public-Key` and HTTP bearer

## Path parameters

- `journey_id` string, required

## Request body

- TransitionAdd
  - `from` string, required
  - `to` string, required
  - `trigger` TransitionTrigger, required
    - `type` 'event' | 'timer', required
    - `event` string, nullable
    - `eventFilter` object, nullable
    - `delay` string, nullable
  - `priority` integer, nullable
  - `name` string, nullable

## Response `200`

Successful Response

- ApiResponse
  - `data` unknown
  - `error` string, nullable
  - `meta` object, nullable

## Other responses

- `422`: Validation Error

---

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