Skip to main content
Version: Next

Scopes and Permissions

PBXware uses scopes to control access to API resources. A scope is a named permission (e.g. contacts:read, queues:realtime) that grants the right to perform a specific action on a specific resource type. Every API endpoint declares the scope(s) it requires, and a request is only authorized when the presented credentials carry all the required scopes.

How scopes apply​

Scopes behave differently depending on the authentication mechanism the caller uses.

User tokens​

User Level Tokens are tenant-bound and are automatically granted a fixed set of scopes — the scopes that are necessary for building end-user applications such as gloCOM (e.g. reading contacts, monitoring queues).

The user-level scope set is hard-coded and cannot be customized per-extension. See the User-Level Scopes section below for the full list.

API Keys​

API Keys have access for every API resource based on scopes defined for their permission group. For more details about API Keys please check this. See the API-Key Level Scopes section below for the full list.

All scopes​

The full scope catalog, grouped by resource.

Agents​

ScopeDescription
agents:readList agents in the organization

AI Providers​

ScopeDescription
ai:providers:createCreate new AI provider configurations
ai:providers:deleteDelete AI provider configurations
ai:providers:listList all AI providers configured for the organization
ai:providers:readList and view AI provider configurations
ai:providers:updateModify existing AI provider configurations

AI Text-to-Speech​

ScopeDescription
ai:tts:readView text-to-speech AI provider settings
ai:tts:updateModify text-to-speech AI provider settings

AI Transcriptions​

ScopeDescription
ai:transcriptions:demandRequest and retrieve on-demand call transcription status
ai:transcriptions:readView AI call transcription settings
ai:transcriptions:sentimentRequest and retrieve AI-generated call sentiment analysis
ai:transcriptions:summaryRequest and retrieve AI-generated call transcription summaries
ai:transcriptions:updateModify AI call transcription settings

AI Voice Agents​

ScopeDescription
ai:voice-agents:createCreate new AI voice agent configurations
ai:voice-agents:deleteDelete AI voice agent configurations
ai:voice-agents:listList all AI voice agents in the organization
ai:voice-agents:readList and view AI voice agents and their active session details
ai:voice-agents:updateModify existing AI voice agent configurations
ai:voice-mcp-servers-status:listFetch AI voice MCP servers status
ai:voice-mcp-servers-status:readFetch specific AI voice MCP server status
ai:voice-mcp-servers:createAdd new MCP server configurations for AI voice agents
ai:voice-mcp-servers:deleteRemove MCP server configurations for AI voice agents
ai:voice-mcp-servers:listList all MCP servers configured for AI voice agents
ai:voice-mcp-servers:readList and view MCP server configurations for AI voice agents
ai:voice-mcp-servers:updateModify MCP server configurations for AI voice agents

AI Voicemail​

ScopeDescription
ai:voicemail:readView AI voicemail transcription settings
ai:voicemail:updateModify AI voicemail transcription settings

ARI Applications​

ScopeDescription
ari-applications:readList ARI applications in the organization

Calls​

ScopeDescription
calls:manageManage calls (initiate, hangup, transfer etc.)
calls:readRetrieve a list of calls

Conferences​

ScopeDescription
conferences:readList conferences in the organization

Contacts​

ScopeDescription
contacts:createCreate contacts and import contact lists via CSV
contacts:deleteDelete contacts and cancel CSV import jobs
contacts:listList and search contacts in the organization
contacts:messages:readRetrieve messages for a conversation linked to a contact
contacts:readRetrieve contact details, activity history, linked records, and CSV export data
contacts:updateModify contacts, merge duplicates, and manage contact links

CRM Routing​

ScopeDescription
crm-routing:readList CRM routing configurations in the organization

CRMs​

ScopeDescription
crm:appAuthenticate with CRM integrations and access CRM records, objects, and associations

Customers​

ScopeDescription
customers:history:readRetrieve customer activity history

Departments​

ScopeDescription
departments:createCreate new departments in the organization
departments:deleteDelete departments from the organization
departments:listList all departments in the organization
departments:readList and view department details
departments:updateModify department settings

Dial Groups​

ScopeDescription
dial-groups:createCreate new dial groups in the organization
dial-groups:deleteDelete dial groups from the organization
dial-groups:listList all dial groups in the organization
dial-groups:readList and view dial group details
dial-groups:updateModify dial group settings

DIDs​

ScopeDescription
dids:createCreate new DIDs in the organization
dids:deleteDelete DIDs from the organization
dids:listList all DIDs in the organization
dids:readList and view DID details
dids:updateModify DID settings

Email signatures​

