Application-level templates
Return a template
Changed onReturns the specified application-level template.
get/v3/templates/{template_id}
Request
- Base URLhttps://api.us.nylas.com
- AuthHTTP bearer
Response
Success. Returns template.
Example response
{
"data": {
"app_id": "6c45fe5e-0bb6-41b9-9acc-ccb15bfc51eb",
"body": "<p>Hello {{user.name}}, your booking has been confirmed.</p>",
"created_at": 1640995200,
"engine": "mustache",
"grant_id": "6c45fe5e-0bb6-41b9-9acc-ccb15bfc51eb",
"id": "b79c82b2-a51b-4c54-8469-28006a43551a",
"name": "Booking confirmed message",
"object": "template",
"subject": "{{user.name}}, your booking is confirmed!",
"updated_at": 1640995200
}
}Changes
- info
removed the
nunjucksenum value from the/response property for the response status - info
removed the
twigenum value from the/response property for the response status
- info