# Introduction

## Alert Template model

### Example

```json
{
  "id": 4,
  "type": "Fire alert",
  "message": "Fire has broke out",
  "created_at": "2021-05-14T09:26:14.823Z",
  "updated_at": "2021-05-14T09:26:14.823Z"
}
```

### Definition

Key | Type | Optional | Description
--------- | --------- | --------- | ---------
id | integer | no |
type | string | no | One of available alert types
message | string | no | Content of message sent to recipients
created_at | datetime | no | Time of creation
updated_at | datetime | no | Time of last update

## Alert Template Payload model

Key         | Type      | Description
---------   | --------- | ---------
**type**    | string    | Must match available alert types
**message** | string    | Content of message sent to recipients