Provisioning
These webhooks are triggered when a resource is created. Configuration options in templates or provisioning actions allow you to customize notifications according to your specific needs.
HTTP Request
POST YourApiUrl
Content-Type: application/json
The payload content varies depending on the specific resource being provisioned.
- Shared Mailbox Creation
- Equipment Mailbox Creation
- Room Mailbox Creation
- Distribution List Creation
This payload is sent to the webhook when a Shared Mailbox is created.
{
"eventType": "mailboxcreated",
"mailBox": {
"id": "3b49e858-1234-1xw2x-yz34-ef8681b37463",
"displayName": "Creation Web",
"mail": "mymailbox@mydomain.test",
"metadata": {
"additionalData": {
"el-check-26": "false",
"el-dd-543": "Key",
"tId": "65aab8c3-1234-1xw2x-yz34-a276c7017b31"
}
},
"policy": {
"pId": "9a46cacb-1234-1xw2x-yz34-8f2d46be0fa5",
"noEsca": false,
"owSta": "compliant",
"coSta": "compliant",
"coCh": "2023-11-10T23:59:59+02:00",
"arSta": "compliant",
"arCh": "2023-11-10T23:59:59+02:00"
},
"schema": {
"ResourceType": "SharedMailbox",
"TemplateId": "65aab8c3-1234-1xw2x-yz34-a276c7017b31",
"PolicyId": "9a46cacb-1234-1xw2x-yz34-8f2d46be0fa5",
"IsCompliant": true,
"PrimaryOwner": "0a3a4267-1234-1xw2x-yz34-f924c5a9766b",
"SecondaryOwner": "6a95c23b-cbb3-4f06-9b05-5e96ac65c78c",
"HasOwners": true,
"AdditionalData": {},
"BackingStore": {
"ReturnOnlyChangedValues": false,
"InitializationCompleted": true
},
"OdataType": "#microsoft.graph.ComplexExtensionValue"
},
"isDirSynced": false
},
"tenantId": "1840b34e-1234-1xw2x-yz34-0b7b58c49dc7"
}
This payload is sent to the webhook when a Equipment Mailbox is created.
{
"eventType": "mailboxcreated",
"mailBox": {
"id": "9e7afc26-4df2-4046-8440-6eeb46e725d7",
"displayName": "TestEM",
"mail": "TestEM@mydomain.test",
"metadata": {
"additionalData": {
"tId": "eff84d1e-0e60-4912-b185-dbc3653734ea"
}
},
"policy": {
"pId": "John Doe",
"noEsca": false,
"owSta": "compliant",
"coSta": "compliant",
"coCh": "2025-06-11T23:59:59+00:00",
"arSta": "compliant",
"arCh": "2025-06-11T23:59:59+00:00",
"clSta": "compliant",
"clCh": "2025-06-11T23:59:59+00:00"
},
"schema": {
"ResourceType": "EquipmentMailbox",
"TemplateId": "eff84d1e-0e60-4912-b185-dbc3653734ea",
"PolicyId": "John Doe",
"IsCompliant": true,
"PrimaryOwner": "6a95c23b-cbb3-4f06-9b05-5e96ac65c78c",
"SecondaryOwner": "7b34e728-9b76-430f-92d9-82af1c8ce94d",
"HasOwners": true,
"AdditionalData": {
"quinaryOwnerType": null,
"quaternaryOwnerType": null,
"tertiaryOwnerType": null,
"secondaryOwnerType": null,
"primaryOwnerType": null,
"quinaryOwner": null,
"quaternaryOwner": null,
"tertiaryOwner": null
},
"BackingStore": {
"ReturnOnlyChangedValues": false,
"InitializationCompleted": true
},
"OdataType": "#microsoft.graph.ComplexExtensionValue"
},
"isDirSynced": false
},
"tenantId": "1840b34e-6fe7-4a56-9ad3-0b7b58c49dc7"
}
This payload is sent to the webhook when a Room Mailbox is created.
{
"eventType": "mailboxcreated",
"mailBox": {
"id": "279bf266-d69f-4860-aeed-76670938eb25",
"displayName": "TestRM",
"mail": "TestRM@mydomain.test",
"metadata": {
"additionalData": {
"tId": "fdc61fe6-0c25-497c-83bd-f18313cddcba"
}
},
"policy": {},
"schema": {
"ResourceType": "RoomMailbox",
"TemplateId": "fdc61fe6-0c25-497c-83bd-f18313cddcba",
"PrimaryOwner": "6a95c23b-cbb3-4f06-9b05-5e96ac65c78c",
"HasOwners": true,
"AdditionalData": {
"quinaryOwnerType": null,
"quaternaryOwnerType": null,
"tertiaryOwnerType": null,
"secondaryOwnerType": null,
"primaryOwnerType": null,
"quinaryOwner": null,
"quaternaryOwner": null,
"tertiaryOwner": null
},
"BackingStore": {
"ReturnOnlyChangedValues": false,
"InitializationCompleted": true
},
"OdataType": "#microsoft.graph.ComplexExtensionValue"
},
"isDirSynced": false
},
"tenantId": "1840b34e-6fe7-4a56-9ad3-0b7b58c49dc7"
}
This payload is sent to the webhook when a Distribution List is created.
{
"eventType": "distributionlistcreated",
"group": {
"managedBy": [
"6a95c23b-cbb3-4f06-9b05-5e96ac65c78c"
],
"displayName": "TestDL",
"emailAddresses": [
"SMTP:TestDL@nuborocks.onmicrosoft.com"
],
"id": "fd36d8f9-1b31-49ad-b814-42353ced7c10",
"name": "TestDL",
"description": [
"TestDL"
],
"metadata": {
"additionalData": {
"tId": "03bf9294-8722-4c8e-977a-9458bec73f6d"
}
},
"policy": {}
},
"tenantId": "1840b34e-6fe7-4a56-9ad3-0b7b58c49dc7"
}
Response
A status 200 OK is expected with no body.