How to customize text for new universal login?

It sounds like the domain may be the issue. to get the domain, you can go to any of your application settings and copy the domain value. Use this for the URL https://YOUR_DOMAIN_FROM_APPLICATION_SETTINGS/api/v2/prompts/login/custom-text/en