403 error when orchestrator is hit from REST service

I am trying to hit “staging.uipath.com” orchestrator Url. When i hit the url directly from postman, i get the response. But, when i tried hitting the url using JAVA code with REST, the response code is “403”.
Can you please help me to solve this issue?
Thanks in advance.