Conference rooms

List conference rooms

Retrieve a collection of conference rooms

GEThttps://HOSTNAME:8887/api/conference_rooms
Query parameters
Response

OK

Body
countinteger (int64)

Total number of resource.

Example: 100
itemsarray of object
Request
const response = await fetch('https://HOSTNAME:8887/api/conference_rooms', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "count": 100,
  "items": [
    {
      "id": {},
      "extension_number": "text",
      "mode": "AUDIO",
      "control": "FREE",
      "height": 720,
      "width": 1280,
      "bitrate": 1024,
      "framerate": 15,
      "layout": "LAYOUT0",
      "subject": "text",
      "language": "en-US",
      "capacity": 9,
      "admin_pin": "text",
      "room_pin": "text",
      "enable_recording": false,
      "enable_prompt": true,
      "timezone": "text",
      "created_at": {},
      "scheduled_start_at": {},
      "scheduled_end_at": {},
      "numbers": "text",
      "internal_invitees": [
        {}
      ],
      "external_invitees": "text",
      "custom_options": "text"
    }
  ]
}

Create a conference room

Create a conference room

POSThttps://HOSTNAME:8887/api/conference_rooms
Body
extension_number*string

The extension number.

Pattern: [0-9]{3,64}
mode*enum

The conference room mode.
Can be either:

  • AUDIO: audio conference room.
  • VIDEO: video conference room.
AUDIOVIDEO
controlenum

The conference control type.
Can be either:

  • FREE: the free mode.
  • MASTER: the master mode.
FREEMASTER
heightinteger (int32)

The height for video conference room.
Only valid in VIDEO mode.

widthinteger (int32)

The width for video conference room.
Only valid in VIDEO mode.

bitrateinteger (int32)

The transmission rate for video conference room.
Only valid in VIDEO mode.

framerateinteger

The framerate for video conference room.
Only valid in VIDEO mode.

layoutenum

The number of grids allowed for video conference room.
Only valid in VIDEO mode.
Can be either:

  • LAYOUT0:
  • LAYOUT1:
  • LAYOUT2:
  • LAYOUT3:
  • LAYOUT4:
  • LAYOUT6:
  • LAYOUT9:
LAYOUT0LAYOUT1LAYOUT2LAYOUT3LAYOUT4LAYOUT6LAYOUT9
subject*string

The subject of conference room.

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.

Example: "en-US"
capacity*integer (int32)

The maximum number of participants allowed in the room.

admin_pinstring

The PIN for admin of the conference room. Only numeric sequences are allowed.

room_pinstring

The PIN for the conference room. Only numeric sequences are allowed.

enable_recordingboolean

Whether to enable recording when created.

enable_promptboolean

Whether to enable voice menu.

timezonestring

The IANA Time Zone names, such as "Asia/Shanghai".

scheduled_start_atall of

The scheduled start time of meeting.

scheduled_end_atall of

The scheduled end time of meeting.

numbersstring

Dial from landline/mobile phone to this number.

internal_inviteesarray of all of
external_inviteesstring

The invitees to send invitation emails to.

outbound_caller_idsarray of object

A collection of outbound caller IDs.

custom_optionsstring

Some custom configuration options serialized as json string

Response

Created

Body
idall of

The unique ID of conference room.

Request
const response = await fetch('https://HOSTNAME:8887/api/conference_rooms', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      "mode": "AUDIO",
      "extension_number": "text",
      "subject": "text",
      "capacity": 9
    }),
});
const data = await response.json();
Response
{
  "id": {}
}

Retrieve a conference room

Retrieve a conference room.

GEThttps://HOSTNAME:8887/api/conference_rooms/{id}
Path parameters
id*all of

The unique ID of conference room.

Response

OK

Body
idall of

The unique ID of conference room.

extension_numberstring

The extension number.

Pattern: [0-9]{3,64}
modeenum

The conference room mode.
Can be either:

  • AUDIO: audio conference room.
  • VIDEO: video conference room.
AUDIOVIDEO
controlenum

The conference control type.
Can be either:

  • FREE: the free mode.
  • MASTER: the master mode.
FREEMASTER
heightinteger (int32)

The height for video conference room.
Only valid in VIDEO mode.

widthinteger (int32)

The width for video conference room.
Only valid in VIDEO mode.

bitrateinteger (int32)

The transmission rate for video conference room.
Only valid in VIDEO mode.

framerateinteger

The framerate for video conference room.
Only valid in VIDEO mode.

layoutenum

The number of grids allowed for video conference room.
Only valid in VIDEO mode.
Can be either:

  • LAYOUT0:
  • LAYOUT1:
  • LAYOUT2:
  • LAYOUT3:
  • LAYOUT4:
  • LAYOUT6:
  • LAYOUT9:
