cURL
curl --request GET \ --url https://api.enviaai.app/v1/contacts/{phone}/profile \ --header 'Authorization: Bearer <token>'
{ "success": true, "data": { "phone": "5511999999999", "name": "João Silva", "about": "Disponível para novos projetos", "profilePicUrl": "https://pps.whatsapp.net/v/t61.24694-24/...", "isBusiness": false } }
Obtenha informações do perfil de um contato
const profile = await client.contacts.getProfile('5511999999999', { instanceId: 'inst_abc123' }); console.log('Nome:', profile.name); console.log('Status:', profile.about);