Retrieves a connected domain.
You must pass the relevant Wix account ID in the header of the call.
Important: This call requires an account level API key and cannot be authenticated with the standard authorization header.
ID of the connected domain. Identical to the domain name including TLD.
Retrieved connected domain.
curl -X GET 'https://www.wixapis.com/domains/v1/connected-domains/mysite.com' \
-H 'wix-account-id: <ACCOUNT_ID>' \
-H 'Authorization: <AUTH>' \
{
"connectedDomain": {
"id": "mysite.com",
"domain": "mysite.com",
"connectionType": "NAMESERVERS",
"siteInfo": {
"id": "<SITE_ID>",
"assignmentType": "PRIMARY"
},
"suppressNotifications": false,
"dnsPropagationStatus": "UNKNOWN_DNS_PROPAGATION_STATUS"
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.