Receiving Events
account.profile.updated
ซิงค์โปรไฟล์ชื่อสาธารณะของบัญชีแล้ว; ปัจจุบัน trigger โดยอีเวนต์ชื่อของ WhatsApp
Event payload
{
"id": "evt_profile_7e91d2c4",
"type": "account.profile.updated",
"provider": "whatsapp",
"account_id": "acc_8c21d0",
"occurred_at": "2026-08-28T09:51:51Z",
"data": {
"account": { "provider_account_ref": "provider_account_example" },
"profile": {
"display_name": "Example Business",
"business_name": "Example Business",
"push_name": "Example Account"
},
"event": {
"kind": "account_profile_updated",
"source": "self_rename"
}
}
}หมายเหตุ
- การซิงค์โปรไฟล์ชื่อสาธารณะของบัญชีเสร็จแล้ว data.profile.display_name สร้างโดยเลือก BusinessName ก่อนและ fallback เป็น PushName; data.event.source เป็น full_sync หลัง snapshot จากการซิงค์เต็ม หรือ self_rename เมื่อบัญชีที่เชื่อมต่อเปลี่ยนชื่อของตัวเอง