Bailey (WhatsApp) icon

Bailey (WhatsApp)

Interact with WhatsApp via Baileys WebSocket API

Actions122

Message → Send Contact

AI-generated

Summary

Send a WhatsApp contact card to the specified recipient, using the contact name and phone number to build its vCard. The phone number is placed in the card with a leading “+”; the operation returns the sent message data.

Inputs

  • Recipient JID (required) — WhatsApp JID to receive the card, such as a phone JID ending in @s.whatsapp.net or a group JID ending in @g.us.
  • Contact Name (required) — Display name shown on the contact card.
  • Contact Phone (required) — Contact’s phone number with country code; the operation prefixes it with “+” in the vCard.

Output shape

A single item containing the sent message object in its json field.

If the send call returns no message object, the json field is an empty object.

Links

Discussion