API docsLog inCreate account
Reading

Chats

GET/v1/chats

List chats

GET https://api.api-supp.com/v1/chats

Chats sorted by latest activity, each with its most recent message, so you can draw a "recent conversations" list in one call.

ParamTypeDefaultNotes
qstring—Search names and JIDs
sortstringlast_activeOr name for alphabetical
limitint100
offsetint0
json
{
  "chats": [ {
    "jid": "14155550132@s.whatsapp.net", "name": "Dana", "last_message_time": "...",
    "last_message": "...", "last_sender": "...", "last_is_from_me": 0
  } ],
  "count": 100, "limit": 100, "offset": 0
}

One chat

GET https://api.api-supp.com/v1/chats/:jid returns one chat's details, or 404.