The pfSense API is not installed by default.
To use this API, you'll need to install it and generate an authentication key.
Operations are very simple
pkg -C /dev/null add https://github.com/jaredhendrickson13/pfsense-api/releases/latest/download/pfSense-2.7-pkg-API.pkg && /etc/rc.restart_webgui
Once executed, open the web administration console and go to “System
” > “API
”