---
title: "Inserts a new module"
method: POST
path: "/Modules"
tags: ["Modules"]
---

# Inserts a new module

`POST /Modules`

**Requires permission:** *Admin*

Inserts a new module

## Query parameters

- `page` integer, required
- `pageSize` integer, required
- `includes` string[], nullable
- `sort` string, nullable
- `filter` string, nullable

## Request body

- PostModuleRequest
  - `module` Module
    - `id` integer
    - `name` string
    - `page` string
    - `icon` string
    - `permissions` string
    - `main` boolean
    - `search` boolean
    - `hidden` boolean
    - `parentPage` string, nullable
    - `checkStudent` boolean
    - `site` string
    - `showDate` string, date-time, nullable
    - `hideDate` string, date-time, nullable
    - `allowWhileImpersonating` boolean
    - `iconName` string, nullable
    - `category` string, nullable
    - `featureSet` string, nullable
    - `showForStudents` boolean
    - `showForLeavers` boolean
    - `categories` string[]
    - `permissionList` string[]

## Response `204`

Success - Module Inserted

## Other responses

- `400` — An Error Occurred - Explain Error
- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/tonbridge/apis/tonbridge-app-api.md) · [All operations](https://skmtc.net/tonbridge/apis/tonbridge-app-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tonbridge/tonbridge-app-api/versions/fab57bf5558a/schema)
