Automate APP integration through API

Hello

I’m managing several accounts for which I want to activate an app
Is there a way to script through APIs the integration of a specific APP ?

Thanks