Skip to content

Transfers

12 operations in the WP Waterfall API.

Start moving a DNS zone to another company

post/domain-transfersPermalink to Start moving a DNS zone to another company

  • Dashboard session only, no API key

A signed-in session only. No API key may call it. Owner only. Both Owners confirm before the zone moves.

Parameters

NameInTypeDescription
Idempotency-Key requiredheaderstringSend a fresh unique value on every POST: a POST without it answers 422. The answer is stored for 24 hours, so a retry with the same key and body returns the first answer, and the same key with a different body returns 422.

Request body application/json, required, DomainTransferRequest

Fields

NameTypeDescription
kind requiredstring
object_id requiredstring
to_owner_email requiredstring (email)

Responses

StatusBodyDescription
201objectThe transfer
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemOnly the Owner may transfer a zone
404ProblemNo such zone
409ProblemThe zone cannot be transferred in its current state
422ProblemOnly a DNS zone can be transferred
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.

201 response fields

NameTypeDescription
id requiredstring (uuid)
kind requiredstringOne of: zone.
object_id requiredstring
from_company_id requiredstring
to_company_id requiredone of string, null
to_owner_email requiredstring
status requiredstring
sender_confirmed_at requiredstring (date-time)
receiver_confirmed_at requiredone of string (date-time), null
completed_at requiredone of string (date-time), null
created_at requiredstring (date-time)

One DNS zone transfer

get/domain-transfers/{id}Permalink to One DNS zone transfer

  • Dashboard session only, no API key

A signed-in session only. No API key may call it. Owner only. A transfer the caller cannot see answers 404.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the DNS zone transfer.

Responses

StatusBodyDescription
200objectThe transfer
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemOnly the Owner may read a transfer
404ProblemNo such transfer
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.

200 response fields

NameTypeDescription
id requiredstring (uuid)
kind requiredstringOne of: zone.
object_id requiredstring
from_company_id requiredstring
to_company_id requiredone of string, null
to_owner_email requiredstring
status requiredstring
sender_confirmed_at requiredstring (date-time)
receiver_confirmed_at requiredone of string (date-time), null
completed_at requiredone of string (date-time), null
created_at requiredstring (date-time)

Accept a DNS zone transfer

post/domain-transfers/{id}/acceptPermalink to Accept a DNS zone transfer

  • Dashboard session only, no API key

A signed-in session only. No API key may call it. Owner of the receiving company only.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the DNS zone transfer.
Idempotency-Key requiredheaderstringSend a fresh unique value on every POST: a POST without it answers 422. The answer is stored for 24 hours, so a retry with the same key and body returns the first answer, and the same key with a different body returns 422.

Responses

StatusBodyDescription
200objectThe accepted transfer
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemOnly the receiving Owner may accept
404ProblemNo such transfer
409ProblemThe transfer is already done or cancelled
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.

200 response fields

NameTypeDescription
id requiredstring (uuid)
kind requiredstringOne of: zone.
object_id requiredstring
from_company_id requiredstring
to_company_id requiredone of string, null
to_owner_email requiredstring
status requiredstring
sender_confirmed_at requiredstring (date-time)
receiver_confirmed_at requiredone of string (date-time), null
completed_at requiredone of string (date-time), null
created_at requiredstring (date-time)

Site transfers waiting for you

get/site-transfersPermalink to Site transfers waiting for you

  • Dashboard session only, no API key

A signed-in session only. No API key may call it. Owner only. The transfers addressed to your email that wait for you to accept or that are moving a site into your company, and the ones that finished in the last 7 days, with the site and the sending company named.

Parameters

NameInTypeDescription
limitqueryintegerHow many rows to return in one page: at most 200, and 200 when left out. Default: 200. Range: 1 to 200.
cursorquerystringThe next_cursor of the page before. Leave it out for the first page.

Responses

StatusBodyDescription
200objectThe transfers that wait
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemOnly the Owner may read them
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.

200 response fields

NameTypeDescription
data requiredarray of object
data[].id requiredstring (uuid)
data[].site_id requiredstring (uuid)
data[].from_company_id requiredstring
data[].to_company_id requiredone of string, null
data[].to_owner_email requiredstring
data[].status requiredstringOne of: awaiting_receiver, moving, completed, cancelled, declined, failed.
data[].step requiredstringOne of: waiting, preparing, copying, labeling, moving, finishing, done.
data[].sender_confirmed_at requiredstring (date-time)
data[].receiver_confirmed_at requiredone of string (date-time), null
data[].completed_at requiredone of string (date-time), null
data[].expires_at requiredstring (date-time)
data[].job_id requiredone of string (uuid), null
data[].created_at requiredstring (date-time)
data[].addons_ended requiredarray of object
data[].error requiredone of object, null
data[].site_name requiredone of string, null
data[].from_company_name requiredone of string, null
data[].dedicated_server requiredone of object, null
next_cursor requiredone of string, null

