partner

GET /v1/partner/customers/{externalId}/site-moves/{moveId}

Read one site move — its status, preview address and origin target.

All partner endpoints

All developer docs →

Authentication

Send an API key as a bearer token. The key must carry the partner.domains permission; a key without it is refused with 403, not 404.

This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X GET https://api.zinndigital.com/v1/partner/customers/{externalId}/site-moves/{moveId} \
  -H "Authorization: Bearer zdk_live_…"

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

The authoritative state of a move. status is queued, importing, imported, going_live, live, failed or cancelled. At imported the site is built on our hosting and preview_url serves it without any DNS change (compare it against the original before you switch); origin names what the domain's web record must point at. At live the domain is served from our hosting over HTTPS — only then delete the original. error_code and error explain a failed move; a go-live attempt that could not yet see the switch leaves the move imported with error_code: dns_not_pointed. Requires partner.domains.

Parameters

NameTypeRequiredWhat it is
externalId (path)stringYesYOUR id for that customer — whatever your own system calls them. It is what makes linking idempotent, and it is scoped to your partner programme: another partner's id is a 404…
moveId (path)stringYesThe move's id, as createPartnerSiteMove returned it.

Response

NameTypeRequiredWhat it is
idstringYes—
statusstring<queued, importing, imported, going_live, live, failed, cancelled>Yesimported — built and answering on preview_url; switch DNS, then call goLivePartnerSiteMove. live — the domain is served by us over HTTPS; only now delete the original.
domainstringYes—
appstringYes—
subscription_idstringYes—
v2_site_idobjectYesOur site id, once the site exists.
source_refstringYes—
replaced_sitebooleanYesWhether the move imported into an existing empty site.
preview_urlstringYesAn https address that serves the imported site with no DNS change, or "" until imported.
originobjectYesWhat the domain's web record must point at. Publish an A to each a address; aaaa is empty while the box has no IPv6 — publish no AAAA then.
tlsobjectYes—
checksobjectYesWhat we measured on the preview after the import.
error_codestringYes—
errorstringYes—
created_atstringYes—
updated_atstringYes—
live_atobjectYes—
stepstring<queued, creating_site, waiting_for_space, downloading, importing_files, importing_database, checking, ready_to_switch, waiting_for_dns, switching, securing, live, failed, cancelled>NoWhere the move is, finer than status — show it with progress and elapsed_seconds so a long import never looks crashed. There is no size limit and no clock on a move's size…
progressobjectNoMeasured on the hosting box while it applies the archive. null means not known yet — never zero.
started_atstringNo—
step_started_atobjectNo—
elapsed_secondsintegerNo—
retryablebooleanNo—
dns_casestring<partner_switch, customer_switch, unknown>No—
dns_holderstringNo—
switchobjectNoEXACTLY what to publish for the domain to be served by us.
rollback_advisedbooleanNoYour switch did not take within the attempt: restore the records you saved in dns.current. The original never stopped serving.
waiting_sinceobjectNo—
reminders_sentintegerNo—
extra_disk_mbintegerNoFree disk space (MB) this move gave the site on top of its plan so the move could land whatever its size (D28455). 0 when the plan's own space was enough. Always present.
extra_disk_expires_atobjectNoWhen extra_disk_mb ends: 7 days after live_at (D28457). null while the move is still running (the extra is open-ended until it goes live) or when there is no extra.…

Errors this endpoint can return

401 · 403 · 404 · 429