Retrieves a list of a site's published URLs. If a site hasn't been published, the call returns an empty array.
You can only call this method when authenticated as a Wix app or Wix user identity.
URL type filter.
Default: ALL
Whether to return only the site's primary URL.
Default: true
.
Whether to return language subdomains hosted by Wix Multilingual.
Default: true
.
List of published site URLs. This array will be empty if the site isn't published.
curl -X GET \
'https://www.wixapis.com/urls-server/v2/published-site-urls' \
-H 'Authorization: <AUTH>' \
-H 'Content-Type: application/json' \
{
urls: [
"urlType" : "Premium",
"primary" : true,
"url": "https://www.your-domain.com",
"multilingualInfo": {
"languageCode": "en",
"defaultLanguage": true
}
]
There are 3 errors with this status code.
This method may also return standard errors. Learn more about standard Wix errors.