Listar formularios instantáneos
Los formularios instantáneos de la página vinculada, leídos en vivo desde Meta, cada uno con sus preguntas, sus casillas de consentimiento y su configuración guardada en Pilot Status (config, o null si nunca se configuró). También devuelve numberIsOfficial y, para un número oficial (Meta Cloud API), las plantillas APPROVED que el número del vínculo puede enviar automáticamente (templates, vacío en un número no oficial).
consentAvailable: false significa que no se pudieron leer las casillas del formulario: la lista es desconocida, no vacía. formsTruncated: true significa que la página tiene más formularios de los que leyó Pilot Status. Los tokens OAuth/MCP necesitan integrations:manage (ADMIN u OWNER del workspace) en todos los verbos, incluidas las lecturas. Alcance: una key limitada a un número, o una credencial de toda la cuenta con x-whatsapp-number-id, actúa solo sobre los vínculos de ese número; una credencial de toda la cuenta sin el header ve todo el workspace.
curl --request GET \
--url https://pilotstatus.com.br/v1/lead-pages/{pageLinkId}/forms \
--header 'x-api-key: <api-key>'import requests
url = "https://pilotstatus.com.br/v1/lead-pages/{pageLinkId}/forms"
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/{pageLinkId}/forms', 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/{pageLinkId}/forms",
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/{pageLinkId}/forms"
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/{pageLinkId}/forms")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pilotstatus.com.br/v1/lead-pages/{pageLinkId}/forms")
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{
"forms": [
{
"formId": "987654321098765",
"formName": "Orçamento — Outubro",
"status": "ACTIVE",
"questions": [
{
"key": "full_name",
"label": "full_name",
"type": "FULL_NAME",
"options": []
},
{
"key": "qual_ambiente",
"label": "Qual ambiente você quer reformar?",
"type": "CUSTOM",
"options": [
{
"key": "cozinha",
"value": "Cozinha"
}
]
}
],
"consentCheckboxes": [
{
"key": "whatsapp_optin",
"text": "Aceito receber mensagens no WhatsApp"
}
],
"consentAvailable": true,
"config": {
"formId": "987654321098765",
"formName": "Orçamento — Outubro",
"consentDisclaimerKey": "whatsapp_optin",
"autoSendEnabled": true,
"templateId": null,
"freeText": "Olá {{nome}}, recebemos seu pedido de orçamento!",
"variableMap": {
"nome": {
"source": "field",
"key": "full_name"
}
},
"updatedAt": "2026-10-21T09:30:00.000Z"
}
}
],
"formsTruncated": false,
"numberIsOfficial": false,
"templates": []
}{
"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": "This credential is not granted access to that WhatsApp number | Esta credencial não tem acesso a esse número de WhatsApp",
"code": "NUMBER_NOT_IN_GRANT"
}{
"error": "Page link not found | Vínculo de página não encontrado",
"code": "NOT_FOUND"
}{
"error": "Pilot Status does not have the required permissions on this Page yet. | A Pilot Status ainda não tem as permissões necessárias nesta página.",
"code": "PAGE_MISSING_PERMISSION",
"missingTasks": [
"PAGE_ACCESS"
]
}{
"error": "Internal server error | Erro interno do servidor",
"code": "INTERNAL_ERROR"
}{
"error": "Could not reach Meta right now. Try again. | Não foi possível consultar a Meta agora. Tente novamente.",
"code": "LEADS_LOOKUP_UNAVAILABLE"
}{
"error": "Meta lead capture is not configured on this installation. | Captura de leads da Meta não configurada nesta instalação.",
"code": "LEADS_NOT_CONFIGURED"
}Encabezados
Parámetros de ruta
Respuesta
Formularios de la página
¿Esta página le ayudó?
curl --request GET \
--url https://pilotstatus.com.br/v1/lead-pages/{pageLinkId}/forms \
--header 'x-api-key: <api-key>'import requests
url = "https://pilotstatus.com.br/v1/lead-pages/{pageLinkId}/forms"
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/{pageLinkId}/forms', 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/{pageLinkId}/forms",
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/{pageLinkId}/forms"
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/{pageLinkId}/forms")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pilotstatus.com.br/v1/lead-pages/{pageLinkId}/forms")
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{
"forms": [
{
"formId": "987654321098765",
"formName": "Orçamento — Outubro",
"status": "ACTIVE",
"questions": [
{
"key": "full_name",
"label": "full_name",
"type": "FULL_NAME",
"options": []
},
{
"key": "qual_ambiente",
"label": "Qual ambiente você quer reformar?",
"type": "CUSTOM",
"options": [
{
"key": "cozinha",
"value": "Cozinha"
}
]
}
],
"consentCheckboxes": [
{
"key": "whatsapp_optin",
"text": "Aceito receber mensagens no WhatsApp"
}
],
"consentAvailable": true,
"config": {
"formId": "987654321098765",
"formName": "Orçamento — Outubro",
"consentDisclaimerKey": "whatsapp_optin",
"autoSendEnabled": true,
"templateId": null,
"freeText": "Olá {{nome}}, recebemos seu pedido de orçamento!",
"variableMap": {
"nome": {
"source": "field",
"key": "full_name"
}
},
"updatedAt": "2026-10-21T09:30:00.000Z"
}
}
],
"formsTruncated": false,
"numberIsOfficial": false,
"templates": []
}{
"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": "This credential is not granted access to that WhatsApp number | Esta credencial não tem acesso a esse número de WhatsApp",
"code": "NUMBER_NOT_IN_GRANT"
}{
"error": "Page link not found | Vínculo de página não encontrado",
"code": "NOT_FOUND"
}{
"error": "Pilot Status does not have the required permissions on this Page yet. | A Pilot Status ainda não tem as permissões necessárias nesta página.",
"code": "PAGE_MISSING_PERMISSION",
"missingTasks": [
"PAGE_ACCESS"
]
}{
"error": "Internal server error | Erro interno do servidor",
"code": "INTERNAL_ERROR"
}{
"error": "Could not reach Meta right now. Try again. | Não foi possível consultar a Meta agora. Tente novamente.",
"code": "LEADS_LOOKUP_UNAVAILABLE"
}{
"error": "Meta lead capture is not configured on this installation. | Captura de leads da Meta não configurada nesta instalação.",
"code": "LEADS_NOT_CONFIGURED"
}