---
title: "EmailTemplate"
url: "https://nov18-dev.movespot.fyi/apis/portal-management-v3-3/versions/209d0e93-97b5-4dd3-a5a4-172ba6d8a51e/schemas/EmailTemplate"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/portal-management-v3-3/versions/209d0e93-97b5-4dd3-a5a4-172ba6d8a51e.md

# EmailTemplate

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Portal Management V3
  version: 3.4.1
servers:
  - url: https://us.api.konghq.com/v3
    description: United-States Production region
  - url: https://eu.api.konghq.com/v3
    description: Europe Production region
  - url: https://au.api.konghq.com/v3
    description: Australia Production region
  - url: https://me.api.konghq.com/v3
    description: Middle-East Production region
  - url: https://in.api.konghq.com/v3
    description: India Production region
  - url: https://sg.api.konghq.com/v3
    description: Singapore Production region
components:
  schemas:
    EmailTemplateName:
      description: |
        Short name email template name.
      type: string
      enum:
        - confirm-email-address
        - app-registration-approved
        - app-registration-rejected
        - app-registration-revoked
        - reset-password
        - account-access-approved
        - account-access-rejected
        - account-access-revoked
        - api-key-expiring-soon
        - api-key-expired
        - developer-invitation
    DefaultEmailTemplateContent:
      type: object
      properties:
        subject:
          type: string
          nullable: false
        title:
          type: string
          nullable: false
        body:
          type: string
          nullable: false
        button_label:
          type: string
          nullable: false
      required:
        - subject
        - title
        - body
    EmailTemplateContent:
      type: object
      properties:
        subject:
          type: string
          maxLength: 1024
          nullable: true
        title:
          type: string
          maxLength: 1024
          nullable: true
        body:
          type: string
          maxLength: 4096
          nullable: true
        button_label:
          type: string
          maxLength: 128
          nullable: true
      nullable: true
    EmailTemplateVariableName:
      description: |
        Enum for available portal email template variables.
      type: string
      enum:
        - portal_display_name
        - portal_domain
        - developer_email
        - developer_fullname
        - dev_portal_reply_to
        - developer_status
        - api_documentation_url
        - api_name
        - api_version
        - application_name
        - credential_name
        - credential_expires_at
    CreatedAt:
      description: An ISO-8601 timestamp representation of entity creation date.
      type: string
      format: date-time
      example: 2022-11-04T20:10:06.927Z
      readOnly: true
    UpdatedAt:
      description: An ISO-8601 timestamp representation of entity update date.
      type: string
      format: date-time
      example: 2022-11-04T20:10:06.927Z
      readOnly: true
    EmailTemplate:
      type: object
      properties:
        label:
          description: The label of the email template
          type: string
          example: App registration approved
        name:
          $ref: "#/components/schemas/EmailTemplateName"
        default_content:
          $ref: "#/components/schemas/DefaultEmailTemplateContent"
        content:
          $ref: "#/components/schemas/EmailTemplateContent"
        variables:
          type: array
          items:
            $ref: "#/components/schemas/EmailTemplateVariableName"
        enabled:
          description: Whether the email template is enabled or disabled for a portal
          type: boolean
        created_at:
          $ref: "#/components/schemas/CreatedAt"
        updated_at:
          $ref: "#/components/schemas/UpdatedAt"
      required:
        - name
        - label
        - default_content
        - variables
        - enabled
        - created_at
        - updated_at
```
