API for registering a application?

I’m curious why you would need that. Usually you shouldn’t need to register a new application that often that is has to be automated.