This step-by-step guide shows how to duplicate a Duda site via Duda’s API so the new site clones Termly compliance settings, including Domain Rules and TCF/GACM vendor configurations.
Before you start
Duda Credentials:
- Have your Duda Partner API credentials ready (username and password for Basic Auth). You can learn more about obtaining and using these credentials in Duda’s official Partner API Introduction documentation.
Site IDs: You’ll need two Duda site IDs (UUIDs):
-
install-site-id: The site where Termly will be installed. -
duplication-site-id: The source site to clone compliance settings from.
Step-by-step: Postman
Step 1: Get the site IDs (UUIDs)
From dashboard URL:
Open site: Go to your Duda Partner Dashboard, open the site.
Copy UUID: From the URL, copy the value at: https://editor-sandbox.duda.co/home/site/<site_uuid>
Example:
Step 2: Create the request
Method: POST
URL: https://api.duda.co/api/sites/<install-site-id>/apps/620c1644-2a99-4a98-8970-e2def931e48b
Note: 620c1644-2a99-4a98-8970-e2def931e48b is the fixed UUID assigned to the Termly app by Duda.
Step 3: Set Up Authentication
-
Go to the “Authorization” tab (next to Params, Headers, Body).
Select “Basic Auth” from the dropdown.
Enter your credentials:
• Username → your Duda Partner API username
• Password → your Duda Partner API passwordExample:
Note: Postman will automatically encode your username:password into Base64 and add the correct header.
2. Add other required headers in the “Headers” tab:
Content-Type: application/json
Accept: application/json
Example:
Step 4: Choose Your Request Body
You have two options, depending on whether you want to duplicate compliance settings:
-
Body with duplication → clones Domain Rules and TCF/GACM vendor settings from the source site.
The
plan_uuidwill be provided by Duda, and thefrequencyparameter must always be set tomonthly. Add theduplication_site_idto clone configurations from the source site.
{
"plan_uuid": "7bdb0e31-dda4-4948-b3bf-18824bc4ae78",
"frequency": "MONTHLY",
"configuration_data": "{\"duplicate_from\":\"<duplication-site-id>\"}"
}Effect: Clones Domain Rules and TCF/GACM vendor configurations from the source site.
Example:
- Body without duplication (optional) → installs Termly normally, without mirroring settings.
{}Effect: Standard install; no mirroring.
Step 5: Click send
- If successful, you’ll get a
200 OKwith confirmation that Termly was installed. If you include the duplication parameter, it will also clone Domain Rules and TCF/GACM vendor configurations from the source site. - If you see
400 Bad Request, double‑check your JSON formatting and site UUID. - If you see
403 Forbidden, confirm Termly is provisioned for your account. - If you see
401 Unauthorized, re‑check your username/password and environment.
Note: This feature does not currently copy Automatic Scan Settings.
If you have any problems, please feel free to contact Termly Support.
Related Articles
How to Delete Multiple Websites
FAQs About Bulk Settings Management