Authentication
When making requests to FortiVoice appliances using the REST API, you need:
- A valid admin username and password (so that an authenticated session can be established).
- Appropriate access permissions for the requested resource (controlled by admin profile).
For an administrator to use the REST API, it has to be enabled as the access mode for the administrator.
config system admin
edit admin
set access cli gui rest
end
This is the place to enable the access mode on the FortiVoice phone system web-based manager: