Thank you for posting your query to the Developer Forum, we will consider along with relevant technical colleagues and respond further as soon as possible - in the meantime, the option remains available for other Forum viewers to contribute. KAJ
Hi. I have been advised that if If you are trying to connect to the API you need to be using this URL - https://api.company-information.service.gov.uk. If you could also provide me with screenshots on what you are doing and the error you are getting, the IT team would be able to investigate further. Thanks KAJ
Hi,
We started using this service a few weeks ago. Perhaps the process changed? This is our process and it’s all working:
Step1: Register + set up LIVE APPLICATION + get API Key
Step2: api.company-information.service.gov.uk (add search etc. to retrieve company information)
Thanks for the response. Unfortunately we are not even able to create a successful connection. Step 2 mentioned above can be looked into only after the authorization part. Below is a simple request from Postman which is showing the service unavailability error.
@voracityemail Existing (old from 2021) OAuth 2.0 connection is working fine but we are not able to create any new connection. Were there any changes done on OAuth 2.0 front?
Now, is it recommended to use Rest API Key for authentication?
You tagged me - not sure why? (I’m not part of the Companies House staff, just a long-time user).
We don’t use the identity / OAuth portal so I can’t advise on that.
However I can say that which authentication method is used depends on which API you’re trying to access. As far as I’m aware you only use a REST API key and http Basic authentication if you’re querying the Public Data API, the Documents API, the Streaming API and the Test Sandbox data creation API. (And you don’t use the OAuth method for those).
The Companies House documentation does currently appear to note which authentication method / key type you should use e.g. see Document API: Fetch a document's metadata
Access to the Filing API, the Companies House identity service. This uses OAuth authentication, and you register as described here.
Again we don’t use that, but I understand that this is currently extremely limited in scope. There are other quirks like the test / sandbox systems seem to have issues etc.