Copy buttons and segments from another domain
Replace the target domain's draft buttons AND segments with copies from a source domain (full draft funnel clone). Draft state only. Requires a write-scoped key.
Authorization
bearerAuth Your al_live_<prefix>_<secret> API key. Mint and manage keys in the dashboard.
In: header
Path Parameters
The target domain that receives the copy.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Names the source domain to copy draft content from; the target is the URL's hostname.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/admin/domains/string/copy-from" \ -H "Content-Type: application/json" \ -d '{ "source": "promo.creator.com" }'{ "hostname": "links.creator.com", "display_name": "FB Agency", "created_at": 1719772800, "button_count": 6, "infra_state": "active", "provisioning_error": null, "infra_attempted_at": 1719772830}{ "detail": { "code": "copy_same_domain", "message": "Источник и цель — один и тот же домен" }}{ "detail": "auth required"}{ "detail": { "code": "domain_not_found", "message": "Domain not found" }}Retry domain provisioning
Re-run domain provisioning for a domain stuck in `pending` or `failed`. Idempotent. Requires a write-scoped key.
Copy the notification banner from another domain
Replace the target domain's draft notification banner (text + translations + avatar + sound) with a copy from a source domain. Assets are physically copied. Requires a write-scoped key.