List WhatsApp phone numbers
curl --request GET \
--url http://localhost:8787/api/v1/whatsapp/fetch-numbers \
--header 'Authorization: Bearer <token>'import requests
url = "http://localhost:8787/api/v1/whatsapp/fetch-numbers"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:8787/api/v1/whatsapp/fetch-numbers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));WhatsApp Campaigns
List WhatsApp phone numbers
Retrieve registered WhatsApp sender phone numbers from Meta
GET
/
whatsapp
/
fetch-numbers
List WhatsApp phone numbers
curl --request GET \
--url http://localhost:8787/api/v1/whatsapp/fetch-numbers \
--header 'Authorization: Bearer <token>'import requests
url = "http://localhost:8787/api/v1/whatsapp/fetch-numbers"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('http://localhost:8787/api/v1/whatsapp/fetch-numbers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Queries Meta to fetch all registered sender phone numbers associated with your connected WhatsApp Business Account.
curl -X GET https://api.agentic-os.com/api/v1/whatsapp/fetch-numbers \
-H "Authorization: Bearer $AGENTIC_OS_API_KEY"
import requests
response = requests.get(
"https://api.agentic-os.com/api/v1/whatsapp/fetch-numbers",
headers={"Authorization": f"Bearer {API_KEY}"},
)
print(response.json())
const response = await fetch(
"https://api.agentic-os.com/api/v1/whatsapp/fetch-numbers",
{
method: "GET",
headers: { Authorization: `Bearer ${API_KEY}` },
},
);
const data = await response.json();
console.log(data);
Response
[
{
"id": "105938472910293",
"displayPhoneNumber": "+1 555-0199",
"verifiedName": "Agentic OS Support",
"qualityRating": "GREEN"
}
]
⌘I

