OpenWA icon

OpenWA

Interact with OpenWA WhatsApp API Gateway

Actions138

Message → Send Contact

AI-generated

Summary

Send a WhatsApp contact card to the selected chat, using the chosen session. The contact name and phone number are required; the phone number must include its country code because the node does not add one. An optional quoted message ID makes the send a reply to an earlier stored message.

Inputs

  • Session Name or ID (required) — Session to send from; choose a listed session or provide its ID.
  • Chat Name or ID (required) — Recipient chat ID, such as a personal chat ending in @c.us or a group ending in @g.us. The dropdown lists up to 1,000 chats; use an expression for others.
  • Contact Name (required) — Display name shown on the shared contact card.
  • Contact Number (required) — Phone number for the contact, including country code. It is not automatically prefixed.
  • Quoted Message ID — Optional ID of an earlier message to quote. If the engine cannot resolve the ID, the send fails rather than proceeding without a quote.

Output shape

A single item containing the send endpoint's response.

The operation sends a contact card; the source does not specify the response fields. A quoted message must already be stored by Baileys to be quoted.

Links

Discussion