---
title: "Export all dotAuth AppSecrets"
method: POST
path: "/api/v1/dotauth/export"
tags: ["dotAuth"]
---

# Export all dotAuth AppSecrets

`POST /api/v1/dotauth/export`

## Request

- Base URL: `https://docs.anzworldline-solutions.com.au`
- URL: `https://docs.anzworldline-solutions.com.au/api/v1/dotauth/export`
- Auth: none declared
- TypeScript: <https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api/docs/api/v1/dotauth/export/post.ts> (a function with typed inputs; its response is checked against the schema)

Exports OAuth/OIDC, SAML, and headless dotAuth AppSecrets into one encrypted Apps export file.

## Request body

- object

## Response `200`

Encrypted export file

## Other responses

- `400`: Invalid password or no secrets configured
- `401`: Authentication required
- `403`: Admin access required
- `500`: Internal server error

## Changes

- **2026-10-30** `4fd8e917d458`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api/changes/api/v1/dotauth/export/post.md)

---

[API](https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api.md) - [All operations](https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/anzworldline-solutions/apis/dotcms-rest-api/revisions/4fd8e917d458?raw)
