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",
"actionColor": "#007AFF",
"designStyle": "MODERN",
"radius": 8,
"pFont": "Inter",
"sFont": "Roboto",
"displayAuthors": true
},
"header": {
"logo": "https://assets.thena.io/logos/header-logo.png",
"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",
"button": {
"color": "#007AFF",
"text": "Contact Support",
"redirectionUrl": "https://support.thena.ai/contact",
"radius": 8
}
},
"hero": {
"message": "<string>",
"background": {
"type": "COLOR",
"color": "#F5F5F5",
"image": "https://assets.thena.io/backgrounds/hero.jpg",
"gradient": [
"#007AFF",
"#00C6FF",
"#00E5FF"
],
"fade": true
},
"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": {
"logo": "<string>",
"layout": "simple",
"text": "<string>",
"bgColor": "<string>",
"color": "<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",
"logo": "https://example.com/logo.png",
"customDomain": "support.thena.ai",
"gaId": "UA-1234567890",
"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",
"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"
}
},
"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",
"actionColor": "#007AFF",
"designStyle": "MODERN",
"radius": 8,
"pFont": "Inter",
"sFont": "Roboto",
"displayAuthors": true
},
"header": {
"logo": "https://assets.thena.io/logos/header-logo.png",
"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",
"button": {
"color": "#007AFF",
"text": "Contact Support",
"redirectionUrl": "https://support.thena.ai/contact",
"radius": 8
}
},
"hero": {
"message": "<string>",
"background": {
"type": "COLOR",
"color": "#F5F5F5",
"image": "https://assets.thena.io/backgrounds/hero.jpg",
"gradient": [
"#007AFF",
"#00C6FF",
"#00E5FF"
],
"fade": true
},
"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": {
"logo": "<string>",
"layout": "simple",
"text": "<string>",
"bgColor": "<string>",
"color": "<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",
"logo": "https://example.com/logo.png",
"customDomain": "support.thena.ai",
"gaId": "UA-1234567890",
"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",
"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"
}
},
"message": "Help center updated successfully."
}
Enter your API key (format: keyId.keySecret)
Help Center ID in MongoDB ObjectId format
"507f1f77bcf86cd799439011"
Help center update payload
The body is of type object
.
Updates a help center by ID
The response is of type object
.