Skip to main content

Get the number

Get the number

Path Parameters
    id string required

    The ID of the number to retrieve

Responses

Successfully retrieved the number


Schema
    data object
    id string

    The ID of the number

    label string nullable

    The label of the number

    number string

    The phone number in E.164 format

    localizedNumber string

    The phone number in localized format

    status string

    Possible values: [ACTIVE, SUSPENDED, CANCELLED, PENDING_CANCEL, PARKED, PENDING_PARKING, PENDING_PORTING_IN, PENDING_REGION_VALIDATION, PENDING_ACTIVATION]

    The status of the number

    activationDate date-time nullable

    The date and time the number was activated

    cancelDate date-time nullable

    The date and time the number was cancelled

    activeUserIds string[]

    An array of active user ids included in the forwarding / voice menu features.

    insights object
    enabled boolean

    Default value: false

    Whether or not insights are enabled for this number

    dialPlanVersion integer

    The version of the dial plan

    dialPlan object
    announcement object
    enabled boolean

    Whether or not the announcement is enabled

    recordingId string nullable

    The ID of the recording that is configured as announcement

    businessHours object
    enabled boolean

    Whether or not business hours are enabled

    schedule object[]
  • Array [
  • day string

    Possible values: [sun, mon, tue, wed, thu, fri, sat]

    The day of the week

    openAllDay boolean

    Whether or not the business is open all day on this day

    closedAllDay boolean

    Whether or not the business is closed all day on this day

    times object[]
  • Array [
  • open string

    The time the business opens

    closed string

    The time the business closes

  • ]
  • ]
  • unansweredOptions object
    setting string required

    Possible values: [hangup, voicemail, forward]

    The unanswered option setting

    recordingId string nullable

    The ID of the recording that is used for the unanswered option, if applicable

    forwardTarget object nullable
    e164 string nullable

    The phone number of the target in E.164 format, if applicable

    user string nullable

    The ID of the user that is configured as target, if applicable

    callForwarding object
    enabled boolean

    Whether or not call forwarding is enabled

    ringMethod string

    Possible values: [roundRobin, ringAll]

    The method to use when forwarding calls

    queue object
    enabled boolean required

    Whether or not the queue is enabled

    maxTime integer required

    Possible values: [60, 120, 180, 240, 300, 600, 900, 1200, 1500, 1800]

    The maximum time in seconds a call can be in the queue

    musicOnHoldId string nullable

    The ID of the music on hold to be played, null to disable

    announcementRecordingId string nullable

    The ID of the recording that is configured as join announcement, null to disable

    targets object[]
  • Array [
  • user string nullable

    The ID of the user that is configured as target, if applicable

    e164 string nullable

    The phone number of the target in E.164 format

    enabled boolean

    Whether or not the target is enabled

  • ]
  • unansweredOptions object
    setting string required

    Possible values: [hangup, voicemail, forward]

    The unanswered option setting

    recordingId string nullable

    The ID of the recording that is used for the unanswered option, if applicable

    forwardTarget object nullable
    e164 string nullable

    The phone number of the target in E.164 format, if applicable

    user string nullable

    The ID of the user that is configured as target, if applicable

    callRecording object
    enabled boolean

    Whether or not call recording is enabled

    announcementRecordingId string nullable

    The ID of the recording that is configured as announcement

    preferences object
    callerId string

    Possible values: [caller, callee]

    The caller ID to use on inbound calls

    callerIdAnnounce boolean

    When callerId is set to caller and this is set to true, an announcement will be played to the callee

    ringTime integer

    The time in seconds the forwarded calls will ring

    voiceMenu object
    enabled boolean

    Whether or not the voice menu is enabled

    announcementRecordingId string nullable

    The ID of the announcement recording to play

    repeatAnnouncement number

    The number of times to repeat the announcement

    options object[]
  • Array [
  • enabled boolean

    Whether or not the voice menu option is enabled

    default boolean

    Whether or not the option is the default

    dtmf string

    Possible values: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, *, #]

    The DTMF digit to press to select this option

    setup boolean

    Whether or not to the option is fully setup

    voicemail boolean

    Whether or not to send the call to voicemail

    recordingId string nullable

    The ID of the recording to play

    callForwarding object
    enabled boolean

    Whether or not call forwarding is enabled

    ringMethod string

    Possible values: [roundRobin, ringAll]

    The method to use when forwarding calls

    queue object
    enabled boolean required

    Whether or not the queue is enabled

    maxTime integer required

    Possible values: [60, 120, 180, 240, 300, 600, 900, 1200, 1500, 1800]

    The maximum time in seconds a call can be in the queue

    musicOnHoldId string nullable

    The ID of the music on hold to be played, null to disable

    announcementRecordingId string nullable

    The ID of the recording that is configured as join announcement, null to disable

    targets object[]
  • Array [
  • user string nullable

    The ID of the user that is configured as target, if applicable

    e164 string nullable

    The phone number of the target in E.164 format

    enabled boolean

    Whether or not the target is enabled

  • ]
  • unansweredOptions object
    setting string required

    Possible values: [hangup, voicemail, forward]

    The unanswered option setting

    recordingId string nullable

    The ID of the recording that is used for the unanswered option, if applicable

    forwardTarget object nullable
    e164 string nullable

    The phone number of the target in E.164 format, if applicable

    user string nullable

    The ID of the user that is configured as target, if applicable

  • ]
Loading...