---
title: "Service: /groups/{group}/documenttypes/converttopsml [POST] (obsolete)"
source: https://dev.pageseeder.com/reference/version_5/services/convert-documenttypes-to-psml-POST.html
description: "Convert document types to PSML"
last_updated: 2026-08-07T17:09:54+10:00
tokens: ~373
---

# /groups/\{group\}/documenttypes/converttopsml \[POST\]

| Property | Value |
| --- | --- |
| Path: | /groups/{group}/documenttypes/converttopsml |
| Method: | POST |
| Generator: | obsolete |
| Version: |  |
| Since: |  |
| Deprecated: | 5.9900 |
| Obsolete: | 6.0000 |
| Cache control: | N/A |
| API Support: | OBSOLETE |
| Generated: | 2022-07-01 |

## Description

Convert document types to PSML.

> **Warning:** This service is not part of the public API. It is used to convert legacy configurations of PageSeeder and might be removed in future version of PageSeeder

Converts [PS Standard](../other/pageseeder_standard_format.md) config files for each document type to the following PSML config files:

- `psml/[type]/document-config.xml`
- `psml/[type]/document-template.psml`
- `psml/[type]/editor-config.json`

## Parameters

No parameters required.

## Permission

This service requires administrator.

## Response

The XML returned is:

```xml
<config-conversion>
  <document-configs>
    <document type="[type]" />
    <document type="[type2]" />
    ...
  </document-configs>
  <document-templates>
    <document type="[type]" />
    <document type="[type2]" />
    ...
  </document-templates>
  <editor-configs>
    <document type="[type]" />
    <document type="[type2]" />
    ...
  </editor-configs>
  <!-- Files and subfolders -->
</config-conversion>
```

## Error Handling

| Code | Cause / Description |
| --- | --- |
| 0x6203 | Unable to generate PSML config file |

