Site Webhooks
In this topic:
Note: A site contributor publishing a single page will not invoke these site webhooks. The whole site must be published.
site.update
Occurs when the site is updated. A site can be updated without being published, for example when settings are updated.
Scope: read:site
Fields
Occurs when the site is updated. A site can be updated without being published, for example when settings are updated.
Scope: read:site
Fields
- user_id (string)
User associated with the site being updated. - site_id (string)
Site ID being updated. - site_title (string)
The new title for the site.
site.publish
Occurs when the site is published.
Scope: read:site
Fields
Occurs when the site is published.
Scope: read:site
Fields
- user_id (string)
User associated with the site being published. - site_id (string)
Site ID being published. - domain (string)
The fully qualified domain name of the site, if it is published (ex: "www.samplesite.com")
site.copy
Occurs once a site has been copied.
Scope: read:site
Fields
Occurs once a site has been copied.
Scope: read:site
Fields
- user_id (string)
User associated with the site being copied. - site_id (string)
Site id being copied. - new_site_id (string)
Site created by the copy event.
site.delete
Occurs when the site is deleted.
Scope: read:site
Fields
Occurs when the site is deleted.
Scope: read:site
Fields
- user_id (string)
User associated with the site being deleted. - site_id (string)
Site id being deleted.
site.unpublish
Occurs when the site is unpublished.
Scope: read:site
Fields
Scope: read:site
Fields
- user_id (string)
User associated with the site being unpublished. - site_id (string)
Site id being unpublished.