Zoho IM Template Message API

The IMTemplateMessage API from Zoho — 2 operation(s) for imtemplatemessage.

Operations 2

GET /api/v1/im/cannedMessages/{id} Get a Template Message #
GET /api/v1/im/cannedMessages List Template Message #

Documentation

Specifications

Code Examples

Other Resources

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/zoho-imtemplatemessage-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

zoho-imtemplatemessage-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Helpcenter IM Template Message API
  version: 1.0.0
tags:
- name: IMTemplateMessage
paths:
  /api/v1/im/cannedMessages/{id}:
    get:
      tags:
      - IMTemplateMessage
      summary: Get a Template Message
      description: This API fetches details of a template message.
      operationId: getTemplateMessage
      parameters:
      - name: id
        in: path
        required: true
        style: simple
        explode: false
        schema:
          type:
          - string
          - 'null'
          - integer
          format: int64
          pattern: ([0-9]+)
      - $ref: ./Common.json#/components/parameters/orgId
      responses:
        '404':
          $ref: ./Common.json#/components/responses/urlNotFoundErrorResponse
        '200':
          $ref: '#/components/responses/getTemplateMessage'
        '422':
          $ref: ./Common.json#/components/responses/multipleUnprocessEntityResponse
        '400':
          $ref: ./Common.json#/components/responses/badRequestErrorResponse
      security:
      - iam-oauth2-schema:
        - Desk.basic.READ
        - Desk.InstantMessages.READ
      x-audience:
      - external-public
  /api/v1/im/cannedMessages:
    get:
      tags:
      - IMTemplateMessage
      summary: List Template Message
      description: This API lists all sessions
      operationId: getTemplateMessages
      parameters:
      - name: departmentId
        in: query
        description: Department ID for which the canned messages to be fetched
        required: true
        style: form
        explode: true
        schema:
          type:
          - string
          - 'null'
          - integer
          format: int64
          description: Department ID for which the canned messages to be fetched
          pattern: ([0-9]+)
      - name: type
        in: query
        description: Filter by MessageType. Allowed values are @TEMPLATE@
        required: true
        style: form
        explode: true
        schema:
          type:
          - string
          - 'null'
          description: Filter by MessageType. Allowed values are @TEMPLATE@
          enum:
          - TEMPLATE
          maxLength: 100
          minLength: 0
      - $ref: ./Common.json#/components/parameters/orgId
      responses:
        '422':
          $ref: ./Common.json#/components/responses/multipleUnprocessEntityResponse
        '204':
          $ref: ./Common.json#/components/responses/emptyResponse
        '200':
          $ref: '#/components/responses/getTemplateMessages'
      security:
      - iam-oauth2-schema:
        - Desk.basic.READ
        - Desk.InstantMessages.READ
      x-audience:
      - external-public
