apicheats.dev resend/llms.txt Raw .md
GET

GET /templates/{id} — Resend API

Resend API

Retrieve a single template

status is draft or published; published_at is the publication timestamp (nullable); has_unpublished_versions indicates unpublished changes. See Resend.

Base URL
https://api.resend.com
Auth
Authorization: Bearer <RESEND_API_KEY>
Last verified
2026-10-20 · upstream hash matched
Actions Try in browser→
Agents: curl -H "Accept: text/markdown" this URL
→ 163 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.

cURL

curl -X GET 'https://api.resend.com/templates/id' \  -H "Authorization: Bearer $RESEND_API_KEY" \  -H 'User-Agent: my-app/1.0'

Parameters

Name In Type Required Description
id path string Yes The Template ID or alias.

Response 200 OK

{
  "object": "template",
  "id": "string",
  "current_version_id": "string",
  "name": "string",
  "alias": "string",
  "from": "string",
  "subject": "string",
  "reply_to": [
    "string"
  ],
  "html": "string",
  "text": "string",
  "variables": [
    {
      "id": "string",
      "key": "string",
      "type": "string",
      "fallback_value": "string",
      "created_at": "2023-10-06 23:47:56.678+00",
      "updated_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",
  "status": "draft",
  "published_at": "2023-10-06 23:47:56.678+00",
  "has_unpublished_versions": true
}
Get a free Resend API key → sponsored

Affiliate link - we may earn a commission, at no extra cost to you.