By default, this feature is disabled on the FortiVoice phone system. To enable it, use the following CLI command:
config system global
set rest-api enable
end