---
title: "Service: /members/{member}/groups/{group}/uris/{uri}/duplicate [POST]"
source: https://dev.pageseeder.com/api/services/duplicate-psml-POST.html
description: "Duplicates a PSML document in the same folder as the original. Supports custom filenames, titles, descriptions, labels, and optional notifications. Edit notes, comments, tasks, versions, and workflows are not duplicated."
last_updated: 2026-09-02T11:36:14+10:00
document_type: api_endpoint
operation_id: psml-POST
resource_id: psml
path_template: /members/{member}/groups/{group}/uris/{uri}/duplicate
http_method: POST
api_category: psml
implementation_version: 6.2007
api_since: 5.5912
deprecated_since: null
obsolete_since: null
api_support: experimental
cache_control: N/A
generated_at: 2026-09-02
tokens: ~610
---

# /members/\{member\}/groups/\{group\}/uris/\{uri\}/duplicate \[POST\]

## Description

[Duplicate](../../reference/glossary/duplicate.md) a PSML document.

The duplicated document is created in the same folder as the original.​​​​​​

> **Note:** Edit notes, comments, tasks, versions and workflows are not duplicated.

## Parameters

| Name | Description | Required | Type | Default value |
| --- | --- | --- | --- | --- |
| filename | Name of file to create (without extension) | yes | string |  |
| description | Description of new document | no | string |  |
| docid | Document `ID` | no | string |  |
| labels | Comma-separated list of document labels | no | string |  |
| notification-content | Content of notification | no | string |  |
| notification-groups | Comma-separated list of group names to notify (optional, default to current group name) | no | string |  |
| notification-labels | Comma-separated list of label values for the note (if exists, creates a note) | no | string |  |
| notification-subject | Subject of notification (default to document title or “Document Created”) | no | string |  |
| notify | Notification behavior | no | enum | `silent` |
| notify-async | Whether emails should be sent asynchronously (for slow email servers) | no | boolean | `false` |
| original-docid | Document ID for original document if not already set, so variations can be compared | no | string |  |
| title | Display title of new document | no | string |  |
| variation | Whether to create variation metadata (requires docid on original). *Requires PageSeeder v6.1 or higher.* | no | boolean | `true`  |

### `notify`

`normal|announce|silent`

## Permission

This service requires contributor or higher.

## Response

```xml

<document-creation [renamed="true"
                   original-name="new:document.psml"]>
  <uri id="138614"
       scheme="https"
       host="localhost"
       port="443"
       path="/ps/jb/group1/documents/new_document.psml"
       decodedpath="/ps/jb/group1/documents/new_document.psml"
       external="false"
       mediatype="application/vnd.pageseeder.psml+xml"
       created="2013-12-19T15:14:54+11:00">
    <displaytitle>Copied document</displaytitle>
  </uri>
</document-creation>
 
```

## Error Handling

| Code | Cause / Description |
| --- | --- |
| 0x1201 | Illegal character in filename |
| 0x120A | Invalid Document ID |
| 0x1209 | Existing Document ID |
| 0x1211 | Existing URI |

