API Key How-To Guide
Public API keys allow customers and partners to access approved API resources from external systems. The UI supports creating scoped keys, copying the key value once, monitoring usage, and revoking access when needed.
Open the API Key tab in the Admin Console tenant.
Select “Create API Key” if no keys exist.
Enter a clear name for the key, such as the external system or environment that will use it.
For eligible tenants, enable descendant access only if the key must manage or read resources from sub-tenants.
Choose Scopes. You can choose from the two presets of Read-only and Full access, or if neither preset is appropriate, choose a custom scope set and select only the access areas required.
Click “Create API key” to finalise the creation.

Review the assigned scopes after the key is created.
Reveal / copy the key value immediately.
Store the key in the external system or a secure secret store before closing the success window.
Important: The key value is only shown at creation time. Once the window is closed, the key cannot be viewed again.

Return to the API Keys list to review existing keys.
Check status and last-used information to understand whether a key is active and being used.

Revoke any key that is no longer needed, has been exposed, or belongs to an integration that has been retired.
Confirm the status changes to Revoked. A revoked key will no longer work for API requests.

Use the minimum access required: Read-only scopes are lower risk and should be preferred when an external system only needs to retrieve data. Treat write access as higher risk.
Copied key was lost: Create a replacement key and revoke the old one if required. Existing key values cannot be displayed again.
API request is denied: Check that the key has the required scope and, if applicable, descendant tenant access.
Transcript state is empty: Confirm the interaction came from a deployed agent rather than a tester session. Tester-only interactions may not return agent state because those compiles are not stored in the same way.
Extensions API How-To Guide
Creating and managing tenant extensions through the public API
The Extensions API allows public API users to create and manage extensions in their own tenants, or in customer tenants they manage. It is intended for customers and resellers who need repeatable extension setup from an external platform without manual portal work.
Audience: Customers, resellers, and technical teams using the public API
A public API key with permission to manage extension resources.
The tenant ID for the tenant where extensions will be listed, created, edited, or deleted. Tenant IDs are UUIDs.
For reseller workflows, confirmation that the target customer tenant is accessible to the API key.
The SIP registration details for the extension: registrar, username, and password.
A secure way to handle credentials. Do not paste live passwords or API keys into tickets, screenshots, or documentation.
| Action | Method and endpoint | Success |
|---|---|---|
| List extensions | GET /v1/public/tenants/{tenant_id}/extensions | 200 |
| Create extension | POST /v1/public/tenants/{tenant_id}/extensions | 201 |
| Fetch one extension | GET /v1/public/tenants/{tenant_id}/extensions/ | 200 |
| Edit extension | PATCH /v1/public/tenants/{tenant_id}/extensions/ | 200 |
| Delete extension | DELETE /v1/public/tenants/{tenant_id}/extensions/ | 204 |
List requests support offset and limit query parameters. Offset defaults to 0. Limit defaults to 50 and can be set from 1 to 200.
The Authorization header is used for API authentication. Follow the public API authentication guidance for the correct token format used by your API key.
When creating an extension, registrar, username, and password are required. The remaining fields are optional unless your implementation requires them for naming, ownership, or provider-specific behaviour.
| Field | Create | Update | Notes |
|---|---|---|---|
| registrar | Required | Optional | SIP registrar or host. Maximum 255 characters. |
| username | Required | Optional | SIP username. Maximum 255 characters. |
| password | Required | Optional | SIP password. Treat as a secret. |
| name | Optional | Optional | Display name. Maximum 200 characters. |
| alias | Optional | Optional | Friendly alias. Maximum 200 characters. |
| options | Optional | Optional | Provider-specific SIP options. Use {"transport":"udp"} for unsecured UDP transport; omit or leave empty for the default secure transport. |
| source | Optional | Optional | Source label. Maximum 100 characters. |
| editable | Optional | Optional | Boolean flag. Defaults to true when creating an extension. |
Authenticate to the public API using an API key with extension-management permissions.
Confirm the tenant_id for the tenant or customer tenant where the extension should be created.
Send a POST request to /v1/public/tenants/{tenant_id}/extensions.
Include registrar, username, and password in the request body. Add name, alias, options, source, or editable if needed.
Store the returned extension id so it can be fetched, edited, assigned, or deleted later.
Example request body:
{ "name": "Front Desk", "alias": "front-desk", "registrar": "sip.example.com", "username": "1001", "password": "s3cr3t", "options": { "transport": "udp" } }
Use GET /v1/public/tenants/{tenant_id}/extensions to fetch the extensions available in the selected tenant.
Use offset and limit when you need to page through longer lists.
Use GET /v1/public/tenants/{tenant_id}/extensions/{extension_id} when you already know the extension id and need the latest status and configuration.
Check the response fields such as id, external_registration_id, name, alias, registrar, username, status, state, source, editable, options, config, created_at, and updated_at.
Fetch the extension first so you are working from the current saved version.
Send a PATCH request to /v1/public/tenants/{tenant_id}/extensions/{extension_id}.
Include only the fields you need to change, such as name, alias, registrar, username, password, options, source, or editable.
If a 409 response is returned, treat it as a conflict and refetch the extension before retrying.
Fetch the extension again after updating to confirm the expected values and status.
Confirm that the extension is no longer required and is not still being used by an agent or workflow.
Send a DELETE request to /v1/public/tenants/{tenant_id}/extensions/{extension_id}.
A successful delete returns 204 with no response body.
If a 404 response is returned, confirm the tenant_id and extension_id are correct and that the extension has not already been removed.
422 responses usually indicate validation problems, such as a missing required field, an invalid UUID, or a value that is too long.
404 responses mean the extension could not be found for the tenant and id supplied.
For reseller automation, first confirm the API key can access the target customer tenant before creating or deleting extensions.