Skip to main content

Subscriber Object

This section outlines the Subscriber object.

Subscriber Object Attributes

The fields listed in the table below will be returned in a JSON object when a successful request has been made.

AttributeData TypeDescription
authenticationToken
read only
stringAn encrypted analogue of the password filed, generated automatically.
callbackobjectThe callback object. Refer to the table below for more information.
created
read only
stringThe UNIX time stamp of the subscriber creation time.
detailsstringThe subscriber additional information.
didGroupReferencesarray of objectsData about the DID Group associated with the subscriber. Refer to the table below for more information.
emailstringThe subscriber email address.
eventCallbackUrlstringAn external URL to be called when an event associated to this subscription is fired. This is a hidden field, it can be used to set or change the url attribute of the Callback object.
extstringThe subscriber extension.
externalId
read only
integerThe subscriber object ID in an external system.
firstNamestringThe subscriber first name.
lastNamestringThe subscriber last name.
loginstringThe subscriber login to the API.
meetingRoomsarray of objectsThe meeting rooms, which this subscriber can possibly attend.
parentSid
read only
stringThe parent subscriber object identifier.
passwordstringThe subscriber password. This field is hidden from the response and never returned as a plain text.
phoneNumberstringThe subscriber phone number.
roleintegerThe subscriber role. Values accepted in this field are:
  • 1 for administrator.
  • 2 for operator.
  • 3 for regular user.
The default value is 3.
sid
read only
stringThe subscriber identifier.

Callback Object

AttributeData TypeDescription
id
read only
integerThe callback identifier.
urlstringAn external URL to which a POST request is sent when an event associated to this subscription is fired. This URL can be set or updated either directly or using the eventCallbackUrl of the Subscriber object.

DID Group Reference Object

The didGroupReferences array contains the didGroupId and state. The didGroupId references the DID group containing the phone numbers that can be dialed to access a Meeting Room.

AttributeData TypeDescription
didGroupIdintegerThe DID group identifier.
statestring

The state of the DID group. Values accepted in this field are:

  • 0 for active (default)
  • 1 for invalidated
  • 2 for disabled

Sample Subscriber Object

{
"authenticationToken": "MWMx0BU1YZE0MV==",
"callback": {
"id": 233944,
"url": "http://mywebsite.com/conference/callback"
},
"created": 1586872518000,
"details": "Some details about subscriber",
"didGroupReferences": [
{
"didGroupId": 731,
"state": 0
}
],
"email": "mail@carrierx.com",
"externalId": -1,
"firstName": "CarrierX",
"lastName": "",
"login": "test_carrierx_conference_135",
"meetingRooms": [],
"parentSid": "zzpF93QCVvfYYJb2KdPSzGW6lqGLB3qm",
"phoneNumber": "9197473626",
"role": 3,
"sid": "rB0M9.EzXfaO4keb-opANwfb7CHx1Ph1"
}