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: VoicemailLocationsNumbers
POSTAdd Phone Numbers to a location
PUTActivate Phone Numbers in a location
DELETERemove phone numbers from a location
POSTValidate phone numbers
GETGet Phone Numbers for an Organization with Given Criteria
GETList Manage Numbers Jobs
POSTInitiate Number Jobs
GETGet Manage Numbers Job Status
POSTPause the Manage Numbers Job
POSTResume the Manage Numbers Job
GETList Manage Numbers Job errors
PSTNPartner 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 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 ReportMembershipsMessagesNumbers
POSTAdd Phone Numbers to a location
PUTActivate Phone Numbers in a location
DELETERemove phone numbers from a location
POSTValidate phone numbers
GETGet Phone Numbers for an Organization with Given Criteria
GETList Manage Numbers Jobs
POSTInitiate Number Jobs
GETGet Manage Numbers Job Status
POSTPause the Manage Numbers Job
POSTResume the Manage Numbers Job
GETList Manage Numbers Job errors
Organization 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

Initiate Number Jobs

Starts the execution of an operation on a set of numbers. Supported operations are: MOVE, NUMBER_USAGE_CHANGE.
This API requires a full administrator auth token with a scope of spark-admin:telephony_config_write.

Notes
Although the job can internally perform the DELETE & ACTIVATE actions, only the MOVE and NUMBER_USAGE_CHANGE operations are publicly supported.

Although the numbers field is an array, we currently only support a single number with each request for MOVE operation type and change of usage type of up to 1000 numbers per request. Only one number can be moved at any given time. If a move of another number is initiated while a move job is in progress the API call will receive a 409 http status code.


In order to move a number,
  • The number must be unassigned.

  • Both locations must have the same PSTN Connection Type.

  • Both locations must have the same PSTN Provider.

  • Both locations have to be in the same country.


For example, you can move from Cisco Calling Plan to Cisco Calling Plan, but you cannot move from Cisco Calling Plan to a location with Cloud Connected PSTN.


In order to change the number usage,


  • The number must be unassigned.

  • Number Usage Type can be set to NONE if carrier has the PSTN service GEOGRAPHIC_NUMBERS.

  • Number Usage Type can be set to SERVICE if carrier has the PSTN service SERVICE_NUMBERS.


For example, you can initiate a NUMBER_USAGE_CHANGE job to change the number type from Standard number to Service number, or the other way around.


POST/v1/telephony/config/jobs/numbers/manageNumbers
Body Parameters
operation
stringrequired

The kind of operation to be carried out.

targetLocationId
string

Mandatory for a MOVE operation. The target location within organization where the unassigned numbers will be moved from the source location.

numberUsageType
string

The number usage type. Mandatory for NUMBER_USAGE_CHANGE operation.

numberList
array[numberItem]required

Numbers on which to execute the operation.

locationId
stringrequired

The source location of the numbers on which to execute the operation.

numbers
array[string]required

The numbers on which to execute the operation.

Response Properties
name
string

Job name.

id
string

Unique identifier of the job.

jobType
string

Job type.

trackingId
string

Unique identifier to track the flow of HTTP requests.

sourceUserId
string

Unique identifier to identify which user has run the job.

sourceCustomerId
string

Unique identifier to identify the customer who has run the job.

targetCustomerId
string

Unique identifier to identify the customer for which the job was run.

instanceId
number

Unique identifier to identify the instance of the job.

jobExecutionStatus
array[JobExecutionStatusObject1]

Displays the most recent step's execution status. Contains execution statuses of all the steps involved in the execution of the job.

id
number

Unique identifier that identifies each instance of the job.

lastUpdated
string

Last updated time (in UTC format) post one of the step execution completion.

statusMessage
string

Displays status for overall steps that are part of the job.

exitCode
string

Exit Code for a job.

createdTime
string

Job creation time in UTC format.

timeElapsed
string

Time lapsed since the job execution started.

latestExecutionStatus
string

The most recent status (STARTING, STARTED, COMPLETED, FAILED) of the job at the time of invocation.

latestExecutionExitCode
enum

Most recent exit code of the job at the time of invocation.

UNKNOWN
string

Job is in progress.

COMPLETED
string

Job has completed successfully.

FAILED
string

Job has failed.

STOPPED
string

Job has been stopped.

COMPLETED_WITH_ERRORS
string

Job has completed with errors.

operationType
string

The operation type that was carried out.