ScopeDescription
messaging:email-signatures:createCreate email-signature
messaging:email-signatures:deleteDelete email signature
messaging:email-signatures:listRetrieve a list of email signatures
messaging:email-signatures:readRetrieve email signature configuration
messaging:email-signatures:updateUpdate email-signatures

Emergency Button​

ScopeDescription
emergency-buttons:readView emergency button configurations and compatible extensions
emergency-buttons:updateModify emergency button settings

Enhanced Ring Groups​

ScopeDescription
ergs:readRetrieve ERG details
ergs:realtimeRetrieve real-time data for Enhanced Ring Group resources
ergs:statsRetrieve historical statistics for Enhanced Ring Group resources
ergs:updateUpdate an ERG

Event Publisher​

ScopeDescription
event-publisher:createCreate new webhooks for event notifications
event-publisher:deleteDelete event notification webhooks
event-publisher:listList all configured event notification webhooks
event-publisher:readList and view event notification webhook configurations
event-publisher:updateModify event notification webhook settings
event-publisher:websocketsCreate, list, view, modify and delete event notification websocket subscriptions and their connections, and connect to receive event notifications

Extensions​

ScopeDescription
extensions:app-settingsView and manage per-user extension app settings
extensions:balance:creditCredit an amount to the balance of a main extension
extensions:balance:debitDebit an amount from the balance of a main extension
extensions:balance:readView the current balance for a main extension
extensions:createCreate extensions individually or in bulk
extensions:deleteDelete extensions from the organization
extensions:enhanced-services:readView extension's enhanced services list
extensions:listList all extensions in the organization
extensions:readView extension details, assigned DIDs, enhanced services, and department memberships
extensions:statsRetrieve historical statistics for extension resources
extensions:updateModify extensions and their enhanced services individually or in bulk

Files​

ScopeDescription
files:deleteDelete a file
files:readRetrieve a file
files:uploadUpload a file

Greetings​

ScopeDescription
files:listRetrieve a list of sound files

IVR Trees​

ScopeDescription
ivr-trees:readList IVR trees in the organization

IVRs​

ScopeDescription
ivrs:createCreate IVRs in the organization
ivrs:deleteDelete IVRs from the organization
ivrs:listList all IVRs in the organization
ivrs:readView IVR details and configurations
ivrs:updateModify IVR configurations

Live Transcriptions​

ScopeDescription
live-transcriptions:createCreate live transcription sessions and link them to channels
live-transcriptions:deleteDelete live transcription sessions and remove channel links
live-transcriptions:listList all live transcription sessions
live-transcriptions:readRetrieve live transcription sessions, channel status, and settings
live-transcriptions:updateModify live transcription settings and session channel links

Messaging Banned Customers​

ScopeDescription
messaging:banned-customers:listRetrieve a list of banned customers

Messaging Canned Responses​

ScopeDescription
messaging:banned-customers:createBan customer
messaging:banned-customers:deleteUnban a customer
messaging:canned-responses:createCreate a canned response
messaging:canned-responses:deleteDelete a canned response
messaging:canned-responses:listRetrieve a list of canned responses
messaging:canned-responses:readRetrieve canned response details
messaging:canned-responses:updateUpdate a canned response

Messaging Channels​

ScopeDescription
messaging:channels:check-connectionCheck messaging channel connection
messaging:channels:createCreate a messaging channel
messaging:channels:deleteDelete a messaging channel
messaging:channels:listRetrieve a list of messaging channels
messaging:channels:readRetrieve messaging channel configuration
messaging:channels:updateUpdate a messaging channel

Messaging Chatbots​

ScopeDescription
messaging:chatbots:createCreate a messaging chatbot
messaging:chatbots:deleteDelete a messaging chatbot
messaging:chatbots:listRetrieve a list of messaging chatbots
messaging:chatbots:readRetrieve messaging chatbot configuration
messaging:chatbots:updateUpdate a messaging chatbot

Messaging Geolocation​

ScopeDescription
messaging:geolocation:readGet a geolocation metadata based on IP address

Messaging Queues​

ScopeDescription
messages:readRetrives messages for ticket
messaging:operation-times:readRetrieve messaging queue operation times
messaging:operation-times:updateUpdate messaging queue operation times
messaging:queues:createCreate a messaging queue
messaging:queues:deleteDelete a messaging queue
messaging:queues:listRetrieve a list of messaging queues
messaging:queues:readRetrieve messaging queue configuration
messaging:queues:updateUpdate a messaging queue

Messaging Settings​

ScopeDescription
messaging:settings:readRetrieve messaging settings
messaging:settings:updateUpdate messaging settings

Messaging Surveys​

ScopeDescription
messaging:surveys:createCreate a messaging survey
messaging:surveys:deleteDelete a messaging survey
messaging:surveys:listRetrieve a list of messaging surveys
messaging:surveys:readRetrieve messaging survey configuration
messaging:surveys:updateUpdate a messaging survey

