List Lead Ads Pages
The Facebook Pages linked to your WhatsApp numbers for Meta Lead Ads capture, and the Pages you can still link. A lead submitted on an Instant Form of a linked Page is stored under that Page’s number (read them with GET /v1/leads).
There is no Meta login step: the advertiser shares the Page with the Pilot Status business portfolio (partnerBusinessId) in Meta Business Manager and gives the Pilot Status system user the Page tasks. candidates[].missingTasks lists what is still missing (MODERATE, MANAGE_LEADS, or PAGE_ACCESS when the Page was not assigned to the system user at all); an empty list means ready to link, null means Meta could not be asked.
A Page can be linked only when its owner business also owns the WABA of one of your official (Meta Cloud API) numbers; with none, candidates is empty and eligibilityBlocker is NO_OFFICIAL_NUMBER. In linked, subscribedAt: null means Meta is not pushing leads for that Page — subscriptionError says why (META_PERMISSION_MISSING, PAGE_ACCESS_MISSING, PAGE_NOT_SHARED, PAGE_BUSINESS_MISMATCH, …) and resync retries it. candidatesLookup is ok, unavailable or not_configured.
OAuth/MCP tokens need integrations:manage (workspace ADMIN or OWNER) on every verb, reads included. Scope: a number-scoped key, or an account-wide credential with x-whatsapp-number-id, acts only on that number’s links; an account-wide credential without the header sees the whole workspace.
curl --request GET \
--url https://pilotstatus.com.br/v1/lead-pages \
--header 'x-api-key: <api-key>'import requests
url = "https://pilotstatus.com.br/v1/lead-pages"
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/lead-pages', 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/lead-pages",
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/lead-pages"
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/lead-pages")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pilotstatus.com.br/v1/lead-pages")
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{
"linked": [
{
"pageLinkId": "cmgpl0001ab12cd34ef56",
"pageId": "102345678901234",
"pageName": "MM Design",
"whatsappNumberId": "num_01HZX...",
"subscribedAt": "2026-10-06T10:15:00.000Z",
"subscriptionError": null,
"linkedAt": "2026-10-06T10:14:58.000Z",
"leadsCount": 42
}
],
"candidates": [
{
"pageId": "109876543210987",
"pageName": "MM Design Outlet",
"missingTasks": [
"MANAGE_LEADS"
]
}
],
"configured": true,
"partnerBusinessId": "123456789012345",
"candidatesLookup": "ok",
"eligibilityBlocker": null
}{
"error": "Provide x-whatsapp-number-id for a per-number connection | Envie o header x-whatsapp-number-id para uma conexão por número",
"code": "NUMBER_REQUIRED"
}{
"error": "Unauthorized"
}{
"error": "Your workspace role does not allow this action (integrations:manage).",
"code": "PERMISSION_DENIED"
}{
"error": "Internal server error | Erro interno do servidor",
"code": "INTERNAL_ERROR"
}Authorizations
Your ps_ API key
Headers
Narrows an account-wide credential to one number (its id or instance id from GET /v1/numbers). Without it, an account-wide credential sees the whole workspace; a number-scoped key always sees only its own number.
Response
Linked and linkable Pages
Was this page helpful?
curl --request GET \
--url https://pilotstatus.com.br/v1/lead-pages \
--header 'x-api-key: <api-key>'import requests
url = "https://pilotstatus.com.br/v1/lead-pages"
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/lead-pages', 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/lead-pages",
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/lead-pages"
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/lead-pages")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pilotstatus.com.br/v1/lead-pages")
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{
"linked": [
{
"pageLinkId": "cmgpl0001ab12cd34ef56",
"pageId": "102345678901234",
"pageName": "MM Design",
"whatsappNumberId": "num_01HZX...",
"subscribedAt": "2026-10-06T10:15:00.000Z",
"subscriptionError": null,
"linkedAt": "2026-10-06T10:14:58.000Z",
"leadsCount": 42
}
],
"candidates": [
{
"pageId": "109876543210987",
"pageName": "MM Design Outlet",
"missingTasks": [
"MANAGE_LEADS"
]
}
],
"configured": true,
"partnerBusinessId": "123456789012345",
"candidatesLookup": "ok",
"eligibilityBlocker": null
}{
"error": "Provide x-whatsapp-number-id for a per-number connection | Envie o header x-whatsapp-number-id para uma conexão por número",
"code": "NUMBER_REQUIRED"
}{
"error": "Unauthorized"
}{
"error": "Your workspace role does not allow this action (integrations:manage).",
"code": "PERMISSION_DENIED"
}{
"error": "Internal server error | Erro interno do servidor",
"code": "INTERNAL_ERROR"
}