Conversations
Get a lead (Lead Ads)
Returns one lead of the key’s number by its Pilot Status id (the id field of GET /v1/leads, not Meta’s leadgenId). Same scope, permission and privacy rules as the list: a redacted lead has fullName, email and phone null and fields empty, and the response carries notice: "PII_RELAY_ONLY" on a RELAY_ONLY number.
A lead of another number, of another account, or one that was erased answers 404 LEAD_NOT_FOUND — the same answer as an id that never existed.
GET
/
v1
/
leads
/
{id}
Get a Meta Lead Ads lead
curl --request GET \
--url https://pilotstatus.com.br/v1/leads/{id} \
--header 'x-api-key: <api-key>'import requests
url = "https://pilotstatus.com.br/v1/leads/{id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://pilotstatus.com.br/v1/leads/{id}', 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/v1/leads/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <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/v1/leads/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<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/v1/leads/{id}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pilotstatus.com.br/v1/leads/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"lead": {
"id": "cmg4x2k9a0001ab12cd34ef56",
"leadgenId": "1234567890123456",
"whatsappNumberId": "num_01HZX...",
"pageId": "102345678901234",
"pageName": "MM Design",
"formId": "987654321098765",
"formName": "Orçamento — Outubro",
"adId": "120249828053880703",
"adName": "Ads 01 - Vídeo dos 70%",
"adsetName": "[IG] [LL1% IG + VÍDEOS] - 35 a 50",
"campaignName": "[CD-01] [LEADS] - MM Design - Sale 70%",
"platform": "ig",
"isOrganic": false,
"createdAt": "2026-10-18T14:32:10.000Z",
"fullName": "Maria Souza",
"email": "maria@example.com",
"phone": "+55 11 91234-5678",
"fields": [
{
"key": "full_name",
"label": "full_name",
"values": [
"Maria Souza"
]
},
{
"key": "qual_ambiente",
"label": "Qual ambiente você quer reformar?",
"values": [
"Cozinha"
]
}
],
"consentGiven": null,
"conversationId": null,
"autoSendStatus": "none",
"autoSendReason": null,
"source": "webhook",
"redacted": false
}
}{
"error": "This API key is not bound to a WhatsApp number",
"code": "NUMBER_NOT_FOUND"
}{
"error": "Unauthorized"
}{
"error": "This endpoint acts on a single WhatsApp number: send the x-whatsapp-number-id header naming the number to act on (its id or instance id from GET /v1/numbers) | Este endpoint atua sobre um único número de WhatsApp: envie o header x-whatsapp-number-id indicando o número desejado (o id dele ou o id da instância, obtidos em GET /v1/numbers)",
"code": "TENANT_SCOPE_NOT_ALLOWED"
}{
"error": "Lead not found",
"code": "LEAD_NOT_FOUND"
}Was this page helpful?
⌘I
Get a Meta Lead Ads lead
curl --request GET \
--url https://pilotstatus.com.br/v1/leads/{id} \
--header 'x-api-key: <api-key>'import requests
url = "https://pilotstatus.com.br/v1/leads/{id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://pilotstatus.com.br/v1/leads/{id}', 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/v1/leads/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <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/v1/leads/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<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/v1/leads/{id}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pilotstatus.com.br/v1/leads/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"lead": {
"id": "cmg4x2k9a0001ab12cd34ef56",
"leadgenId": "1234567890123456",
"whatsappNumberId": "num_01HZX...",
"pageId": "102345678901234",
"pageName": "MM Design",
"formId": "987654321098765",
"formName": "Orçamento — Outubro",
"adId": "120249828053880703",
"adName": "Ads 01 - Vídeo dos 70%",
"adsetName": "[IG] [LL1% IG + VÍDEOS] - 35 a 50",
"campaignName": "[CD-01] [LEADS] - MM Design - Sale 70%",
"platform": "ig",
"isOrganic": false,
"createdAt": "2026-10-18T14:32:10.000Z",
"fullName": "Maria Souza",
"email": "maria@example.com",
"phone": "+55 11 91234-5678",
"fields": [
{
"key": "full_name",
"label": "full_name",
"values": [
"Maria Souza"
]
},
{
"key": "qual_ambiente",
"label": "Qual ambiente você quer reformar?",
"values": [
"Cozinha"
]
}
],
"consentGiven": null,
"conversationId": null,
"autoSendStatus": "none",
"autoSendReason": null,
"source": "webhook",
"redacted": false
}
}{
"error": "This API key is not bound to a WhatsApp number",
"code": "NUMBER_NOT_FOUND"
}{
"error": "Unauthorized"
}{
"error": "This endpoint acts on a single WhatsApp number: send the x-whatsapp-number-id header naming the number to act on (its id or instance id from GET /v1/numbers) | Este endpoint atua sobre um único número de WhatsApp: envie o header x-whatsapp-number-id indicando o número desejado (o id dele ou o id da instância, obtidos em GET /v1/numbers)",
"code": "TENANT_SCOPE_NOT_ALLOWED"
}{
"error": "Lead not found",
"code": "LEAD_NOT_FOUND"
}