curl --request GET \
--url https://spectrum.photon.codes/projects/{projectId}/whatsapp-business/accounts/{accountId}/templates/{
"succeed": true,
"data": {
"templates": [
{
"id": "<string>",
"name": "<string>",
"language": "<string>",
"components": [
{
"type": "<string>"
}
],
"qualityScore": {
"score": "<string>"
},
"rejectedReason": "<string>"
}
],
"paging": {
"nextCursor": "<string>",
"prevCursor": "<string>"
}
}
}Lists message templates for the given WhatsApp Business account. Forwards filters to Meta Graph (https://developers.facebook.com/docs/whatsapp/business-management-api/message-templates) and forwards opaque cursors via paging.nextCursor / paging.prevCursor. Component JSON is preserved in Meta’s snake_case shape — see Meta’s components reference. Requires Authorization: Basic base64(projectId:projectSecret).
curl --request GET \
--url https://spectrum.photon.codes/projects/{projectId}/whatsapp-business/accounts/{accountId}/templates/{
"succeed": true,
"data": {
"templates": [
{
"id": "<string>",
"name": "<string>",
"language": "<string>",
"components": [
{
"type": "<string>"
}
],
"qualityScore": {
"score": "<string>"
},
"rejectedReason": "<string>"
}
],
"paging": {
"nextCursor": "<string>",
"prevCursor": "<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)$^([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)$1 - 5121 - 5121 <= x <= 100Was this page helpful?