UPDATE
Update an existing template by template ID
UPDATE
POST
https://api.eyelevel.ai/v1/partner/template/:templateId
Path Parameters
Name | Type | Description |
---|---|---|
templateId | integer | Template ID |
Request Body
Name | Type | Description |
---|---|---|
template | object | See request definition below |
Request
description
OPTIONAL - String Identifier
Validation: 300 character limit
The human readable description of the template.
iconUrl
OPTIONAL - String Identifier
Validation: A valid URL including protocol http(s)
The URL for the icon for the template. In a white labelled version of the EyeLevel dashboard, this icon will be rendered with the template tile in the template library. If an icon URL is not provided, the template tile will render without an icon.
id
REQUIRED - String
Validation: Value is an existing EyeLevel flow identifier
The unique identifier for the chat flow associated with the template.
name
REQUIRED - String Identifier
Validation: 20 character limit
The human readable name of the template.
previewUrl
OPTIONAL - String Identifier
Validation: A valid URL including protocol http(s)
The URL for the preview of the template. In a white labelled version of the EyeLevel dashboard, this preview image will be shown when the preview button is clicked in the template library. If a preview URL is not provided, the preview button will be hidden on the template tile.
Response
template
The TEMPLATE object that was updated with the request. The definition of templates are described in greater detail here.
Objects
pageTEMPLATELast updated