AlphaAlpha Docs
API ReferenceEmail templates

Get template for a specific type

GET
/communications/templates/by-type/{type}
AuthorizationBearer <token>

In: header

Path Parameters

type*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/communications/templates/by-type/string"
{
  "active": true,
  "body": "string",
  "category": "string",
  "created": "2019-08-24T14:15:22Z",
  "createdBy": "string",
  "description": "string",
  "enabled": true,
  "events": [
    {
      "authorId": "string",
      "date": "2019-08-24T14:15:22Z",
      "description": "string",
      "id": "string",
      "type": "CREATE"
    }
  ],
  "fixedSenderAddress": "string",
  "id": "string",
  "includeSignature": true,
  "isActive": true,
  "isEnabled": true,
  "name": "string",
  "number": "string",
  "reminders": [
    {
      "body": "string",
      "delayUnit": "HOURS",
      "delayValue": 0,
      "enabled": true,
      "id": "string",
      "isEnabled": true,
      "sendWindow": {
        "daysOfWeek": [
          "MONDAY"
        ],
        "endHour": 0,
        "endMinute": 0,
        "startHour": 0,
        "startMinute": 0
      },
      "subject": "string",
      "translations": {
        "property1": {
          "body": "string",
          "subject": "string"
        },
        "property2": {
          "body": "string",
          "subject": "string"
        }
      }
    }
  ],
  "senderMode": "CURRENT_USER",
  "subject": "string",
  "tags": [
    "string"
  ],
  "templateType": "string",
  "tenantId": "string",
  "translations": {
    "property1": {
      "body": "string",
      "subject": "string"
    },
    "property2": {
      "body": "string",
      "subject": "string"
    }
  },
  "updated": "2019-08-24T14:15:22Z",
  "updatedBy": "string",
  "variables": [
    {
      "defaultValue": "string",
      "description": "string",
      "name": "string",
      "required": true,
      "type": "STRING"
    }
  ],
  "version": 0
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}