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

Modify Outgoing Permission Settings for a Workspace

Modify Outgoing Permission settings for a Place.

Turn on outgoing call settings for this workspace to override the calling settings from the location that are used by default.

This API requires a full or user administrator auth token with the spark-admin:workspaces_write scope or a user auth token with spark:workspaces_write scope can be used to update workspace settings.

PUT/v1/workspaces/{workspaceId}/features/outgoingPermission
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.

Body Parameters
useCustomEnabled
boolean

Outgoing Permission state. If disabled, the default settings are used.

callingPermissions
array[ModifyCallingPermission]

Workspace's list of outgoing permissions.

callType
enum

Indicates types for outgoing calls.

INTERNAL_CALL
string

Indicates the internal call type.

TOLL_FREE
string

Indicates the toll free call type.

INTERNATIONAL
string

Indicates the international call type.

OPERATOR_ASSISTED
string

Indicates the operator assisted call type.

CHARGEABLE_DIRECTORY_ASSISTED
string

Indicates the chargeable directory assisted call type.

SPECIAL_SERVICES_I
string

Indicates the special services I call type.

SPECIAL_SERVICES_II
string

Indicates the special services II call type.

PREMIUM_SERVICES_I
string

Indicates the premium services I call type.

PREMIUM_SERVICES_II
string

Indicates the premium services II call type.

NATIONAL
string

Indicates the national call type.

action
enum

Indicates permission for call types.

ALLOW
string

The call type is allowed.

BLOCK
string

The call type is blocked.

AUTH_CODE
string

Indicates access code action for the specified call type.

TRANSFER_NUMBER_1
string

Indicates transfer number 1 for the specified call type.

TRANSFER_NUMBER_2
string

Indicates transfer number 2 for the specified call type.

TRANSFER_NUMBER_3
string

Indicates transfer number 3 for the specified call type.

transferEnabled
boolean

Indicate calling permission for call type enable status.

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/workspaces//features/outgoingPermission{?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.
Body
  • Outgoing Permission state. If disabled, the default settings are used.
  • Workspace's list of outgoing permissions.
  • Request
  • Response
https://webexapis.com/v1/workspaces/Y2lzY29zcGFyazovL3VzL1BMQUNFL2E5OWE3NjE2LTg5NjMtNDUxYS04ODBlLTE4OTUxODUyMWE0YQ/features/outgoingPermission?orgId=Y2lzY29zcGFyazovL3VzL09SR0FOSVpBVElPTi85NmFiYzJhYS0zZGNjLTExZTUtYTE1Mi1mZTM0ODE5Y2RjOWE
{
    "useCustomEnabled": true,
    "callingPermissions": [
        {
            "callType": "INTERNAL_CALL",
            "action": "ALLOW",
            "transferEnabled": true
        },
        {
            "callType": "TOLL_FREE",
            "action": "ALLOW",
            "transferEnabled": true
        },
        {
            "callType": "INTERNATIONAL",
            "action": "BLOCK",
            "transferEnabled": false
        },
        {
            "callType": "OPERATOR_ASSISTED",
            "action": "ALLOW",
            "transferEnabled": true
        },
        {
            "callType": "CHARGEABLE_DIRECTORY_ASSISTED",
            "action": "BLOCK",
            "transferEnabled": true
        },
        {
            "callType": "SPECIAL_SERVICES_I",
            "action": "ALLOW",
            "transferEnabled": true
        },
        {
            "callType": "SPECIAL_SERVICES_II",
            "action": "ALLOW",
            "transferEnabled": true
        },
        {
            "callType": "PREMIUM_SERVICES_I",
            "action": "BLOCK",
            "transferEnabled": false
        },
        {
            "callType": "PREMIUM_SERVICES_II",
            "action": "BLOCK",
            "transferEnabled": false
        },
        {
            "callType": "NATIONAL",
            "action": "ALLOW",
            "transferEnabled": true
        }
    ]
}
204 / No Content

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.