show license information

GET /show
license information
Path parameters
  • access_token

    string

    required

    token to be passed as a header

    minLength: 64

    maxLength: 64

Sample Request

                      curl -v -X GET http://127.0.0.1:8990/api/license/show \
                        -H "Content-Type: application/json" \
                        -H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
                      
                    

Responses

200
Successful operation
application/json
  • max_sim_calls

    integer

    Max Simultaneous Calls allowed for this version.
  • product_name

    string

    Product name of PortSIP PBX.
  • company_name

    string

    Company name of license user.
  • contact_email

    string

    Contact email of license user.
  • api_version

    string

    API version of PortSIP PBX.
  • license_key

    string

    License key of PortSIP PBX.

Sample Response

                      
{
    "api_version": "12.0",
    "product_name": "PortSIP PBX"
}
                      
                    

Update license

POST /update
Path parameters
  • access_token

    string

    required

    token to be passed as a header

    minLength: 64

    maxLength: 64

Request body
application/json
  • license_key

    string

    required

    License key of PortSIP PBX.

Sample Request

                      curl -v -X POST http://127.0.0.1:8990/api/license/update \
                        -H "Content-Type: application/json" \
                        -H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
                          -d '{}'
                      
                    

Responses

200
Updated license

Sample Response