# Get templates Returns a list of templates for the domain. Endpoint: GET /v3/{domain_name}/templates Version: 3.0.0 Security: basicAuth ## Path parameters: - `domain_name` (string, required) Domain name to fetch the templates for. ## Query parameters: - `page` (string) Name of the page to retrieve. Value can be , , , or . Defaults to . Enum: "first", "last", "next", "previous" - `limit` (integer) Number of templates to retrieve. Default and max limit is 100. - `p` (string) Pivot used to retrieve the next page of templates. ## Response 200 fields (application/json): - `items` (array,null, required) List of items - `items.name` (string, required) Name of the template - `items.description` (string) Description of the template - `items.createdAt` (string) Creation date in RFC822 format - `items.createdBy` (string) Indicate who created the template - `items.id` (string) Template ID - `items.version` (any) Active version information - `items.versions` (array,null) List of template's versions - `items.versions.tag` (string, required) Tag of the version. Must be unique to the template - `items.versions.template` (string) Name of the template - `items.versions.engine` (string, required) Rendering engine - `items.versions.mjml` (string, required) Template source - `items.versions.comment` (string, required) Comment related to the version - `items.versions.active` (boolean, required) If this flag is true - `items.versions.headers` (object) Key value JSON object of headers to be stored with the template. Where key is the header name and value is the header value. The header names - `paging` (object, required) Pagination details - `paging.previous` (string, required) Previous page URL - `paging.first` (string, required) First page URL - `paging.next` (string, required) Next page URL - `paging.last` (string, required) Last page URL