latestOpenAPI 3.1.0PortSIP2026-08-105581112.6 MB

577415d4a3d5

Virtual Receptionist

Update a virtual receptionist

Update a virtual receptionist

post/ivrs/{id}

Path parameters

idstring required

The unique ID of the resource.

Example:NzAwNTUxOTA5NzczMTQ4MTYw

The unique ID of the virtual receptionist.

Request body

namestring

The name of virtual receptionist.

languagestring

BCP 47 Language Tags (The Internet Best Current Practices (BCP) for language tags). A language tag is composed of a sequence of one or more subtags such as language, region, variant and script subtags. When a language tag is comprised of more than one subtag, the subtag values are separated by the "-" character. You will most commonly find language tags written with 2 subtags - language and region. For example: en-US.

dtmf_intervalinteger

The time to wait for the next DTMF input.

prompt_file_idstring

The unique ID of the resource.

transfer_prompt_file_idstring

The unique ID of the resource.

enable_pinboolean

Whether the PIN is required for DISA.

pinstring

The PIN number for accessing.
The PIN policies include:

  1. A sequence of numbers 6-10 digits in length.
  2. No repeating numbers (e.g. "111", "222")
  3. No sequential numbers (e.g. "012", "789")

Example request

{
  "language": "en-US",
  "prompt_file_id": "NzAwNTUxOTA5NzczMTQ4MTYw",
  "transfer_prompt_file_id": "NzAwNTUxOTA5NzczMTQ4MTYw",
  "custom_forward_rules": [
    {
      "office_hours": {
        "mode": "CUSTOM",
        "monday": {
          "ranges": [
            {
              "from": "09:00",
              "to": "17:00"
            }
          ]
        },
        "tuesday": {
          "ranges": [
            {
              "from": "09:00",
              "to": "17:00"
            }
          ]
        },
        "wednesday": {
          "ranges": [
            {
              "from": "09:00",
              "to": "17:00"
            }
          ]
        },
        "thursday": {
          "ranges": [
            {
              "from": "09:00",
              "to": "17:00"
            }
          ]
        },
        "friday": {
          "ranges": [
            {
              "from": "09:00",
              "to": "17:00"
            }
          ]
        },
        "saturday": {
          "ranges": [
            {
              "from": "09:00",
              "to": "17:00"
            }
          ]
        },
        "sunday": {
          "ranges": [
            {
              "from": "09:00",
              "to": "17:00"
            }
          ]
        }
      },
      "holidays": [
        "NzAwNTUxOTA5NzczMTQ4MTYw"
      ]
    }
  ],
  "outbound_caller_ids": [
    {
      "provider_id": "NzAwNTUxOTA5NzczMTQ4MTYw"
    }
  ]
}

Response

OK