LAYOUT0LAYOUT1LAYOUT2LAYOUT3LAYOUT4LAYOUT6LAYOUT9
subjectstring

The subject of conference room.

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.

Example: "en-US"
capacityinteger (int32)

The maximum number of participants allowed in the room.

admin_pinstring

The PIN for admin of the conference room. Only numeric sequences are allowed.

room_pinstring

The PIN for the conference room. Only numeric sequences are allowed.

enable_recordingboolean

Whether to enable recording when created.

enable_promptboolean

Whether to enable voice menu.

timezonestring

The IANA Time Zone names, such as "Asia/Shanghai".

created_atall of

The creation time of conference room.

scheduled_start_atall of

The scheduled start time of meeting.

scheduled_end_atall of

The scheduled end time of meeting.

numbersstring

Dial from landline/mobile phone to this number.

internal_inviteesarray of all of
external_inviteesstring

The invitees to send invitation emails to.

domainstring

The SIP domain of tenant.
It is usually a fully qualified domain name (FQDN). If there is no FQDN, you can also use the IP address of the PBX server as the SIP domain. The SIP domain name is only used for SIP message authentication and does not require analysis.

sbc_hoststring

The SBC domain.

sbc_portall of

The SBC web port fot https.

tokenstring

Access token to be passed as a header

Example: "4DFCF1D4C30B4D798ECE3AE43769F008."
outbound_caller_idsarray of object

A collection of outbound caller IDs.

custom_optionsstring

Some custom configuration options serialized as json string

Request
const response = await fetch('https://HOSTNAME:8887/api/conference_rooms/{id}', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "id": {},
  "extension_number": "text",
  "mode": "AUDIO",
  "control": "FREE",
  "height": 720,
  "width": 1280,
  "bitrate": 1024,
  "framerate": 15,
  "layout": "LAYOUT0",
  "subject": "text",
  "language": "en-US",
  "capacity": 9,
  "admin_pin": "text",
  "room_pin": "text",
  "enable_recording": false,
  "enable_prompt": true,
  "timezone": "text",
  "created_at": {},
  "scheduled_start_at": {},
  "scheduled_end_at": {},
  "numbers": "text",
  "internal_invitees": [
    {}
  ],
  "external_invitees": "text",
  "domain": "text",
  "sbc_host": "text",
  "sbc_port": {},
  "token": "4DFCF1D4C30B4D798ECE3AE43769F008.",
  "outbound_caller_ids": [
    {
      "provider_id": {},
      "caller_id": {},
      "description": "text"
    }
  ],
  "custom_options": "text"
}

Update a conference room

Update a conference room

POSThttps://HOSTNAME:8887/api/conference_rooms/{id}
Path parameters
id*all of

The unique ID of conference room.

Body
controlenum

The conference control type.
Can be either:

  • FREE: the free mode.
  • MASTER: the master mode.
FREEMASTER
heightinteger (int32)

The height for video conference room.
Only valid in VIDEO mode.

widthinteger (int32)

The width for video conference room.
Only valid in VIDEO mode.

bitrateinteger (int32)

The transmission rate for video conference room.
Only valid in VIDEO mode.

framerateinteger

The framerate for video conference room.
Only valid in VIDEO mode.

layoutenum

The number of grids allowed for video conference room.
Only valid in VIDEO mode.
Can be either:

  • LAYOUT0:
  • LAYOUT1:
  • LAYOUT2:
  • LAYOUT3:
  • LAYOUT4:
  • LAYOUT6:
  • LAYOUT9:
LAYOUT0LAYOUT1LAYOUT2LAYOUT3LAYOUT4LAYOUT6LAYOUT9
subjectstring

The subject of conference room.

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.

Example: "en-US"
capacityinteger (int32)

The maximum number of participants allowed in the room.

admin_pinstring

The PIN for admin of the conference room. Only numeric sequences are allowed.

room_pinstring

The PIN for the conference room. Only numeric sequences are allowed.

enable_promptboolean

Whether to enable voice menu.

timezonestring

The IANA Time Zone names, such as "Asia/Shanghai".

scheduled_start_atall of

The scheduled start time of meeting.

scheduled_end_atall of

The scheduled end time of meeting.

numbersstring

Dial from landline/mobile phone to this number.

internal_inviteesarray of all of
external_inviteesstring

The invitees to send invitation emails to.

outbound_caller_idsarray of object

A collection of outbound caller IDs.

custom_optionsstring

Some custom configuration options serialized as json string

Response

OK

Request
const response = await fetch('https://HOSTNAME:8887/api/conference_rooms/{id}', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();