Get the number
Get the number
Path Parameters
The ID of the number to retrieve
- 200
- 401
- 404
- 500
Successfully retrieved the number
Schema
- Array [
- Array [
- ]
- ]
- Array [
- ]
- Array [
- Array [
- ]
- ]
data object
The ID of the number
The label of the number
The phone number in E.164 format
The phone number in localized format
Possible values: [ACTIVE
, SUSPENDED
, CANCELLED
, PENDING_CANCEL
, PARKED
, PENDING_PARKING
, PENDING_PORTING_IN
, PENDING_REGION_VALIDATION
, PENDING_ACTIVATION
]
The status of the number
The date and time the number was activated
The date and time the number was cancelled
An array of active user ids included in the forwarding / voice menu features.
insights object
Default value: false
Whether or not insights are enabled for this number
The version of the dial plan
dialPlan object
announcement object
Whether or not the announcement is enabled
The ID of the recording that is configured as announcement
businessHours object
Whether or not business hours are enabled
schedule object[]
Possible values: [sun
, mon
, tue
, wed
, thu
, fri
, sat
]
The day of the week
Whether or not the business is open all day on this day
Whether or not the business is closed all day on this day
times object[]
The time the business opens
The time the business closes
unansweredOptions object
Possible values: [hangup
, voicemail
, forward
]
The unanswered option setting
The ID of the recording that is used for the unanswered option, if applicable
forwardTarget object nullable
The phone number of the target in E.164 format, if applicable
The ID of the user that is configured as target, if applicable
callForwarding object
Whether or not call forwarding is enabled
Possible values: [roundRobin
, ringAll
]
The method to use when forwarding calls
queue object
Whether or not the queue is enabled
Possible values: [60
, 120
, 180
, 240
, 300
, 600
, 900
, 1200
, 1500
, 1800
]
The maximum time in seconds a call can be in the queue
The ID of the music on hold to be played, null to disable
The ID of the recording that is configured as join announcement, null to disable
targets object[]
The ID of the user that is configured as target, if applicable
The phone number of the target in E.164 format
Whether or not the target is enabled
unansweredOptions object
Possible values: [hangup
, voicemail
, forward
]
The unanswered option setting
The ID of the recording that is used for the unanswered option, if applicable
forwardTarget object nullable
The phone number of the target in E.164 format, if applicable
The ID of the user that is configured as target, if applicable
callRecording object
Whether or not call recording is enabled
The ID of the recording that is configured as announcement
preferences object
Possible values: [caller
, callee
]
The caller ID to use on inbound calls
When callerId is set to caller and this is set to true, an announcement will be played to the callee
The time in seconds the forwarded calls will ring
voiceMenu object
Whether or not the voice menu is enabled
The ID of the announcement recording to play
The number of times to repeat the announcement
options object[]
Whether or not the voice menu option is enabled
Whether or not the option is the default
Possible values: [0
, 1
, 2
, 3
, 4
, 5
, 6
, 7
, 8
, 9
, *
, #
]
The DTMF digit to press to select this option
Whether or not to the option is fully setup
Whether or not to send the call to voicemail
The ID of the recording to play
callForwarding object
Whether or not call forwarding is enabled
Possible values: [roundRobin
, ringAll
]
The method to use when forwarding calls
queue object
Whether or not the queue is enabled
Possible values: [60
, 120
, 180
, 240
, 300
, 600
, 900
, 1200
, 1500
, 1800
]
The maximum time in seconds a call can be in the queue
The ID of the music on hold to be played, null to disable
The ID of the recording that is configured as join announcement, null to disable
targets object[]
The ID of the user that is configured as target, if applicable
The phone number of the target in E.164 format
Whether or not the target is enabled
unansweredOptions object
Possible values: [hangup
, voicemail
, forward
]
The unanswered option setting
The ID of the recording that is used for the unanswered option, if applicable
forwardTarget object nullable
The phone number of the target in E.164 format, if applicable
The ID of the user that is configured as target, if applicable
{
"data": {
"id": "64b8e900cbe7501ee8467d3e",
"label": "Rinkel",
"number": "+31850609000",
"localizedNumber": "085 060 9000",
"status": "ACTIVE",
"activationDate": "2020-01-01T12:00:00.000Z",
"cancelDate": null,
"activeUserIds": [
"66ab605ddac0af208d5f0dab",
"66ab6061210ac5e3539eec4f",
"66ab606660166d5dd6779732"
],
"insights": {
"enabled": false
},
"dialPlanVersion": 1,
"dialPlan": {
"announcement": {
"enabled": true,
"recordingId": "654367fa9ee46392f4b84247"
},
"businessHours": {
"enabled": true,
"schedule": [
{
"day": "mon",
"openAllDay": false,
"closedAllDay": false,
"times": [
{
"open": 900,
"closed": "1700"
}
]
}
],
"unansweredOptions": {
"setting": "hangup",
"recordingId": null,
"forwardTarget": null
}
},
"callForwarding": {
"enabled": true,
"ringMethod": "roundRobin",
"queue": {
"enabled": true,
"maxTime": 60,
"musicOnHoldId": "65438adbfe329346cc4af2f9",
"announcementRecordingId": "654367fa9ee46392f4b84247"
},
"targets": [
{
"user": null,
"e164": "+31612345678",
"enabled": true
}
],
"unansweredOptions": {
"setting": "hangup",
"recordingId": null,
"forwardTarget": null
}
},
"callRecording": {
"enabled": true,
"announcementRecordingId": "654367fa9ee46392f4b84247"
},
"preferences": {
"callerId": "caller",
"callerIdAnnounce": false,
"ringTime": 20
},
"voiceMenu": {
"enabled": true,
"announcementRecordingId": "654367fa9ee46392f4b84247",
"repeatAnnouncement": 3,
"options": [
{
"enabled": true,
"default": true,
"dtmf": "1",
"setup": true,
"voicemail": true,
"recordingId": "654367fa9ee46392f4b84247",
"callForwarding": {
"enabled": true,
"ringMethod": "roundRobin",
"queue": {
"enabled": true,
"maxTime": 60,
"musicOnHoldId": "65438adbfe329346cc4af2f9",
"announcementRecordingId": "654367fa9ee46392f4b84247"
},
"targets": [
{
"user": null,
"e164": "+31612345678",
"enabled": true
}
],
"unansweredOptions": {
"setting": "hangup",
"recordingId": null,
"forwardTarget": null
}
}
}
]
}
}
}
}
Unauthorized
The number was not found
Internal Server Error