v1

latestSwagger 2.02026-07-13301635.0 KB
templates

Creates a New Template in the User’s Account

Creates a new Template in the User’s Account

post/templates/create

Request body

uidstring

The UID of the logged-in user

namestring

the new name of the template

messagestring

Example request

{
  "uid": "fhqwfuihuifqwhiuwqfhiqwfh124",
  "name": "My custom template",
  "message": "How do I love thee?  Let me count the ways"
}

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"
  }
]