Skip to main content

Save theme template

Save theme template

Path Parameters
themeTemplateId string REQUIRED
Request Body REQUIRED
workspaceId string REQUIRED
name string REQUIRED
theme object REQUIRED
general object REQUIRED
font string REQUIRED
background object REQUIRED
type string REQUIRED

Possible values: [Color, Image, None]

content string
chat object REQUIRED
hostAvatar object
isEnabled boolean REQUIRED
url string
guestAvatar object
isEnabled boolean REQUIRED
url string
hostBubbles object REQUIRED
backgroundColor string REQUIRED
color string REQUIRED
guestBubbles object REQUIRED
backgroundColor string REQUIRED
color string REQUIRED
buttons object REQUIRED
backgroundColor string REQUIRED
color string REQUIRED
inputs object REQUIRED
backgroundColor string REQUIRED
color string REQUIRED
placeholderColor string REQUIRED
roundness string

Possible values: [none, medium, large]

customCss string
Responses
200

Successful response

Schema
themeTemplate object
id string
name string
theme object
general object
font string
background object
type string

Possible values: [Color, Image, None]

content string
chat object
hostAvatar object
isEnabled boolean
url string
guestAvatar object
isEnabled boolean
url string
hostBubbles object
backgroundColor string
color string
guestBubbles object
backgroundColor string
color string
buttons object
backgroundColor string
color string
inputs object
backgroundColor string
color string
placeholderColor string
roundness string

Possible values: [none, medium, large]

customCss string
workspaceId string
createdAt date-time
updatedAt date-time
default

Error response

Schema
message string
code string
issues object[]
message string