Quick Start
Authentication
Section titled “Authentication”The CLI uses OAuth with tokens stored in your OS keyring.
# Login (opens browser)webex login
# Check auth statuswebex auth status
# List stored accountswebex auth list
# Switch between accountswebex auth switch user@example.comYou can also use a token directly:
webex --token "$WEBEX_TOKEN" calling people listCommand Structure
Section titled “Command Structure”webex admin <resource> <action> [flags] # Webex Admin APIswebex calling <resource> <action> [flags] # Webex Calling APIswebex cc <resource> <action> [flags] # Contact Center APIswebex device <resource> <action> [flags] # Webex Device APIswebex meetings <resource> <action> [flags] # Webex Meetings APIswebex messaging <resource> <action> [flags] # Webex Messaging APIsGlobal Flags
Section titled “Global Flags”| Flag | Description |
|---|---|
--token <token> | Override authentication |
--user <email> | Use a specific authenticated user |
--organization <orgId> | Override org ID |
--output json|table|csv|raw | Output format (default: json) |
--debug | Show HTTP request/response details |
--paginate | Auto-paginate list results |
Admin Examples
Section titled “Admin Examples”# List people in the organizationwebex admin people list --max 10
# List licenseswebex admin licenses list
# List roleswebex admin roles listCalling Examples
Section titled “Calling Examples”# List peoplewebex calling people list --max 10
# Get your own detailswebex calling people get-my-own
# List locationswebex calling locations list
# List deviceswebex calling devices listContact Center Examples
Section titled “Contact Center Examples”CC commands auto-populate --orgid from your login:
# List siteswebex cc site list
# List teamswebex cc team list
# List userswebex cc users list
# List queueswebex cc contact-service-queue list
# List entry pointswebex cc entry-point list
# With filteringwebex cc site list --filter='name=="Site A"'
# With paginationwebex cc entry-point list --paginateDevice Examples
Section titled “Device Examples”# List deviceswebex device devices list
# List workspaceswebex device workspaces listMeetings Examples
Section titled “Meetings Examples”# List meetingswebex meetings meetings list
# List recordingswebex meetings recordings list --paginate
# List transcriptswebex meetings transcripts listMessaging Examples
Section titled “Messaging Examples”# List roomswebex messaging rooms list
# List messages in a roomwebex messaging messages list --room-id "ROOM_ID"
# List teamswebex messaging teams listOutput Formats
Section titled “Output Formats”# Pretty JSON (default)webex cc site list
# Table formatwebex cc site list --output=table
# CSV formatwebex admin people list --output=csv
# Raw JSONwebex cc site list --output=raw
# Save to filewebex cc site list > sites.jsonDiscover Commands
Section titled “Discover Commands”Use --help at any level to see available commands:
webex --helpwebex admin --helpwebex calling --helpwebex cc --helpwebex device --helpwebex meetings --helpwebex messaging --helpwebex cc users --help