WhatsApp

Retrieve one message template variant by name.

Meta stores one template per name + language, so a name identifies a family of variants, each with its own Meta id. Pass language to address one variant.

How the variant is resolved

  • Without language, a name with a single variant resolves to that variant.
  • Without language, a name with several returns 409 ambiguous_template with details.languages.
  • A bare language (es) matches a single regional variant (es_ES). If the family has several regional variants for it, that is also a 409.
  • A full code (es_ES) must match exactly.

Variants in PENDING_DELETION are not part of the family.

get/v1/whatsapp/templates/{templateName}

Request

  • Base URL
    https://zernio.com/api
  • URL
    https://zernio.com/api/v1/whatsapp/templates/{templateName}
  • Auth
    HTTP bearer

Path parameters

templateNamestring required

Template name (the family).

Query parameters

accountIdstring required

WhatsApp account ID

languagestring

Language code of the variant (e.g. en_US, es, pt_BR). Required when the family has several languages.

Response

Template retrieved successfully

successboolean

Changes

    • warning

      added the new account enum value to the / response property for the response status

    • warning

      added the new account enum value to the / response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status