Find a specific chat by its remote JID (WhatsApp ID).
curl --request GET \ --url 'https://api.example.com/chat/findChatByRemoteJid/[email protected]' \ --header 'apikey: YOUR_API_KEY'
{ "id": "chat_123", "remoteJid": "[email protected]", "owner": "my-instance", "isGroup": false, "name": "John Doe", "profilePictureUrl": "https://example.com/profile.jpg", "createdAt": "2024-03-04T10:30:00.000Z", "updatedAt": "2024-03-04T12:45:00.000Z" }
apikey
[email protected]
{phone_number}@s.whatsapp.net
{group_id}@g.us
{broadcast_id}@broadcast