DocumentationBlogSupport
Log inSign up
Log inSign up
BlogSupport
Build
Getting StartedPlatform Introduction
Embedded Apps
OverviewDeveloper GuideSubmission Checklist for Embedded Apps
Design Guidelines
MeetingsMessagingDevices
API Reference
BotsButtons and CardsIntegrationsLogin with WebexWidgetsGuest IssuerWebex ConnectInstant Connect Meeting LinksDeveloper SandboxSubmit Your AppSupport PolicyFAQs
APIs
XML API DeprecationGetting StartedREST API BasicsComplianceWebhooksWebex APIs
Admin
OverviewAdmin APIsAuthentication
Guides
Hybrid ServicesWebhooksReal-time File DLP Basics
Reference
Admin Audit EventsAuthorizationsEventsGroupsHistorical AnalyticsHybrid ClustersHybrid ConnectorsLicensesLocationsMeeting QualitiesOrganizationsPeopleRecording ReportRecordingsReport TemplatesReportsResource Group MembershipsResource GroupsRolesSession TypesSpace ClassificationsTracking CodesWebex Calling Organization SettingsWebex Calling Person SettingsWebex Calling Workspace Settings
GETRetrieve Call Forwarding Settings for a Workspace
PUTModify Call Forwarding Settings for a Workspace
GETRetrieve Call Waiting Settings for a Workspace
PUTModify Call Waiting Settings for a Workspace
GETRetrieve Caller ID Settings for a Workspace
PUTModify Caller ID Settings for a Workspace
GETRetrieve Monitoring Settings for a Workspace
PUTModify Monitoring Settings for a Workspace
GETList numbers associated with a specific workspace
GETRetrieve Incoming Permission Settings for a Workspace
PUTModify Incoming Permission Settings for a Workspace
GETRetrieve Outgoing Permission Settings for a Workspace
PUTModify Outgoing Permission Settings for a Workspace
GETRetrieve Access Codes for a Workspace
PUTModify Access Codes for a Workspace
POSTCreate Access Codes for a Workspace
GETRead Call Intercept Settings for a Workspace
PUTConfigure Call Intercept Settings for a Workspace
GETRetrieve Transfer Numbers Settings for a Workspace
PUTModify Transfer Numbers Settings for a Workspace
Wholesale Billing ReportsWorkspace LocationsWorkspace MetricsWorkspaces
Calling
Overview
Guides
Integrations and AuthorizationWebex for BroadWorksWebex for WholesaleWholesale and Broadworks Common Guide
Reference
BroadWorks Billing ReportsBroadWorks Device ProvisioningBroadWorks EnterprisesBroadWorks SubscribersCall ControlsLocationsPeopleRecording ReportVideo MeshWebex Calling Detailed Call HistoryWebex Calling Organization SettingsWebex Calling Person SettingsWebex Calling Voice MessagingWebex Calling Workspace Settings
GETRetrieve Call Forwarding Settings for a Workspace
PUTModify Call Forwarding Settings for a Workspace
GETRetrieve Call Waiting Settings for a Workspace
PUTModify Call Waiting Settings for a Workspace
GETRetrieve Caller ID Settings for a Workspace
PUTModify Caller ID Settings for a Workspace
GETRetrieve Monitoring Settings for a Workspace
PUTModify Monitoring Settings for a Workspace
GETList numbers associated with a specific workspace
GETRetrieve Incoming Permission Settings for a Workspace
PUTModify Incoming Permission Settings for a Workspace
GETRetrieve Outgoing Permission Settings for a Workspace
PUTModify Outgoing Permission Settings for a Workspace
GETRetrieve Access Codes for a Workspace
PUTModify Access Codes for a Workspace
POSTCreate Access Codes for a Workspace
GETRead Call Intercept Settings for a Workspace
PUTConfigure Call Intercept Settings for a Workspace
GETRetrieve Transfer Numbers Settings for a Workspace
PUTModify Transfer Numbers Settings for a Workspace
Wholesale Billing ReportsWholesale CustomersWholesale Subscribers
Contact Center
Overview
Devices
Overview
Guides
DevicesWorkspace Integrations Guide
Reference
Device ConfigurationsDevicesWorkspace LocationsWorkspace MetricsWorkspace PersonalizationWorkspacesxAPI
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 MembershipsTeamsTracking CodesWebhooks
Webex Assistant Skills
Guides
Skills SDK GuideSkills Developer PortalSkills Reference GuideSkills UX Guide
Overview
FedRAMP
Overview
Guides
Create a BotCreate an IntegrationNotes on API Support
Full API Reference
Admin Audit EventsAttachment ActionsAuthorizationsBroadWorks Billing ReportsBroadWorks Device ProvisioningBroadWorks EnterprisesBroadWorks SubscribersCall ControlsDevice ConfigurationsDevicesEventsGroupsHistorical AnalyticsHybrid ClustersHybrid ConnectorsLicensesLocationsMeeting ChatsMeeting Closed CaptionsMeeting InviteesMeeting MessagesMeeting ParticipantsMeeting PollsMeeting PreferencesMeeting Q and AMeeting QualitiesMeeting TranscriptsMeetingsMeetings Summary ReportMembershipsMessagesOrganizationsPeopleRecording ReportRecordingsReport TemplatesReportsResource Group MembershipsResource GroupsRolesRoom TabsRoomsSession TypesSiteSpace ClassificationsTeam MembershipsTeamsTracking CodesVideo MeshWebex Calling Detailed Call HistoryWebex Calling Organization SettingsWebex Calling Person SettingsWebex Calling Voice MessagingWebex Calling Workspace Settings
GETRetrieve Call Forwarding Settings for a Workspace
PUTModify Call Forwarding Settings for a Workspace
GETRetrieve Call Waiting Settings for a Workspace
PUTModify Call Waiting Settings for a Workspace
GETRetrieve Caller ID Settings for a Workspace
PUTModify Caller ID Settings for a Workspace
GETRetrieve Monitoring Settings for a Workspace
PUTModify Monitoring Settings for a Workspace
GETList numbers associated with a specific workspace
GETRetrieve Incoming Permission Settings for a Workspace
PUTModify Incoming Permission Settings for a Workspace
GETRetrieve Outgoing Permission Settings for a Workspace
PUTModify Outgoing Permission Settings for a Workspace
GETRetrieve Access Codes for a Workspace
PUTModify Access Codes for a Workspace
POSTCreate Access Codes for a Workspace
GETRead Call Intercept Settings for a Workspace
PUTConfigure Call Intercept Settings for a Workspace
GETRetrieve Transfer Numbers Settings for a Workspace
PUTModify Transfer Numbers Settings for a Workspace
WebhooksWholesale Billing ReportsWholesale CustomersWholesale SubscribersWorkspace LocationsWorkspace MetricsWorkspace PersonalizationWorkspacesxAPI
API Changelog
SDKs
iOSAndroidBrowserNode.jsJava
Developer CommunityCertifications

