POST

Publish Site


Publishes a site.

Publishing a site makes any changes previously saved on the site available on the internet. After publishing, changes to your site appear in the site's history.

When you call this API, you must pass a header called wix-site-id whose value is the ID of the site you want to publish. Learn more about working with API keys and site IDs.

Important: This call requires an account level API key and cannot be authenticated with the standard authorization header.

Endpoint
POST
https://www.wixapis.com/site-publisher/v1/site/publish

Request
This endpoint does not take any parameters.
Response Object
Returns an empty object.
Publish Site
Request
cURL
Response
JSON
Errors
428Failed Precondition

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?