Change requests
Get change request
Read one change request: where it stands and what it changes.
https://api.scaledmail.com/v2/change-requests/:id- Rate limit
- Read: 300 calls per minute per token
Path parameters
idstringrequiredThe change request id (
chg_).. . .
Headers
AuthorizationstringrequiredBearer <your API token>. Tokens start withsm_.live_ WorkspacestringrequiredThe workspace id to act on (from
GET /workspacesor Settings › API tokens). Required on every call except the/workspacescalls; without it:400workspace_.required
Response (200)
idstringrequiredThe change request id:
chg_and 32 hex characters.changesenum[]requiredWhat the request changes, one or more of:
replace_= another domain takes this one's place on its order;domain redirect= set, change or remove where visitors are sent;masking= change the site a masked domain shows;sender_= new sender names (and if you like new addresses) on its mailboxes.name statusenumrequiredpending= saved, not started yet.in_= being carried out.progress completed= done.cancelled= cancelled by you or by our team.failed= could not be done; seefailure_.reason One of:
pendingin_progresscompletedcancelledfaileddomainstringrequiredThe domain the request is for (its name when the request was made).
replace_domainobjectoptionalOnly when
changeshasreplace_.domain ShowHide child fields
new_domainstringrequiredThe domain that takes over.
sourceenumrequiredpurchased= bought from us,own= registered by you elsewhere.One of:
purchasedown
redirectobjectoptionalOnly when
changeshasredirect.ShowHide child fields
urlstringoptionalThe new address, saved without
https://, without a trailing/and in lower case. Left out = the redirect is removed.
maskingobjectoptionalOnly when
changeshasmasking.ShowHide child fields
masking_targetstringrequiredThe domain whose site the masked domain will show.
sender_nameobjectoptionalOnly when
changeshassender_.name ShowHide child fields
mailboxesobject[]requiredEach mailbox that changes, by address.
ShowHide child fields
emailstringrequiredIts address when the request was made.
first_namestringrequiredNew first name.
last_namestringrequiredNew last name.
new_emailstringoptionalNew address. Only when the address changes.
failure_reasonstringoptionalOnly when
failedand our team gave a reason, in words.created_atstringrequiredWhen the request was made, as a date:
YYYY-MM-DD(UTC).completed_atstringoptionalWhen it was completed, cancelled or failed (
YYYY-MM-DD). Only once it is finished.
Responses
- 200OK. The change request. Here a redirect change that is done.
- 403Not allowed. The token can't use the workspace in
Workspace(workspace_).not_ allowed - 404Not found. No such change request in this workspace. A request of another workspace looks the same.
- 429Rate limited. More than 300 read calls in a minute with this token. Wait for the
Retry-Afterseconds.
Like every call, it can also answer 401 (bad key), 400 workspace_, 403 workspace_. See Errors.
