The manifest of your App sets which APIs it can access and which webhooks it can register to via the concept of scope. Scopes tell Duda which APIs & Webhooks your App should have access too. When the user installs an application, the scopes are presented to the user to confirm they want to give you access to those scopes.
If you need more details about the exact data sent in a webhook, please refer to the webhooks reference directly.
In your manifest, you set which webhook names you want to access via the
webhooks.events array. When a user installs your App, Duda will automatically register those webhooks to be sent to your App, for that website.
If you change what webhooks you ask for, it will only take affect on future installs of the App. This is because Apps are only registered for webhooks at time of install, not after.
Duda currently must set scopes on your behalf. We will guess what's best for you during the initial setup, but, please let us know exactly which scopes you need. Below are all the scopes & the related webhooks you can set with them.
|APIs and webhooks which don't require a scope||Get Branding||BRANDING_CHANGED|
|GET_ACCOUNT_DETAILS||Get account info|
Get site backups
Create site backup
Get site backups
|SITE_WIDE_HTML||Get Site Wide Code|
Update Site-wide widgets
|GET_CONTENT_LIBRARY||Get Content Library Data|
Get Location Data
|UPDATE_CONTENT_LIBRARY||Update content library data|
Publish content library changes
Create additional location
|GET_INJECT_CONTENT||Get Inject Content Values|
|GET_COLLECTION||Get Site Collections|
Add new rows to the collection
Update Collection Rows
Delete Collection Rows
Add a new field to the collection
Delete collection field
Update Field Name
|REPORTING||Get contact form data|
|GET_BACKUP||Get site backups||SITE_RESTORED|
|MANAGE_BACKUPS||Get site backups|
|UPDATE_SSL||Generate SSL Certificate|
Delete SSL Certificate
Renew SSL Certificate
Updated about 1 month ago