Description
Returns a list of your Agent Templates with their TemplateID, Name, and Description.
Responses
| Name | Type | Description |
|---|---|---|
Result |
string | Success if the operation was successful. |
AgentTemplate |
AgentTemplate | Information on all Agent Templates in the account. |
Sample request
curl -X GET "https://api.mozenda.com/rest?WebServiceKey=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX&Service=Mozenda10&Operation=Agent.GetTemplates"
Sample responses
XML
<?xml version="1.0" encoding="utf-8"?>
<AgentGetTemplatesResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Result>Success</Result>
<AgentTemplateList>
<AgentTemplate>
<TemplateID>22370</TemplateID>
<Name>Testing</Name>
<Description/>
</AgentTemplate>
<AgentTemplate>
<TemplateID>22662</TemplateID>
<Name>TestingAgain</Name>
<Description/>
</AgentTemplate>
</AgentTemplateList>
<RequestTimingsList>
<RequestTiming>
<Time>2026-08-18 14:48:46</Time>
<Command/>
<LastDescription/>
</RequestTiming>
</RequestTimingsList>
</AgentGetTemplatesResponse>
JSON (add &ResponseFormat=JSON)
{
"AgentTemplate": [
{
"AgentTemplateID": 22370,
"Name": "Testing",
"Description": ""
},
{
"AgentTemplateID": 22662,
"Name": "TestingAgain",
"Description": ""
}
} ],
"JsonResult": {
"Command": "Agent.GetTemplates",
"AutoLoggedIn": false,
"WebConsoleKey": "",
"Result": "Success",
"ErrorCode": "",
"ErrorDescription": "",
"ErrorList": []
}