ContactDndUpdate
Contacto: no molestar actualizado
Se dispara cuando se actualiza el campo de "no molestar" (DND) de un contacto.
Este evento de webhook te avisa en tiempo real, sin que tu equipo tenga que estar revisando la plataforma manualmente. Configuralo una vez y deja que tu sistema reaccione automáticamente.
Esquema
{
"type": "object",
"properties": {
"type": {
"type": "string"
},
"locationId": {
"type": "string"
},
"id": {
"type": "string"
},
"address1": {
"type": "string"
},
"city": {
"type": "string"
},
"companyName": {
"type": "string"
},
"country": {
"type": "string"
},
"source": {
"type": "string"
},
"dateAdded": {
"type": "string"
},
"dateOfBirth": {
"type": "string"
},
"dnd": {
"type": "boolean"
},
"dndSettings": {
"type": "object",
"properties": {
"SMS": {
"type": "object",
"properties": {
"status": {
"type": "string"
},
"message": {
"type": "string"
},
"code": {
"type": "string"
}
}
},
"Email": {
"type": "object",
"properties": {
"status": {
"type": "string"
},
"message": {
"type": "string"
},
"code": {
"type": "string"
}
}
},
"GMB": {
"type": "object",
"properties": {
"status": {
"type": "string"
},
"message": {
"type": "string"
},
"code": {
"type": "string"
}
}
},
"FB": {
"type": "object",
"properties": {
"status": {
"type": "string"
},
"message": {
"type": "string"
},
"code": {
"type": "string"
}
}
},
"WhatsApp": {
"type": "object",
"properties": {
"status": {
"type": "string"
},
"message": {
"type": "string"
},
"code": {
"type": "string"
}
}
},
"Call": {
"type": "object",
"properties": {
"status": {
"type": "string"
},
"message": {
"type": "string"
},
"code": {
"type": "string"
}
}
}
}
},
"email": {
"type": "string"
},
"name": {
"type": "string"
},
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"phone": {
"type": "string"
},
"postalCode": {
"type": "string"
},
"state": {
"type": "string"
},
"tags": {
"type": "array"
},
"website": {
"type": "string"
},
"attachments": {
"type": "array"
},
"assignedTo": {
"type": "string"
},
"customFields": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"value": {
"type": ["string", "number", "array", "object"]
}
}
}
}
}
}
Ejemplo
{
"type": "ContactDndUpdate",
"locationId": "ve9EPM428h8vShlRW1KT",
"id": "nmFmQEsNgz6AVpgLVUJ0",
"address1": "3535 1st St N",
"city": "ruDolomitebika",
"state": "AL",
"companyName": "Loram ipsum",
"country": "DE",
"source": "xyz form",
"dateAdded": "2021-11-26T12:41:02.193Z",
"dateOfBirth": "2000-01-05T00:00:00.000Z",
"dnd": true,
"dndSettings": {
"SMS": {
"status": "inactive",
"message": "Some message",
"code": "101"
},
"Call": {
"status": "inactive",
"message": "Some message",
"code": "101"
},
"Email": {
"status": "active",
"message": "Some message",
"code": "101"
},
"GMB": {
"status": "active",
"message": "Some message",
"code": "101"
},
"FB": {
"status": "active",
"message": "Some message",
"code": "101"
},
"WhatsApp": {
"status": "active",
"message": "Some message",
"code": "101"
}
},
"email": "JohnDeo@gmail.comm",
"name": "John Deo",
"firstName": "John",
"lastName": "Deo",
"phone": "+919509597501",
"postalCode": "452001",
"tags": ["id magna sed Lorem", "Duis dolor commodo aliqua"],
"website": "https://www.google.com/",
"attachments": [],
"assignedTo": "nmFmQEsNgz6AVpgLVUJ0",
"customFields": [
{
"id": "BcdmQEsNgz6AVpgLVUJ0",
"value": "XYZ Corp"
}
]
}
¿Te sirvio este artículo?
✨ Gracias por darte el tiempo de calificarla — nos ayuda a mejorar esta documentación para todo el equipo.
