> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sequenzy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Duplicate a Push Campaign

> Copy a push campaign into a new draft

# Duplicate a Push Campaign

Copies a push campaign's content and audience into a new draft. Requires the `campaigns:write` scope.

## Request

<ParamField path="campaignId" type="string" required>
  The push campaign ID.
</ParamField>

<ParamField body="name" type="string">
  Name for the copy. Defaults to the original name followed by `(Copy)`.
</ParamField>

```bash theme={null}
curl -X POST "https://api.sequenzy.com/api/v1/push/campaigns/cmp_abc123/duplicate" \
  --header "Authorization: Bearer $SEQUENZY_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{"name":"Flash sale (resend)"}'
```

## Responses

<ResponseExample>
  ```json 201 theme={null}
  {
    "success": true,
    "campaign": {
      "id": "cmp_def456",
      "name": "Flash sale (resend)",
      "type": "push",
      "status": "draft",
      "content": {
        "title": "24h sale",
        "body": "30% off everything",
        "url": "https://shop.example.com/sale",
        "imageUrl": null,
        "iconUrl": null,
        "platforms": [
          "web",
          "ios"
        ]
      },
      "targetLists": {
        "type": "all"
      },
      "scheduledAt": null,
      "sentAt": null,
      "estimatedRecipientCount": null,
      "labelIds": [],
      "createdAt": "2026-10-01T12:00:00.000Z",
      "updatedAt": "2026-10-01T12:00:00.000Z"
    }
  }
  ```

  ```json 400 theme={null}
  {
    "error": "This campaign is not a push campaign."
  }
  ```

  ```json 401 theme={null}
  {
    "error": "Invalid API key"
  }
  ```

  ```json 403 theme={null}
  {
    "error": "API key is missing required scope: campaigns:write"
  }
  ```

  ```json 404 theme={null}
  {
    "error": "Campaign not found."
  }
  ```
</ResponseExample>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.