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 social 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

Changed in 1 of the 29 revisions of this API.2

    • added the new optional query request parameter language

      new-optional-request-parameter

    • added the optional property template/availableLanguages to the response with the 200 status

      response-optional-property-added