Retry domain transfer

POST /api/v2/domains/{id}/actions/retry-transfer

Retry an in-progress domain transfer.

If the previous failure was an invalid EPP/auth code, send eppCode here to save the new code and retry the transfer in the same request.

Send recoveryValues for transfer-specific details, or send profileUpdated: true after updating account-targeted fields in account settings.

recoveryValues keys are canonical camelCase field keys and their values are strings.

A 422 recovery response is cumulative: errors identifies only the fields still blocking this attempt, while recovery.fields and recovery.suggestedBody preserve the complete form and previously accepted non-secret values.

You can also call POST /api/v2/domains/{id}/actions/update-epp first, then retry with an empty body.

Registrar-push transfers such as .uk do not use an EPP code: their response status distinguishes a request that is ready for the current provider's registrar-tag change from one that must be submitted again.

The response returns the refreshed transfer status, recovery gates, and registry history so a client does not need to infer state from raw provider text.

Domains & DNS Domains

Authentication

Required API scope: write:domains

Authenticate with an API key in the Authorization: Bearer <token> header.

Context

Path Parameters

id string required Example: dom_01hxa3b4c5d6e7f8g9h0j1k2m3

Public domain ID from GET /api/v2/domains data[].id. Do not invent this value; use the exact ID returned by the referenced API response.

Headers

Authorization Bearer <token>
Accept application/json
Content-Type application/json

Body

optional
application/json
eppCode string · nullable · Example: YOUR_NEW_EPP_CODE

Optional fresh EPP/auth code. When present, the server stores it before retrying the transfer.

profileUpdated boolean

True after the caller has updated profile-targeted fields in account settings and wants the retry to use freshly fetched account details.

recoveryValues object

Transfer- or extension-specific correction values keyed by a previous 422 recovery field key. Do not send account-targeted fields here; update account settings and use profileUpdated instead.

Responses

200 Transfer retry result.
domainId string · Example: dom_01hxa3b4c5d6e7f8g9h0j1k2m3
transferStatus string · enum · Example: pending_transfer_in_progress
pending_transfer_in_progress
transfer_failed_at_registry
transfer_not_at_registry
pending_transfer_generic
awaiting_payment
registry_locked_and_epp_invalid
registry_locked
too_new_for_transfer
transfer_error_known
pending_epp_fallback
active
expired
unknown
reason string · nullable · Example: Transfer is being processed at the registry.

preRetryCleanup object
preRetryCleanup.failedRegistryRecordDeleted boolean required · Example: false
domainStatusSynced boolean · Example: false
actions object
actions.canUpdateEpp object required
actions.canUpdateEpp.allowed boolean required · Example: true
actions.canUpdateEpp.reason string · nullable required · Example: null

Nullable: may be null when not applicable.

actions.canUpdateEpp.code string · nullable · Example: pending_order

Machine-readable reason code when an action is blocked.

actions.canRetryTransfer object required
actions.canRetryTransfer.allowed boolean required · Example: true
actions.canRetryTransfer.reason string · nullable required · Example: null

Nullable: may be null when not applicable.

actions.canRetryTransfer.code string · nullable · Example: pending_order

Machine-readable reason code when an action is blocked.

actions.canRequestFreshEpp object required
actions.canRequestFreshEpp.allowed boolean required · Example: true
actions.canRequestFreshEpp.reason string · nullable required · Example: null

Nullable: may be null when not applicable.

actions.canRequestFreshEpp.code string · nullable · Example: pending_order

Machine-readable reason code when an action is blocked.

registryHistory array<object>
registryHistory[].timestamp string · nullable required · Example: 2026-04-27T12:00:00.000Z

Nullable: may be null when not applicable.

registryHistory[].subject string · nullable required · Example: Transfer started

Nullable: may be null when not applicable.

registryHistory[].contents string · nullable required · Example: The transfer request was accepted by the registry.

Nullable: may be null when not applicable.

operation object