Your other accounts that can take a site

get/site-transfers/destinationsPermalink to Your other accounts that can take a site

  • Dashboard session only, no API key

A signed-in session only. No API key may call it. Owner only. The open companies, other than the one you are in, that you are an Owner of by membership, each with the site licenses its plans have free (free_site_licenses, null for no limit) and whether an unpaid invoice holds it (on_hold). A site moves to one of them with to_company_id on the start, with no second acceptance. A company that is closed or being deleted is left out.

Responses

StatusBodyDescription
200SiteTransferDestinationListYour other accounts
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemOnly the Owner may read them
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.

200 response fields

NameTypeDescription
data requiredarray of object
data[].company_id requiredstring
data[].name requiredstring
data[].account_type requiredstringOne of: individual, agency, enterprise.
data[].free_site_licenses requiredinteger or nullSite licenses free in this account's plans. Null means no limit (an Enterprise account). Range: 0 to any.
data[].on_hold requiredbooleanTrue while an unpaid invoice stops this account from taking a site.

One site transfer

get/site-transfers/{id}Permalink to One site transfer

  • Dashboard session only, no API key

A signed-in session only. No API key may call it. Owner only. A transfer the caller cannot see answers 404.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site transfer.

Responses

StatusBodyDescription
200objectThe transfer, with the dedicated server that goes with the site
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemOnly the Owner may read a transfer
404ProblemNo such transfer
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.

200 response fields

NameTypeDescription
id requiredstring (uuid)
site_id requiredstring (uuid)
from_company_id requiredstring
to_company_id requiredone of string, null
to_owner_email requiredstring
status requiredstringOne of: awaiting_receiver, moving, completed, cancelled, declined, failed.
step requiredstringOne of: waiting, preparing, copying, labeling, moving, finishing, done.
sender_confirmed_at requiredstring (date-time)
receiver_confirmed_at requiredone of string (date-time), null
completed_at requiredone of string (date-time), null
expires_at requiredstring (date-time)
job_id requiredone of string (uuid), null
created_at requiredstring (date-time)
addons_ended requiredarray of object
addons_ended[].addon_key requiredstring
addons_ended[].name requiredstring
error requiredone of object, null
dedicated_server requiredone of object, null

Cancel an open site transfer

delete/site-transfers/{id}Permalink to Cancel an open site transfer

  • Dashboard session only, no API key

A signed-in session only. No API key may call it. Owner only. Works while the transfer waits for the receiving Owner. Once that Owner accepted, the site is moving and the answer is 409 (site_transfer_moving).

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site transfer.

Responses

StatusBodyDescription
200objectThe cancelled transfer
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemOnly the Owner may cancel a transfer
404ProblemNo such transfer
409ProblemThe transfer is moving, or already done, declined, or cancelled
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.

200 response fields

NameTypeDescription
id requiredstring (uuid)
site_id requiredstring (uuid)
from_company_id requiredstring
to_company_id requiredone of string, null
to_owner_email requiredstring
status requiredstringOne of: awaiting_receiver, moving, completed, cancelled, declined, failed.
step requiredstringOne of: waiting, preparing, copying, labeling, moving, finishing, done.
sender_confirmed_at requiredstring (date-time)
receiver_confirmed_at requiredone of string (date-time), null
completed_at requiredone of string (date-time), null
expires_at requiredstring (date-time)
job_id requiredone of string (uuid), null
created_at requiredstring (date-time)
addons_ended requiredarray of object
addons_ended[].addon_key requiredstring
addons_ended[].name requiredstring
error requiredone of object, null

Accept a site transfer

post/site-transfers/{id}/acceptPermalink to Accept a site transfer

  • Dashboard session only, no API key

A signed-in session only. No API key may call it. Owner of the receiving company only, with a recent sign-in. It claims the transfer once and queues the transfer_site job; the answer is the transfer with status moving, and the site is the receiving company's when the job ends. A company that is not Enterprise and has no free site license gets 402 with the code no_free_credit and the transfer keeps waiting. An Enterprise company has unlimited sites and buys one Single tier for each (ADR 273): with no free site license, accepting buys the site's own 1 site license on the saved card at the level price, for the Single tier in the optional body tier (left out, Single 20GB), as POST /v1/sites does. It then needs a card and billing details, and answers the same 409 codes (no_payment_method, billing_details_required) with nothing charged and the transfer still waiting. A license staff applied with a free slot is used first and buys nothing. Any other company that sends tier gets 422.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site transfer.
Idempotency-Key requiredheaderstringSend a fresh unique value on every POST: a POST without it answers 422. The answer is stored for 24 hours, so a retry with the same key and body returns the first answer, and the same key with a different body returns 422.

