Skip to main content
POST
/
api
/
v1
/
iframes
/
{id}
/
duplicate
Duplicate Widget
curl --request POST \
  --url https://api.example.com/api/v1/iframes/{id}/duplicate
{
  "iframe": {}
}
Creates a copy of the widget with the same appearance, behavior, and security settings. Returns 201 Created.

Authentication

Requires a Bearer token (API key) or a dashboard session. Accepts an Idempotency-Key header.

Path Parameters

id
string
required
The source widget config UUID.

Response

iframe
object
The newly created widget config (new id).

Example

curl
curl -X POST https://www.hitheo.ai/api/v1/iframes/CONFIG_ID/duplicate \
  -H "Authorization: Bearer $THEO_API_KEY"