Sign inGet Started

List an Apple Messages template version's languages

GET
/v1/amb/templates/{template_ref}/versions/{version_id}/languages
const { data } = await bird.amb.templates.versions.languages.list(
  "bird_order_update",
  "amv_01ky4x8e4genzb7way45txfkm1",
);
for (const language of data) console.log(language.language, language.revision);
Risposta200
{
  "data": [
    {
      "language": "en",
      "revision": 1,
      "content_hash": "sha256:3d948846f5f773fb7bed8ab81b57f3d0ff2cbff24cb549718f4d389f1ab0300a",
      "updated_at": "2026-09-10T09:00:00Z"
    }
  ]
}

Returns the languages a version holds, ordered by canonical language tag, without their text. Each summary includes the revision and content hash needed to detect changes. A version holds at most 25 languages.

Parametri

template_refstring

The template's ID (amt_…) or slug.

version_idstring

The version whose languages to list.

Payload di risposta

data
array of object
obbligatorio

The version's languages ordered by canonical tag, without content.

Mostra attributi secondari

Continua con la documentazione, le guide e gli esempi per questo argomento.