API ReferenceTemplates
Get Preset Details
Get full details of an email preset including the AST.
Authorization
apiKey X-API-Key<token>
API key for authentication
In: header
Path Parameters
id*string
Preset ID
Response Body
application/json
curl -X GET "https://samva.app/api/v1/templates/presets/string"{
"id": "string",
"name": "string",
"description": "string",
"category": "transactional",
"thumbnail": "string",
"variables": [
{
"name": "string",
"type": "string",
"required": true,
"default": null,
"description": "string"
}
],
"subject": "string",
"ast": null,
"variableSchema": [
{
"name": "string",
"type": "string",
"required": true,
"default": null,
"description": "string"
}
]
}