Skip to main content
GET
/
v1
/
admin
/
notifications
/
email-templates
/
{type}
Get template and subscribers for a notification type
curl --request GET \
  --url http://localhost:3000/v1/admin/notifications/email-templates/{type}
{
  "template": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "notification_type": "<string>",
    "subject": "<string>",
    "body_html": "<string>",
    "body_text": "<string>",
    "is_enabled": true,
    "available_variables": [
      "<string>"
    ],
    "created_at": "<string>",
    "updated_at": "<string>"
  },
  "subscribers": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "first_name": "<string>",
      "last_name": "<string>",
      "email": "<string>"
    }
  ]
}

Path Parameters

type
string
required

Response

Template and subscribers

template
object
required
subscribers
object[]
required