Integrate Rage4 API with pro sites

Hello

We are using Name servers in place of ips for our domain mapping thanks to rage4. What we are looking for now is to be able to automate the process somehow.

Atm everytime a user upgrades we need to manually add the domain inside rage4.
Is there anyway we could alter pro sites upgrade process to add a domain field where users will insert the domain they want to map (we will than use rage4 api to send it in and add it in automatic).

How could we achieve this? Anyone that haves experience with this?