---
title: "Create app"
method: POST
path: "/firewall/apps"
---

# Create app

`POST /firewall/apps`

Create a new Zen app

## Request body

- object
  - `name` string, required — The name of the app.
  - `environment` 'production' | 'staging' | 'development', required — The environment type of this app.
  - `repo_id` integer — An optional id of the repo the app is linked to

## Response `200`

The app has been successfully created

- object
  - `app_id` integer — The ID of the newly created app in Aikido.
  - `token` string — The newly rotated token.

## Other responses

- `400` — One or more of the provided fields are invalid.

---

[API](https://skmtc.net/aikido/apis/authorization.md) · [All operations](https://skmtc.net/aikido/apis/authorization/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aikido/authorization/revisions/5445e7c21137/schema)
