To enable the REST API functionality,
- Go to WP Admin > Settings > Permalinks Page
- Choose any settings except for Plain (this is a WordPress REST API limitation)
- Go to the MainWP Dashboard > Settings > REST API page
- Locate the Enable REST API option
- Enable it
- Save Settings