+ Start a Discussion
Raghu RamanujamRaghu Ramanujam 

Companies House API

Hi All,

Have anyone integrated with Companies House using API Key ?

String apiKey = 'a-9NflEDUycmO-Rt-2cOXXXXWGSYVxSMZmiXXXXX';
string comp_reg = '06587726';
String requestEndpoint = 'https://a-9NflEDUycmO-Rt-2cOThUCWGSYVxSMZmi67lI5:@api.companieshouse.gov.uk/company/';
//String requestEndpoint = 'https://api.companieshouse.gov.uk';
requestEndpoint += '?q=' + comp_reg;
//requestEndpoint += '&APPID=' + apiKey;

Http http = new Http();
HttpRequest request = new HttpRequest();
request.setEndpoint(requestEndpoint);
request.setMethod('GET');
HttpResponse response = http.send(request);

Thanks,
Raghu
Julia BJulia B
Hi Raghu, did you proceed with the integration?