Obtain license information
GET
/license/show
Returns license information for PortSIP PBX.
Request
Placeholders
access_token
string
required
Access token is a 32-byte string with validity of 30 seconds.
Sample Request
https://example.com/api/license/show?access_token=196ACE20C6F34027895F7F95402BB164
Response
Placeholders
api_version
string
required
API version of PortSIP PBX.product_name
string
required
Product name of PortSIP PBX.max_sim_calls
integer
required
Max Simultaneous Calls allowed for this version.license_key
string
required
License key of PortSIP PBX.company_name
string
required
Company name of license user.contact_email
string
required
Contact email of license user.
Sample Response
{
"api_version": "2",
"product_name": "PortSIP PBX",
"max_sim_calls": 100,
"license_key": "6E6C37BA-E6C6-4559-9D6D-0DED13A0AE39",
"company_name": "Some company name",
"contact_email": "123xyz@abc.com"
}
Apply new license
POST
/license/update
Applies the new license to PortSIP PBX.
Request
Placeholders
access_token
string
required
Access token is a 32-byte string with validity of 30 seconds.license_key
string
required
License key of PortSIP PBX.
Sample Request
{
"access_token": "196ACE20C6F34027895F7F95402BB164",
"license_key": "6E6C37BA-E6C6-4559-9D6D-0DED13A0AE39"
}
Response
Placeholders