Skip to main content
POST
/
v1
/
templates
/
{id}
/
render
Render a saved template
curl --request POST \
  --url https://api.drin.run/v1/templates/{id}/render \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "data": {}
}'

Documentation Index

Fetch the complete documentation index at: https://docs.drin.run/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

Body

application/json
data
object

Response

200

The rendered { subject, html, text }.