Hi Anirudh, welcome to the Community!
Confluence Server still has a REST API for the Questions for Confluence add-on. It's available here - while the document seems like it might be out of date based on the old Confluence logo, it's just because the end-points have been stable since Questions 2.3. The API is still available in the most recent release for Server, Questions for Confluence 2.7.
Daniel | Atlassian Support
Hey Community 👋, Following the recent release of the new editor, we will be releasing the ability for users to convert existing pages from the legacy editor to the new editor. We’ve been resp...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events