Resolve Contact Name
curl --request POST \
--url https://api.example.com/api/v1/contacts/resolve \
--header 'Content-Type: application/json' \
--data '
{
"whatsapp_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"phone_number": "<string>"
}
'import requests
url = "https://api.example.com/api/v1/contacts/resolve"
payload = {
"whatsapp_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"phone_number": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
whatsapp_account_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
phone_number: '<string>'
})
};
fetch('https://api.example.com/api/v1/contacts/resolve', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"phone_number": "<string>",
"name": "<string>",
"pushname": "<string>",
"verified_name": "<string>",
"is_business": false
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}contacts
Resolve Contact Name
Resolve a phone number’s display name from WhatsApp without persisting.
Used by the UI to auto-fill the contact name when starting a new chat.
POST
/
api
/
v1
/
contacts
/
resolve
Resolve Contact Name
curl --request POST \
--url https://api.example.com/api/v1/contacts/resolve \
--header 'Content-Type: application/json' \
--data '
{
"whatsapp_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"phone_number": "<string>"
}
'import requests
url = "https://api.example.com/api/v1/contacts/resolve"
payload = {
"whatsapp_account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"phone_number": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
whatsapp_account_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
phone_number: '<string>'
})
};
fetch('https://api.example.com/api/v1/contacts/resolve', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"phone_number": "<string>",
"name": "<string>",
"pushname": "<string>",
"verified_name": "<string>",
"is_business": false
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Headers
Body
application/json