---
title: "Create an automation"
method: POST
path: "/automations"
tags: ["Automations"]
---

# Create an automation

`POST /automations`

Validates the trigger and every step before storing the definition. A schedule trigger also registers its next due time.

## Request body

- object
  - `name` string
  - `definition` object

## Response `201`

The created automation.

## Other responses

- `400` — Validation failed.

---

[API](https://skmtc.dev/termix/apis/termix-api.md) · [All operations](https://skmtc.dev/termix/apis/termix-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/termix/termix-api/revisions/f4ef343eff1b/schema)
