
While configuring the webhooks with the following triggers, the spaces for which you'd need to trigger the webhook should be selected. If you are creating a webhook through API, then the 'partitionIds' attribute is mandatory for this trigger type.
Triggers the outgoing webhook when a new member is added to the spaces selected in the configuration.
Trigger Type: Member_Added_In_Space
{
"payload": {
"id": "1006052107",
"name": "Carol Clark",
"emailId": "Carolclark@zohotest.com",
"url": "https://communityspaces.zoho.com/portal/yourcommunity/profile/1006052107",
"memberType": "0",
"userStatus": "active",
"userProfile": {
"firstName": "Carol Clark",
"lastName": "",
"timeZone": "Asia/Kolkata",
"customFields": {
"12266000000430041": {
"name": "Custom Field 3",
"type": "DATE"
},
"12266000000430035": {
"name": "Custom Field 2",
"type": "TEXTAREA"
},
"12266000000430029": {
"name": "Custom Field 1",
"type": "TEXT"
},
"12266000000430073": {
"name": "Custom Field 6",
"type": "FILE"
},
"12266000000430047": {
"name": "Custom Field 4",
"type": "SELECTBOX"
},
"12266000000430059": {
"name": "Custom Field 5",
"type": "MULTI_SELECTBOX"
}
}
}
},
"partition": {
"type": "2",
"id": "12266000000008040",
"name": "Textbook - Feedback",
"url": "https://communityspaces.zoho.com/portal/yourcommunity/group/2-group"
},
"triggeredBy": {
"type": "0",
"id": "61683612",
"name": "Michelle",
"emailId": "michelle@zylker.com",
"url": "https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612"
},
"triggerType": "Member_Added_In_Space",
"triggeredTime": "17 Nov 2021, 12:30 PM",
"triggeredTimeInMillis": "1637132454072",
"scope": {
"id": "12266000000002002",
"name": "Zylker",
"url": "https://communityspaces.zoho.com/portal/yourcommunity"
}
}
Triggers the outgoing webhook when a member is removed from the spaces selected in the configuration.
Trigger Type: Member_Removed_From_Space
{
"payload": {
"id": "62592875",
"name": "Emma Stone",
"emailId": "emmastone@zylker.com",
"url": "https://communityspaces.zoho.com/portal/yourcommunity/profile/62592875",
"memberType": "0",
"userStatus": "active",
"userProfile": {
"firstName": "Rajesh Birla",
"lastName": "+1",
"timeZone": "Asia/Kolkata",
"customFields": {
"12266000000430035": {
"name": "Custom Field 2",
"type": "TEXTAREA",
"value": "Custom Field Value"
},
"12266000000430041": {
"name": "Custom Field 3",
"type": "DATE",
"value": "05 Nov 2021"
},
"12266000000430073": {
"name": "Custom Field 6",
"type": "FILE",
"value": {
"fileId": "12266000000491135",
"size": "89134",
"name": "image.png",
"contentType": "image/png",
"downloadUrl": "https://communityspaces.zoho.com/pulse/api/downloadFile?scopeID=12266000000002002&fileId=12266000000491135",
"extension": "png"
}
},
"12266000000430029": {
"name": "Custom Field 1",
"type": "TEXT",
"value": "Custom Field Value"
},
"12266000000430047": {
"name": "Custom Field 4",
"type": "SELECTBOX",
"value": "12266000000430049"
},
"12266000000430059": {
"name": "Custom Field 5",
"type": "MULTI_SELECTBOX",
"value": [
{
"id": "12266000000430061",
"name": "Option 1"
},
{
"id": "12266000000430063",
"name": "Option 2"
}
]
}
}
}
},
"partition": {
"type": "2",
"id": "12266000000008040",
"name": "Textbook - Feedback",
"url": "https://communityspaces.zoho.com/portal/yourcommunity/group/2-group"
},
"triggeredBy": {
"type": "0",
"id": "61683612",
"name": "MIchelle",
"emailId": "michelle@zylker.com",
"url": "https://communityspaces.zoho.com/portal/yourcommunity/profile/61683612"
},
"triggerType": "Member_Removed_From_Space",
"triggeredTime": "17 Nov 2021, 12:35 PM",
"triggeredTimeInMillis": "1637132704038",
"scope": {
"id": "12266000000002002",
"name": "Zylker",
"url": "https://communityspaces.zoho.com/portal/yourcommunity"
}
}