DocumentationBlogSupport
Log inSign up
Log inSign up
BlogSupport
Build
Getting StartedPlatform Introduction
Embedded Apps
What's NewOverviewDeveloper GuideSidebar API Quick StartSubmission Checklist for Embedded Apps
Design Guidelines
MessagingMeetingsDevicesSidebarSidebar on Mobile
API Reference
BotsButtons and CardsIntegrationsBYODSService AppsService App GuestsService Apps G2GGuest IssuerWidgetsWebex ConnectLogin with WebexInstant ConnectInstant Connect Meeting LinksDeveloper SandboxBeta ProgramSubmit Your AppSupport PolicyFAQs
APIs
API Behavior ChangesPartners API GuideXML API DeprecationAccess the APIREST API BasicsCompliance
Webex APIs
Reference
Data Sources
Admin
OverviewAdmin APIsHybrid ServicesAuthentication
Guides
Hybrid ServicesWebhooksReal-time File DLP BasicsProvisioning APIsBackground ImagesAudit Events Error Reference
Reference
Admin Audit EventsAuthorizationsEventsGroupsHistorical AnalyticsHybrid ClustersHybrid ConnectorsLicensesMeeting QualitiesOrganization ContactsOrganizationsPartner ManagementPartner Reports/TemplatesPartner TagsPeopleRecording ReportRecordingsReport TemplatesReportsResource Group MembershipsResource GroupsRolesSecurity Audit EventsSession TypesSettingsSpace ClassificationsTracking CodesWorkspace LocationsWorkspace Metrics
Webex Calling Beta
Overview
Guides
Integrations and AuthorizationMetadata and Samples
Webex Calling
OverviewSDKs and ToolsWhat's New
Guides
Integrations and AuthorizationProvisioning APIsMetadata and SamplesBackground Images
Reference
Call ControlsCall RoutingCall Settings For MeCalling Service SettingsClient Call SettingsConference ControlsConverged RecordingsDECT Devices SettingsDevice Call SettingsDevicesEmergency Services SettingsFeatures: Announcement PlaylistFeatures: Announcement RepositoryFeatures: Auto AttendantFeatures: Call ParkFeatures: Call PickupFeatures: Call QueueFeatures: Call RecordingFeatures: Customer Experience EssentialsFeatures: Hunt GroupFeatures: Operating ModesFeatures: Paging GroupFeatures: Single Number ReachLocation Call SettingsLocation Call Settings: Call HandlingLocation Call Settings: SchedulesLocation Call Settings: VoicemailLocationsNumbersPSTNPartner Reports/TemplatesPeopleRecording ReportReportsReports: Detailed Call HistorySend Activation EmailUser Call SettingsVirtual Line Call Settings
GETRead the List of Virtual Lines
GETRead Call Recording Settings for a Virtual Line
PUTConfigure Call Recording Settings for a Virtual Line
POSTCreate a Virtual Line
DELETEDelete a Virtual Line
GETGet Details for a Virtual Line
PUTUpdate a Virtual Line
GETGet Phone Number assigned for a Virtual Line
PUTUpdate Directory search for a Virtual Line
GETGet List of Devices assigned for a Virtual Line
GETGet List of DECT Networks Handsets for a Virtual Line
GETRead Caller ID Settings for a Virtual Line
PUTConfigure Caller ID Settings for a Virtual Line
GETRead Call Waiting Settings for a Virtual Line
PUTConfigure Call Waiting Settings for a Virtual Line
GETRead Call Forwarding Settings for a Virtual Line
PUTConfigure Call Forwarding Settings for a Virtual Line
GETRead Incoming Permission Settings for a Virtual Line
PUTConfigure Incoming Permission Settings for a Virtual Line
GETRetrieve a virtual line's Outgoing Calling Permissions Settings
PUTModify a virtual line's Outgoing Calling Permissions Settings
GETRetrieve Access Codes for a Virtual Line
PUTModify Access Codes for a Virtual Line
POSTCreate Access Codes for a Virtual Line
DELETEDelete Access Codes for a Virtual Line
GETRetrieve Transfer Numbers for a Virtual Line
PUTModify Transfer Numbers for a Virtual Line
GETRetrieve Digit Patterns for a Virtual Profile
GETRetrieve Specified Digit Pattern Details for a Virtual Profile
POSTCreate Digit Pattern for a Virtual Profile
PUTModify the Digit Pattern Category Control Settings for a Virtual Profile
PUTModify a Digit Pattern for a Virtual Profile
DELETEDelete a Digit Pattern for a Virtual Profile
DELETEDelete all Digit Patterns for a Virtual Profile
GETRead Call Intercept Settings for a Virtual Line
PUTConfigure Call Intercept Settings for a Virtual Line
POSTConfigure Call Intercept Greeting for a Virtual Line
GETRetrieve Agent's List of Available Caller IDs
GETRetrieve Agent's Caller ID Information
PUTModify Agent's Caller ID Information
GETRead Voicemail Settings for a Virtual Line
PUTConfigure Voicemail Settings for a Virtual Line
POSTConfigure Busy Voicemail Greeting for a Virtual Line
POSTConfigure No Answer Voicemail Greeting for a Virtual Line
POSTReset Voicemail PIN for a Virtual Line
PUTModify a virtual line's voicemail passcode
GETRetrieve Music On Hold Settings for a Virtual Line
PUTConfigure Music On Hold Settings for a Virtual Line
GETRead Push-to-Talk Settings for a Virtual Line
PUTConfigure Push-to-Talk Settings for a Virtual Line
GETRead Call Bridge Settings for a Virtual Line
PUTConfigure Call Bridge Settings for a Virtual Line
GETRead Barge In Settings for a Virtual Line
PUTConfigure Barge In Settings for a Virtual Line
GETGet a Virtual Line's Privacy Settings
PUTConfigure a Virtual Line's Privacy Settings
GETGet Virtual Line Fax Message Available Phone Numbers
GETGet Virtual Line Call Forward Available Phone Numbers
GETGet Virtual Line Available Phone Numbers
GETGet Virtual Line ECBN Available Phone Numbers
GETGet Virtual Line Call Intercept Available Phone Numbers
Workspace Call SettingsWorkspaces
Webex for Broadworks
Overview
Guides
Integrations and AuthorizationDeveloper's Guide
Reference
BroadWorks Billing ReportsBroadWorks EnterprisesBroadWorks SubscribersBroadWorks Workspaces
Webex for Wholesale
Overview
Guides
Developer's Guide
Reference
Wholesale Billing ReportsWholesale Provisioning
Webex for UCM
Guides
Integrations and Authorization
Reference
UCM Profile
Contact Center
Overview
Reference
Data Sources
Customer Journey Data
Overview
Guides
Getting StartedFAQ
Devices
Overview
Guides
Devices
Reference
Device Call SettingsDevice ConfigurationsDevicesWorkspace LocationsWorkspace MetricsWorkspace PersonalizationWorkspacesxAPI
Directory Services
Reference
Domain ManagementIdentity Organization
Meetings
Overview
Guides
Integrations and AuthorizationWebhooksWebinar GuideMeeting Resource Guide
Reference
Meeting ChatsMeeting Closed CaptionsMeeting InviteesMeeting MessagesMeeting ParticipantsMeeting PollsMeeting PreferencesMeeting Q and AMeeting QualitiesMeeting TranscriptsMeetingsMeetings Summary ReportPeopleRecording ReportRecordingsSession TypesTracking CodesVideo MeshWebhooks
Messaging
Overview
Guides
BotsIntegrations and AuthorizationWebhooksButtons and Cards
Reference
Attachment ActionsEventsMembershipsMessagesPeopleRoom TabsRoomsTeam MembershipsTeamsWebhooks
SCIM 2
Overview
Reference
SCIM 2 BulkSCIM 2 GroupsSCIM 2 Users
Workspace Integrations
OverviewTechnical DetailsControl Hub Features
Webex Status API
Full API Reference
Admin Audit EventsAttachment ActionsAuthorizationsBroadWorks Billing ReportsBroadWorks EnterprisesBroadWorks SubscribersBroadWorks WorkspacesCall ControlsCall RoutingCall Settings For MeCalling Service SettingsClient Call SettingsConference ControlsConverged RecordingsDECT Devices SettingsData SourcesDevice Call SettingsDevice ConfigurationsDevicesDomain ManagementEmergency Services SettingsEventsFeatures: Announcement PlaylistFeatures: Announcement RepositoryFeatures: Auto AttendantFeatures: Call ParkFeatures: Call PickupFeatures: Call QueueFeatures: Call RecordingFeatures: Customer Experience EssentialsFeatures: Hunt GroupFeatures: Operating ModesFeatures: Paging GroupFeatures: Single Number ReachGroupsGuests ManagementHistorical AnalyticsHybrid ClustersHybrid ConnectorsIdentity OrganizationIssuesLicensesLocation Call SettingsLocation Call Settings: Call HandlingLocation Call Settings: SchedulesLocation Call Settings: VoicemailLocationsMeeting ChatsMeeting Closed CaptionsMeeting InviteesMeeting MessagesMeeting ParticipantsMeeting PollsMeeting PreferencesMeeting Q and AMeeting QualitiesMeeting TranscriptsMeetingsMeetings Summary ReportMembershipsMessagesNumbersOrganization ContactsOrganizationsPSTNPartner ManagementPartner Reports/TemplatesPartner TagsPeopleRecording ReportRecordingsReport TemplatesReportsReports: Detailed Call HistoryResource Group MembershipsResource GroupsRolesRoom TabsRoomsSCIM 2 BulkSCIM 2 GroupsSCIM 2 UsersSecurity Audit EventsSend Activation EmailSession TypesSettingsSiteSpace ClassificationsTeam MembershipsTeamsTracking CodesUCM ProfileUser Call SettingsVideo MeshVirtual Line Call Settings
GETRead the List of Virtual Lines
GETRead Call Recording Settings for a Virtual Line
PUTConfigure Call Recording Settings for a Virtual Line
POSTCreate a Virtual Line
DELETEDelete a Virtual Line
GETGet Details for a Virtual Line
PUTUpdate a Virtual Line
GETGet Phone Number assigned for a Virtual Line
PUTUpdate Directory search for a Virtual Line
GETGet List of Devices assigned for a Virtual Line
GETGet List of DECT Networks Handsets for a Virtual Line
GETRead Caller ID Settings for a Virtual Line
PUTConfigure Caller ID Settings for a Virtual Line
GETRead Call Waiting Settings for a Virtual Line
PUTConfigure Call Waiting Settings for a Virtual Line
GETRead Call Forwarding Settings for a Virtual Line
PUTConfigure Call Forwarding Settings for a Virtual Line
GETRead Incoming Permission Settings for a Virtual Line
PUTConfigure Incoming Permission Settings for a Virtual Line
GETRetrieve a virtual line's Outgoing Calling Permissions Settings
PUTModify a virtual line's Outgoing Calling Permissions Settings
GETRetrieve Access Codes for a Virtual Line
PUTModify Access Codes for a Virtual Line
POSTCreate Access Codes for a Virtual Line
DELETEDelete Access Codes for a Virtual Line
GETRetrieve Transfer Numbers for a Virtual Line
PUTModify Transfer Numbers for a Virtual Line
GETRetrieve Digit Patterns for a Virtual Profile
GETRetrieve Specified Digit Pattern Details for a Virtual Profile
POSTCreate Digit Pattern for a Virtual Profile
PUTModify the Digit Pattern Category Control Settings for a Virtual Profile
PUTModify a Digit Pattern for a Virtual Profile
DELETEDelete a Digit Pattern for a Virtual Profile
DELETEDelete all Digit Patterns for a Virtual Profile
GETRead Call Intercept Settings for a Virtual Line
PUTConfigure Call Intercept Settings for a Virtual Line
POSTConfigure Call Intercept Greeting for a Virtual Line
GETRetrieve Agent's List of Available Caller IDs
GETRetrieve Agent's Caller ID Information
PUTModify Agent's Caller ID Information
GETRead Voicemail Settings for a Virtual Line
PUTConfigure Voicemail Settings for a Virtual Line
POSTConfigure Busy Voicemail Greeting for a Virtual Line
POSTConfigure No Answer Voicemail Greeting for a Virtual Line
POSTReset Voicemail PIN for a Virtual Line
PUTModify a virtual line's voicemail passcode
GETRetrieve Music On Hold Settings for a Virtual Line
PUTConfigure Music On Hold Settings for a Virtual Line
GETRead Push-to-Talk Settings for a Virtual Line
PUTConfigure Push-to-Talk Settings for a Virtual Line
GETRead Call Bridge Settings for a Virtual Line
PUTConfigure Call Bridge Settings for a Virtual Line
GETRead Barge In Settings for a Virtual Line
PUTConfigure Barge In Settings for a Virtual Line
GETGet a Virtual Line's Privacy Settings
PUTConfigure a Virtual Line's Privacy Settings
GETGet Virtual Line Fax Message Available Phone Numbers
GETGet Virtual Line Call Forward Available Phone Numbers
GETGet Virtual Line Available Phone Numbers
GETGet Virtual Line ECBN Available Phone Numbers
GETGet Virtual Line Call Intercept Available Phone Numbers
WebhooksWholesale Billing ReportsWholesale ProvisioningWorkspace Call SettingsWorkspace LocationsWorkspace MetricsWorkspace PersonalizationWorkspacesxAPI
API Changelog
SDKs
Space Meetings Migration
Calling
Introduction
Platform
Web
IntroductionQuickstart
Basics
AuthorizationCore ConceptsCalls
Advanced Features
Call SettingsContactsSupplementary ServicesVoicemailBackground Noise Reduction
Kitchen Sink
Meetings
Introduction
Platform
Web
IntroductionQuickstart
Basics
AuthorizationJoin a MeetingMigration To Improved MeetingsPasswords & CaptchasUnified Space Meetings
Advanced Features
Advanced ControlsDialing In and OutStreams & EffectsVideo Resolution
Multistream
Multistream Comprehensive GuideMultistream Quickstart
Migrating SDK V2 to V3
iOSAndroidBrowserNode.jsClick to Call
Developer CommunityCertifications

