provider Message Templates POST /teammates/{teammate_id}/message_templates
@utdk/front /teammates/{teammate_id}/message_templates
Create teammate message template
Create a new message template for the given teammate Required scope: `message_templates:write`
teammate_id path required
The teammate ID. Alternatively, you can supply an email as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).
string

Try it

Authentication
Configure credentials for Core API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

createTeammateMessageTemplate
POST/teammates/{teammate_id}/message_templates
Create a new message template for the given teammate Required scope: `message_templates:write`

Parameters

required

The teammate ID. Alternatively, you can supply an email as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).

Input

required

Name of the message template

Subject of the message template.

required

Body of the message template. You can supply HTML with inline CSS to structure and style your template.

ID of the message template folder to place this message template in

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import front from '@utdk/front';

await front.createTeammateMessageTemplate({
  "teammate_id": "tea_123"
})