New Contact Message

📘

Beta: For whitelisted accounts, this webhook will not be triggered for messages from contacts that have been blocked via the "Mark Spam & Block" feature or the blocking API. Blocked contacts are suppressed from firing webhook events and automations. To enable this feature for your account, please contact the WATI team.

{
  "eventType": "newContactMessageReceived",
  "id": "634930ab82538bf0845a116a",
  "created": "2022-10-14T09:49:31.2419621Z",
  "waId": "911234567890",
  "senderName": "New User",  
  "sourceId": null,
  "sourceUrl": null,
  "sourceType": 0,
  "bsuid": "HK.xxxxxxxxxxxxx",
  "parentBsuid": "HK.ENT.xxxxxxxxxxxxx",
  "username": "@bob"
}

Field Descriptions

FieldTypeDescription
eventTypeStringIdentifies the type of webhook event being triggered
idStringUnique identifier for this specific message event
createdStringTimestamp when the message was received, in UTC format
waIdStringWhatsApp ID or phone number of the message sender
senderNameStringDisplay name of the person who sent the message
sourceIdString/NullInternal identifier for the message source (null if not applicable)
sourceUrlString/NullURL reference to the source of the message (null if not applicable)
sourceTypeIntegerNumeric code representing the type of message source (0 = default/unknown)
bsuidString/NullBusiness Solution User ID — a stable cross-channel identifier for the contact. Only present when available.
parentBsuidString/NullParent BSUID — the enterprise-level identifier. Only present when available.
usernameString/NullHuman-readable username handle for the contact. Only present when available.