# Get a template Endpoint: GET /v1/projects/{project_id}/templates/{template_id} Version: 457aacb5 Security: Basic, oAuth2 ## Path parameters: - `project_id` (string, required) Required. The project ID. - `template_id` (string, required) Required. The ID of the template to fetch. ## Response 200 fields (application/json): - `channel` (string) Enum: "UNSPECIFIED", "CONVERSATION", "MESSENGER", "WHATSAPP", "RCS", "SMS", "VIBERBM", "TELEGRAM", "INSTAGRAM", "KAKAOTALK", "APPLEBC" - `create_time` (string) Timestamp when the template was created. - `default_translation` (string) The default translation to use if not specified. Specified as a BCP-47 and the must exist in the translations list. - `description` (string) The description of the template. - `id` (string) The id of the template. Specify this yourself during creation otherwise we will generate an ID for you. This has to be unique for a given project. - `translations` (array) List of translations for the template. - `translations.content` (string) This is the definition of the template with the language specified in the language_code field. - `translations.create_time` (string) Timestamp when the translation was created. - `translations.language_code` (string) The BCP-47 language code, such as or . For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. - `translations.update_time` (string) Timestamp of when the translation was updated. - `translations.variables` (array) List of expected variables. Can be used for request validation. - `translations.variables.key` (string) - `translations.variables.preview_value` (string) - `translations.version` (string) The version of template. - `update_time` (string) Timestamp when the template was updated. ## Response default fields (application/json): - `error` (object) - `error.code` (integer) - `error.details` (array) - `error.details.type_url` (string) - `error.details.value` (string) - `error.message` (string) - `error.status` (string)