Get an SMS template version's language
GET
/v1/sms/templates/{template_ref}/versions/{version_id}/languages/{language}
const language = await bird.smsTemplates.versions.languages.get(
"bird_otp_verification",
"smv_01ky4x8e4genzb7way45txfkm1",
"en",
);
console.log(language.language, language.text);language = client.sms_templates.versions.languages.get(
"bird_otp_verification", "smv_01ky4x8e4genzb7way45txfkm1", "en"
)
print(language.language, language.text)language, err := client.SmsTemplates.Versions.Languages.Get(context.Background(), "bird_otp_verification", "smv_01ky4x8e4genzb7way45txfkm1", "en")
if err != nil {
log.Fatal(err)
}
fmt.Println(language.Language, language.Text)$language = $bird->smsTemplates->versions->languages->get(
'bird_otp_verification',
'smv_01ky4x8e4genzb7way45txfkm1',
'en',
);
echo $language->getLanguage(), ' ', $language->getText();bird sms templates versions languages get <template-ref> <version-id> <language>curl -X GET "https://us1.platform.bird.com/v1/sms/templates/{template_ref}/versions/{version_id}/languages/{language}" \
-H "Authorization: Bearer $TOKEN"Réponse200
{
"language": "en",
"text": "Your order {{ order_number }} is on its way.",
"revision": 1,
"content_hash": "sha256:3d948846f5f773fb7bed8ab81b57f3d0ff2cbff24cb549718f4d389f1ab0300a",
"updated_at": "2026-09-10T09:00:00Z"
}
Returns one language's full text, revision, content hash, and update time. The response echoes the language in its canonical BCP-47 form.
Paramètres
template_ref
string
The template's ID (smt_…) or slug.
version_id
string
The version that holds the language.
language
string
The language as a BCP-47 tag. Case and separator differences are accepted and canonicalized.
Contenu de la réponse
language
string
obligatoire
The language in canonical BCP-47 form.
text
string
obligatoire
Stored template text, including its {{ variable }} placeholders.
revision
integer
obligatoire
This language's revision counter, used for concurrent-edit checks on draft writes.
content_hash
string
obligatoire
A fingerprint of SMS template text, prefixed with its algorithm. Compare it within this API version to identify the exact source without transferring it.
updated_at
nullable string
obligatoire
When this language was last saved. Null for a built-in template.
Ressources associées
Poursuivez avec la documentation, les guides et les exemples sur ce sujet. Les ressources sont en anglais.
Comprendre le conceptShould I use a Bird SDK or call the API directly?Suivre le parcours d'apprentissageBuild your first integrationGuide d'implémentationSend your first email
Obtenir un guide d'implémentation