Get Epp/Authorization Code

Retrieving the EPP/Authorization Code: Fetches the unique authorization key (EPP code) necessary to push a domain strictly to another top-tier registrar. This code is generated by the registry and verified before any outgoing transfer can be initiated. Important Technical Note: It is standard configuration that most registrars will actively reject the EPP retrieval request with a registry error (HTTP 500) if the Domain's Registrar Lock is actively engaged (See rule #8).

Endpoint: GET /{id}/epp-code

Parameters:

  • id (required, URL parameter): The local ID of the domain

Example Request:

curl -X GET "https://umva.net/api/domain/123/epp-code" 
  -H "X-API-Key: your_api_key_here"

Success Response Example (HTTP 200):

{
  "success": true,
  "message": "EPP/Authorization code retrieved successfully.",
  "data": {
    "domain": "example.com",
    "epp_code": "Auth123!@#"
  }
}

Error Response Example (HTTP 500):

{
  "success": false,
  "message": "Registry requires domain to be unlocked before retrieving EPP code."
}