This is a guide for accessing the Web Ports REST API. Navigate to System Settings -> Server -> API in Web Port.
Generate token
To generate a token, an account with API privileges is necessary.
Create account
In Web Port, create an account with basic permissions based on the level of access needed.
Add an API function right with an ADMIN level. This grants the ability to generate a token.
Info
To access individual read and write permissions for tags, you need either global rights or specific tag permissions.
API can now be used with either headers or parameters.
Test token
To test the token, click Authorize and enter either the token to be sent in the header or as a parameter.
The appearance of the call is visible in Curl or Request URL.