Skip to main content
Webdock API

API Callback Events

Written By Arni Johannesson

Last updated About 10 hours ago

This page simply lists all the available eventType filters which can be passed to the appropriate endpoints in the Webdock API and which events will trigger a callback for for the specified type.

Event Callback Listing

Pass the value shown in eventType to any of the /hooks or /events endpoints that require it

eventTypeDescription
provisionCalled whenever a server is provisioned from a base image or an account snapshot
restore-serverCalled whenever a server is restored to a snapshot
change-profileCalled whenever a server hardware profile is changed (up or downgraded)
set-stateCalled whenever the server changes state. i.e. when starting, stopping or rebooting
deleteCalled whenever a server is deleted
backupCalled whenever a server snapshot is created or deleted
set-hostnamesCalled whenever the server identity is modified (hostname/url's)
update-webrootCalled whenever the server web root is updated
setup-sslCalled whenever Let's Encrypt Certbot is run on the server
install-wordpressCalled whenever WordPress has been installed
manage-wordpressCalled whenever any WordPress management actions are performed
manage-shelluserCalled whenever a shell user is added, modified or deleted
manage-keysCalled whenever public keys are changed for a shell user.
toggle-passwordauthCalled whenever Password-based authentication is toggled on the server
manage-mysqlCalled whenever a Mysql database is created, deleted or modified
manage-dbuserCalled whenever a Mysql user is created, deleted or modified
manage-ftpuserCalled whenever an FTP user is created, deleted or modified
set-php-settingsCalled whenever PHP settings are changed
cronjobCalled whenever a Cron Job is created, deleted or modified
pull-fileCalled whenever a file has been pulled from the server
push-fileCalled whenever a file has been pushed to the server
delete-fileCalled whenever a file has been deleted on the server
execute-fileCalled whenever a file has been executed on the server

Was this helpful?

Still need help? Share an idea