Website Management

Update website settings

Updates website settings including business name, description, language, theme, and custom code.

put/v1/workspace/website/{website_id}/settings

Request

  • Base URL: https://api.lindo.ai
  • URL: https://api.lindo.ai/v1/workspace/website/{website_id}/settings
  • Auth: HTTP bearer

Path parameters

website_idstring required

Unique identifier of the website

Example:website_abc123

Request body

business_namestring

Business name for the website

business_descriptionstring

Business description

languagestring

Language of the website

themeobject

Theme configuration for the website

robotsstring

Robots.txt content for the website

custom_code_headerstring

Custom code to inject in the header

custom_code_footerstring

Custom code to inject in the footer

socialsobject

Social media links for the website

Example request

{
  "business_name": "My Business",
  "business_description": "A great business providing excellent services",
  "language": "en",
  "theme": {
    "primaryColor": "#007bff"
  },
  "robots": "User-agent: *\nAllow: /",
  "custom_code_header": "<script>console.log('header');</script>",
  "custom_code_footer": "<script>console.log('footer');</script>",
  "socials": {
    "twitter": "https://twitter.com/mybusiness"
  },
  "fonts": {
    "heading": "Roboto",
    "body": "Open Sans"
  }
}

Response

Website settings updated successfully

successtrue required

Indicates the operation was successful

Example response

{
  "success": true,
  "result": {
    "message": "Website settings updated successfully",
    "website_id": "website_abc123",
    "business_name": "My Business",
    "business_description": "A great business providing excellent services",
    "language": "en",
    "theme": {
      "primaryColor": "#007bff"
    },
    "robots": "User-agent: *\nAllow: /",
    "custom_code_header": "<script>console.log('header');</script>",
    "custom_code_footer": "<script>console.log('footer');</script>",
    "socials": {
      "twitter": "https://twitter.com/mybusiness"
    },
    "fonts": {
      "heading": "Roboto",
      "body": "Open Sans"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.