Get an Apple Messages template version's language
/v1/amb/templates/{template_ref}/versions/{version_id}/languages/{language}const language = await bird.amb.templates.versions.languages.get(
"bird_order_update",
"amv_01ky4x8e4genzb7way45txfkm1",
"en",
);
console.log(language.language, language.text);language = client.amb.templates.versions.languages.get(
"bird_order_update", "amv_01ky4x8e4genzb7way45txfkm1", "en"
)
print(language.language, language.text)language, err := client.Amb.Templates.Versions.Languages.Get(context.Background(), "bird_order_update", "amv_01ky4x8e4genzb7way45txfkm1", "en")
if err != nil {
log.Fatal(err)
}
fmt.Println(language.Language, language.Text)$language = $bird->amb->templates->versions->languages->get(
'bird_order_update',
'amv_01ky4x8e4genzb7way45txfkm1',
'en',
);
echo $language->getLanguage(), ' ', $language->getRevision();bird amb templates versions languages get <template-ref> <version-id> <language>curl -X GET "https://us1.platform.bird.com/v1/amb/templates/{template_ref}/versions/{version_id}/languages/{language}" \
-H "Authorization: Bearer $TOKEN"{
"language": "en",
"text": {
"body": "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.
Parámetros
template_refstringThe template's ID (amt_…) or slug.
version_idstringThe version that holds the language.
languagestringThe language as a BCP-47 tag. Case and separator differences are accepted and canonicalized.
Carga de respuesta
languageThe language in canonical BCP-47 form.
textStored text and files. Includes its {{ variable }} placeholders.
rich_linkStored link preview. Includes its {{ variable }} placeholders.
interactiveStored interaction. Includes its {{ variable }} placeholders.
Mostrar atributos secundarios
interactive.session_identifierSession UUID to preserve across interactions. Apple creates one when omitted.
interactive.request_identifierCorrelation identifier for this interaction. Bird generates one when omitted. Use a new value for each message. A reply is linked to its request only when no other sent message in the conversation uses the same identifier.
interactive.imagesImages the interaction references by image_identifier, such as list picker thumbnails.
interactive.quick_replyinteractive.session_identifierSession UUID to preserve across interactions. Apple creates one when omitted.
interactive.request_identifierCorrelation identifier for this interaction. Bird generates one when omitted. Use a new value for each message. A reply is linked to its request only when no other sent message in the conversation uses the same identifier.
interactive.imagesImages the interaction references by image_identifier, such as list picker thumbnails.
interactive.list_pickerinteractive.session_identifierSession UUID to preserve across interactions. Apple creates one when omitted.
interactive.request_identifierCorrelation identifier for this interaction. Bird generates one when omitted. Use a new value for each message. A reply is linked to its request only when no other sent message in the conversation uses the same identifier.
interactive.imagesImages the interaction references by image_identifier, such as list picker thumbnails.
interactive.eventinteractive.session_identifierSession UUID to preserve across interactions. Apple creates one when omitted.
interactive.request_identifierCorrelation identifier for this interaction. Bird generates one when omitted. Use a new value for each message. A reply is linked to its request only when no other sent message in the conversation uses the same identifier.
interactive.imagesImages the interaction references by image_identifier, such as list picker thumbnails.
interactive.dynamicForm content. Bird supplies Apple’s messageForms template and protocol version.
Mostrar atributos secundarios
interactive.dynamic.dataMostrar atributos secundarios
interactive.dynamic.data.start_page_identifierIdentifier of the first page to show.
interactive.dynamic.data.privateWhether Apple marks the submitted response as private.
interactive.dynamic.data.show_summaryWhether Apple shows a summary before the customer submits.
interactive.dynamic.data.splashinteractive.dynamic.data.pagesForm pages referenced by the start page and navigation identifiers.
Mostrar atributos secundarios
interactive.dynamic.data.pages.page_identifierUnique identifier for this page.
interactive.dynamic.data.pages.typeValue: select
interactive.dynamic.data.pages.titleinteractive.dynamic.data.pages.subtitleQuestion shown on this page.
interactive.dynamic.data.pages.next_page_identifierNext page to show. Omit to finish the form. Single-select pages route through their items instead.
interactive.dynamic.data.pages.submit_formMarks this page as an end page for the form. A page with no next page also finishes the form.
interactive.dynamic.data.pages.multiple_selectioninteractive.dynamic.data.pages.itemsinteractive.dynamic.data.pages.page_identifierUnique identifier for this page.
interactive.dynamic.data.pages.typeValue: picker
interactive.dynamic.data.pages.titleinteractive.dynamic.data.pages.subtitleQuestion shown on this page.
interactive.dynamic.data.pages.next_page_identifierNext page to show. Omit to finish the form. Single-select pages route through their items instead.
interactive.dynamic.data.pages.submit_formMarks this page as an end page for the form. A page with no next page also finishes the form.
interactive.dynamic.data.pages.picker_titleText beside the picker field. Omit to center the field without a label.
interactive.dynamic.data.pages.selected_item_indexZero-based index into items. Defaults to 0. Must be less than the number of items; otherwise sending returns 422 AMBFormPagesInvalid.
interactive.dynamic.data.pages.itemsinteractive.dynamic.data.pages.page_identifierUnique identifier for this page.
interactive.dynamic.data.pages.typeValue: date_picker
interactive.dynamic.data.pages.titleinteractive.dynamic.data.pages.subtitleQuestion shown on this page.
interactive.dynamic.data.pages.next_page_identifierNext page to show. Omit to finish the form. Single-select pages route through their items instead.
interactive.dynamic.data.pages.submit_formMarks this page as an end page for the form. A page with no next page also finishes the form.
interactive.dynamic.data.pages.hint_textinteractive.dynamic.data.pages.optionsApple defaults to UTC when interpreting these dates.
interactive.dynamic.data.pages.page_identifierUnique identifier for this page.
interactive.dynamic.data.pages.typeValue: input
interactive.dynamic.data.pages.titleinteractive.dynamic.data.pages.subtitleQuestion shown on this page.
interactive.dynamic.data.pages.next_page_identifierNext page to show. Omit to finish the form. Single-select pages route through their items instead.
interactive.dynamic.data.pages.submit_formMarks this page as an end page for the form. A page with no next page also finishes the form.
interactive.dynamic.data.pages.hint_textinteractive.dynamic.data.pages.optionsinteractive.received_messageContent Messages shows in the received message bubble. For a list picker, time picker or form, this is the visible introduction.
interactive.reply_messageContent Messages shows in the reply message bubble.
interactive.session_identifierSession UUID to preserve across interactions. Apple creates one when omitted.
interactive.request_identifierCorrelation identifier for this interaction. Bird generates one when omitted. Use a new value for each message. A reply is linked to its request only when no other sent message in the conversation uses the same identifier.
interactive.imagesImages the interaction references by image_identifier, such as list picker thumbnails.
interactive.imessage_appA custom iMessage app interaction. It also requires both received_message and reply_message.
interactive.session_identifierSession UUID to preserve across interactions. Apple creates one when omitted.
interactive.request_identifierCorrelation identifier for this interaction. Bird generates one when omitted. Use a new value for each message. A reply is linked to its request only when no other sent message in the conversation uses the same identifier.
interactive.imagesImages the interaction references by image_identifier, such as list picker thumbnails.
interactive.paymentApple Pay request created through the conversation payment endpoint. Contains no payment token or provider credentials.
interactive.session_identifierSession UUID to preserve across interactions. Apple creates one when omitted.
interactive.request_identifierCorrelation identifier for this interaction. Bird generates one when omitted. Use a new value for each message. A reply is linked to its request only when no other sent message in the conversation uses the same identifier.
interactive.imagesImages the interaction references by image_identifier, such as list picker thumbnails.
interactive.authenticateAuthentication attempt created through the conversation authentication endpoint. Contains no authorization parameters or credentials.
revisionThis language's revision counter, used for concurrent-edit checks on draft writes.
content_hashA fingerprint of Apple Messages template content, prefixed with its algorithm. Compare it within this API version to identify the exact source without transferring it.
updated_atWhen this language was last saved. Null for a built-in template.
Recursos relacionados
Continúa con la documentación, guías y ejemplos de este tema.