---
title: "Create App"
method: POST
path: "/ee/create_app"
tags: ["Enterprise"]
---

# Create App

`POST /ee/create_app`

Generate a cloud URI for *request.app_id* owned by the calling user.

The *user_id* is derived from the bearer token.  The caller can therefore
not create applications for *other* users unless their token carries the
``admin`` permission (mirroring the community behaviour).

## Headers

- `authorization` string

## Request body

- GenerateUriEERequest — Request body for the EE *generate_uri* endpoint (no ``user_id`` field).
  - `app_id` string, required — ID of the application
  - `name` string, required — Name of the application
  - `expiry_days` integer — Token validity in days

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/morphik-org/apis/fastapi.md) · [All operations](https://skmtc.dev/morphik-org/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/morphik-org/fastapi/revisions/9ade02dd7b1d/schema)
