---
title: "Create Module"
method: POST
path: "/internal/modules"
tags: ["internal"]
---

# Create Module

`POST /internal/modules`

## Request

- Base URL: `https://api.kobaltlabs.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kobaltlabs.com/internal/modules`
- Auth: none declared

Create a new permissions module (the top-level namespace for permissions).

## Request body

- CreateModuleRequest
  - `module_name` string, required

## Response `200`

Successful Response

- ModuleResponse
  - `module_id` string, required
  - `module_name` string, required
  - `message` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kobaltlabs/apis/kobaltlabs-api.md) - [All operations](https://skmtc.dev/kobaltlabs/apis/kobaltlabs-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kobaltlabs/apis/kobaltlabs-api/revisions/8587332d5e43?raw)