Get Details for a Virtual Line

Retrieve Virtual Line details.

Virtual line is a capability in Webex Calling that allows administrators to configure multiple lines to Webex Calling users.

Retrieving virtual line details requires a full or user or read-only administrator or location administrator auth token with a scope of spark-admin:telephony_config_read.

GET/v1/telephony/config/virtualLines/{virtualLineId}
URI Parameters
virtualLineId
stringrequired

Retrieve settings for a virtual line with the matching ID.

Query Parameters
orgId
string

Retrieve virtual line settings from this organization.

Response Properties
id
string

A unique identifier for the virtual line.

firstName
string

First name defined for a virtual line. Minimum length is 1. Maximum length is 64.

lastName
string

Last name defined for a virtual line. Minimum length is 1. Maximum length is 64.

displayName
string

Display name defined for a virtual line.

directorySearchEnabled
boolean

Flag to indicate a directory search.

announcementLanguage
string

Virtual Line's announcement language.

timeZone
string

Time zone defined for the virtual line.

number
object

Calling details of virtual line.

external
string

Phone number of a virtual line. Either external or extension is mandatory.

extension
string

Extension of a virtual line. Either external or extension is mandatory.

primary
boolean

Number is Primary or Alternative Number.

devices
array[DevicesObject]

List of devices assigned to a virtual line.

