hosting

GET /v1/sites/{siteId}/line-move

Whether this site can move to another hosting type now, and what it costs.

All hosting endpoints

All developer docs →

Zinn®, our Viking, hammering at his anvil beside an API endpoint sending events to several listeners.

Authentication

Send an API key as a bearer token. The key must carry the sites.view 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/sites/{siteId}/line-move \
  -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

P1-080. A site moves to another product line (today Footprint-Free to Mainstream) on a slot of that line: a free slot on a live subscription of the target line costs nothing; with none, price_due is true and plan names the cheapest monthly plan of the line, bought through the normal checkout. Nothing is charged here. blocked_reason says why a move cannot start now (not_offered, not_on_fleet, move_in_progress, needs_plan, no_capacity, region_unavailable); null means it can. regions lists the cities with a server of the target line that has room; region is the city the move lands in (the one asked for, else the site's own when it has room, else empty: the customer chooses, because a city is data residency). move is the move in flight and move_back_until the end of the seven-day window to take it back. The registrar delegation follows the new line at cutover; mailboxes are not touched. No server is named. Requires sites.view.

Parameters

NameTypeRequiredWhat it is
siteId (path)UuidYesSite ID (UUIDv7).
product_line (query)stringNoThe target line (defaults to the first one offered).
region (query)stringNoThe city to quote for (one of regions); blank = the site's own city.

Response

NameTypeRequiredWhat it is
current_linestringYes—
targetsstring[]Yes—
target_linestringYes—
free_slotbooleanYesA live subscription of the target line has a free site slot.
price_duebooleanYesNo free slot; a plan of the line must be bought first.
planobjectYesThe cheapest monthly plan of the target line, when price_due.
blocked_reasonobjectYes—
regionsstring[]YesCities with a server of the target line that has room (empty when blocked before capacity is read).
regionstringYesThe city the move lands in; empty means the customer must choose one of regions.
moveSiteLineMoveYes—
move_back_untilstringYes—
offerobjectYesP1-135: we suggested moving this Footprint-Free site to Mainstream because it passed threshold human page views over 30 days. null when never offered or dismissed.

Errors this endpoint can return

401 · 403 · 404 · 429