v1
latestOpenAPI 3.0.32026-07-17410723.6 KBConnections
Currently only supports marking chats as read/unread with markRead + lastMessages.
post/connections/{phoneNumber}/chat-modify
Path parameters
phoneNumberstring required
Example:+551234567890
Phone number for connection. Must have + prefix.
Request body
Response
Disconnected
Example response
{
"data": {
"jid": "551234567890@s.whatsapp.net",
"profilePictureUrl": "https://pps.whatsapp.net/v/t61.24694-24/...",
"enforcementType": "DEFAULT",
"total_quota": 100,
"capping_status": "NONE"
},
"wid": "551234567890@s.whatsapp.net",
"description": "We are a company that sells products",
"email": "contact@business.com",
"website": [
"https://business.com"
],
"category": "Retail",
"address": "123 Main St, City",
"business_hours": {
"timezone": "America/Sao_Paulo"
},
"id": "120363425378794738@g.us",
"addressingMode": "lid",
"subject": "My Group",
"subjectOwner": "12345678901234@lid",
"subjectOwnerPn": "551234567890@s.whatsapp.net",
"owner": "12345678901234@lid",
"ownerPn": "551234567890@s.whatsapp.net",
"owner_country_code": "BR",
"memberAddMode": true,
"participants": [
{
"id": "12345678901234@lid",
"phoneNumber": "551234567890@s.whatsapp.net",
"admin": "superadmin"
}
],
"ephemeralDuration": 604800
}