---
title: "Add Message Template"
method: POST
path: "/template"
tags: ["Message Template"]
---

# Add Message Template

`POST /template`

Add a message template with data..

<strong>HTTP Request</strong>

    POST https://api.mnotify.com/api/template
 <p class="alert-primary"><i class="las la-info-circle" style="font-size:24px"></i>the response parameter _id returned in the JSON response is the id of the newly created message template. You can save it somewhere in your personal DB.</p>
 <span class="alert-success" style="margin-top:14px"><i class="las la-check-circle" style="font-size:24px"></i>You can add placeholders for firstname: [fname], fullname: [fullname], title and lastname: [lname]</span>

## Path parameters

- `key` string, required
- `title` string, required
- `body` unknown, required

## Response `200`

Success

- AddTemplate
  - `status` string
  - `_id` string — Contains array of templates

---

[API](https://skmtc.dev/mnotify/apis/bms-documentation.md) · [All operations](https://skmtc.dev/mnotify/apis/bms-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mnotify/bms-documentation/revisions/c06855f2ed03/schema)
