curl --request PATCH \
--url https://helpcenter.thena.ai/help-centers/{helpCenterId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"isOnline": true,
"isProtected": false,
"name": "Thena Support Center",
"defaultDomain": "support",
"gaId": "G-XXXXXXXXXX",
"shouldIndex": true,
"socialImages": {
"favicon": "https://assets.thena.io/favicon.ico",
"openGraphImage": "https://assets.thena.io/og-image.jpg"
},
"stylingConfiguration": {
"body": {
"bgColor": "#FFFFFF",
"textColor": "#000000",
"actionColor": "#007AFF",
"designStyle": "MODERN",
"radius": 8,
"pFont": "Inter",
"sFont": "Roboto",
"displayAuthors": true
},
"header": {
"title": "Thena Help Center",
"links": [
{
"name": "Documentation",
"url": "https://docs.thena.ai"
},
{
"name": "API Reference",
"url": "https://api.thena.ai"
}
],
"showBg": true,
"bgColor": "#F5F5F5",
"color": "#333333",
"logo": "https://assets.thena.io/logos/header-logo.png",
"button": {
"color": "#007AFF",
"text": "Contact Support",
"redirectionUrl": "https://support.thena.ai/contact",
"radius": 8
}
},
"hero": {
"message": "<string>",
"background": {
"type": "COLOR",
"fade": true,
"color": "#F5F5F5",
"image": "https://assets.thena.io/backgrounds/hero.jpg",
"gradient": [
"#007AFF",
"#00C6FF",
"#00E5FF"
]
},
"color": "<string>",
"height": 422.5,
"search": {
"len": "MEDIUM",
"align": "CENTER",
"justify": "CENTER",
"radius": 8,
"placeholderText": "Search for help articles..."
},
"searchBorderColor": "<string>"
},
"bodyBlocks": {
"collection": {
"layout": "1",
"style": "classic"
}
},
"collection": {
"displayDescription": true
},
"article": {
"displayTableOfContent": true,
"displayRelatedArticle": true
},
"footer": {
"layout": "simple",
"text": "<string>",
"bgColor": "<string>",
"color": "<string>",
"logo": "<string>",
"socialLinks": [
{
"type": "x",
"url": "<string>"
}
],
"links": [
{
"columnName": "<string>",
"data": [
{
"name": "<string>",
"url": "<string>"
}
]
}
],
"subtext": "<string>"
}
},
"logo": "https://assets.thena.io/logos/help-center-logo.png",
"meta": {
"title": "Thena Help Center - Get Support",
"description": "Find help articles and documentation for Thena products",
"image": "https://assets.thena.io/meta/help-center.jpg"
}
}
'{
"data": {
"orgId": "EWWESHH5ED",
"name": "Thena Support Center",
"defaultDomain": "support.thena.ai",
"orgDomain": "thena.ai",
"isOnline": true,
"isProtected": false,
"shouldIndex": true,
"createdBy": "UWW7PBBOPJ",
"socialImages": {
"favicon": "https://example.com/favicon.ico",
"openGraphImage": "https://example.com/open-graph.jpg"
},
"stylingConfiguration": {
"body": {
"bgColor": "#FFFFFF",
"textColor": "#000000",
"actionColor": "#000000",
"designStyle": "card",
"radius": 10,
"pFont": "default",
"sFont": "default",
"displayAuthors": true
},
"header": {
"logo": "https://example.com/logo.png",
"title": "Thena Support Center",
"links": [
{
"name": "Home",
"url": "https://example.com"
}
],
"showBg": true,
"bgColor": "#FFFFFF",
"color": "#000000"
},
"hero": {
"message": "Welcome to Thena Support Center",
"background": {
"type": "color",
"color": "#FFFFFF"
},
"color": "#000000",
"height": 245,
"search": {
"len": "long",
"align": "left",
"justify": "bottom",
"radius": 10,
"placeholderText": "Search..."
}
},
"bodyBlocks": {
"collection": {
"layout": "one-column",
"style": "classic"
}
},
"collection": {
"displayDescription": true
},
"article": {
"displayTableOfContent": true,
"displayRelatedArticle": true
},
"footer": {
"logo": "https://example.com/logo.png",
"layout": "simple",
"text": "© 2024 Thena Support Center",
"bgColor": "#FFFFFF",
"color": "#000000",
"socialLinks": [
{
"type": "facebook",
"url": "https://www.facebook.com/thena.ai"
},
{
"type": "twitter",
"url": "https://www.twitter.com/thena.ai"
}
],
"links": [
{
"columnName": "Contact",
"data": [
{
"name": "Support",
"url": "https://example.com/support"
}
]
}
]
}
},
"aiData": {
"assistants": [
{
"name": "Assistant 1",
"assistantId": "123",
"vectorId": "456",
"assistantType": "default"
}
]
},
"meta": {
"title": "Thena Support Center",
"description": "Thena Support Center",
"image": "https://example.com/image.jpg"
},
"logo": "https://example.com/logo.png",
"customDomain": "support.thena.ai",
"gaId": "UA-1234567890"
},
"message": "Help center updated successfully."
}curl --request PATCH \
--url https://helpcenter.thena.ai/help-centers/{helpCenterId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"isOnline": true,
"isProtected": false,
"name": "Thena Support Center",
"defaultDomain": "support",
"gaId": "G-XXXXXXXXXX",
"shouldIndex": true,
"socialImages": {
"favicon": "https://assets.thena.io/favicon.ico",
"openGraphImage": "https://assets.thena.io/og-image.jpg"
},
"stylingConfiguration": {
"body": {
"bgColor": "#FFFFFF",
"textColor": "#000000",
"actionColor": "#007AFF",
"designStyle": "MODERN",
"radius": 8,
"pFont": "Inter",
"sFont": "Roboto",
"displayAuthors": true
},
"header": {
"title": "Thena Help Center",
"links": [
{
"name": "Documentation",
"url": "https://docs.thena.ai"
},
{
"name": "API Reference",
"url": "https://api.thena.ai"
}
],
"showBg": true,
"bgColor": "#F5F5F5",
"color": "#333333",
"logo": "https://assets.thena.io/logos/header-logo.png",
"button": {
"color": "#007AFF",
"text": "Contact Support",
"redirectionUrl": "https://support.thena.ai/contact",
"radius": 8
}
},
"hero": {
"message": "<string>",
"background": {
"type": "COLOR",
"fade": true,
"color": "#F5F5F5",
"image": "https://assets.thena.io/backgrounds/hero.jpg",
"gradient": [
"#007AFF",
"#00C6FF",
"#00E5FF"
]
},
"color": "<string>",
"height": 422.5,
"search": {
"len": "MEDIUM",
"align": "CENTER",
"justify": "CENTER",
"radius": 8,
"placeholderText": "Search for help articles..."
},
"searchBorderColor": "<string>"
},
"bodyBlocks": {
"collection": {
"layout": "1",
"style": "classic"
}
},
"collection": {
"displayDescription": true
},
"article": {
"displayTableOfContent": true,
"displayRelatedArticle": true
},
"footer": {
"layout": "simple",
"text": "<string>",
"bgColor": "<string>",
"color": "<string>",
"logo": "<string>",
"socialLinks": [
{
"type": "x",
"url": "<string>"
}
],
"links": [
{
"columnName": "<string>",
"data": [
{
"name": "<string>",
"url": "<string>"
}
]
}
],
"subtext": "<string>"
}
},
"logo": "https://assets.thena.io/logos/help-center-logo.png",
"meta": {
"title": "Thena Help Center - Get Support",
"description": "Find help articles and documentation for Thena products",
"image": "https://assets.thena.io/meta/help-center.jpg"
}
}
'{
"data": {
"orgId": "EWWESHH5ED",
"name": "Thena Support Center",
"defaultDomain": "support.thena.ai",
"orgDomain": "thena.ai",
"isOnline": true,
"isProtected": false,
"shouldIndex": true,
"createdBy": "UWW7PBBOPJ",
"socialImages": {
"favicon": "https://example.com/favicon.ico",
"openGraphImage": "https://example.com/open-graph.jpg"
},
"stylingConfiguration": {
"body": {
"bgColor": "#FFFFFF",
"textColor": "#000000",
"actionColor": "#000000",
"designStyle": "card",
"radius": 10,
"pFont": "default",
"sFont": "default",
"displayAuthors": true
},
"header": {
"logo": "https://example.com/logo.png",
"title": "Thena Support Center",
"links": [
{
"name": "Home",
"url": "https://example.com"
}
],
"showBg": true,
"bgColor": "#FFFFFF",
"color": "#000000"
},
"hero": {
"message": "Welcome to Thena Support Center",
"background": {
"type": "color",
"color": "#FFFFFF"
},
"color": "#000000",
"height": 245,
"search": {
"len": "long",
"align": "left",
"justify": "bottom",
"radius": 10,
"placeholderText": "Search..."
}
},
"bodyBlocks": {
"collection": {
"layout": "one-column",
"style": "classic"
}
},
"collection": {
"displayDescription": true
},
"article": {
"displayTableOfContent": true,
"displayRelatedArticle": true
},
"footer": {
"logo": "https://example.com/logo.png",
"layout": "simple",
"text": "© 2024 Thena Support Center",
"bgColor": "#FFFFFF",
"color": "#000000",
"socialLinks": [
{
"type": "facebook",
"url": "https://www.facebook.com/thena.ai"
},
{
"type": "twitter",
"url": "https://www.twitter.com/thena.ai"
}
],
"links": [
{
"columnName": "Contact",
"data": [
{
"name": "Support",
"url": "https://example.com/support"
}
]
}
]
}
},
"aiData": {
"assistants": [
{
"name": "Assistant 1",
"assistantId": "123",
"vectorId": "456",
"assistantType": "default"
}
]
},
"meta": {
"title": "Thena Support Center",
"description": "Thena Support Center",
"image": "https://example.com/image.jpg"
},
"logo": "https://example.com/logo.png",
"customDomain": "support.thena.ai",
"gaId": "UA-1234567890"
},
"message": "Help center updated successfully."
}Enter your API key
Help Center ID in MongoDB ObjectId format
"507f1f77bcf86cd799439011"
Help center update payload
Whether the help center is online
true
Whether the help center requires authentication to access
false
Name of the help center
"Thena Support Center"
Default subdomain
"support"
Google Analytics ID
"G-XXXXXXXXXX"
Whether to index the help center for search engines
true
Styling configuration
Show child attributes
Body configuration
Show child attributes
Background color in hex format
"#FFFFFF"
Text color in hex format (automatically calculated for optimal contrast)
"#000000"
Action color in hex format
"#007AFF"
Design style for the body
card, floating "MODERN"
Border radius value
0 <= x <= 248
Primary font family
"Inter"
Secondary font family
"Roboto"
Whether to display authors
true
Header configuration
Show child attributes
Header title
"Thena Help Center"
Array of header links
[
{
"name": "Documentation",
"url": "https://docs.thena.ai"
},
{
"name": "API Reference",
"url": "https://api.thena.ai"
}
]Whether to show background
true
Background color in hex format
"#F5F5F5"
Text color in hex format
"#333333"
Header logo URL
"https://assets.thena.io/logos/header-logo.png"
Header button configuration
Show child attributes
Button color in hex format
"#007AFF"
Button background color in hex format or transparent
"#007AFF"
Button text color in hex format
"#FFFFFF"
Button text
"Contact Support"
Button redirection URL
"https://support.thena.ai/contact"
Button border radius
8
{
"color": "#007AFF",
"text": "Contact Support",
"redirectionUrl": "https://support.thena.ai/contact",
"radius": 8
}Hero configuration
Show child attributes
Hero message
Hero background configuration
Show child attributes
Type of hero background
color, image, gradient "COLOR"
Whether to fade the background
true
Background color in hex format
"#F5F5F5"
Background image URL
"https://assets.thena.io/backgrounds/hero.jpg"
Gradient colors in hex format
2 - 3 elements["#007AFF", "#00C6FF", "#00E5FF"]Text color in hex format
Hero section height
245 <= x <= 600Hero search configuration
Show child attributes
Length of search bar
short, medium, long "MEDIUM"
Alignment of search bar
left, center, right "CENTER"
Vertical alignment of search bar
bottom, center, top "CENTER"
Search bar border radius
0 <= x <= 308
Placeholder text for search bar
"Search for help articles..."
Search border color
Body blocks configuration
Show child attributes
Collection configuration for body blocks
Footer configuration
Show child attributes
Layout of footer
simple, classic, multi Footer text
Background color in hex format
Text color in hex format
Footer logo URL
Array of social links
Show child attributes
Array of footer link columns
Show child attributes
Name of the footer link column
Footer subtext
Help center logo URL
"https://assets.thena.io/logos/help-center-logo.png"
Meta information for SEO
{
"title": "Thena Help Center - Get Support",
"description": "Find help articles and documentation for Thena products",
"image": "https://assets.thena.io/meta/help-center.jpg"
}Updates a help center by ID
Help center data
Show child attributes
Organization ID
"EWWESHH5ED"
Help center name
"Thena Support Center"
Default domain
"support.thena.ai"
Organization domain
"thena.ai"
Whether the help center is online
true
Whether the help center requires authentication to access
false
Whether the help center should be indexed
true
Created by
"UWW7PBBOPJ"
Social images
{
"favicon": "https://example.com/favicon.ico",
"openGraphImage": "https://example.com/open-graph.jpg"
}Styling configuration
{
"body": {
"bgColor": "#FFFFFF",
"textColor": "#000000",
"actionColor": "#000000",
"designStyle": "card",
"radius": 10,
"pFont": "default",
"sFont": "default",
"displayAuthors": true
},
"header": {
"logo": "https://example.com/logo.png",
"title": "Thena Support Center",
"links": [
{
"name": "Home",
"url": "https://example.com"
}
],
"showBg": true,
"bgColor": "#FFFFFF",
"color": "#000000"
},
"hero": {
"message": "Welcome to Thena Support Center",
"background": { "type": "color", "color": "#FFFFFF" },
"color": "#000000",
"height": 245,
"search": {
"len": "long",
"align": "left",
"justify": "bottom",
"radius": 10,
"placeholderText": "Search..."
}
},
"bodyBlocks": {
"collection": {
"layout": "one-column",
"style": "classic"
}
},
"collection": { "displayDescription": true },
"article": {
"displayTableOfContent": true,
"displayRelatedArticle": true
},
"footer": {
"logo": "https://example.com/logo.png",
"layout": "simple",
"text": "© 2024 Thena Support Center",
"bgColor": "#FFFFFF",
"color": "#000000",
"socialLinks": [
{
"type": "facebook",
"url": "https://www.facebook.com/thena.ai"
},
{
"type": "twitter",
"url": "https://www.twitter.com/thena.ai"
}
],
"links": [
{
"columnName": "Contact",
"data": [
{
"name": "Support",
"url": "https://example.com/support"
}
]
}
]
}
}AI data
{
"assistants": [
{
"name": "Assistant 1",
"assistantId": "123",
"vectorId": "456",
"assistantType": "default"
}
]
}Meta data
{
"title": "Thena Support Center",
"description": "Thena Support Center",
"image": "https://example.com/image.jpg"
}Help center logo
"https://example.com/logo.png"
Custom domain
"support.thena.ai"
Google Analytics ID
"UA-1234567890"
Response message
"Help center updated successfully."