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.
Number of domains to load.
Min: 0
Max: 100
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.
Metadata about the returned list of connected domains.
Retrieved connected domains.
curl -X GET 'https://www.wixapis.com/domains/v1/connected-domains' \
-H 'wix-account-id: <ACCOUNT_ID>' \
-H 'Authorization: <AUTH>' \
{
"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"
}
]
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.