---
title: "Get the configuration as a ZIP file."
method: GET
path: "/v1/configdump/configdump.zip"
tags: ["v1/configdump"]
---

# Get the configuration as a ZIP file.

`GET /v1/configdump/configdump.zip`

Returns a zip archive of YAML files.

## Query parameters

- `ignoreerrors` boolean
- `defaults` boolean
- `externalcas` boolean
- `exportCasForPeerImport` boolean
- `include` string[]
- `exclude` string[]

## Response `200`

Successful operation

## Changes

> 8 revisions in range; 1 could not be searched.

- **2025-03-11** `4045b1bab09f` — 1 breaking
  - the response's body type/format changed from `array`/`` to `string`/`byte` for status `200`
- **2025-03-11** `37878df36b77` — 1 info
  - added the new optional `query` request parameter `exportCasForPeerImport`
- **2025-01-24** `d0f3affe7c3c` — 1 breaking
  - the response's body type/format changed from `array`/`` to `string`/`byte` for status `200`
- **2024-07-05** `b6fc2ad168e5` — 1 warning
  - deleted the `query` request parameter `exportCasForPeerImport`

[Change history](https://skmtc.dev/keyfactor/apis/ejbca-rest-interface/changes/v1/configdump/configdump.zip/get.md)

---

[API](https://skmtc.dev/keyfactor/apis/ejbca-rest-interface.md) · [All operations](https://skmtc.dev/keyfactor/apis/ejbca-rest-interface/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/keyfactor/ejbca-rest-interface/revisions/44f8798658e2/schema)
