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 Settings
GETGet Device Members
PUTUpdate Members on the device
GETSearch Members
POSTApply Changes for a specific device
GETGet Device Settings
PUTUpdate device settings
GETGet Location Device Settings
GETGet Webex Calling Device Details
PUTUpdate Third Party Device
GETGet Person Devices
PUTModify Hoteling Settings for a Person's Primary Devices
GETGet Workspace Devices
PUTModify Workspace Devices
GETRead the List of Supported Devices
GETRead the device override settings for a organization
POSTCreate a Line Key Template
GETRead the list of Line Key Templates
GETGet details of a Line Key Template
PUTModify a Line Key Template
DELETEDelete a Line Key Template
POSTPreview Apply Line Key Template
POSTApply a Line Key Template
GETGet List of Apply Line Key Template jobs
GETGet the job status of an Apply Line Key Template job
GETGet job errors for an Apply Line Key Template job
GETRead the DECT device type list - Deprecated
GETRead the DECT device type list
POSTValidate a list of MAC address
POSTChange Device Settings Across Organization Or Location Job
GETList Change Device Settings Jobs
GETGet Change Device Settings Job Status
GETList Change Device Settings Job Errors
GETGet Device Layout by Device ID
PUTModify Device Layout by Device ID
POSTRebuild Phones Configuration
GETList Rebuild Phones Jobs
GETGet the Job Status of a Rebuild Phones Job
GETGet Job Errors for a Rebuild Phones Job
GETGet Device Settings for a Person
PUTUpdate Device Settings for a Person
GETGet Device Settings for a Workspace
PUTUpdate Device Settings for a Workspace
GETRead the List of Background Images
POSTUpload a Device Background Image
DELETEDelete Device Background Images
GETGet User Devices Count
DevicesEmergency 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 SettingsWorkspace 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 Settings
GETGet Device Members
PUTUpdate Members on the device
GETSearch Members
POSTApply Changes for a specific device
GETGet Device Settings
PUTUpdate device settings
GETGet Location Device Settings
GETGet Webex Calling Device Details
PUTUpdate Third Party Device
GETGet Person Devices
PUTModify Hoteling Settings for a Person's Primary Devices
GETGet Workspace Devices
PUTModify Workspace Devices
GETRead the List of Supported Devices
GETRead the device override settings for a organization
POSTCreate a Line Key Template
GETRead the list of Line Key Templates
GETGet details of a Line Key Template
PUTModify a Line Key Template
DELETEDelete a Line Key Template
POSTPreview Apply Line Key Template
POSTApply a Line Key Template
GETGet List of Apply Line Key Template jobs
GETGet the job status of an Apply Line Key Template job
GETGet job errors for an Apply Line Key Template job
GETRead the DECT device type list - Deprecated
GETRead the DECT device type list
POSTValidate a list of MAC address
POSTChange Device Settings Across Organization Or Location Job
GETList Change Device Settings Jobs
GETGet Change Device Settings Job Status
GETList Change Device Settings Job Errors
GETGet Device Layout by Device ID
PUTModify Device Layout by Device ID
POSTRebuild Phones Configuration
GETList Rebuild Phones Jobs
GETGet the Job Status of a Rebuild Phones Job
GETGet Job Errors for a Rebuild Phones Job
GETGet Device Settings for a Person
PUTUpdate Device Settings for a Person
GETGet Device Settings for a Workspace
PUTUpdate Device Settings for a Workspace
GETRead the List of Background Images
POSTUpload a Device Background Image
DELETEDelete Device Background Images
GETGet User Devices Count
Device 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 Settings
GETGet Device Members
PUTUpdate Members on the device
GETSearch Members
POSTApply Changes for a specific device
GETGet Device Settings
PUTUpdate device settings
GETGet Location Device Settings
GETGet Webex Calling Device Details
PUTUpdate Third Party Device
GETGet Person Devices
PUTModify Hoteling Settings for a Person's Primary Devices
GETGet Workspace Devices
PUTModify Workspace Devices
GETRead the List of Supported Devices
GETRead the device override settings for a organization
POSTCreate a Line Key Template
GETRead the list of Line Key Templates
GETGet details of a Line Key Template
PUTModify a Line Key Template
DELETEDelete a Line Key Template
POSTPreview Apply Line Key Template
POSTApply a Line Key Template
GETGet List of Apply Line Key Template jobs
GETGet the job status of an Apply Line Key Template job
GETGet job errors for an Apply Line Key Template job
GETRead the DECT device type list - Deprecated
GETRead the DECT device type list
POSTValidate a list of MAC address
POSTChange Device Settings Across Organization Or Location Job
GETList Change Device Settings Jobs
GETGet Change Device Settings Job Status
GETList Change Device Settings Job Errors
GETGet Device Layout by Device ID
PUTModify Device Layout by Device ID
POSTRebuild Phones Configuration
GETList Rebuild Phones Jobs
GETGet the Job Status of a Rebuild Phones Job
GETGet Job Errors for a Rebuild Phones Job
GETGet Device Settings for a Person
PUTUpdate Device Settings for a Person
GETGet Device Settings for a Workspace
PUTUpdate Device Settings for a Workspace
GETRead the List of Background Images
POSTUpload a Device Background Image
DELETEDelete Device Background Images
GETGet User Devices Count
Device 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 SettingsWebhooksWholesale 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

