Bulk-copy content to many domains
Copy selected content parts from one source domain onto many target domains in a single call. Draft state only; the copy commits per target and reports each target's outcome. Requires a write-scoped key.
Authorization
bearerAuth Your al_live_<prefix>_<secret> API key. Mint and manage keys in the dashboard.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/admin/bulk/copy-content" \ -H "Content-Type: application/json" \ -d '{ "source": "promo.creator.com", "targets": [ "links.creator.com", "vip.creator.com" ], "parts": [ "buttons_segments", "bg" ] }'{ "source": "promo.creator.com", "parts": [ "buttons_segments", "bg" ], "results": [ { "host": "links.creator.com", "ok": true, "detail": "скопировано: кнопки и сегменты, фон" }, { "host": "vip.creator.com", "ok": true, "detail": "скопировано: кнопки и сегменты, фон" } ]}{ "detail": { "code": "invalid_request", "message": "Invalid value for field." }}{ "detail": "auth required"}{ "detail": { "code": "domain_not_found", "message": "Domain not found" }}Copy the background from another domain
Replace the target domain's draft background (mobile + desktop) with a copy from a source domain, for every variant. Draft state only. Requires a write-scoped key.
Connect a custom domain
Begin connecting a custom domain: registers a pending domain and returns the DNS instructions the customer must apply. First step of the connect state machine (enter to instructions to verify to active). Requires a write-scoped key.