Front Application Message Templates API

The Application Message Templates API from Front — 2 operation(s) for application message templates.

Operations 2

PUT /channels/{channel_id}/application_message_templates Sync application message template #
PATCH /channels/{channel_id}/application_message_templates/{external_id} Update application message template #

Documentation

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/front-application-message-templates-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

front-application-message-templates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0.0
  title: Channel Application Message Templates API
  contact:
    name: Front Platform
    url: https://community.front.com
servers:
- url: https://api2.frontapp.com
security:
- http: []
tags:
- name: Application Message Templates
paths:
  /channels/{channel_id}/application_message_templates:
    put:
      summary: Sync application message template
      operationId: sync-application-message-template
      description: Import an application message template from an external service (such as WhatsApp or Facebook). The message template becomes available for use by the channel specified if configured as described in this topic.
      tags:
      - Application Message Templates
      parameters:
      - in: path
        name: channel_id
        required: true
        description: The channel ID. Alternatively, you can supply the channel address as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).
        schema:
          type: string
          default: cha_123
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApplicationMessageTemplate'
      responses:
        '200':
          $ref: '#/components/responses/applicationMessageTemplate'
        '400':
          description: Channel is not an application channel or does not support application message templates.
      x-required-scopes:
      - message_templates:write
  /channels/{channel_id}/application_message_templates/{external_id}:
    patch:
      summary: Update application message template
      operationId: update-application-message-template
      description: Update an application message template that already exists in Front.
      tags:
      - Application Message Templates
      parameters:
      - in: path
        name: channel_id
        required: true
        description: The channel ID. Alternatively, you can supply the channel address as a [resource alias](https://dev.frontapp.com/docs/resource-aliases-1).
        schema:
          type: string
          default: cha_123
      - in: path
        name: external_id
        required: true
        description: The external ID of the application message template.
        schema:
          type: string
          default: ext_123
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApplicationMessageTemplateEditBlob'
      responses:
        '200':
          $ref: '#/components/responses/applicationMessageTemplate'
        '400':
          description: Channel is not an application channel or does not support application message templates.
      x-required-scopes:
      - message_templates:write
components:
  schemas:
    ApplicationMessageTemplateResponse:
      description: Response for an application message template.
      type: object
      properties:
        template_id:
          type: number
          description: ID of the application message template
          example: msg_777
    ApplicationMessageTemplateEditBlob:
      properties:
        name:
          type: string
          description: Name of the message template.
        blurb:
          type: string
          description: A limited preview of the message template content.
        is_disabled:
          type: boolean
          description: Whether the message template is enabled for use in the external service.
        status_name:
          type: string
          description: Either "PENDING", "APPROVED", or "REJECTED". This value helps admins understand why a template may be enabled or disabled in the external service.
        variable_mappings:
          type: array
          description: List of variable mappings
          items:
            type: object
            required:
            - uid
            - type
            - name
            properties:
              uid:
                type: string
                description: Value of the variable
              name:
                type: string
                description: Name of the variable
              type:
                type: string
                description: Type of the variable
        template_preview:
          type: string
          description: Preview of the template
    ApplicationMessageTemplate:
      required:
      - external_id
      - name
      - blurb
      - is_disabled
      - status_name
      - variable_mappings
      - template_preview
      allOf:
      - $ref: '#/components/schemas/ApplicationMessageTemplateEditBlob'
      - type: object
        properties:
          external_id:
            type: string
  responses:
    applicationMessageTemplate:
      description: An application message template
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApplicationMessageTemplateResponse'
  securitySchemes:
    http:
      type: http
      scheme: bearer
      bearerFormat: JWT
x-api-id: front
x-explorer-enabled: false
x-proxy-enabled: true
x-samples-enabled: true