External api calls from auth0 login page

We have a use case where we need to use the userid and password provided by the user in Auth0 login page and make an external api call to get OTDS ticket (Opentext directory services). The sample api request is below. Is this possible from login page and please provide some guidance / sample code to do this. Thank You!

	https://otds.xxx.ca/otdsws/rest/authentication/credentials

            payload
	{
	  "userName": "xxxxxx",
	  "password": "yyyyyy",
	  "targetResourceId": "assgfhgjghjjhg"
	}

Hi @zav

Welcome to the Auth0 Community!

You will be able to make calls to an external API by creating an Action and assign it to a Post-Login Trigger since you are lookin to make the call once the user provides their email and password.

Let me know if you have any other questions or if you are still experiencing issues.

Kind Regards,
Nik