-
Getting Started
-
Domains
- Authentication & Headers
- Get Domain Pricing
- Search Domain Availability
- List Domains
- Register Domain
- Transfer Domain
- Get Registrar Domain Info
- Change Nameservers
- Registrar Lock (Enable/Disable)
- Whois Privacy (Toggle)
- Dns Management (Get/Set)
- Get Epp/Authorization Code
- Renew Domain
- Restore Expired Domain
- Get Local Domain Details
- Register Custom Nameserver (Glue Record)
- List Contact Profiles
- Create Contact Profile
- Update Contact Profile
- Assign Contacts To Domain
-
SMM | Lab (SEO)
-
Hosted Payments
-
Crypto Payments
-
Messaging
-
WhatsApp API
-
Email API
-
IPTV
Fetch WhatsApp Chats
-------------------------
4. FETCH WHATSAPP CHATS
-------------------------
Fetch WhatsApp Chats: Returns the list of chats (conversations) for a given WhatsApp device/number.
Endpoint: POST /whatsapp/chats
Parameters (JSON body):
api_key(required, string): Your WhatsApp Messaging API key.sender_number(required, string): WhatsApp device number whose chats you want to fetch.limit(optional, integer): Maximum number of chats to return.
Example Request:
curl -X POST "https://umva.net/api/messaging/whatsapp/chats" \
-H "Content-Type: application/json" \
-d '{
"api_key": "YOUR_WHATSAPP_API_KEY",
"sender_number": "250789000111",
"limit": 10
}'
Response: Returns a list of chat objects (e.g. contact name, last message preview, last activity time, unread counts, etc.).