Access Keys:
Skip to content (Access Key - 0)
Live Chat

Get a Specific Canned Message

Skip to end of metadata
Go to start of metadata
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
For information regarding the entities used in the Canned Messages CRUD, please visit Entities Used in Canned Messages CRUD page.

You can get a specific canned message by using the following command(s):

Commands:

GET /em/api/canned-messages/{id}
GET /em/api/canned-messages/{id}.xml
GET /em/api/canned-messages/{id}.js

Response in XML:

HTTP/1.0 200 OK
  <canned-message>
    <id>4028807b2d257469012d270d212b006b</id>
    <name>New Message</name>
    <text>New Message</text>
    <shortcut>nm</shortcut>
    <active>true</active>
  </canned-message>

Response in JSON:

HTTP/1.0 200 OK
{id : "4028807b2d257469012d270d212b006b", text : "New Message", name : "New Message", active : true, shortcut : "nm"}
Adaptavist Theme Builder (4.2.0) Powered by Atlassian Confluence 3.3, the Enterprise Wiki