Overview
To authenticate with 3CX, you will need:
- 3CX Domain - The domain of your 3CX instance.
- Client ID - The Client ID (DN) from your API integration.
- API Key - The API Key generated when creating your API integration.
This guide will walk you through finding your 3CX Domain and creating an API integration to obtain your Client ID and API Key.
Prerequisites:
- You must have a 3CX phone system with an 8SC+ Enterprise or AI license.
- You must have administrator access to the 3CX Admin Console.
Instructions:
Step 1: Find your 3CX domain
- Log in to your 3CX Web Client or Admin Console.
- Check the URL in your browser’s address bar. Your 3CX URL will typically be in one of these formats:
https://mycompany.3cx.us (3CX hosted)
https://mycompany.3cx.de (3CX hosted, EU)
https://pbx.mycompany.com (self-hosted with custom domain)
- Your 3CX Domain is the full domain without the
https:// prefix (e.g., mycompany.3cx.us).
Step 2: Create API integration
- Log in to the 3CX Admin Console (Web Client with admin privileges).
- Navigate to Integrations > API in the sidebar.
- Click the Add button to create a new API integration.
- Configure the integration:
- Client ID: Enter a unique identifier (this will also be the DN for accessing the route point).
- Check the 3CX Configuration API Access checkbox to enable Configuration API scope.
- Select the appropriate Department and Role for your Service Principal:
- “System Owner” or “System Admin” grants system-wide access
- Other roles provide access based on their assigned permissions
- Click Save or Create.
- Important: After creating the integration, you will see the API Key displayed once. Copy and save this key securely - it will not be shown again.
If you lose your API Key, you will need to delete the API integration and create a new one to generate a new key.
Step 3: Enter credentials in the Connect UI
Once you have your 3CX Domain, Client ID, and API Key:
- Open the form where you need to authenticate with 3CX.
- Enter your 3CX Domain (e.g.,
mycompany.3cx.us).
- Enter your Client ID.
- Enter your API Key.
- Submit the form, and you should be successfully authenticated.
You are now connected to 3CX.