---
title: "Changes to Create state machine"
method: POST
path: "/api/v1/state-machines"
---

# Changes to Create state machine

`POST /api/v1/state-machines`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 2 of 9 revisions.

- **2026-07-07** `a3b4750a505f` — 4 breaking, 11 info
- **2026-07-07** `84194c31ab85` — 10 breaking, 5 warning

## Changes

- **2026-07-07** `a3b4750a505f` — 4 breaking, 11 info
  - added the new required request property `code`
  - added the new required request property `entityType`
  - added the new required request property `name`
  - added the new required request property `transitions`
  - added the new optional request property `states`
  - added the required property `active` to the response with the `201` status
  - added the required property `code` to the response with the `201` status
  - added the required property `created_at` to the response with the `201` status
  - added the required property `entity_type` to the response with the `201` status
  - added the required property `id` to the response with the `201` status
  - added the required property `is_default` to the response with the `201` status
  - added the required property `name` to the response with the `201` status
  - added the required property `transitions` to the response with the `201` status
  - added the required property `updated_at` to the response with the `201` status
  - added the required property `version` to the response with the `201` status
- **2026-07-07** `84194c31ab85` — 10 breaking, 5 warning
  - the response property `states/items/actions` became optional for the status `201`
  - the response property `states/items/status` became optional for the status `201`
  - removed the required property `active` from the response with the `201` status
  - removed the required property `code` from the response with the `201` status
  - removed the required property `created_at` from the response with the `201` status
  - removed the required property `entity_type` from the response with the `201` status
  - removed the required property `id` from the response with the `201` status
  - removed the required property `name` from the response with the `201` status
  - removed the required property `transitions` from the response with the `201` status
  - removed the required property `updated_at` from the response with the `201` status
  - removed the request property `code`
  - removed the request property `entityType`
  - removed the request property `name`
  - removed the request property `states`
  - removed the request property `transitions`

---

[Operation](https://skmtc.dev/kruzer-corp/apis/oms-api/docs/api/v1/state-machines/post.md) · [API](https://skmtc.dev/kruzer-corp/apis/oms-api.md) · [Page](https://skmtc.dev/kruzer-corp/apis/oms-api/changes/api/v1/state-machines/post)
