Automatic Login with Ajax POST request

Hello Everyone
I am trying to automatically login to Zammad by sending an ajax POST request to api/v1/signin from my webapp on a different server, but I am getting ‘Access-Control-Allow-Origin’ missing error.
Am I supposed to append Access-Control-Allow-Origin header to a http response somewhere in the zammad source code on my server? Can you please help me with this?