-
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
Read WhatsApp Messages
-------------------------
3. READ WHATSAPP MESSAGES
-------------------------
Read WhatsApp Messages: Returns recent WhatsApp messages for a given conversation, using a unified messaging endpoint with type = "whatsapp".
Endpoint: POST /messages/read
Parameters (JSON body):
api_key(required, string): Your WhatsApp Messaging API key.type(required, string): Must be"whatsapp"for WhatsApp messages.recipient(required, string): WhatsApp number you want to read messages for (e.g. conversation partner or own number, depending on implementation).limit(optional, integer): Maximum number of messages to return (default if omitted).
Example Request:
curl -X POST "https://umva.net/api/messaging/messages/read" \
-H "Content-Type: application/json" \
-d '{
"api_key": "YOUR_WHATSAPP_API_KEY",
"type": "whatsapp",
"recipient": "250788123456",
"limit": 5
}'
Response: Returns an array of messages with fields such as content, direction (inbound/outbound), timestamps and any associated media metadata. The exact schema may evolve; always check for success and message first.