> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mailofly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve Template

> Retrieve template metadata and content.

Fetches template details by ID or slug.

### Path Parameters

<ParamField path="id" type="string" required>Template ID or slug</ParamField>

### Response

<ResponseField name="id" type="string">Template ID</ResponseField>
<ResponseField name="name" type="string">Name</ResponseField>
<ResponseField name="subject" type="string">Subject</ResponseField>
<ResponseField name="html" type="string">HTML content</ResponseField>


## Related topics

- [MCP Server](/mcp-server/introduction.md)
- [Retrieve Attachment](/api/emails/retrieve-attachment.md)
- [Retrieve Metrics](/api/emails/retrieve-metrics.md)
- [Retrieve Contact](/api/contacts/get-contact.md)
- [Retrieve Webhook](/api/webhooks/get-webhook.md)
