Skip to content

Calling Commands

The webex calling subcommand provides access to the Webex Calling API. No --orgid is needed — the organization is inferred from your authentication token.

ResourceDescription
announcement-playlistAnnouncement playlist management
announcement-repositoryAnnouncement repository management
auto-attendantAuto attendant / IVR configuration
call-controlsActive call control operations
call-parkCall park settings
call-pickupCall pickup groups
call-queueCall queue configuration
call-recordingCall recording settings
call-routingCall routing configuration
call-settings-for-mePersonal call settings
caller-reputation-providerCaller reputation / spam management
calling-serviceCalling service configuration
client-callClient call management
conference-controlsConference call controls
converged-recordingsRecording access and management
customer-experience-essentialsCustomer experience essentials
dect-devicesDECT handset and base station management
device-callPer-device call settings
devicesDevice provisioning and management
emergency-servicesE911 and emergency callback
external-voicemailExternal voicemail settings
hot-deskHot desk configuration
hot-desking-sign-in-via-voice-portalHot desking voice portal sign-in
hunt-groupHunt group configuration
location-callPer-location call settings
location-call-handlingLocation call handling rules
location-schedulesLocation schedule management
location-voicemailLocation voicemail settings
locationsLocation management
numbersPhone number inventory
operating-modesOperating mode schedules
paging-groupPaging group configuration
partner-reports-templatesPartner report templates
peopleUsers and their calling settings
pstnPSTN connection and trunk settings
recording-reportRecording reports
reportsCDR and call history reports
reports-detailed-call-historyDetailed call history reports
send-activation-emailSend activation emails
single-number-reachSingle number reach / simultaneous ring
user-callPer-user call settings
virtual-extensionsVirtual extension configuration
virtual-line-callVirtual line call settings
workspace-callPer-workspace call settings
workspacesWorkspace management
Terminal window
# List resources
webex calling <resource> list
# Get by ID
webex calling <resource> get --id "..."
# Create
webex calling <resource> create --body-file config.json
# Update
webex calling <resource> update --id "..." --body-file updated.json
# Delete
webex calling <resource> delete --id "..."
Terminal window
# List all people
webex calling people list --paginate
# Get your own details
webex calling people get-my-own
# List locations
webex calling locations list
# Get call settings for a person
webex calling user-call get-voicemail --person-id "PERSON_ID"
# List call queues at a location
webex calling call-queue list --location-id "LOCATION_ID"
# Get detailed call history
webex calling reports-detailed-call-history list --start-time "2024-01-01T00:00:00Z"
# List devices
webex calling devices list --paginate

The converged-recordings download command downloads Webex Calling call recordings to a local file. It fetches recording metadata (which includes temporaryDirectDownloadLinks), then downloads the binary.

Terminal window
# Download audio (MP3) — default
webex calling converged-recordings download --recording-id <id> --output call.mp3
# Download full recording
webex calling converged-recordings download --recording-id <id> --output call.mp4 --type recording
# Download transcript
webex calling converged-recordings download --recording-id <id> --output call.vtt --type transcript

Note: To list converged recordings as an admin, use the admin endpoint:

Terminal window
# Admin/compliance officer listing (max 30-day range)
webex calling converged-recordings list-admin-compliance-officer --last 720h
# User's own recordings
webex calling converged-recordings list --last 720h

The non-admin list endpoint (GET /convergedRecordings) requires the caller to be the recording owner. The admin endpoint (GET /admin/convergedRecordings) returns recordings across the org and requires spark-admin:recordings_read.

Upload announcement greetings at the organization or location level. These replace the generated commands which could not handle multipart/form-data file uploads.

Terminal window
# Upload org-level announcement
webex calling announcement-repository upload-binary-greeting --file greeting.wav --name "Main Greeting"
# Upload location-level announcement
webex calling announcement-repository upload-binary-greeting-2 --file greeting.wav --name "Lobby" --location-id <id>
# Update existing announcement
webex calling announcement-repository update-binary-greeting --file updated.wav --name "Updated" --announcement-id <id>
# Update location-level announcement
webex calling announcement-repository update-binary-greeting-2 --file updated.wav --name "Updated" --location-id <id> --announcement-id <id>

Upload voicemail and call intercept greetings for people, virtual lines, workspaces, or yourself. All commands accept --file (WAV, max 5MB) and support --dry-run.

Terminal window
# Person greetings
webex calling user-call update-busy-voicemail-greeting-person --person-id <id> --file greeting.wav
webex calling user-call update-no-answer-voicemail-greeting-person --person-id <id> --file greeting.wav
webex calling user-call update-intercept-greeting-person --person-id <id> --file greeting.wav
# Your own greetings
webex calling call-settings-for-me upload-voicemail-busy-greeting --file greeting.wav
webex calling call-settings-for-me upload-voicemail-no-answer-greeting --file greeting.wav
# Virtual line greetings
webex calling virtual-line-call update-busy-voicemail-greeting --virtual-line-id <id> --file greeting.wav
webex calling virtual-line-call update-no-answer-voicemail-greeting --virtual-line-id <id> --file greeting.wav
webex calling virtual-line-call update-intercept-greeting --virtual-line-id <id> --file greeting.wav
# Workspace greetings
webex calling workspace-call update-busy-voicemail-greeting-place --workspace-id <id> --file greeting.wav
webex calling workspace-call update-no-answer-voicemail-greeting-place --workspace-id <id> --file greeting.wav
webex calling workspace-call upload-intercept-announcement-file --workspace-id <id> --file greeting.wav