Can I use the Airflow REST API to externally trigger a DAG?

Does the external dag trigger work on the new cloud?
I’m running Version : [1.10.7+astro.8]

What would the AIRFLOW_DOMAIN look like in this case?

When i tried, it redirects me back to the login page just like in this post. Hitting the Airflow API through Astronomer