evolution-api icon indicating copy to clipboard operation
evolution-api copied to clipboard

Last seen online

Open ikx94 opened this issue 10 months ago • 1 comments

Welcome!

  • [x] Yes, I have searched for similar requests on GitHub and found none.

What type of feature?

Endpoint

What is the motivation for the request?

An endpoint to send a number and get the last time it was seen online. Useful to know if a contact is still using WhatsApp, as sometimes verifying the number with /chat/whatsappNumbers responds with exists: true, but if the user hasn't connected for 3 months, (for me) it would be safe to assume the number has been abandoned.

Usage Examples

/chat/lastOnline

Request:

{ "numbers": [ "55911111111" ] }

Response:

[ { "date": timestamp (or NULL), "jid": "[email protected]", "number": "55911111111" } ]

How should the feature be developed?

No response

Additional Notes

No response

ikx94 avatar Mar 03 '25 15:03 ikx94

Is this possible?

ikx94 avatar Apr 26 '25 02:04 ikx94