---
title: "Create a monitor group"
method: POST
path: "/monitor_groups"
tags: ["CTI"]
---

# Create a monitor group

`POST /monitor_groups`

## Request

- Base URL: `https://HOSTNAME:8887/api`
- URL: `https://HOSTNAME:8887/api/monitor_groups`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/docs/monitor_groups/post.ts> (a function with typed inputs; its response is checked against the schema)

Create a new monitor group.

## Request body

- object
  - `name` string: Name of monitor group
  - `enabled` boolean: Enable monitor group or not.
  - `description` string: Description for monitor group

## Response `201`

Created monitor group

- object
  - `id` string: The unique ID of the resource.

## Other responses

- `4XX`: Error

---

[API](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api.md) - [All operations](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/portsip/apis/portsip-pbx-rest-api/revisions/577415d4a3d5?raw)
