Website Management

Add custom domain

Initiates custom domain setup for a website. Returns agent-ready DNS records with instructions.

post/v1/workspace/website/{website_id}/domain

Request

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

Path parameters

website_idstring required

Unique identifier of the website

Example:website_abc123

Request body

domainstring required

Custom domain to add to the website

Example request

{
  "domain": "www.mybusiness.com"
}

Response

Custom domain setup initiated with DNS records

successtrue required

Indicates the operation was successful

Example response

{
  "success": true,
  "result": {
    "message": "Custom domain setup initiated",
    "domain": "www.mybusiness.com",
    "dns_records": [
      {
        "record_type": "CNAME",
        "host": "www",
        "value": "proxy.example.com",
        "purpose": "Points your domain to our servers"
      }
    ],
    "instructions": "Add the following DNS records to your domain registrar to complete the setup."
  }
}

Changes

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