GET
/templates
Resend APIRetrieve a list of templates
- Base URL
- https://api.resend.com
- Auth
- Authorization: Bearer <RESEND_API_KEY>
- Last verified
- 2026-09-03 · upstream hash matched
Actions
Agents: curl -H "Accept: text/markdown" this URL
→ 202 tokens · Vary: Accept
→ 202 tokens · Vary: Accept
Critical gotchas
All requests must include a User-Agent header (e.g. User-Agent: my-app/1.0) or the API returns HTTP 403.
The to field is an array of strings, even when sending to a single recipient.
cURL
curl -X GET 'https://api.resend.com/templates?limit=10&after=example-after&before=example-before' \ -H "Authorization: Bearer $RESEND_API_KEY" \ -H 'User-Agent: my-app/1.0'Get a free Resend API key → sponsored
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| limit | query | integer | No | Number of items to return. |
| after | query | string | No | Return items after this cursor. |
| before | query | string | No | Return items before this cursor. |
Response 200 OK
{
"object": "list",
"data": [
{
"id": "string",
"name": "string",
"status": "draft",
"published_at": "2023-10-06 23:47:56.678+00",
"created_at": "2023-10-06 23:47:56.678+00",
"updated_at": "2023-10-06 23:47:56.678+00",
"alias": "string"
}
],
"has_more": true
}