v1
latestOpenAPI 3.1.02026-07-1413113265.9 KBcontact
get contact details by ID
Retrieves detailed contact information for a specific contact using their ID. Returns contact details including name, number, business status, and various contact flags.
post/instances/{id}/client/action/get-contact-by-id
Path parameters
idinteger required
Instance ID
Request body
Example request
{
"contactId": "1234567890@c.us"
}Response
Contact details retrieved successfully
Example response
{
"data": {
"id": {
"server": "c.us",
"user": "1234567890",
"_serialized": "1234567890@c.us"
},
"number": "1234567890",
"name": "Contact Name",
"pushname": "Contact Name",
"shortName": "Contact",
"type": "in",
"isUser": true,
"isWAContact": true,
"isMyContact": true
},
"links": {
"self": "https://waapi.app/api/v1/instances/1/client/action/get-contact-by-id"
},
"status": "success"
}