Webhook Events
Site Status Update
This event is triggered whenever the status of a site changes.
Sample Payload -
{
"doctype":"Site",
"name":"ytest.tanmoy.fc.frappe.dev",
"owner":"Administrator",
"creation":"2024-09-13 10:04:41.244578",
"modified":"2024-09-26 10:49:34.381793",
"modified_by":"Administrator",
"docstatus":0,
"idx":7,
"ip":"None",
"status":"Active",
"group":"bench-0008",
"notify_email":"admin@example.com",
"team":"dnjt4bkes2",
"plan":"ERPNext Trial",
"setup_wizard_complete":0,
"archive_failed":0,
"cluster":"Default",
"bench":"bench-0008-000005-f1",
"is_database_access_enabled":0,
"trial_end_date":"2024-09-27",
"tags":[
],
"server":"f1.tanmoy.fc.frappe.dev",
"host_name":"ytest.tanmoy.fc.frappe.dev",
"skip_auto_updates":0,
"additional_system_user_created":1
}
Site Plan Change
This event is triggered whenever a site is upgraded or downgraded to a different site plan.
Sample Payload -
{
"event":"Site Plan Change",
"data":{
"doctype":"Site Plan Change",
"name":"368704046d",
"owner":"tanmoy@frappe.io",
"creation":"2024-09-24 11:29:41.596739",
"modified":"2024-09-24 11:29:41.596739",
"modified_by":"tanmoy@frappe.io",
"docstatus":0,
"idx":0,
"from_plan":"USD 10",
"to_plan":"USD 25",
"type":"Upgrade",
"site":"test465.frappe.cloud",
"timestamp":"2024-09-24 11:29:41.596639"
}
}
If you have a requirement for other events, please raise a feature request on github.