Get all message templates
Get information about message templates as a list of all message templates.
Query parameters
The number of records to return in API response.
⚠️ We recommended adjust the batch size based on processing time. Depending on the response time of the request. Default value of 100 records is used if count parameter is not set.
The number of records from a collection to skip. Default value of 0 is used when parameter offset is not set.
Name of the sorting parameter. You can sort by any of the first level parameters from the resource response. Response is sorted by the specified field.
Direction of sorting the response list.
Search record by name or a part of the name.
The unique ID of the communication channel. List of values is available in resource GET /communication-channels.
Headers
The unique ID of the language code by ISO 639-1.
Response
OK
Example response
{
"data": {
"message_templates": [
{
"message_template_id": "8bed991c68a470e7aaeffbf048",
"consent_free_template": true,
"subject": "CRM & CDP CareCloud password setup",
"sender": "\"CRM & CDP CareCloud\"<info@crmcarecloud.com>",
"name": "First CareCloud login",
"preview_url": "https://example.com/templates/preview/8bed991c68a470e7aaeffbf048.png",
"icon_url": "https://example.com/templates/icon/8bed991c68a470e7aaeffbf048.png",
"message_template_group_id": 2,
"communication_channel_id": 1,
"last_change": "2021-11-25 16:57:09"
}
],
"total_items": 1
}
}