**Source URL:** https://general.veevavault.dev/vault-api/api-reference/26.1/custom-pages/download-single-client-code-distribution.md

# Download Single Client Code Distribution



Download a ZIP file containing the client code distribution directory, including the client code files and the distribution manifest (`distribution-manifest.json`).

<Endpoint path="/api/{version}/uicode/distributions/{distribution_name}/code" method="GET"></Endpoint>

## Headers {#headers}

<FieldTable>
| Name | Description |
| --- | --- |
| `Accept` | `application/json` (default) or `application/xml` |
</FieldTable>

## URI Path Parameters {#uri-path-parameters}

<FieldTable>
| Name | Description |
| --- | --- |
| `{distribution_name}` | The `name` attribute of the client code distribution to download. |
</FieldTable>

## Request {#request}

<CodeExample title="">
```
curl -X GET -H "Authorization: {SESSION_ID}" \
https://myvault.veevavault.com/api/v25.1/uicode/distributions/custom_page__c/code

```
</CodeExample>

## Response {#response}

<CodeExample title="">
```
Content-Type: application/zip;charset=UTF-8
Content-Disposition: form-data; name="attachment"; filename="custom_page__c.zip"

```
</CodeExample>

## Response Details {#response-details}

On `SUCCESS`, Vault packages and returns the client code distribution directory as a ZIP file. The HTTP Response Header `Content-Type` is set to `application/zip;charset=UTF-8`. The `Content-Disposition` header contains a filename component which can be used when naming the local file. The filename is `{distribution_name}.zip`.



---

**Previous:** [Retrieve Single Client Code Distribution Metadata](/vault-api/api-reference/26.1/custom-pages/retrieve-single-client-code-distribution-metadata)  
**Next:** [Add or Replace Single Client Code Distribution](/vault-api/api-reference/26.1/custom-pages/add-or-replace-single-client-code-distribution)