Skip to main content
GET
/
v1
/
templates
/
{id}
Retrieve a template
curl --request GET \
  --url https://api.drin.run/v1/templates/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "slug": "<string>",
  "name": "<string>",
  "subject": "<string>",
  "html": "<string>",
  "text": "<string>",
  "createdAt": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://drin.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Your Drin API key, sent as Authorization: Bearer <key>.

Path Parameters

id
string
required

Response

200 - application/json

The template.

id
string
slug
string | null
name
string
subject
string
html
string | null
text
string | null
createdAt
string<date-time>