Orchestrator Api giving 403 forbidden response

When I am calling https://platform.uipath.com/api/account/authenticate this API from postman it was working, but through the java code this api giving me 403 forbidden response.

please verify credentials and access rights associated with tenant/user