Home ci 33. rest-api / endpoints: domains

33. rest-api / endpoints: domains

Last updated on Aug 05, 2025

To transfer a domain from one registrar to another via Epycbyte's API, follow these organized steps:

  1. Check Transferability:

    • Use the /v5/domains endpoint to retrieve a list of domains.
    • Verify that the specific domain has transferable: true. If not, transfer may not be possible without further actions.
  2. Understand Transfer Policies:

    • Review Epycbyte's transfer policies (e.g., charge-and-renew, no-charge-no-change) to determine the applicable policy for your domain transfer.
  3. Initiate Transfer via API:

    • Use the /v3/domains/{domain} endpoint with a PATCH request.
    • Include parameters in the body:
      • op: "update"
      • renew: Set to true if you want the domain to renew upon transfer, affecting cost and process.
      • customNameservers: Optional, set if changing DNS servers is necessary.
  4. Ensure Proper Permissions:

    • Include teamId and slug parameters in the request to ensure you have permission to act on behalf of the correct team.
  5. Check for Domain Availability:

    • Verify that the domain isn't in a status that prevents transfer (e.g., expired, disputed) to avoid errors like 400 or 409.
  6. Monitor Transfer Status:

    • After initiating the transfer, monitor its status using the /v5/domains endpoint with appropriate filters or check for updates via API notifications.
  7. Consider Rate Limits:

    • Be aware of any rate limits imposed by Epycbyte's API to avoid exceeding request limits.