---
title: "POST /applications"
method: POST
path: "/applications"
tags: ["Applications"]
---

# POST /applications

`POST /applications`

## Request body

- CreateApplicationRequest
  - `name` string, required
  - `type` string, required
  - `permissions` string[], nullable
  - `rules` AccessRule[], nullable
    - `description` string, nullable
    - `priority` integer, nullable
    - `container` string, nullable
    - `transform` string, nullable
    - `conditions` Condition[], nullable
      - `attribute` string, nullable
      - `operator` string, nullable
      - `value` string, nullable
    - `permissions` string[], nullable
  - `create_key` boolean, nullable

## Response `201`

Created

- Application
  - `id` string, uuid
  - `tenant_id` string, uuid
  - `name` string, nullable
  - `key` string, nullable
  - `keys` ApplicationKey[], nullable
    - `id` string, uuid
    - `key` string, nullable
    - `version` string, nullable
    - `created_by` string, uuid, nullable
    - `created_at` string, date-time, nullable
  - `type` string, nullable
  - `created_by` string, uuid, nullable
  - `created_at` string, date-time, nullable
  - `modified_by` string, uuid, nullable
  - `modified_at` string, date-time, nullable
  - `permissions` string[], nullable
  - `rules` AccessRule[], nullable
    - `description` string, nullable
    - `priority` integer, nullable
    - `container` string, nullable
    - `transform` string, nullable
    - `conditions` Condition[], nullable
      - `attribute` string, nullable
      - `operator` string, nullable
      - `value` string, nullable
    - `permissions` string[], nullable

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/basistheory/apis/basis-theory-api.md) · [All operations](https://skmtc.net/basistheory/apis/basis-theory-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/basistheory/basis-theory-api/revisions/cbb8e098b560/schema)
