# Duplicate a follow-up policy

`POST https://api.parasend.com/v1/reminder_policies/{id}/duplicate`

Source: https://parasend.com/docs/api/follow-up-policies/duplicate

Authentication: `Authorization: Bearer <API key>` (a `ps_test_` key in test mode, `ps_live_` in live mode).
Send an `Idempotency-Key` header: a retry with the same key returns the first answer.

Copies the current version into a new policy of the organisation, named "<name> (copy)" unless name is given. A step v1 cannot run (paper) is left out of the copy.

## Path parameters

- `id` (string, required): The policy's ID.

## Body (application/json)

- `name` (string, optional)

## Example: Copy a policy

```bash
curl -X POST "https://api.parasend.com/v1/reminder_policies/rpol_01M6R27T5NK3830GCN9QPS9M95/duplicate" \
  -H "Authorization: Bearer $PARASEND_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Payment reminders (copy)"
  }'
```

```js
const res = await fetch('https://api.parasend.com/v1/reminder_policies/rpol_01M6R27T5NK3830GCN9QPS9M95/duplicate', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.PARASEND_KEY}`,
    'Idempotency-Key': crypto.randomUUID(),
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    name: 'Payment reminders (copy)',
  }),
});
const data = await res.json();
```

## Response 201

The copy.

```json
{
  "id": "rpol_01M6R27T6BE940MSE8J194NJCE",
  "object": "reminder_policy",
  "name": "Payment reminders (copy)",
  "system": false,
  "version": 1,
  "version_id": "rpv_01M6R27T6BDH6TZ8MQ7GP501C8",
  "steps": [
    {
      "channel": "email",
      "after_days": 3,
      "conditions": [
        "not_delivered"
      ],
      "available": true
    },
    {
      "channel": "email",
      "message": {
        "preset": "firmer"
      },
      "after_days": 7,
      "conditions": [
        "not_delivered"
      ],
      "available": true
    },
    {
      "channel": "sms",
      "after_days": 14,
      "conditions": [
        "not_delivered"
      ],
      "available": true
    }
  ],
  "stop_on": "confirmed",
  "customized": false,
  "is_account_default": false,
  "in_use_by_batches": 0,
  "in_use_by_deliveries": 0,
  "created_at": "2026-11-06T09:15:05.802Z",
  "updated_at": "2026-11-06T09:15:05.802Z",
  "archived_at": null
}
```

Errors: one shape, `{"error": {type, code, message, param, request_id}}`; every code is listed at https://parasend.com/docs/errors.
