Welcome to the Community!
For that level of customization (e.g. different login HTML for different applications), I believe you would need to use a custom template using the Classic Login Experience.
You can update a client’s custom login page using the Management API’s PATCH /api/v2/clients endpoint like so: How to set up hosted page ? - #2 by ricardo.batista