v1

latestSwagger 2.02026-07-13301635.0 KB
templates

List template categories

Lists the template categories of all users. By passing the optional UID, any custom template categories are also available.

post/templates/list

Request body

uidstring

optional authorized UID of the session. By providing this, the template list will include user-specific template categories

category_idinteger

optional category to filter the templates

Example request

{
  "uid": "fhqwfuihuifqwhiuwqfhiqwfh124",
  "category_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"
  }
]