Documentation
Authentication
All API requests require a Bearer token in the Authorization header.
Obtaining an API Key
API keys are generated through myPASCOM when an integration app is installed.
- An API key is only shown once, at the time of installation. The plain-text key cannot be recovered and must be regenerated if lost.
- Once generated, an API key may take up to 5 minutes to become active.
Usage
Include the token in every request:
Code
Quick Example
Code
Scopes
Each API key is limited to a set of scopes, which define what the integration app is permitted to access.
The following scopes are currently supported:
| Scope | Description |
|---|---|
contacts.read | Read contact data, including labels |
contacts.write | Create, update, and delete contacts, including label assignments |
tasks.read | Read task data from the PBX |
Authentication Errors
If authentication fails, the API returns 401 Unauthorized.
See the API Reference for endpoint-specific details.
Last modified on