provider Message Templates POST /teams/{team_id}/message_templates
@utdk/front /teams/{team_id}/message_templates
Create team message template
Create a new message template for the given team (workspace). Required scope: `message_templates:write`
team_id path required
The team ID
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.

createTeamMessageTemplate
POST/teams/{team_id}/message_templates
Create a new message template for the given team (workspace). Required scope: `message_templates:write`

Parameters

required

The team ID

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

The specific inboxes this template is available in. If unspecified or null, then it will be available in all inboxes. Array should be non-empty.

Binary data of attached files. Must use `Content-Type: multipart/form-data` if specified. See [example](https://dev.frontapp.com/docs/attachments-1). Max 25 MB.

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.createTeamMessageTemplate({
  "team_id": "tim_55c8c149"
})