Números
Verificar números en WhatsApp
Verifica si números de teléfono están registrados en WhatsApp, mediante la sesión del propio número; solo números no oficiales (Pilot Status web); un número de Meta recibe 400 NOT_SUPPORTED_FOR_META. Envía numbers (1–20) o un único number. Cada móvil +55 se verifica con y sin el noveno dígito; number en el resultado es la variante registrada. Las entradas que no son un teléfono se omiten de los resultados.
Auth: una clave de alcance de número, o una clave de toda la cuenta con el header x-whatsapp-number-id (si no, 403 TENANT_SCOPE_NOT_ALLOWED). Los tokens OAuth/MCP y las claves de cuenta también necesitan contacts:read (AGENT, ADMIN u OWNER).
POST
/
v1
/
numbers
/
check
Verificar números en WhatsApp
curl --request POST \
--url https://pilotstatus.com.br/v1/numbers/check \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"numbers": [
"+5511955554444",
"5511888888888"
],
"number": "+5511955554444"
}
'import requests
url = "https://pilotstatus.com.br/v1/numbers/check"
payload = {
"numbers": ["+5511955554444", "5511888888888"],
"number": "+5511955554444"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({numbers: ['+5511955554444', '5511888888888'], number: '+5511955554444'})
};
fetch('https://pilotstatus.com.br/v1/numbers/check', 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/check",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'numbers' => [
'+5511955554444',
'5511888888888'
],
'number' => '+5511955554444'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://pilotstatus.com.br/v1/numbers/check"
payload := strings.NewReader("{\n \"numbers\": [\n \"+5511955554444\",\n \"5511888888888\"\n ],\n \"number\": \"+5511955554444\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://pilotstatus.com.br/v1/numbers/check")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"numbers\": [\n \"+5511955554444\",\n \"5511888888888\"\n ],\n \"number\": \"+5511955554444\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://pilotstatus.com.br/v1/numbers/check")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"numbers\": [\n \"+5511955554444\",\n \"5511888888888\"\n ],\n \"number\": \"+5511955554444\"\n}"
response = http.request(request)
puts response.read_body{
"results": [
{
"input": "+5511955554444",
"exists": true,
"number": "551155554444",
"name": "Maria Souza"
},
{
"input": "5511888888888",
"exists": false,
"number": null,
"name": null
}
]
}Cuerpo
application/json
¿Esta página le ayudó?
⌘I
Verificar números en WhatsApp
curl --request POST \
--url https://pilotstatus.com.br/v1/numbers/check \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"numbers": [
"+5511955554444",
"5511888888888"
],
"number": "+5511955554444"
}
'import requests
url = "https://pilotstatus.com.br/v1/numbers/check"
payload = {
"numbers": ["+5511955554444", "5511888888888"],
"number": "+5511955554444"
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({numbers: ['+5511955554444', '5511888888888'], number: '+5511955554444'})
};
fetch('https://pilotstatus.com.br/v1/numbers/check', 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/check",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'numbers' => [
'+5511955554444',
'5511888888888'
],
'number' => '+5511955554444'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://pilotstatus.com.br/v1/numbers/check"
payload := strings.NewReader("{\n \"numbers\": [\n \"+5511955554444\",\n \"5511888888888\"\n ],\n \"number\": \"+5511955554444\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://pilotstatus.com.br/v1/numbers/check")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"numbers\": [\n \"+5511955554444\",\n \"5511888888888\"\n ],\n \"number\": \"+5511955554444\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://pilotstatus.com.br/v1/numbers/check")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"numbers\": [\n \"+5511955554444\",\n \"5511888888888\"\n ],\n \"number\": \"+5511955554444\"\n}"
response = http.request(request)
puts response.read_body{
"results": [
{
"input": "+5511955554444",
"exists": true,
"number": "551155554444",
"name": "Maria Souza"
},
{
"input": "5511888888888",
"exists": false,
"number": null,
"name": null
}
]
}