First, as you can see on send email documentation API at this page
https://www.zoho.com/mail/help/api/post-send-an-email.html you can see the Request URL example is in http protocol. When you make some request, the end point server will redirected to https. This is will raise a problem for client request, since redirection will not forward the headers Authorization requests. This is my example code in python: