Create/Add Page Group extension programmatically from another application

Need to Add Page Group extension, from other applications. Is FreePBX has any HTTP or any other API to add or configure the Page Group extension ?

Simply to add an extension, I had used the below command from my TCP server, which is running on the same FreePBX server PC. Its working good to add extension.

fwconsole bi --type=‘extensions’ extensions.csv

Is there any option to add paging or intercom extension like this or any other way?