Get details for a specific email template
Use the following endpoint to receive details of a specific email template on this platform:
Endpoint | Purpose |
---|---|
GET /{URI}/emailTemplates/{etid} | Get details for a specific email template on this platform. |
Here is the path parameter for this endpoint which returns the etid:
Path params | Data type | Description |
---|---|---|
etid | string | Email Template Identifier (ETID) is returned in the email template response payload. (Required) |
See the payload example below:
{
"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:
{
"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": [
{}
]
}
The possible response codes for this endpoint are:
- 200 OK
- 400 Bad Request
- 401 Unauthorized
- 403 Forbidden
- 404 Not Found
Updated 6 days ago