Skip to content
/ 3CX Public

Powershell Wrapper for the 3CX Inofficial API

License

Notifications You must be signed in to change notification settings

O-IT/3CX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jan 8, 2025
6411d84 · Jan 8, 2025

History

23 Commits
Aug 14, 2024
Jul 31, 2024
Aug 7, 2024
Aug 14, 2024
Aug 14, 2024
Jul 31, 2024
Jan 8, 2025

Repository files navigation

Really not 3CX Reverse Engineered Data Counter Badge Last Commit

3CX - A Inofficial Powershell Module for 3CX V20

What does this

This Powershell module contains a set of functions for connecting and talking to a 3CX V20+ System via the REST-API.

Installation

To install the module, you can use the following command:

Install-Module -Name 3CX

https://www.powershellgallery.com/packages/3CX/

Usage

Once the module is installed, you can import it using the Import-Module cmdlet:

Import-Module -Name 3CX

Example System Health

$cred = Get-Credential
Connect-3CX -Credential $cred -APIHost "my.3cx.de"
Get-3CXSystemHealth | ft

If you have Allow access from specific IP Addresses selected, make sure that you add the IP of the server/PC where you're trying to access API.

In web console -> Admin -> Advanced -> Console Restrictions

Example Custom API Call

$cred = Get-Credential
Connect-3CX -Credential $cred -APIHost "my.3cx.de"
Get-3CXResult -Endpoint "/xapi/v1/SystemStatus" | ft

The authentication is handled by Get-3CXResult

Contributing

If you would like to contribute to this project, feel free to submit a pull request or a issue.

License

This project is licensed under the MIT License.

Availible Functions

Connect-3CX
Get-3CXActiveCalls
Get-3CXEventLog
Get-3CXResult
Get-3CXSIPDevice
Get-3CXSystemHealth
Get-3CXSystemStatus
Get-3CXUser
Get-3CXVersion

About

Powershell Wrapper for the 3CX Inofficial API

Resources

License

Stars

Watchers

Forks

Packages

No packages published