curl --request GET \
--url https://spectrum.photon.codes/projects/{projectId}/whatsapp-business/accounts{
"succeed": true,
"data": {
"accounts": [
{
"accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"wabaId": "<string>",
"businessName": "<string>",
"createdAt": "<string>"
}
]
}
}Lists the project’s onboarded WhatsApp Business accounts (WABAs), newest first. Each entry returns the internal accountId (used to scope template endpoints under /accounts/:accountId/templates), Meta’s wabaId, the businessName Meta returned at onboarding (nullable), and createdAt. Returns an empty array if the project has none. Requires Authorization: Basic base64(projectId:projectSecret).
curl --request GET \
--url https://spectrum.photon.codes/projects/{projectId}/whatsapp-business/accounts{
"succeed": true,
"data": {
"accounts": [
{
"accountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"wabaId": "<string>",
"businessName": "<string>",
"createdAt": "<string>"
}
]
}
}Documentation Index
Fetch the complete documentation index at: https://docs.photon.codes/docs/llms.txt
Use this file to discover all available pages before exploring further.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Was this page helpful?