---
updatedAt: 2026-10-20T19:18:00.000Z
agentTools:
  projectIndex: https://developers.tangocard.com/llms.txt
---

# Get details for a specific digital template

You may need to retrieve the content of a specific digital template to preview the template before sending a communication or edit and update the template.

<br />

## Endpoint

Use the following endpoint to receive details of a specific digital template on this platform:

| Endpoint                             | Purpose                                                                                  |
| :----------------------------------- | :--------------------------------------------------------------------------------------- |
| `GET /{URI}/digitalTemplates/{etid}` | Get details for a specific digital template on this platform (email and text messaging). |

<br />

## Parameters

Here is the path parameter for this endpoint which returns the ETID:

| Path params | Data type | Requirement | Description                                                                  |
| :---------- | :-------- | :---------- | :--------------------------------------------------------------------------- |
| etid        | string    | Required    | The template ID (ETID) is returned in the digital template response payload. |

<br />

## Examples

See the payload example below:

```Text &#x60;GET /{URI}/digitalTemplates/{etid}&#x60;
{
  "etid": "string",
  "name": "string",
  "fromName": "string",
  "subject": "string",
  "headerImage": "string",
  "headerImageAltText": "string",
  "accentColor": "string",
  "messageBody": "string",
  "closing": "string",
  "customerServiceMessage": "string",
  "accessControls": [
    {
      "type": "PLATFORM",
      "identifier": "string"
    }
  ],
  "defaults": [
    {
      "type": "PLATFORM",
      "identifier": "string"
    }
  ]
}
```

Here's an example payload for when you receive an error:

```Text error message
{
  "timestamp": "2025-02-21T23:23:13.930Z",
  "requestId": "string",
  "path": "string",
  "httpCode": 0,
  "httpPhrase": "string",
  "i18nKey": "string",
  "message": "The error message will show here for error codes ",
  "errors": [
    {}
  ]
}
```

<br />

## Response codes

The possible response codes for this endpoint are as follows. For details, see [i18nkey codes and their error messages](https://developers.tangocard.com/docs/tango-response-classes#i18nkey-codes-and-their-error-messages):

| Response code | Meaning                                                                                                                                                |
| :------------ | :----------------------------------------------------------------------------------------------------------------------------------------------------- |
| 200           | The request was successful.                                                                                                                            |
| 400           | The server could not understand the request due to invalid syntax.                                                                                     |
| 401           | Authentication is required and has either not been provided or failed.                                                                                 |
| 403           | The server understood the request but refuses to authorize it.                                                                                         |
| 404           | The server could not find the requested resource. In other words, the URL you’re trying to access doesn’t point to anything that exists on the server. |
| 500           | Something went wrong on the server, but the server cannot be more specific about what the exact problem is.                                            |
| 503           | The server is currently unable to handle the request due to temporary overload or maintenance.                                                         |

<br />