# Create Student Type

#### Create a New Student Type

**Endpoint:**

```
POST /v1/school/student-types/new
```

**Description:** This endpoint creates a new student type for a specified school. It requires a JSON payload with the necessary details for the student type.

**Headers:**

| Name          | Value                   |
| ------------- | ----------------------- |
| Content-Type  | application/json        |
| Authorization | Bearer \<access\_token> |

**Request Body:**

```json
{
    "school_slug": "string",
    "student_type": "string",
    "registration_fee": "string",
    "monthly_fee": "string"
}
```

**Request Body Details:**

| Field             | Type   | Description                               | Required |
| ----------------- | ------ | ----------------------------------------- | -------- |
| school\_slug      | string | The slug of the school                    | Yes      |
| student\_type     | string | The type of student                       | Yes      |
| registration\_fee | string | The registration fee for the student type | Yes      |
| monthly\_fee      | string | The monthly fee for the student type      | Yes      |

**Response**

{% tabs %}
{% tab title="200" %}

```json
```

{% endtab %}

{% tab title="400" %}

```json
{
  "message": "string",
  "error": "string",
  "statusCode": "number"
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dugsi-docs.tiigsi.io/school-endpoints/create-student-type.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
