Send Contact Message
Send one or multiple contact cards (vCards) to WhatsApp contacts or groups. Recipients can save the contacts directly to their phone’s address book.Endpoint
Path Parameters
The name of your WhatsApp instance that you created
Request Body
The recipient’s WhatsApp number in international format (without + symbol)Example:
5511999999999 for a Brazilian numberArray of contact objects to send. You can send multiple contacts in a single message.
Delay before sending the message in millisecondsExample:
1000 for 1 second delayQuote a previous message by providing its key and message object
Mention all participants in a groupDefault:
falseArray of phone numbers to mention. Each number should be a numeric string.Example:
["5511999999999", "5511888888888"]Response
Message key information
The sent message object containing the contact data
Unix timestamp when the message was sent
Message status (e.g., “PENDING”, “SENT”)
Code Examples
Advanced Examples
Send single contact with all fields
Send single contact with all fields
Send multiple contacts at once
Send multiple contacts at once
Send contact with minimal information
Send contact with minimal information
Send contact as reply to message
Send contact as reply to message
Contact Field Guidelines
When sending contact information, only
fullName and phoneNumber are required. All other fields are optional but enhance the contact card.Required Fields
- fullName: Cannot be empty. This is the primary identifier for the contact.
- phoneNumber: Must be at least 10 digits long.
Optional Fields
- wuid: WhatsApp User ID - use this for WhatsApp-specific contacts
- organization: Company or organization name
- email: Email address (will be validated by WhatsApp client)
- url: Website URL (should include http:// or https://)
Phone Number Format
ThephoneNumber field accepts various formats:
5511999999999(recommended - numbers only)+55 11 99999-9999(with formatting)+5511999999999(with + symbol)
How Contacts Appear in WhatsApp
When you send a contact message:- Recipients see a contact card with the name and phone number
- Optional fields (email, organization, URL) appear if provided
- Recipients can tap “Add to Contacts” to save directly to their phone
- Multiple contacts appear as separate cards in sequence
- Contact information is saved as a vCard (VCF) format
Use Cases
- Customer Support: Send support team contact information
- Referrals: Share business contacts with potential clients
- Event Networking: Share contact details after meetings
- Team Coordination: Distribute team member contacts
- Service Directories: Send relevant service provider contacts
Error Responses
HTTP status code
Error description
Common Errors
| Status Code | Error Message | Solution |
|---|---|---|
| 400 | Bad Request - Missing required fields | Ensure fullName and phoneNumber are provided for each contact |
| 400 | ”fullName” cannot be empty | Provide a non-empty full name |
| 400 | Phone number too short | Ensure phone number is at least 10 digits |
| 400 | ”wuid” must be a numeric string | Remove non-numeric characters from wuid |
| 401 | Unauthorized | Check your API key |
| 404 | Not Found | Verify instance exists and is connected |
| 500 | Internal Server Error | Check server logs or contact support |
You can send up to 5 contacts in a single message for the best user experience. While WhatsApp may support more, keeping it concise improves readability.