---
title: "Creates a Template"
method: POST
path: "/templates"
tags: ["Templates"]
---

# Creates a Template

`POST /templates`

Creates a template

## Response `200`

Template created.

- object
  - `status` 'SUCCESS' | 'PENDING' | 'QUOTA_LIMIT_EXCEED' | 'NOT_AUTHORIZED' | 'FORBIDDEN' | 'BAD_ACCESS_TOKEN' | 'BAD_PRIVATE_KEY' | 'BAD_PUBLIC_KEY' | 'MISSING_PARAMETER' | 'INVALID_PARAMETER' | 'WRONG_PARAMETER_TYPE' | 'CONFLICT' | 'RESOURCE_LOCKED' | 'SERVER_ERROR' | 'ERROR' | 'NOT_FOUND' | 'BAD_REQUEST' | 'USER_ERROR' | 'PARTIAL_ERROR' | 'SERVICE_TEMPORARILY_UNAVAILABLE', required
  - `message` string — (optional) Holds further information about the response
  - `warnings` string[] — (optional) Holds further warnings
  - `response` object, required — Response Template Model
    - `id` integer — The Uberall unique id of the template
    - `title` string — The title of the template
    - `message` string — The reply's text of the template
    - `usageCount` integer — Number of times a template has been used
    - `status` string — The status of the template
    - `tags` string[] — The list of tags for the template
    - `dateCreated` string, date-time — The date in which the template was created
    - `lastEdited` string, date-time — The date in which the template was last edited
    - `createdBy` object — The author who created the template
      - `id` integer — User id
      - `firstname` string — User First Name
      - `lastname` string — User Last Name
    - `lastEditedBy` object — The author who last edited the template
      - `id` integer — User id
      - `firstname` string — User First Name
      - `lastname` string — User Last Name
    - `businesses` integer[] — The list of business ids the templated was created for

## Other responses

- `400` — Bad Request - The request was invalid or cannot be otherwise served
- `401` — Unauthorized - Authentication credentials are missing or invalid
- `403` — Forbidden - The request is understood, but has been refused or access is not allowed
- `404` — Not Found - The requested resource could not be found
- `409` — Conflict - The request conflicts with current state of the server

---

[API](https://skmtc.net/uberall/apis/uberall-api.md) · [All operations](https://skmtc.net/uberall/apis/uberall-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/uberall/uberall-api/versions/ddc577c548ee/schema)
