# Download documents from Companies House API

**URL:** <http://forum.companieshouse.gov.uk/t/download-documents-from-companies-house-api/4833>\
**Category:** API Issues\
**Created:** [February 13, 2022, 6:28pm UTC](http://forum.companieshouse.gov.uk/t/download-documents-from-companies-house-api/4833 "2022-02-13T18:28:50Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![christianmcaleenan](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/c/9de0a6/32.png) [@christianmcaleenan](http://forum.companieshouse.gov.uk/u/christianmcaleenan)\
**Post date:** [August 22, 2023, 9:25am UTC](http://forum.companieshouse.gov.uk/t/download-documents-from-companies-house-api/4833/10 "2023-08-22T09:25:23Z")

</div>

I’ve had the same issue using Zapier.

Again a solution is to convert the API key into Base64. To do so:

1. Encode the API key using an online tool (I used [base64encode.org/](http://base64encode.org/));
2. In the Zapier action step, Header field add “Authorization” in the left hand field and “Basic [output from step 1 above]”.

Best of luck.

---

_[View the full topic](http://forum.companieshouse.gov.uk/t/download-documents-from-companies-house-api/4833)._
