Templates

Update an existing template.

put/configs/templates/{id}

Request

  • Base URL: https://api.floorworks.co.uk/api/v1
  • URL: https://api.floorworks.co.uk/api/v1/configs/templates/{id}
  • Auth: OAuth 2 (password, token URL https://api.floorworks.co.uk/api/v1/auth)

Path parameters

idinteger required

Request body

titlestring nullable

Title or heading.

groupstring nullable

Grouping / category label.

textstring nullable

Template body content. May include placeholder tokens e.g. [CONTACT_NAME].

documentstring nullable

Document type / category this template applies to.

subjectstring nullable

Email subject line (for email templates).

typestring nullable

Template type (e.g. EMAIL, SMS).

Response

Updated template.

titlestring nullable

Title or heading.

groupstring nullable

Grouping / category label.

textstring nullable

Template body content. May include placeholder tokens e.g. [CONTACT_NAME].

documentstring nullable

Document type / category this template applies to.

subjectstring nullable

Email subject line (for email templates).

typestring nullable

Template type (e.g. EMAIL, SMS).

idnumber

ID.

time_createdstring YYYY-MM-DD

Creation date

time_modifiedstring YYYY-MM-DD

Last modification date

Example response

{
  "id": 12345,
  "time_created": "2025-08-17",
  "time_modified": "2025-08-18"
}

Changes

No recorded changes to this operation across all 1 revision of this API.