v1

latestSwagger 2.02026-07-13301635.0 KB
templates

Get all info on a template

Provides all details on a template

post/templates/view

Request body

uidstring

optional authorized UID of the session. By providing this, the user can specify user-sepecific templates

template_idinteger

the ID of the template to view

Example request

{
  "uid": "fhqwfuihuifqwhiuwqfhiqwfh124",
  "template_id": 12
}

Response

successful operation

idinteger

the unique ID of the Template

category_idinteger

the ID of the category to which this template belongs

namestring

The name of the Template

messagestring

The actual message of the template

Example response

{
  "id": 42,
  "category_id": 33,
  "name": "Love Letter to Sandy",
  "message": "How do I love thee?  Let me count the ways"
}