v1

latestOpenAPI 3.1.12026-07-17111158225.7 KB
templates

Create a template

Creates a template.

post/{account}/templates

Path parameters

accountinteger required

The account id

Request body

sidstring required
namestring required
descriptionstring

Example request

{
  "name": "Alpha",
  "sid": "alpha",
  "description": "This is an Alpha template."
}

Response

Successfully created a template.

Example response

{
  "data": {
    "id": 1,
    "account_id": 1010,
    "name": "Alpha",
    "sid": "alpha",
    "description": "An alpha template.",
    "created_at": "2016-03-22T11:08:58Z",
    "updated_at": "2016-03-22T11:08:58Z"
  }
}