ookamiiixd / baileys-api

Simple WhatsApp REST API with multiple device support
MIT License
433 stars 329 forks source link

Contact list response Data NULL #135

Open jrprinceXXX opened 1 year ago

jrprinceXXX commented 1 year ago

Hello,

First of all I want to congratulate you for the great work. I'm using the service and when I register a new whatsapp the process works well, I can get a positive result in the tests. But, when I run get the contact list, it doesn't return. Is there any previous procedure to do?

GET: http://localhost:3000/"sessionId"/contacts?limit=25

Return:

{ "data": [], "cursor": null }

Thanks and best regards!

ookamiiixd commented 1 year ago

Actually there's quite a few of confusions in baileys event docs, hence that's why the contacts route is kinda broken

Let me know if anyone has an idea about this

jrprinceXXX commented 1 year ago

Hello @ookamiiixd;

Do you have any news about the contact import problem?

Best Regards;