CREATE
Create a new template
post
https://api.eyelevel.ai/v1/partner
/template
CREATE
{
"template": {
"description": "STRING",
"iconUrl": "STRING",
"id": "STRING IDENTIFIER",
"name": "STRING",
"previewUrl": "STRING"
}
}
OPTIONAL - String IdentifierValidation: 300 character limit
The human readable description of the template.
OPTIONAL - String IdentifierValidation: 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.
REQUIRED - StringValidation: Value is an existing EyeLevel flow identifier
The unique identifier for the chat flow associated with the template.
REQUIRED - String IdentifierValidation: 20 character limit
The human readable name of the template.
OPTIONAL - String IdentifierValidation: 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.
{
"template": { TEMPLATE OBJECT }
}
The TEMPLATE object that was created with the request. The definition of templates are described in greater detail here.
Last modified 2yr ago