Working with Intercom API from localhost

Hello,
I’m trying to use the api from localhost, but i got an error:
Access to XMLHttpRequest at 'https://api.intercom.io/companies?company_id=xxx' from origin '[http://localhost:4200](http://localhost:4200/)' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

The call is working on postman.

This is my code:
const reqHeader = new HttpHeaders({
‘Content-Type’: ‘application/json’,
‘Access-Control-Allow-Origin’: ‘*’,
‘Authorization’: ‘Bearer xxxxxxxxxxxxxxxx’
});
var reqParams = new HttpParams().set(“company_id”, xxxxx);

var url = "https://api.intercom.io/companies";
this.http.get(url,{ headers: reqHeader,params: reqParams})
.subscribe(
  data => console.log('success', data),
  error => console.log('oops', error)
); 

Any help?
Thanks