curl -X POST https://api.whaapy.com/messages/v1 \ -H "Authorization: Bearer wha_TU_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "to": "+5215512345678", "type": "contacts", "contacts": [ { "name": { "formatted_name": "Juan Pérez", "first_name": "Juan", "last_name": "Pérez" }, "phones": [ { "phone": "+5215598765432", "type": "WORK" } ] } ] }'
{ "messaging_product": "whatsapp", "contacts": [ { "input": "+5215512345678", "wa_id": "5215512345678" } ], "messages": [ { "id": "550e8400-e29b-41d4-a716-446655440000", "wamid": "wamid.HBgLNTIxNTUx..." } ], "data": { "id": "550e8400-e29b-41d4-a716-446655440000", "conversationId": "660e8400-e29b-41d4-a716-446655440001", "messageType": "contacts", "direction": "outbound", "status": "sent", "createdAt": "2026-01-22T10:30:00Z" } }
Envía tarjetas de contacto (vCard) por WhatsApp
{ "to": "+5215512345678", "type": "contacts", "contacts": [ { "name": { "formatted_name": "Juan Pérez García", "first_name": "Juan", "last_name": "Pérez", "middle_name": "García", "prefix": "Lic.", "suffix": "Jr." }, "phones": [ { "phone": "+5215598765432", "type": "WORK", "wa_id": "5215598765432" }, { "phone": "+5215512345678", "type": "CELL" } ], "emails": [ { "email": "[email protected]", "type": "WORK" }, { "email": "[email protected]", "type": "HOME" } ], "addresses": [ { "street": "Av. Reforma 123", "city": "Ciudad de México", "state": "CDMX", "zip": "06600", "country": "México", "country_code": "MX", "type": "WORK" } ], "org": { "company": "Whaapy Inc.", "department": "Ventas", "title": "Director de Ventas" }, "urls": [ { "url": "https://whaapy.com", "type": "WORK" }, { "url": "https://linkedin.com/in/juanperez", "type": "WORK" } ], "birthday": "1990-05-15" } ] }
{ "to": "+5215512345678", "type": "contacts", "contacts": [ { "name": { "formatted_name": "Soporte Técnico", "first_name": "Soporte" }, "phones": [ { "phone": "+5215500001111", "type": "WORK" } ] }, { "name": { "formatted_name": "Ventas", "first_name": "Ventas" }, "phones": [ { "phone": "+5215500002222", "type": "WORK" } ] }, { "name": { "formatted_name": "Facturación", "first_name": "Facturación" }, "phones": [ { "phone": "+5215500003333", "type": "WORK" } ] } ] }
CELL
MAIN
IPHONE
HOME
WORK
YYYY-MM-DD
Compartir datos del asesor
{ "contacts": [{ "name": { "formatted_name": "María López - Tu Asesora" }, "phones": [{ "phone": "+5215512345678", "type": "WORK", "wa_id": "5215512345678" }], "emails": [{ "email": "[email protected]", "type": "WORK" }], "org": { "company": "Empresa SA", "title": "Asesora de Ventas" } }] }
Directorio de departamentos
{ "contacts": [ { "name": { "formatted_name": "Soporte Técnico" }, "phones": [{ "phone": "+5215500001111", "type": "WORK" }], "emails": [{ "email": "[email protected]", "type": "WORK" }] }, { "name": { "formatted_name": "Ventas" }, "phones": [{ "phone": "+5215500002222", "type": "WORK" }], "emails": [{ "email": "[email protected]", "type": "WORK" }] } ] }
Tarjeta de negocio
{ "contacts": [{ "name": { "formatted_name": "Restaurante La Parrilla", "first_name": "La Parrilla" }, "phones": [ { "phone": "+5215512345678", "type": "WORK" }, { "phone": "+5215598765432", "type": "CELL" } ], "addresses": [{ "street": "Av. Insurgentes 456", "city": "CDMX", "country": "México", "type": "WORK" }], "urls": [{ "url": "https://laparrilla.mx", "type": "WORK" }] }] }