GET
Get Templates
Lists message templates for the connected WhatsApp Business Account. Each item includes send-ready components and raw_components for form builders.
API endpoint
https://waclient.com/api/get_meta_templateExample:
curl -X GET \
'https://waclient.com/api/get_meta_template' \
-G \
--data-urlencode 'instance_id=META68B6ED90CXXXX' \
--data-urlencode 'access_token=EMCUH3NQQK8YXXXX' \
--data-urlencode 'status=APPROVED'Response
{
"status": "success",
"message": "Success",
"count": 2,
"data": [
{
"id": "25086889100995677",
"template_name": "otp",
"language_code": "en",
"status": "APPROVED",
"category": "AUTHENTICATION",
"components": [
{
"type": "body",
"parameters": [
{
"type": "text",
"text": "123456"
}
]
},
{
"type": "button",
"sub_type": "url",
"index": "0",
"parameters": [
{
"type": "text",
"text": "123456"
}
]
}
],
"raw_components": [
{
"type": "BODY",
"text": "*{{1}}* is your verification code."
},
{
"type": "BUTTONS",
"buttons": [
{
"type": "URL",
"url": "https://www.whatsapp.com/otp/code/?otp_type=COPY_CODE&code=otp{{1}}"
}
]
}
]
},
{
"id": "1653196952311007",
"template_name": "hello_world",
"language_code": "en_US",
"status": "APPROVED",
"category": "UTILITY",
"components": [],
"raw_components": []
}
]
}| Parameter | Description |
|---|---|
| instance_id | Meta Cloud instance ID |
| access_token | Your access token |
| status | Optional filter: APPROVED, PENDING, REJECTED, or all. Omit to return every status. (Optional) |
When a media header only has a Meta CDN example handle, the scaffold leaves
link empty — you must supply a public HTTPS URL when sending.