Email Templates
GET {{api-domain}}/crm/v2.1/settings/email_templates
To fetch the email templates in a module. For detailed information on the API, refer to the documentation.
RESPONSES
status: OK
{"email_templates":[{"created_time":"2021-02-04T14:22:19+05:30","attachments":null,"subject":"Thank you mail","module":{"api_name":"Contacts","id":"4150868000000002179"},"type":"custom_templates","created_by":{"name":"Patricia Boyle","id":"4150868000000225013"},"modified_time":"2021-02-04T14:22:19+05:30","folder":{"name":"Public Email Templates","id":"4150868000000000077"},"last_usage_time":null,"associated":true,"name":"Thank you for registeration","consent_linked":false,"modified_by":{"name":"Patricia Boyle","id":"4150868000000225013"},"id":"4150868000004557001","editor_mode":"gallery","favorite":false},{"created_time":"2020-03-18T10:14:49+05:30","attachments":null,"subject":"This is a sample email template","module":{"api_name":"Contacts","id":"4150868000000002179"},"type":"custom_templates","created_by":{"name":"Patricia Boyle","id":"4150868000000225013"},"modified_time":"2020-03-18T10:14:49+05:30","folder":{"name":"Public Email Templates","id":"4150868000000000077"},"last_usage_time":null,"associated":true,"name":"Sample1","consent_linked":false,"modified_by":{"name":"Patricia Boyle","id":"4150868000000225013"},"id":"4150868000001658001","editor_mode":"gallery","favorite":false},{"created_time":"2019-09-23T16:56:45+05:30","attachments":null,"subject":"this is a test email","module":{"api_name":"Leads","id":"4150868000000002175"},"type":"custom_templates","created_by":{"name":"Patricia Boyle","id":"4150868000000225013"},"modified_time":"2019-09-23T16:56:45+05:30","folder":{"name":"Public Email Templates","id":"4150868000000000077"},"last_usage_time":"2019-09-29T20:00:03+05:30","associated":true,"name":"Sample","consent_linked":false,"modified_by":{"name":"Patricia Boyle","id":"4150868000000225013"},"id":"4150868000000475003","editor_mode":"gallery","favorite":false},{"created_time":"2019-08-20T11:21:31+05:30","attachments":null,"subject":"Big Deal Alert","module":{"api_name":"Deals","id":"4150868000000002181"},"type":"system_templates","created_by":null,"modified_time":"2019-08-20T11:21:31+05:30","folder":{"name":"Public Email Templates","id":"4150868000000000077"},"last_usage_time":"2020-02-25T10:59:44+05:30","associated":true,"name":"Big Deal Alert","consent_linked":false,"modified_by":null,"id":"4150868000000000079","editor_mode":"gallery","favorite":false}],"info":{"per_page":200,"count":4,"page":1,"more_records":false}}