---
title: "Update monitor server"
method: POST
path: "/monitor"
tags: ["CTI"]
---

# Update monitor server

`POST /monitor`

## Request

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

Update monitor server

## Request body

- object
  - `enabled` boolean: Enable monitor server or not.
  - `extension_number` string: The extension number.

## Response `200`

OK

## 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)
