Bailey (WhatsApp) icon

Bailey (WhatsApp)

Interact with WhatsApp via Baileys WebSocket API

Actions122

Contact → Add / Edit Contact

AI-generated

Summary

Add or update a WhatsApp contact using its JID, optionally setting the contact’s full and first names. The operation calls Bailey’s contact update method and returns a success flag with the JID.

Inputs

  • Contact JID (required) — WhatsApp JID of the contact to add or edit.
  • Full Name — Optional full display name. An empty value is omitted from the update.
  • First Name — Optional first name. An empty value is omitted from the update.

Output shape

A single item containing a JSON object.

On success, the JSON object is {"success": true, "jid": ""}. This operation does not return the contact record.

Links

Discussion