GET

List Connected Domains


Retrieves a list of up to 100 connected domains.

You must pass the relevant Wix account ID in the header of the call.

The retrieved domains are sorted by createdDate in descending order.

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

Query Params
paging.limitintegerminimum 0maximum 100format int32

Number of domains to load.

Min: 0 Max: 100


paging.cursorstring

Pointer to the next or previous page in the list of results.

You can get the relevant cursor token from the pagingMetadata object in the previous call's response. Not relevant for the first request.

Response Object
pagingMetadataPagingMetadata

Metadata about the returned list of connected domains.


connectedDomainsArray <ConnectedDomain>

Retrieved connected domains.

Retrieve a list of connected domains.
Request
cURL
curl -X GET 'https://www.wixapis.com/domains/v1/connected-domains' \ -H 'wix-account-id: <ACCOUNT_ID>' \ -H 'Authorization: <AUTH>' \
Response
JSON
{ "pagingMetadata": { "count": 1, "cursors": { "next": null, "prev": null }, "hasNext": false }, "connectedDomains": [ { "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?