WhatsApp Templates

Look up a library template

Look up a single pre-approved Template Library template by its exact name, to introspect its structure before importing it. Most importantly it returns the template's buttons: a library template with URL / PHONE_NUMBER buttons must be created with a matching library_template_button_inputs array (see Create Template), or Meta rejects it. Use this to discover which inputs to collect.

get/v1/whatsapp/template-library

Query parameters

accountIdstring required

WhatsApp account ID

namestring required

Exact library template name

languagestring

Desired language variant (e.g. es, en_US). If the template is not offered in it, the first available variant is returned and named in the response language field.

Response

Library template (or null if no exact match)

Changes