GET

Get Site Url


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves the base URL of the current site and whether the site is published.

Use the base URL to build page URLs for display: baseUrl followed by the page's path. To match an older link that was stored as a full URL, remove the base URL from it to get the path.

To list the pages of the site, call List Static Pages, List Dynamic Pages and List Dynamic Item Pages.

Permission Scopes
Read Site Context for Rich Content
Learn more about app permissions.
Endpoint
GET
https://www.wixapis.com/ricos/v1/site-context/site-url

Errors

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

Did this help?