GET

Get Connected Domain


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.

Endpoint
GET
https://www.wixapis.com/domains/v1/connected-domains/{connectedDomainId}

Path Params
connectedDomainIdstringRequired

ID of the connected domain. Identical to the domain name including TLD.

Response Object
connectedDomainConnectedDomain

Retrieved connected domain.

Retrieve a connected domain.
Request
cURL
curl -X GET 'https://www.wixapis.com/domains/v1/connected-domains/mysite.com' \ -H 'wix-account-id: <ACCOUNT_ID>' \ -H 'Authorization: <AUTH>' \
Response
JSON
{ "connectedDomain": { "id": "mysite.com", "domain": "mysite.com", "connectionType": "NAMESERVERS", "siteInfo": { "id": "<SITE_ID>", "assignmentType": "PRIMARY" }, "suppressNotifications": false, "dnsPropagationStatus": "UNKNOWN_DNS_PROPAGATION_STATUS" } }
Errors

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

Did this help?