API Reference

Receiving Events

contact.updated

WhatsApp saved names, nickname, or avatar changed. Use data.event.source and changed_fields to update only the supplied address_book, push_name, or avatar_url fields. An empty string clears a value, an omitted field stays unchanged, and null is invalid. Download signed avatar URLs promptly. contact.id identifies the contact and may differ from conversation_id.

Event payload

{
  "id": "0000000000000000000000000000000000000000000000000000000000000191",
  "type": "contact.updated",
  "provider": "whatsapp",
  "account_id": "acc_example",
  "occurred_at": "2026-09-20T03:00:00Z",
  "data": {
    "contact": {
      "id": "15550000002@s.whatsapp.net",
      "conversation_id": "100000000000002@lid",
      "address_book": {
        "full_name": "Example customer",
        "first_name": "Example"
      }
    },
    "event": {
      "kind": "contact_updated",
      "source": "address_book",
      "changed_fields": ["address_book.full_name", "address_book.first_name"],
      "changed_at": "2026-09-20T03:00:00Z"
    }
  }
}

Notes

  • WhatsApp saved names, nickname, or avatar changed. Use data.event.source and changed_fields to update only the supplied address_book, push_name, or avatar_url fields. An empty string clears a value, an omitted field stays unchanged, and null is invalid. Download signed avatar URLs promptly. contact.id identifies the contact and may differ from conversation_id.