# Get a template Endpoint: GET /v2/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): - `id` (string) The id of the template. Specify this yourself during creation. Otherwise, we will generate an ID for you. This must be unique for a given project. Example: "id_string" - `description` (string) The description of the template. Example: "Template description" - `version` (integer) The version of the template. While creating a template, this will be defaulted to 1. When updating a template, you must supply the latest version of the template in order for the update to be successful. Example: 1 - `default_translation` (string) The default translation to use if not specified. Specified as a BCP-47 and the must exist in the translations list. Example: "en-US" - `translations` (array) - `translations.language_code` (string, required) The BCP-47 language code, such as or . For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier. - `translations.version` (string) The version of the translation. Example: "1" - `translations.channel_template_overrides` (object) Field to override the omnichannel template by referring to a channel-specific template. The key in the map must point to a valid conversation channel. Currently only and are supported - `translations.variables` (array) List of expected variables. Can be used for request validation. - `translations.variables.key` (string) - `translations.variables.preview_value` (string) - `translations.create_time` (string) Timestamp when the translation was created. - `translations.update_time` (string) Timestamp of when the translation was updated. - `create_time` (string) Timestamp of when the template was created. - `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)