Buscar chat por JID
Devuelve el chat que coincide con el remote JID indicado. Pasa remoteJid como parámetro de query obligatorio (p. ej. ?remoteJid=5511999999999@s.whatsapp.net); no hay cuerpo de solicitud.
curl --request GET \
--url https://pilotstatus.com.br/api/layer/evolution-v2/chat/findChatByRemoteJid/{instance} \
--header 'apikey: <api-key>'import requests
url = "https://pilotstatus.com.br/api/layer/evolution-v2/chat/findChatByRemoteJid/{instance}"
headers = {"apikey": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {apikey: '<api-key>'}};
fetch('https://pilotstatus.com.br/api/layer/evolution-v2/chat/findChatByRemoteJid/{instance}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://pilotstatus.com.br/api/layer/evolution-v2/chat/findChatByRemoteJid/{instance}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"apikey: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://pilotstatus.com.br/api/layer/evolution-v2/chat/findChatByRemoteJid/{instance}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("apikey", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://pilotstatus.com.br/api/layer/evolution-v2/chat/findChatByRemoteJid/{instance}")
.header("apikey", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pilotstatus.com.br/api/layer/evolution-v2/chat/findChatByRemoteJid/{instance}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["apikey"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "clzabc123def456ghi789jkl",
"remoteJid": "5511999999999@s.whatsapp.net",
"name": "Maria Silva",
"labels": [],
"createdAt": "2026-07-09T13:00:00.000Z",
"updatedAt": "2026-07-09T18:20:00.000Z",
"instanceId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"unreadMessages": 2
}{
"status": 400,
"error": "Bad Request",
"message": "Invalid payload"
}Autorizaciones
El token de la instancia, enviado en el encabezado apikey: el token de la instancia Evolution V2 que migraste en el panel (Números → Conectar → Migrar), o el token propio de la instancia de Pilot Status; y debe pertenecer a la {instance} de la ruta. Una clave de API ps_ de Pilot Status NO se acepta (404 Instance not found). Este es el único encabezado que lee el layer Evolution V2: Authorization: Bearer y x-api-key no se aceptan, y una solicitud sin apikey recibe 401.
Parámetros de ruta
Respuesta
Éxito: cuerpo de respuesta nativo del proveedor.
El registro de Chat almacenado para el remoteJid indicado, o null cuando no existe ningún chat.
¿Esta página le ayudó?
curl --request GET \
--url https://pilotstatus.com.br/api/layer/evolution-v2/chat/findChatByRemoteJid/{instance} \
--header 'apikey: <api-key>'import requests
url = "https://pilotstatus.com.br/api/layer/evolution-v2/chat/findChatByRemoteJid/{instance}"
headers = {"apikey": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {apikey: '<api-key>'}};
fetch('https://pilotstatus.com.br/api/layer/evolution-v2/chat/findChatByRemoteJid/{instance}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://pilotstatus.com.br/api/layer/evolution-v2/chat/findChatByRemoteJid/{instance}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"apikey: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://pilotstatus.com.br/api/layer/evolution-v2/chat/findChatByRemoteJid/{instance}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("apikey", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://pilotstatus.com.br/api/layer/evolution-v2/chat/findChatByRemoteJid/{instance}")
.header("apikey", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pilotstatus.com.br/api/layer/evolution-v2/chat/findChatByRemoteJid/{instance}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["apikey"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "clzabc123def456ghi789jkl",
"remoteJid": "5511999999999@s.whatsapp.net",
"name": "Maria Silva",
"labels": [],
"createdAt": "2026-07-09T13:00:00.000Z",
"updatedAt": "2026-07-09T18:20:00.000Z",
"instanceId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"unreadMessages": 2
}{
"status": 400,
"error": "Bad Request",
"message": "Invalid payload"
}