Request body application/json, AcceptSiteTransferRequest

Fields

NameTypeDescription
tierstringOne of: base, tier_40, tier_65, tier_125, tier_250.
confirm_dedicated_serverbooleanA site on a month to month dedicated server takes the server with it: send true to take it over at its monthly price. The first invoice is when the month the sender paid for ends. Nothing is charged now.

Responses

StatusBodyDescription
200objectThe accepted transfer
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
402ProblemThe receiving company is not Enterprise and has no free site license (no_free_credit), or an invoice is open (billing_hold)
403ProblemOnly the receiving Owner may accept
404ProblemNo such transfer
409ProblemThe transfer is not waiting any more, the site cannot move now, the sender is no longer an Owner, the site left the sending company, or an Enterprise company has no saved card (no_payment_method) or billing details (billing_details_required) for the license
410ProblemThe transfer expired (site_transfer_expired)
422Problemtier was sent for a company that is not Enterprise, or is not a tier
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.

200 response fields

NameTypeDescription
id requiredstring (uuid)
site_id requiredstring (uuid)
from_company_id requiredstring
to_company_id requiredone of string, null
to_owner_email requiredstring
status requiredstringOne of: awaiting_receiver, moving, completed, cancelled, declined, failed.
step requiredstringOne of: waiting, preparing, copying, labeling, moving, finishing, done.
sender_confirmed_at requiredstring (date-time)
receiver_confirmed_at requiredone of string (date-time), null
completed_at requiredone of string (date-time), null
expires_at requiredstring (date-time)
job_id requiredone of string (uuid), null
created_at requiredstring (date-time)
addons_ended requiredarray of object
addons_ended[].addon_key requiredstring
addons_ended[].name requiredstring
error requiredone of object, null

Decline a site transfer

post/site-transfers/{id}/declinePermalink to Decline a site transfer

  • Dashboard session only, no API key

A signed-in session only. No API key may call it. Owner of the receiving company only. The transfer ends, nothing moves, and the sender is told.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site transfer.
Idempotency-Key requiredheaderstringSend a fresh unique value on every POST: a POST without it answers 422. The answer is stored for 24 hours, so a retry with the same key and body returns the first answer, and the same key with a different body returns 422.

Responses

StatusBodyDescription
200objectThe declined transfer
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemOnly the receiving Owner may decline
404ProblemNo such transfer
409ProblemThe transfer is not waiting any more
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.

200 response fields

NameTypeDescription
id requiredstring (uuid)
site_id requiredstring (uuid)
from_company_id requiredstring
to_company_id requiredone of string, null
to_owner_email requiredstring
status requiredstringOne of: awaiting_receiver, moving, completed, cancelled, declined, failed.
step requiredstringOne of: waiting, preparing, copying, labeling, moving, finishing, done.
sender_confirmed_at requiredstring (date-time)
receiver_confirmed_at requiredone of string (date-time), null
completed_at requiredone of string (date-time), null
expires_at requiredstring (date-time)
job_id requiredone of string (uuid), null
created_at requiredstring (date-time)
addons_ended requiredarray of object
addons_ended[].addon_key requiredstring
addons_ended[].name requiredstring
error requiredone of object, null

Run a stopped site transfer again

post/site-transfers/{id}/retryPermalink to Run a stopped site transfer again

  • Dashboard session only, no API key

A signed-in session only. No API key may call it. Owner of the receiving company only. For a transfer that is moving after the site changed company: it queues the next run of the job, which finishes what the last run left. Not within a minute of the last run.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site transfer.
Idempotency-Key requiredheaderstringSend a fresh unique value on every POST: a POST without it answers 422. The answer is stored for 24 hours, so a retry with the same key and body returns the first answer, and the same key with a different body returns 422.

Responses

StatusBodyDescription
200objectThe transfer, with the new run
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemOnly the receiving Owner may run it again
404ProblemNo such transfer
409ProblemThe transfer is not moving, or a run started a moment ago
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.

200 response fields

NameTypeDescription
id requiredstring (uuid)
site_id requiredstring (uuid)
from_company_id requiredstring
to_company_id requiredone of string, null
to_owner_email requiredstring
status requiredstringOne of: awaiting_receiver, moving, completed, cancelled, declined, failed.
step requiredstringOne of: waiting, preparing, copying, labeling, moving, finishing, done.
sender_confirmed_at requiredstring (date-time)
receiver_confirmed_at requiredone of string (date-time), null
completed_at requiredone of string (date-time), null
expires_at requiredstring (date-time)
job_id requiredone of string (uuid), null
created_at requiredstring (date-time)
addons_ended requiredarray of object
addons_ended[].addon_key requiredstring
addons_ended[].name requiredstring
error requiredone of object, null

