Skip to main content

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.

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:readView AI call transcription settings
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

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:readRetrieve contact details, activity history, linked records, and CSV export data
contacts:updateModify contacts, merge duplicates, and manage contact links

CRMs

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

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

Emergency Button

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

Enhanced Ring Groups

ScopeDescription
ergs:realtimeRetrieve real-time data for Enhanced Ring Group resources
ergs:statsRetrieve historical statistics for Enhanced Ring Group resources

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

Extensions

ScopeDescription
extensions:createCreate extensions individually or in bulk
extensions:deleteDelete extensions from the organization
extensions:listList all extensions in the organization
extensions:readView extension details, assigned DIDs, enhanced services, and department memberships
extensions:updateModify extensions and their enhanced services individually or in bulk

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

Music On Hold

ScopeDescription
moh:readRetrieve the default Music on Hold settings

Queues

ScopeDescription
queues:realtimeRetrieve real-time data for queue resources
queues:statsRetrieve historical statistics for queue 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

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

User-level scopes

Scopes automatically granted to every Extension user token.

ScopeDescription
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
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