# Get Auth Code For Domain Retrieves the transfer authorization code (EPP code) for a domain. Endpoint: GET /core/v1/domains/{domainName}:getAuthCode Version: 1.3.1 Security: BasicAuth ## Path parameters: - `domainName` (string, required) DomainName is the domain name to retrieve the authorization code for. ## Response 200 fields (application/json): - `authCode` (string, required) AuthCode is the authorization code needed to transfer a domain to another registrar. If you are storing auth codes, be sure to store them in a secure manner. ## Response 403 fields (application/json): - `message` (string, required) A human-readable message providing more details about the error Example: "Permission denied" - `details` (string,null) Additional context or information about the error Example: "Failed authentication" ## Response 404 fields (application/json): - `message` (string, required) A human-readable message providing more details about the error Example: "Not Found" - `details` (string,null) Additional context or information about the error Example: "The requested domain does not exist." ## Response 406 fields (application/json): - `message` (string, required) A human-readable message providing more details about the error. Example: "Internal Server Error" - `details` (string,null) Additional context or information about the error. Example: "Something went wrong." ## Response 429 fields (application/json): - `message` (string) A human-readable message providing more details about the error Example: "Rate Limit Exceeded" ## Response 500 fields (application/json): - `message` (string, required) A human-readable message providing more details about the error. Example: "Internal Server Error" - `details` (string,null) Additional context or information about the error. Example: "Something went wrong."