Obtener número (detalles de Meta)
Devuelve el número + toda la información de Meta cuando es un número de API oficial: un bloque anidado meta (phone / profile / waba, en camelCase) con calidad, nivel de límite de mensajería, estado de verificación, perfil de empresa y datos de la WABA, además de health. Se sirve desde caché de forma predeterminada; pasa ?refresh=1 para consultarlo en vivo en la Graph de Meta y guardarlo. Los números que no son de Meta devuelven meta: null. (La misma ruta acepta DELETE para eliminar; usa GET /api/v1/numbers/:id/status para un sondeo liviano solo del estado.) historyImport informa qué pasó con el historial del dispositivo de la conexión actual: discarded (firstAt, lastAt, events) cuando el historial llegó mientras settings.historyImportEnabled era false y se descartó, y syncRefused (at, reason: "SYNC_LIMIT_REACHED") cuando Meta se negó a enviarlo de nuevo. Ambos son definitivos: Meta entrega el historial de un número una sola vez. Ambos son null cuando no pasó nada. extraChargeUnpaidSince y extraChargeDisconnectAt (ISO 8601 o null) informan un cobro de número extra impago: mientras el primero esté definido, el envío desde el número está bloqueado (409 NUMBER_BLOCKED, reason: "extra_charge_unpaid") hasta que se pague (POST /v1/numbers/{id}/pay); el segundo es cuándo se desconecta un número emparejado por QR si sigue impago, y siempre es null en un número de Meta. Ambos son campos de nivel superior, no forman parte de health: health.sendable y health.code nunca los reflejan.
curl --request GET \
--url https://pilotstatus.com.br/v1/numbers/{id} \
--header 'x-api-key: <api-key>'import requests
url = "https://pilotstatus.com.br/v1/numbers/{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/numbers/{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/numbers/{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/numbers/{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/numbers/{id}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pilotstatus.com.br/v1/numbers/{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{
"id": "num_01HZX...",
"number": "+5511999999999",
"name": "Atendimento",
"provider": "META",
"state": "OPEN",
"isFullyConnected": true,
"settings": {
"historyImportEnabled": false,
"webhookHistoricalMessages": false,
"ignoreNewsletters": false,
"markReadOnSend": true,
"alwaysOnline": null,
"rejectCall": null,
"msgRejectCall": null,
"readMessages": null,
"ignoreGroups": null,
"ignoreStatus": null,
"appliesTo": {
"history": "all",
"advanced": "none",
"sending": "meta"
}
},
"historyImport": {
"discarded": null,
"syncRefused": null
},
"health": {
"qualityRating": "GREEN",
"messagingLimitTier": "TIER_2K",
"metaStatus": "CONNECTED",
"sendable": true
},
"extraChargeUnpaidSince": null,
"extraChargeDisconnectAt": null,
"meta": {
"fetchedAt": "2026-06-30T08:55:00.000Z",
"phone": {
"displayPhoneNumber": "+55 11 99999-9999",
"verifiedName": "Minha Empresa",
"qualityRating": "GREEN",
"status": "CONNECTED",
"codeVerificationStatus": "VERIFIED",
"nameStatus": "APPROVED",
"platformType": "CLOUD_API",
"isOnBizApp": false,
"throughput": {
"level": "STANDARD"
},
"messagingLimitTier": "TIER_2K",
"businessManagerMessagingLimit": "TIER_2K",
"accountMode": "LIVE"
},
"profile": {
"about": "Atendimento oficial",
"email": "contato@empresa.com",
"websites": [
"https://empresa.com"
],
"vertical": "PROF_SERVICES"
},
"waba": {
"id": "1234567890",
"name": "Empresa WABA",
"currency": "BRL",
"businessVerificationStatus": "verified",
"accountReviewStatus": "APPROVED",
"ownershipType": "CLIENT"
},
"errors": {}
},
"coexistence": {
"status": "NO",
"evidence": "meta_is_on_biz_app"
}
}{
"error": "Validation error"
}{
"error": "Unauthorized"
}{
"error": "Your workspace role does not allow this action (numbers:read).",
"code": "PERMISSION_DENIED"
}{
"error": "Number not found"
}{
"error": "Too many requests"
}¿Esta página le ayudó?
curl --request GET \
--url https://pilotstatus.com.br/v1/numbers/{id} \
--header 'x-api-key: <api-key>'import requests
url = "https://pilotstatus.com.br/v1/numbers/{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/numbers/{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/numbers/{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/numbers/{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/numbers/{id}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://pilotstatus.com.br/v1/numbers/{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{
"id": "num_01HZX...",
"number": "+5511999999999",
"name": "Atendimento",
"provider": "META",
"state": "OPEN",
"isFullyConnected": true,
"settings": {
"historyImportEnabled": false,
"webhookHistoricalMessages": false,
"ignoreNewsletters": false,
"markReadOnSend": true,
"alwaysOnline": null,
"rejectCall": null,
"msgRejectCall": null,
"readMessages": null,
"ignoreGroups": null,
"ignoreStatus": null,
"appliesTo": {
"history": "all",
"advanced": "none",
"sending": "meta"
}
},
"historyImport": {
"discarded": null,
"syncRefused": null
},
"health": {
"qualityRating": "GREEN",
"messagingLimitTier": "TIER_2K",
"metaStatus": "CONNECTED",
"sendable": true
},
"extraChargeUnpaidSince": null,
"extraChargeDisconnectAt": null,
"meta": {
"fetchedAt": "2026-06-30T08:55:00.000Z",
"phone": {
"displayPhoneNumber": "+55 11 99999-9999",
"verifiedName": "Minha Empresa",
"qualityRating": "GREEN",
"status": "CONNECTED",
"codeVerificationStatus": "VERIFIED",
"nameStatus": "APPROVED",
"platformType": "CLOUD_API",
"isOnBizApp": false,
"throughput": {
"level": "STANDARD"
},
"messagingLimitTier": "TIER_2K",
"businessManagerMessagingLimit": "TIER_2K",
"accountMode": "LIVE"
},
"profile": {
"about": "Atendimento oficial",
"email": "contato@empresa.com",
"websites": [
"https://empresa.com"
],
"vertical": "PROF_SERVICES"
},
"waba": {
"id": "1234567890",
"name": "Empresa WABA",
"currency": "BRL",
"businessVerificationStatus": "verified",
"accountReviewStatus": "APPROVED",
"ownershipType": "CLIENT"
},
"errors": {}
},
"coexistence": {
"status": "NO",
"evidence": "meta_is_on_biz_app"
}
}{
"error": "Validation error"
}{
"error": "Unauthorized"
}{
"error": "Your workspace role does not allow this action (numbers:read).",
"code": "PERMISSION_DENIED"
}{
"error": "Number not found"
}{
"error": "Too many requests"
}