Skip to main content
GET
/
templates
/
{id}
Retrieve a Template
curl --request GET \
  --url https://commerce.driv.ly/api/templates/{id}
{
  "data": {
    "id": "<string>",
    "type": "<string>",
    "messageText": "<string>",
    "subject": "<string>"
  },
  "success": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.driv.ly/llms.txt

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

Path Parameters

id
string
required

Template is uniquely identified by id

Query Parameters

depth
integer

The number of levels of related objects to include in the response

Response

Template Found

data
Template · object
Example:
{
"id": "tmp_39fjkd93nmd0",
"type": "Email",
"subject": "Invoice Details",
"messageText": "Hello, please find your invoice attached."
}
success
boolean