---
title: "Create a virtual receptionist server"
method: POST
path: "/ivr_servers"
tags: ["Virtual Receptionist"]
---

# Create a virtual receptionist server

`POST /ivr_servers`

## Request

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

Create a virtual receptionist server.  
Please note that: at least one of ipv4 or ipv6 must be specified.

## Request body

- object
  - `name` string, required: The name of virtual receptionist server.
  - `enabled` boolean: The activate status or deactivated status.
  - `ipv4` string: Host IPV4 address.
  - `ipv6` string: Host IPV6 address.

## Response `201`

OK

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