id
string

Unique identifier for a device.

description
array[string]

Comma separated array of tags used to describe device.

model
string

Identifier for device model.

mac
string

MAC address of device.

primaryOwner
boolean

Indicates whether the person or the workspace is the owner of the device and points to a primary Line/Port of the device.

type
LineType

Indicates if the line is acting as a primary line or a shared line for this device.

PRIMARY
string

Primary line for the member.

SHARED_CALL_APPEARANCE
string

Shared line for the member. A shared line allows users to receive and place calls to and from another user's extension, using their own device.

owner
deviceOwner

Owner of the device.

id
string

Unique identifier of a person or a workspace.

type
MemberType

Enumeration that indicates if the member is of type PEOPLE or PLACE.

PEOPLE
string

Indicates the associated member is a person.

PLACE
string

Indicates the associated member is a workspace.

firstName
string

First name of device owner.

lastName
string

Last name of device owner.

activationState
DeviceActivationStates

Activation state of a device.

ACTIVATING
string

Indicates a device is activating.

ACTIVATED
string

Indicates a device is activated.

DEACTIVATED
string

Indicates a device is deactivated.

location
object

Location details of virtual line.

id
string

ID of location associated with virtual line.

name
string

Name of location associated with virtual line.

address
object

The address of the virtual line.

