Send contact (vCard)
X-Api-Key: wpf_YOUR_KEYThe connection's API key (wpf_...), generated in the dashboard.
Authorization: Bearer wpf_YOUR_KEYThe same key in Authorization: Bearer wpf_... (what n8n, Make and HTTP libraries support out of the box).
Idempotency-Key?stringOptional. Repeating the same value within 24 h, with the same API key, returns the first response without sending again. See Idempotency in the introduction.
application/json- body
to*stringRecipient: phone number with country code and area code, digits only (5581999999999; +, spaces and dashes are ignored), or the chatId (5581999999999@c.us, ...@lid, or a group ...@g.us). Brazilian phone numbers are checked on WhatsApp before sending.
contacts*array<>The card's contacts (vCard), up to 10. Each with name, phone (country code and area code, digits only) and optional organization. The card's number does not need to have WhatsApp; when it does, the card's "Message" button opens the right account (in Brazil, in the ninth-digit spelling WhatsApp confirmed).
1 <= items <= 10Sent. Keep the message_id: it is what appears in the message.sent and message.status events.
application/json- response
data*curl -X POST 'https://app.wappfy.io/api/v1/messages/contact' \ -H 'X-Api-Key: wpf_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{ "to": "5581999999999", "contacts": [ { "name": "Suporte Loja", "phone": "5581988888888", "organization": "Loja Centro" } ]}'{ "data": { "message_id": "string", "chat_id": "string" }}
