Learn how to use Weebly’s webhooks here.

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

The following table shows the fields that are returned as the data object of the webhook response.

Field Type Definition
user_id string User associated with the site being updated.​
site_id string Site being updated.​
site_title string Title for the site​

site.publish

Occurs when the site is published.

scope: read:site

The following table shows the fields that are returned as the data object of the webhook response.

Field Type Definition
user_id string User associated with the site being published.​
site_id string Site being published.​
domain string The fully qualified domain name of the site, if published. ​

site.copy

Occurs once a site has been copied to create a new site.

scope: read:site

The following table shows the fields that are returned as the data object of the webhook response.

Field Type Definition
user_id string User associated with the site being updated.​
site_id string Site being copied.​
new_site_id string Site created by the copy event. ​

site.delete

Occurs when the site is deleted.

scope: read:site

The following table shows the fields that are returned as the data object of the webhook response.

Field Type Definition
user_id string User associated with the site being deleted.​
site_id string Site being deleted.​

site.unpublish

scope: read:site

Occurs when the site is unpublished.

The following table shows the fields that are returned as the data object of the webhook response.

Field Type Definition
user_id string User associated with the site being unpublished.​
site_id string Site being unpublished.​

Help make these docs better!









Tags:
elements