address1
string

Address 1 of the location.

address2
string

Address 2 of the location.

city
string

City of the location.

state
string

State code of the location.

postalCode
string

Postal code of the location.

country
string

ISO-3166 2-Letter country code of the location.

Response Codes

The list below describes the common success and error responses you should expect from the API:

CodeStatusDescription
200OKSuccessful request with body content.
201CreatedThe request has succeeded and has led to the creation of a resource.
202AcceptedThe request has been accepted for processing.
204No ContentSuccessful request without body content.
400Bad RequestThe request was invalid or cannot be otherwise served. An accompanying error message will explain further.
401UnauthorizedAuthentication credentials were missing or incorrect.
403ForbiddenThe request is understood, but it has been refused or access is not allowed.
404Not FoundThe URI requested is invalid or the resource requested, such as a user, does not exist. Also returned when the requested format is not supported by the requested method.
405Method Not AllowedThe request was made to a resource using an HTTP request method that is not supported.
409ConflictThe request could not be processed because it conflicts with some established rule of the system. For example, a person may not be added to a room more than once.
410GoneThe requested resource is no longer available.
415Unsupported Media TypeThe request was made to a resource without specifying a media type or used a media type that is not supported.
423LockedThe requested resource is temporarily unavailable. A Retry-After header may be present that specifies how many seconds you need to wait before attempting the request again.
428Precondition RequiredFile(s) cannot be scanned for malware and need to be force downloaded.
429Too Many RequestsToo many requests have been sent in a given amount of time and the request has been rate limited. A Retry-After header should be present that specifies how many seconds you need to wait before a successful request can be made.
500Internal Server ErrorSomething went wrong on the server. If the issue persists, feel free to contact the Webex Developer Support team.
502Bad GatewayThe server received an invalid response from an upstream server while processing the request. Try again later.
503Service UnavailableServer is overloaded with requests. Try again later.
504Gateway TimeoutAn upstream server failed to respond on time. If your query uses max parameter, please try to reduce it.
  • Try it
  • Example