Present when a background status-sync job was queued so clients can refresh only after local domain status is up to date.

operation.status string · enum required · Example: in_progress
in_progress
operation.jobId string required · Example: dbj_01hxa3b4c5d6e7f8g9h0j1k2m3

Public job ID. Domain retry status jobs use the dbj_... prefix.

operation.pollUrl string required · Example: /api/jobs/dbj_01hxa3b4c5d6e7f8g9h0j1k2m3
400 The request body is malformed or contains unsupported fields.
type string · Example: https://developer.hostup.se/errors/invalid_request
title string · Example: Validation failed
status integer · Example: 400
detail string · Example: The request body failed validation.
code string · Example: invalid_request

Stable machine-readable code. Branch on this field, not on detail.

instance string · Example: /api/v2/orders
requestId string · Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3
timestamp string · Example: 2026-04-27T12:34:56.000Z
errors array<object>

Field-level validation errors when code is invalid_request.

errors[].pointer string required · Example: /items/0/eppCode
errors[].detail string required · Example: `eppCode` is required for this transfer.
errors[].code string required · Example: missing_required
extensions object
401 Unauthorized. Authentication is required.
type string · Example: https://developer.hostup.se/errors/invalid_request
title string · Example: Validation failed
status integer · Example: 400
detail string · Example: The request body failed validation.
code string · Example: invalid_request

Stable machine-readable code. Branch on this field, not on detail.

instance string · Example: /api/v2/orders
requestId string · Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3
timestamp string · Example: 2026-04-27T12:34:56.000Z
errors array<object>

Field-level validation errors when code is invalid_request.

errors[].pointer string required · Example: /items/0/eppCode
errors[].detail string required · Example: `eppCode` is required for this transfer.
errors[].code string required · Example: missing_required
extensions object
403 Forbidden. The caller lacks a required scope or does not own the resource.
type string · Example: https://developer.hostup.se/errors/invalid_request
title string · Example: Validation failed
status integer · Example: 400
detail string · Example: The request body failed validation.
code string · Example: invalid_request

Stable machine-readable code. Branch on this field, not on detail.

instance string · Example: /api/v2/orders
requestId string · Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3
timestamp string · Example: 2026-04-27T12:34:56.000Z
errors array<object>

Field-level validation errors when code is invalid_request.

errors[].pointer string required · Example: /items/0/eppCode
errors[].detail string required · Example: `eppCode` is required for this transfer.
errors[].code string required · Example: missing_required
extensions object
404 Not found. The resource does not exist or is not owned by the caller.
type string · Example: https://developer.hostup.se/errors/invalid_request
title string · Example: Validation failed
status integer · Example: 400
detail string · Example: The request body failed validation.
code string · Example: invalid_request

Stable machine-readable code. Branch on this field, not on detail.

instance string · Example: /api/v2/orders
requestId string · Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3
timestamp string · Example: 2026-04-27T12:34:56.000Z
errors array<object>

Field-level validation errors when code is invalid_request.

errors[].pointer string required · Example: /items/0/eppCode
errors[].detail string required · Example: `eppCode` is required for this transfer.
errors[].code string required · Example: missing_required
extensions object
422 Account or transfer details are required before retrying.
type string required
title string required
status integer · enum required
422
detail string required
instance string required
code string · enum required
transfer_recovery_required
requestId string required
timestamp string required
domain object required
domain.id string required
domain.name string required
errors array<object> required
errors[].pointer string required
errors[].detail string required
errors[].code string · enum required
missing_required
recovery object required
recovery.action string · enum required
update_account_details
provide_transfer_details
recovery.fields array<object> required
recovery.fields[].key string required
recovery.fields[].label string required
recovery.fields[].required boolean required
recovery.fields[].type string · enum required
text
select
checkbox
recovery.fields[].target string · enum required
account
transferDetails
none
recovery.fields[].description string | null required
recovery.fields[].options array<object>
recovery.fields[].options[].value string required
recovery.fields[].options[].label string required
recovery.suggestedBody object required
recovery.suggestedBody.eppCode string
recovery.suggestedBody.profileUpdated boolean · enum
true
recovery.suggestedBody.recoveryValues object required
429 Rate limited. Retry after the limit resets. 429 responses include Retry-After seconds plus X-RateLimit-* headers.
type string · Example: https://developer.hostup.se/errors/invalid_request
title string · Example: Validation failed
status integer · Example: 400
detail string · Example: The request body failed validation.
code string · Example: invalid_request