Messaging Visitor​

ScopeDescription
visitor:challenge:readIssue a visitor challenge for messaging

Messaging WhatsApp Templates​

ScopeDescription
messaging:wa-templates:createCreate a WhatsApp template
messaging:wa-templates:deleteDelete a WhatsApp template
messaging:wa-templates:listRetrieve a list of WhatsApp templates
messaging:wa-templates:readRetrieve WhatsApp template details

Music On Hold​

ScopeDescription
moh:readRetrieve the default Music on Hold settings

Operation Times Override​

ScopeDescription
operation-times-override:statusView the Operation Times access-code override status of destinations

Parking Lots​

ScopeDescription
parking-lots:readList parking lots in the organization

Queues​

ScopeDescription
queues:readRetrieve Queue details
queues:realtimeRetrieve real-time data for queue resources
queues:statsRetrieve historical statistics for queue resources
queues:updateUpdate a Queue

Recordings​

ScopeDescription
cdrs:recordings:readDownload or stream call recording(s) associated with a CDR
contacts:recordings:readDownload or stream a call recording linked to a contact

Reports​

ScopeDescription
reports:readRetrieve reporting data across configuration resources

Service Plans​

ScopeDescription
service-plans:listList available service plans
service-plans:readView available service plan details

SMS​

ScopeDescription
sms:messages:sendSend SMS messages through the organization's SMS trunk
sms:numbers:createCreate SMS numbers individually or in bulk
sms:numbers:deleteDelete an SMS number
sms:numbers:listRetrieve a list of SMS numbers
sms:numbers:readRetrieve SMS number configuration
sms:numbers:updateModify SMS numbers configuration individually or in bulk

Trunks​

ScopeDescription
trunks:listList allowed trunks for the organization
trunks:readView allowed trunk details for the organization

UADs​

ScopeDescription
uads:listList all UADs in the organization
uads:readList UADs and view UAD configurations

Voicemail​

ScopeDescription
voicemail:readList voicemails in the organization

User-level scopes​

Scopes automatically granted to every Extension user token.

ScopeDescription
customers:history:readRetrieve customer activity history
messages:readRetrives messages for ticket
ergs:realtimeRetrieve real-time data for Enhanced Ring Group resources
queues:realtimeRetrieve real-time data for queue resources
queues:statsRetrieve historical statistics for queue resources
extensions:statsRetrieve historical statistics for extension resources
ergs:statsRetrieve historical statistics for Enhanced Ring Group resources
contacts:readRetrieve contact details, activity history, linked records, and CSV export data
contacts:listList and search contacts in the organization
contacts:updateModify contacts, merge duplicates, and manage contact links
contacts:createCreate contacts and import contact lists via CSV
contacts:deleteDelete contacts and cancel CSV import jobs
crm:appAuthenticate with CRM integrations and access CRM records, objects, and associations
sms:messages:sendSend SMS messages through the organization's SMS trunk
calls:manageManage calls (initiate, hangup, transfer etc.)
calls:readRetrieve a list of calls
extensions:app-settingsView and manage per-user extension app settings
extensions:enhanced-services:readView extension's enhanced services list
operation-times-override:statusView the Operation Times access-code override status of destinations
messaging:queues:listRetrieve a list of messaging queues
messaging:queues:readRetrieve messaging queue configuration
messaging:email-signatures:listRetrieve a list of email signatures
messaging:email-signatures:readRetrieve email signature configuration
messaging:email-signatures:createCreate email-signature
messaging:email-signatures:updateUpdate email-signatures
messaging:email-signatures:deleteDelete email signature
messaging:canned-responses:listRetrieve a list of canned responses
messaging:canned-responses:readRetrieve canned response details
messaging:canned-responses:createCreate a canned response
messaging:canned-responses:updateUpdate a canned response
messaging:canned-responses:deleteDelete a canned response
messaging:wa-templates:listRetrieve a list of WhatsApp templates
messaging:wa-templates:readRetrieve WhatsApp template details
messaging:wa-templates:createCreate a WhatsApp template
messaging:wa-templates:deleteDelete a WhatsApp template
messaging:banned-customers:listRetrieve a list of banned customers
messaging:banned-customers:createBan customer
messaging:banned-customers:deleteUnban a customer
messaging:geolocation:readGet a geolocation metadata based on IP address
cdrs:recordings:readDownload or stream call recording(s) associated with a CDR
contacts:recordings:readDownload or stream a call recording linked to a contact
contacts:messages:readRetrieve messages for a conversation linked to a contact
files:uploadUpload a file
files:readRetrieve a file
files:deleteDelete a file
system:cc:ws