The open transfer of a site

get/sites/{id}/transferPermalink to The open transfer of a site

  • Dashboard session only, no API key

A signed-in session only. No API key may call it. Owner only. pending is the transfer that waits for the receiving Owner or is moving the site, or null when none is open. available is false while the server cannot move a site to another company yet; starting a transfer then answers 503. blocked is the first reason the site cannot transfer now (a test site, a job running, a pause, a dedicated server, Standby Failover, an additional preview environment, a migration, a server move, or a takedown), or null. domains lists the custom domains that move with the site. A domain with dns_stays true has its DNS records in the sending company's hosted zone: the zone stays there, the records keep routing the domain, and the receiving company sees it as a domain with DNS outside its account. It is no reason to block a transfer.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.

Responses

StatusBodyDescription
200objectThe open transfer, if any, whether the server can move a site yet, what blocks it, and the custom domains that move with the site
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
403ProblemOnly the Owner may read it
404ProblemNo such site
422ProblemThe request was read but a value is not valid, or a required confirmation or Idempotency-Key is missing. The errors list names each field.
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.

200 response fields

NameTypeDescription
pending requiredone of object, null
availableboolean
blockedone of object, null
domainsarray of object
domains[].hostname requiredstring
domains[].dns_stays requiredboolean
dedicated_serverone of object, null

Start moving a site to another company

post/sites/{id}/transferPermalink to Start moving a site to another company

  • Dashboard session only, no API key

A signed-in session only. No API key may call it. Owner only, with a recent sign-in. With to_owner_email the sender confirms by starting it, and the Owner of the receiving company confirms by accepting. The site moves only when both have. With to_company_id the receiver is another account the same person owns: the server checks from the signed-in user and the database that they are an Owner of both companies, the receiving company is a different open company, and it has a free site license, and then it starts the move at once (status moving) with no second step. An Enterprise account has unlimited sites and buys one Single tier for each (ADR 273): when the receiving account is an Enterprise account with no free site license, the move buys the site's own 1 site license on that account's saved card at tier (left out, Single 20GB) at its level price, so it needs a card and billing details there. A license staff applied with a free slot is used first and buys nothing. tier goes with to_company_id only. An account the person does not own answers 404, the same as one that does not exist. Send exactly one of the two.

Parameters

NameInTypeDescription
id requiredpathstring (uuid)The id of the site.
Idempotency-Key requiredheaderstringSend a fresh unique value on every POST: a POST without it answers 422. The answer is stored for 24 hours, so a retry with the same key and body returns the first answer, and the same key with a different body returns 422.

Request body application/json, required, SiteTransferRequest

Fields

NameTypeDescription
to_owner_emailstring (email)
to_company_idstring
tierstringOne of: base, tier_40, tier_65, tier_125, tier_250.
confirm_dedicated_serverbooleanA site on a month to month dedicated server takes the server with it. Send true to say you know: the sender's subscription ends with the month it paid, with no refund, and the receiving company takes the server over at its price. A site on shared hosting ignores it.

Responses

StatusBodyDescription
201objectThe transfer
400ProblemThe request could not be read: bad JSON, a bad header, or a malformed value.
401ProblemThe credentials are missing, expired, or revoked. The WWW-Authenticate header names the Bearer scheme.
402ProblemThe receiving account is not Enterprise and has no free site license (no_free_credit), or an invoice is open (billing_hold). Only with to_company_id
403ProblemOnly the Owner may transfer a site
404ProblemNo such site, or (with to_company_id) no such account of yours
409ProblemThe site cannot be transferred in its current state (code site_transfer_blocked), it already has an open transfer (site_transfer_open), or an Enterprise receiver has no saved card (no_payment_method) or billing details (billing_details_required) for the license
422ProblemBoth or neither of to_owner_email and to_company_id were sent, to_company_id is the account the site is in, or tier was sent without to_company_id or for an account that is not Enterprise
429ProblemA rate limit was reached. Wait Retry-After seconds. Limits are per caller, per company, and per address.

201 response fields

NameTypeDescription
id requiredstring (uuid)
site_id requiredstring (uuid)
from_company_id requiredstring
to_company_id requiredone of string, null
to_owner_email requiredstring
status requiredstringOne of: awaiting_receiver, moving, completed, cancelled, declined, failed.
step requiredstringOne of: waiting, preparing, copying, labeling, moving, finishing, done.
sender_confirmed_at requiredstring (date-time)
receiver_confirmed_at requiredone of string (date-time), null
completed_at requiredone of string (date-time), null
expires_at requiredstring (date-time)
job_id requiredone of string (uuid), null
created_at requiredstring (date-time)
addons_ended requiredarray of object
addons_ended[].addon_key requiredstring
addons_ended[].name requiredstring
error requiredone of object, null