Stable machine-readable code. Branch on this field, not on detail.

instance string · Example: /api/v2/orders
requestId string · Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3
timestamp string · Example: 2026-04-27T12:34:56.000Z
errors array<object>

Field-level validation errors when code is invalid_request.

errors[].pointer string required · Example: /items/0/eppCode
errors[].detail string required · Example: `eppCode` is required for this transfer.
errors[].code string required · Example: missing_required
extensions object
500 Internal error. Retry later or contact support if the issue persists.
type string · Example: https://developer.hostup.se/errors/invalid_request
title string · Example: Validation failed
status integer · Example: 400
detail string · Example: The request body failed validation.
code string · Example: invalid_request

Stable machine-readable code. Branch on this field, not on detail.

instance string · Example: /api/v2/orders
requestId string · Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3
timestamp string · Example: 2026-04-27T12:34:56.000Z
errors array<object>

Field-level validation errors when code is invalid_request.

errors[].pointer string required · Example: /items/0/eppCode
errors[].detail string required · Example: `eppCode` is required for this transfer.
errors[].code string required · Example: missing_required
extensions object
502 The transfer provider could not use an account detail that the server had already mapped. The customer does not need to re-enter the same profile value. A subsequent lifecycle response records transferFailure.category as provider_identity_delivery_failed and transferFailure.recovery as null.
type string · Example: https://developer.hostup.se/errors/invalid_request
title string · Example: Validation failed
status integer · Example: 400
detail string · Example: The request body failed validation.
code string · Example: invalid_request

Stable machine-readable code. Branch on this field, not on detail.

instance string · Example: /api/v2/orders
requestId string · Example: req_01hxa3b4c5d6e7f8g9h0j1k2m3
timestamp string · Example: 2026-04-27T12:34:56.000Z
errors array<object>

Field-level validation errors when code is invalid_request.

errors[].pointer string required · Example: /items/0/eppCode
errors[].detail string required · Example: `eppCode` is required for this transfer.
errors[].code string required · Example: missing_required
extensions object
POST https://cloud.hostup.se/api/v2/domains/{id}/actions/retry-transfer
For AI assistants
View as Markdown
cURL
curl -X POST "https://cloud.hostup.se/api/v2/domains/dom_01hxa3b4c5d6e7f8g9h0j1k2m3/actions/retry-transfer" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "eppCode": "YOUR_NEW_EPP_CODE"
  }'
Response
{
  "domainId": "dom_01hxa3b4c5d6e7f8g9h0j1k2m3",
  "transferStatus": "pending_transfer_in_progress",
  "reason": "Transfer is being processed at the registry.",
  "preRetryCleanup": {
    "failedRegistryRecordDeleted": false
  },
  "domainStatusSynced": false,
  "actions": {
    "canUpdateEpp": {
      "allowed": true,
      "reason": null
    },
    "canRetryTransfer": {
      "allowed": false,
      "reason": "Transfer is already in progress at the registry."
    },
    "canRequestFreshEpp": {
      "allowed": true,
      "reason": null
    }
  },
  "registryHistory": [
    {
      "timestamp": "2026-04-27T12:00:00.000Z",
      "subject": "Transfer started",
      "contents": "The transfer request was accepted by the registry."
    }
  ]
}
Request Body Update EPP and retry
{
  "eppCode": "YOUR_NEW_EPP_CODE"
}