Read Call Intercept Settings for a Workspace

Retrieves Workspace's Call Intercept Settings

The intercept feature gracefully takes a workspace's phone out of service, while providing callers with informative announcements and alternative routing options. Depending on the service configuration, none, some, or all incoming calls to the specified workspace are intercepted. Also depending on the service configuration, outgoing calls are intercepted or rerouted to another location.

This API requires a full or read-only administrator auth token with a scope of spark-admin:workspaces_read or a user auth token with spark:workspaces_read scope can be used to read workspace settings.

GET/v1/workspaces/{workspaceId}/features/intercept
URI Parameters
workspaceId
stringrequired

Unique identifier for the workspace.

Query Parameters
orgId
string

ID of the organization within which the workspace resides. Only admin users of another organization (such as partners) may use this parameter as the default is the same organization as the token used to access API.

Response Properties
enabled
boolean

true if call intercept is enabled.

incoming
InterceptIncomingGet

Settings related to how incoming calls are handled when the intercept feature is enabled.

type
enum

Indicated incoming calls are intercepted.

INTERCEPT_ALL
string

All incoming calls are intercepted.

ALLOW_ALL
string

Incoming calls are not intercepted.

voicemailEnabled
boolean

Indicates enabled or disabled state of sending incoming calls to voicemail when the destination is an internal phone number and that number has the voicemail service enabled.

announcements
InterceptAnnouncementsGet

Settings related to how incoming calls are handled when the intercept feature is enabled.

greeting
enum

Indicates that a system default message will be placed when incoming calls are intercepted.

CUSTOM
string

A custom greeting is played when incoming calls are intercepted.

DEFAULT
string

A System default greeting is played when incoming calls are intercepted.

filename
string

Filename of the custom greeting; this is an empty string if no custom greeting has been uploaded.

newNumber
InterceptNumberGet

Information about the new number announcement.

enabled
boolean

If true, the caller hears this new number when the call is intercepted.

destination
string

New number the caller hears announced.

zeroTransfer
InterceptNumberGet

Information about how the call will be handled if zero (0) is pressed.

enabled
boolean

If true, the caller hears this new number when the call is intercepted.

destination
string

New number the caller hears announced.

outgoing
InterceptOutGoingGet

Settings related to how outgoing calls are handled when the intercept feature is enabled.

type
enum

Indicated all outgoing calls are intercepted.

INTERCEPT_ALL
string

Outgoing calls are intercepted.

ALLOW_LOCAL_ONLY
string

Only non-local calls are intercepted.

transferEnabled
boolean

If true, when the person attempts to make an outbound call, a system default message is played and the call is made to the destination phone number.

destination
string

Number to which the outbound call be transferred.

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/workspaces//features/intercept{?orgId}
Log in to try the API.
Header
Query Parameters
  • ID of the organization within which the workspace resides. Only admin users of another organization (such as partners) may use this parameter as the default is the same organization as the token used to access API.
  • Request
  • Response
https://webexapis.com/v1/workspaces/Y2lzY29zcGFyazovL3VzL1BMQUNFL2E5OWE3NjE2LTg5NjMtNDUxYS04ODBlLTE4OTUxODUyMWE0YQ/features/intercept?orgId=Y2lzY29zcGFyazovL3VzL09SR0FOSVpBVElPTi85NmFiYzJhYS0zZGNjLTExZTUtYTE1Mi1mZTM0ODE5Y2RjOWE
200 / OK
{
    "enabled": true,
    "incoming": {
        "type": "INTERCEPT_ALL",
        "voicemailEnabled": true,
        "announcements": {
            "greeting": "DEFAULT",
            "newNumber": {
                "enabled": true,
                "destination": "+12145551003"
            },
            "zeroTransfer": {
                "enabled": true,
                "destination": "+12145551003"
            }
        }
    },
    "outgoing": {
        "type": "INTERCEPT_ALL",
        "transferEnabled": true,
        "destination": "+12145551003"
    }
}

Connect

Support

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

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