POST

Validate Authorization Code


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Validates an authorization code for transferring a domain to Wix.

Checks with the domain's current registrar whether the authorization code is valid for the specified domain. Call this method before starting a transfer to catch invalid or expired codes early.

Validation problems are returned in validationResult.violations, not as errors. If the code isn't valid, the list includes DOMAIN_TRANSFER_IN_AUTHORIZATION_CODE_NOT_VALID.

To check whether the domain itself can be transferred, call Validate Domain Transferability.

Endpoint
POST
https://www.wixapis.com/premium/domains/v1/transfer-in-domains/{domain}/validate-authorization-code

Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?