POST GET templates/search
Search email templates
* required
Parameters
| Name | Type | Description |
|---|---|---|
| userID | integer | Get templates for a specific user |
| page | integer |
Number of page in results to return
1
1
|
| rpp | integer |
Number of records to return per page
20
1
50
|
| sortField | string |
The field to sort results by
templateName
templateID, templateName, editableSlots
|
| sortDirection | string |
The direction to sort results
asc
asc, desc
|
Response Data
| Name | Type | Description |
|---|---|---|
| templateID | integer | Unique ID of an email template |
| templateName | string | Descriptive name of template |
| editableSlots | string | Number of editable slots in template |
| thumbnail | string | URL to thumbnail image |
| overrideApprovalProcess | boolean | Emails created from this template will not require approval, overriding account-level settings for email approvals |
Example Calls
All templates
GET
/templates/search
cURL
Copy
Response Data
Templates for a given user
GET
/templates/search?userID=123
cURL
Copy
Response Data
API Console
The console uses production data, so BE CAREFUL!
GET
templates/search