GREEN-API for WhatsApp icon

GREEN-API for WhatsApp

Send and receive WhatsApp messages using Green-API.

Sending → Send Contact

AI-generated

Summary

Send a new WhatsApp contact

Inputs

  • chatId (required) — Identifier of the target chat, formatted as @c.us
  • phoneContact (required) — Phone number of the contact to send, in international format without leading '+'
  • firstName — First name of the contact (optional)
  • middleName — Middle name of the contact (optional)
  • lastName — Last name of the contact (optional)
  • company — Company name associated with the contact (optional)

Output shape

JSON object representing the result of sending the contact

Typically includes acknowledgment fields from Green API (e.g., participant ID or status); success returns a 200 response, errors are propagated as n8n node errors

Examples

Example 1: Add a new contact to a group chat

Set Chat ID, Phone Number, First Name, Last Name, Company

Example 2: Create a contact with full details

Fill all name fields and company; optional middle name left blank

Example 3: Send contact without company information

Provide only name and phone number; company left empty

Links

Discussion