API Reference
cURL
curl --request GET \ --url http://localhost:{port}/api/v1/contacts/{contactId} \ --header 'Authorization: Bearer <token>'
{ "contact": { "id": "<string>", "name": "<string>", "number": "<string>", "isBusiness": true, "isEnterprise": true, "isMe": true, "isUser": true, "isGroup": true, "isWAContact": true, "isMyContact": true, "isBlocked": true, "pushname": "<string>", "shortName": "<string>" }, "about": "<string>", "profilePicUrl": "<string>", "phoneNumber": { "full": "<string>", "formatted": "<string>", "countryCode": "<string>", "regionCode": "<string>", "number": "<string>" } }
Retrieve details of a specific contact including profile picture, about info, and block status
JWT token authentication
ID of the contact to retrieve
Contact details retrieved successfully
Detailed contact information
Basic contact information
Show child attributes
The contact's about/status message
URL of the contact's profile picture
Structured phone number information