Modify a Line Key Template

Modify a Line Key Template by its template ID in an organization.

Line Keys, also known as Programmable Line Keys (PLK), are the keys found on either side of a typical desk phone display. A Line Key Template is a definition of actions that will be performed by each of the Line Keys for a particular device model. This API allows users to modify an existing Line Key Template by its ID in an organization.

Modifying an existing Line Key Template requires a full administrator auth token with a scope of spark-admin:telephony_config_write.

PUT/v1/telephony/config/devices/lineKeyTemplates/{templateId}
URI Parameters
templateId
stringrequired

Modify line key template with this template ID.

Query Parameters
orgId
string

Modify a line key template for this organization.

Body Parameters
userReorderEnabled
boolean

Indicates whether the user can reorder the line keys.

lineKeys
array[ProgrammableLineKeys]required

List of line keys that are being updated.

lineKeyIndex
numberrequired

An index representing a Line Key. Index starts from 1 representing the first key on the left side of the phone.

lineKeyType
LineKeyTyperequired

The action that would be performed when the Line Key is pressed.

PRIMARY_LINE
string

PRIMARY_LINE is the user's primary extension. This is the default assignment for Line Key Index 1 and cannot be modified.

SHARED_LINE
string

Shows the appearance of other users on the owner's phone.

MONITOR
string

Enables User and Call Park monitoring.

CALL_PARK_EXTENSION
string

Enables the configure layout feature in Control Hub to set call park extension implicitly.

SPEED_DIAL
string

Allows users to reach a telephone number, extension or a SIP URI.

OPEN
string

An open key will automatically take the configuration of a monitor button starting with the first open key. These buttons are also usable by the user to configure speed dial numbers on these keys.

CLOSED
string

Button not usable but reserved for future features.

MODE_MANAGEMENT
string

Allows users to manage call forwarding for features via schedule-based routing.

lineKeyLabel
string

This is applicable only when the lineKeyType is SPEED_DIAL.

lineKeyValue
string

Applicable only when the lineKeyType is SPEED_DIAL. Value must be a valid telephone number, ext, or SIP URI (format: user@host using A-Z,a-z,0-9,-_ .+ for user and host).

sharedLineIndex
number

Shared line index is the line label number of the shared or virtual line assigned in the configured lines. Since you can add multiple appearances of the same shared or virtual line on a phone, entering the index number assigns the respective line to a line key. This is applicable only when the lineKeyType is SHARED_LINE, If multiple programmable line keys are configured as shared lines, and If the sharedLineIndex is sent for any of the shared line, then the sharedLineIndex should be sent for all other shared lines. When lineKeyType is SHARED_LINE and sharedLineIndex is not assigned to any of the configured lines, then sharedLineIndex is assigned by default in the order the shared line appears in the request.

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
PUT
/v1/telephony/config/devices/lineKeyTemplates/{?orgId}
Log in to try the API.
Header
Query Parameters
  • Modify a line key template for this organization.
Body
  • Indicates whether the user can reorder the line keys.
  • List of line keys that are being updated.
  • Request
  • Response
https://webexapis.com/v1/telephony/config/devices/lineKeyTemplates/Y2lzY29zcGFyazovL3VzL0RFVklDRV9MSU5FX0tFWV9URU1QTEFURS9kNDUzM2MwYi1hZGRmLTRjODUtODk0YS1hZTVkOTAyYzAyMDM?orgId=Y2lzY29zcGFyazovL3VzL09SR0FOSVpBVElPTi85NmFiYzJhYS0zZGNjLTExZTUtYTE1Mi1mZTM0ODE5Y2RjOWE
{
    "userReorderEnabled": true,
    "lineKeys": [
        {
            "lineKeyIndex": 1,
            "lineKeyType": "PRIMARY_LINE",
            "sharedLineIndex": 5
        },
        {
            "lineKeyIndex": 2,
            "lineKeyType": "SPEED_DIAL",
            "lineKeyLabel": "Office",
            "lineKeyValue": "4850",
            "sharedLineIndex": 5
        }
    ]
}
204 / No Content

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.