sourceLocationId
string

Unique location identifier for which the job was run.

targetLocationId
string

Unique location identifier for which the numbers have been moved.

counts
CountObject

Job statistics.

totalNumbers
number

The total number of phone numbers requested to be moved.

numbersDeleted
number

The total number of phone numbers successfully deleted.

numbersMoved
number

The total number of phone numbers successfully moved.

numbersFailed
number

The total number of phone numbers failed.

numbersUsageChanged
number

Count of phone numbers for which usage changed.

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
POST
/v1/telephony/config/jobs/numbers/manageNumbers
Log in to try the API.
Header
Body
  • The kind of operation to be carried out.
  • Mandatory for a `MOVE` operation. The target location within organization where the unassigned numbers will be moved from the source location.
  • The number usage type. Mandatory for `NUMBER_USAGE_CHANGE` operation.
  • Numbers on which to execute the operation.
  • Request
  • Response
// Example 1
{
    "operation": "MOVE",
    "targetLocationId": "Y2lzY29zcGFyazovL3VzL0xPQ0FUSU9OLzgxYjUzYzk3LTQxNGQtNDhjYy1hZThiLWNhZmM0MDc4NDAwNw",
    "numberList": [{
        "locationId": "Y2lzY29zcGFyazovL3VzL0xPQ0FUSU9OLzUyMjNiYmVkLTQyYzktNDU0ZC1hMWYzLTdmYWQ1Y2M3ZTZlMw",
        "numbers": ["+14155552000"]
    }]
}

// Example 2
{
    "operation": "NUMBER_USAGE_CHANGE",
    "numberUsageType": "SERVICE",
    "numberList": [
        {
            "locationId": "Y2lzY29zcGFyazovL3VzL0xPQ0FUSU9OLzUyMjNiYmVkLTQyYzktNDU0ZC1hMWYzLTdmYWQ1Y2M3ZTZlMw",
            "numbers": ["+14155552000", "+14155552001", "+14155552002", "+14155552003"]
        },
        {
            "locationId": "Y2lzY29zcGFyazovL3VzL0xPQ0FUSU9OLzYzMzRjY2ZlLTUzZDAtNTY1ZS1iMmc0LTdmYWQ1Y2M3ZTdlNA==",
            "numbers": ["+14166663100", "+14166663101", "+14166663102", "+14166663103"]
        }
    ]
}
201 / Created
{
    "name": "managenumbers",
    "id": "Y2lzY29zcGFyazovL3VzL0pPQl9JRC84M2U1MjNlYy02NjY2LTRlZjAtODcwYi0xZjViZGI1NDNhZDU",
    "jobType": "managenumbers",
    "trackingId": "NA_c989fd47-391e-47c0-8fe4-b45711871a42",
    "sourceUserId": "Y2lzY29zcGFyazovL3VzL1BFT1BMRS8wNTUyZjY3Yi01OWE5LTQxYmItODczNi0xYjA0MWQxZGRkNWU",
    "sourceCustomerId": "Y2lzY29zcGFyazovL3VzL09SR0FOSVpBVElPTi85MTE1NDM1Ny1iZWQxLTQ1ZDUtYWE4Zi00ZTUwYzBkZWNmMzM",
    "targetCustomerId": "Y2lzY29zcGFyazovL3VzL09SR0FOSVpBVElPTi85MTE1NDM1Ny1iZWQxLTQ1ZDUtYWE4Zi00ZTUwYzBkZWNmMzM",
    "instanceId": 0,
    "jobExecutionStatus": [
        {
            "id": 0,
            "startTime": "2022-09-13T10:56:41.241Z",
            "lastUpdated": "2022-09-13T10:56:41.242Z",
            "statusMessage": "STARTED",
            "exitCode": "UNKNOWN",
            "createdTime": "2022-09-13T10:56:41.054Z",
            "timeElapsed": "PT0S"
        }
    ],
    "latestExecutionStatus": "STARTED",
    "latestExecutionExitCode": "UNKNOWN",
    "operationType": "MOVE",
    "sourceLocationId": "5223bbed-42c9-454d-a1f3-7fad5cc7e6e3",
    "targetLocationId": "81b53c97-414d-48cc-ae8b-cafc40784007",
    "counts": {
        "totalNumbers": 0,
        "numbersDeleted": 0,
        "numbersMoved": 0,
        "numbersFailed": 0,
        "numbersUsageChanged": 0
    }
}

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.