POST
/
v1
/
report
/
bulk-duplicate
Duplicate reports
curl --request POST \
  --url https://staging.api.us.aptlydone.com/v1/report/bulk-duplicate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "reportIds": [
    "93d76089-6873-4bc2-a08f-c8abd422ab55",
    "1b6d3f27-28ee-44a8-a50a-06344e812ea9"
  ],
  "nameSuffix": " - Copy",
  "setAsDraft": true
}'
{
  "statusCode": 200,
  "timestamp": "2025-06-24T08:51:31.061Z",
  "message": "Success",
  "data": {
    "success": true,
    "duplicatedCount": 3,
    "newReportIds": [
      "accc9f96-c9a5-46aa-971b-c0c7be6d8ba8",
      "665a1a2a-0e18-46be-8479-ec433b2aa22b",
      "915608e5-771b-493f-ac1c-dca8484608b1"
    ],
    "failedIds": [
      "c46e7ad3-9d68-4191-9395-08118fa45b0a"
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

201 - application/json

Reports duplicated successfully

The response is of type object.