OpenWA icon

OpenWA

Interact with OpenWA WhatsApp API Gateway

Actions138

Contact → Save

AI-generated

Summary

Save a WhatsApp contact to the session account’s addressbook, replacing the contact’s existing name fields. The save is synced to linked devices and changes the account’s addressbook; it does not add the contact to the phone’s native contacts.

Inputs

  • Session Name or ID (required) — Select the WhatsApp session to use.
  • Contact Name or ID (required) — The contact’s WhatsApp JID. Saving requires a plain phone-number ID ending in @c.us; privacy IDs ending in @lid, groups, and channels are refused. Only the first 1,000 contacts appear in the picker; use an expression for others.
  • First Name (required) — Given name for the addressbook entry, up to 100 characters.
  • Last Name — Family name, up to 100 characters. Because saving replaces the whole entry, leaving this blank clears any existing last name.

Output shape

A single item containing the API response for the save request.

The save overwrites the whole addressbook entry; it is not a partial update.

Links

Discussion