This endpoint returns detailed information about a specific template, including its variables and metadata.
Path Parameters
The unique identifier of the template
Response
The endpoint returns a JSON object containing detailed information about the template.
{
"cid": "content_abc123",
"uid": "template_xyz789",
"name": "Welcome Email Header",
"type": "image",
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-02T00:00:00Z",
"published_variables": [
{
"id": "var_123",
"name": "header_text",
"type": "text",
"value": "Welcome"
},
{
"id": "var_456",
"name": "profile_image",
"type": "image",
"value": "https://example.com/default.jpg"
}
]
}
Variable Types
The published_variables array contains all variables that can be modified when rendering the template. Each variable has:
id: Unique identifier for the variable
name: Human-readable name used in API calls
type: Type of variable (text or image)
value: Default value for the variable