email-templates

List a version's languages

Returns every language the version holds, ordered by language tag, without the content itself, so listing a template with twenty-five languages stays small.

Each entry has the language's revision (send it back when you save that language) and its content_hash, so you can tell which languages changed since you last read them and fetch only those. Read a single language for its subject and bodies.

get/v1/email/templates/{template_ref}/versions/{version_id}/languages

Request

  • Base URL: https://us1.platform.bird.com
  • URL: https://us1.platform.bird.com/v1/email/templates/{template_ref}/versions/{version_id}/languages
  • Auth: one of:
    • HTTP bearer
    • API key in cookie bird_session

Headers

X-Workspace-Idstring

Workspace context for the request. Required for dashboard authentication and master keys. Workspace keys and access tokens already identify their workspace; send that workspace or omit the header. A different one is rejected.

X-Organization-Idstring

Organization context for the request. Required for dashboard authentication. An API key or access token carries its own organization, so send either that organization or no header at all; a different one is rejected.

Response

The version's languages.

Example response

{
  "data": [
    {
      "language": "pt-BR",
      "content_hash": "sha256:9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.