Get WhatsApp webhook details
curl --request GET \
--url http://localhost:8787/api/v1/whatsapp/webhook-details \
--header 'Authorization: Bearer <token>'import requests
url = "http://localhost:8787/api/v1/whatsapp/webhook-details"
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/webhook-details', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));WhatsApp Campaigns
Get WhatsApp webhook details
Retrieve webhook callback URL and verify token for Meta integration
GET
/
whatsapp
/
webhook-details
Get WhatsApp webhook details
curl --request GET \
--url http://localhost:8787/api/v1/whatsapp/webhook-details \
--header 'Authorization: Bearer <token>'import requests
url = "http://localhost:8787/api/v1/whatsapp/webhook-details"
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/webhook-details', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Fetches the webhook configuration details needed to configure webhook callbacks in the Meta Developer App portal.
curl -X GET https://api.agentic-os.com/api/v1/whatsapp/webhook-details \
-H "Authorization: Bearer $AGENTIC_OS_API_KEY"
import requests
response = requests.get(
"https://api.agentic-os.com/api/v1/whatsapp/webhook-details",
headers={"Authorization": f"Bearer {API_KEY}"},
)
print(response.json())
const response = await fetch(
"https://api.agentic-os.com/api/v1/whatsapp/webhook-details",
{
method: "GET",
headers: { Authorization: `Bearer ${API_KEY}` },
},
);
const data = await response.json();
console.log(data);
Response
{
"webhookUrl": "https://api.agentic-os.com/api/v1/whatsapp/webhook",
"verifyToken": "wa_verify_sec_990e8400e29b41d4a716446655440000"
}
⌘I