components:
  responses:
    getTemplateMessage:
      description: getTemplateMessage template definitions
      content:
        application/json:
          schema:
            type:
            - 'null'
            - object
            additionalProperties: false
            properties:
              modifiedTime:
                type:
                - string
                - 'null'
                maxLength: 100
                minLength: 0
              contactId:
                type:
                - string
                - 'null'
                - integer
                format: int64
                pattern: ([0-9]+)
              departmentId:
                type:
                - string
                - 'null'
                - integer
                format: int64
                pattern: ([0-9]+)
              title:
                type:
                - string
                - 'null'
                maxLength: 65535
                minLength: 0
              message:
                type:
                - string
                - 'null'
                maxLength: 65535
                minLength: 0
              type:
                type:
                - string
                - 'null'
                enum:
                - TEMPLATE
                maxLength: 100
                minLength: 0
              isActive:
                type:
                - boolean
                - 'null'
              tags:
                type:
                - string
                - 'null'
                maxLength: 100
                minLength: 0
              actor:
                type:
                - 'null'
                - object
                additionalProperties: false
              displayMessage:
                type:
                - string
                - 'null'
                maxLength: 65535
                minLength: 0
              translations:
                type:
                - 'null'
                - array
                items:
                  type:
                  - 'null'
                  - object
                  additionalProperties: false
                minItems: 0
                uniqueItems: false
              id:
                type:
                - string
                - 'null'
                - integer
                format: int64
                pattern: ([0-9]+)
              status:
                type:
                - string
                - 'null'
                enum:
                - SUBMITTED
                - FAILED
                - APPROVED
                - REJECTED
                - PENDING
                maxLength: 100
                minLength: 0
            required:
            - actor
            - contactId
            - departmentId
            - displayMessage
            - id
            - isActive
            - message
            - modifiedTime
            - status
            - tags
            - title
            - translations
            - type
          examples:
            Valid responses Definitions:
              value:
                modifiedTime: 1711085762000
                departmentId: '186543000000006907'
                title: fb marketing
                message: Welcome to Tasty Bakery. What would you like to eat?
                type: TEMPLATE
                isActive: true
                tags: MARKETING
                actor:
                  photoURL: https://desk.zoho.com/api/v1/agents/186543000000190001/photo?orgId=78412359
                  name: Abhishek Aich
                  id: '186543000000190001'
                  type: AGENT
                  email: zykler@sales.com
                wabaId: '102086489526176'
                displayMessage: Welcome to Tasty Bakery. What would you like to eat?
                translations:
                - displayMessage: Welcome to Tasty Bakery. What would you like to eat?
                  templateItems:
                    buttons:
                    - action: null
                      type: QUICK_REPLY
                      message: Cakes
                    - action: null
                      type: QUICK_REPLY
                      message: pizza
                    footer:
                      type: TEXT
                      message: Thank you
                    header: null
                  language: en
                  id: '3942000001074177'
                  message: Welcome to Tasty Bakery. What would you like to eat?
                  rejectionReason: null
                  status: APPROVED
                id: '3942000001074175'
                status: APPROVED
    getTemplateMessages:
      description: getTemplateMessages template definitions
      content:
        application/json:
          schema:
            type:
            - 'null'
            - object
            additionalProperties: false
            properties:
              data:
                $ref: ./IMTemplateMessage.json#/components/schemas/listofTemplateMessages
              hasMore:
                type:
                - boolean
                - 'null'
            required:
            - data
            - hasMore
          examples:
            Valid responses Definitions:
              value:
                data:
                - modifiedTime: 1711085762000
                  departmentId: '186543000000006907'
                  title: fb marketing
                  message: Welcome to Tasty Bakery. What would you like to eat?
                  type: TEMPLATE
                  isActive: true
                  tags: MARKETING
                  actor:
                    photoURL: https://desk.zoho.com/api/v1/agents/186543000000190001/photo?orgId=78412359
                    name: Abhishek Aich
                    id: '186543000000190001'
                    type: AGENT
                    email: zykler@sales.com
                  wabaId: '102086489526176'
                  displayMessage: Welcome to Tasty Bakery. What would you like to eat?
                  translations:
                  - displayMessage: Welcome to Tasty Bakery. What would you like to eat?
                    templateItems:
                      buttons:
                      - action: null
                        type: QUICK_REPLY
                        message: Cakes
                      - action: null
                        type: QUICK_REPLY
                        message: pizza
                      footer: null
                      header: null
                    language: en
                    id: '3942000001074177'
                    message: Welcome to Tasty Bakery. What would you like to eat?
                    rejectionReason: null
                    status: APPROVED
                  id: '3942000001074175'
                  status: APPROVED
                - modifiedTime: 1711085753000
                  departmentId: '186543000000006907'
                  title: Rice Marketing
                  message: Hello please select our new rice items
                  type: TEMPLATE
                  isActive: true
                  tags: MARKETING
                  actor:
                    photoURL: https://desk.zoho.com/api/v1/agents/186543000000190001/photo?orgId=78412359
                    name: Abhishek Aich
                    id: '186543000000190001'
                    type: AGENT
                    email: zykler@sales.com
                  wabaId: '102086489526176'
                  displayMessage: Hello please select our new rice items
                  translations:
                  - displayMessage: Hello please select our new rice items
                    templateItems:
                      buttons:
                      - action: null
                        type: QUICK_REPLY
                        message: Boiled Rice
                      - action: null
                        type: QUICK_REPLY
                        message: Rice Cake
                      - action: null
                        type: QUICK_REPLY
                        message: Fried Rice
                      footer: null
                      header:
                        attachment: null
                        type: TEXT
                        message: Welcome Back
                    language: en
                    id: '3942000001423160'
                    message: Hello please select our new rice items
                    rejectionReason: null
                    status: APPROVED
                  id: '3942000001423158'
                  status: APPROVED
                - modifiedTime: 1711082873000
                  departmentId: '186543000000006907'
                  title: Whatsapp marketing
                  message: 'Welcome to Tasty Bakery. What would you like to eat?

                    Here are our new products'
                  type: TEMPLATE
                  isActive: true
                  tags: UTILITY
                  actor:
                    photoURL: https://desk.zoho.com/api/v1/agents/186543000000190001/photo?orgId=78412359
                    name: Abhishek Aich
                    id: '186543000000190001'
                    type: AGENT
                    email: zykler@sales.com
                  wabaId: '102086489526176'
                  displayMessage: 'Welcome to Tasty Bakery. What would you like to eat?

                    Here are our new products'
                  translations:
                  - displayMessage: 'Welcome to Tasty Bakery. What would you like to eat?

                      Here are our new products'
                    templateItems:
                      buttons:
                      - action: null
                        type: QUICK_REPLY
                        message: Croissants
                      - action: null
                        type: QUICK_REPLY
                        message: Pizza
                      footer: null
                      header: null
                    language: en
                    id: '3942000001262607'
                    message: 'Welcome to Tasty Bakery. What would you like to eat?

                      Here are our new products'
                    rejectionReason: null
                    status: APPROVED
                  id: '3942000001262605'
                  status: APPROVED
                hasMore: false
  securitySchemes:
    iam-oauth2-schema:
      $ref: ./Common.json#/components/securitySchemes/iam-oauth2-schema
x-entity: Helpcenter