GET
/v1/telephony/config/virtualLines/{?orgId}
Log in to try the API.
Header
Query Parameters
  • Retrieve virtual line settings from this organization.
  • Request
  • Response
https://webexapis.com/v1/telephony/config/virtualLines/Y2lzY29zcGFyazovL3VzL1ZJUlRVQUxfTElORS85Y2JmYjYxZi00ZGM0LTQ1NWItYmMzYS00NmI4YmY5YjQzNzk?orgId=Y2lzY29zcGFyazovL3VzL09SR0FOSVpBVElPTi85NmFiYzJhYS0zZGNjLTExZTUtYTE1Mi1mZTM0ODE5Y2RjOWE
200 / OK
{
  "id": "Y2lzY29zcGFyazovL3VzL1ZJUlRVQUxfTElORS85Y2JmYjYxZi00ZGM0LTQ1NWItYmMzYS00NmI4YmY5YjQzNzk",
  "firstName": "Bob",
  "lastName": "Smith",
  "displayName": "Bob Smith",
  "directorySearchEnabled": "true",
  "announcementLanguage": "French",
  "timeZone": "Africa/Algiers",
  "number": {
    "external": "+15558675309",
    "extension": "5309",
    "primary": true
  },
  "devices": [
    {
      "id": "Y2lzY29zcGFyazovL3VybjpURUFNOnVzLWVhc3QtMl9hL0RFVklDRS9hNmYwYjhkMi01ZjdkLTQzZDItODAyNi0zM2JkNDg3NjYzMTg=",
      "description": [
      ],
      "model": "DMS Cisco 6871",
      "mac": "123451234502",
      "primaryOwner": false,
      "owner": {
        "id": "Y2lzY29zcGFyazovL3VzL0FVVE9fQVRURU5EQU5UL2J6QjJlRGd6Ym1GeU5rQm1iR1Y0TWk1amFYTmpieTVqYjIw",
        "lastName": "Christian",
        "firstName": "Smith",
        "type": "PEOPLE"
      },
      "activationState": "ACTIVATED",
      "type": "PRIMARY"
    }
  ],
  "location": {
    "name": "Main Location Test",
    "id": "Y2lzY29zcGFyazovL3VzL0xPQ0FUSU9OLzMxMTYx",
    "address": {
      "address1": "771 Alder Drive",
      "address2": "Cisco Site 5",
      "city": "Milpitas",
      "state": "CA",
      "postalCode": "95035",
      "country": "US"
    }
  }
}

Connect

Support

Developer Community

Developer Events

Contact Sales

Handy Links

Webex Ambassadors

Webex App Hub

Resources

Open Source Bot Starter Kits

Download Webex

DevNet Learning Labs

Terms of Service

Privacy Policy

Cookie Policy

Trademarks

© 2025 Cisco and/or its affiliates. All rights reserved.