How to Adjust the REST API Rate Limit?
By default, the PortSIP PBX versions v16.0.x and v16.1.x limit the REST API to 1,000 requests per minute. Starting from version v16.2.0, this rate has been increased to 5,000 requests per minute.
If you wish to modify this rate, please follow the steps below:
Open the file
var/lib/portsip/pbx/system.ini
. For Windows, this file is located atC:/ProgramData/PortSIP/pbx/system.ini
.In the
[apigateway]
section, locate theaccess_limit
key.To change the limitation, simply write the new value, for example,
2000
.Save the changes.
To apply these changes, you’ll need to restart the API gateway:
Windows: Open the Windows Service Manager and restart the PortSIP Gateway Server service.
Linux: Execute the following commands:
Last updated