1. Domains
Litehost Connect API
  • System
    • Health check
      GET
    • API info
      GET
  • Authentication
    • Request OTP code
      POST
    • Verify OTP and get API key
      POST
  • User
    • Get current user
      GET
  • Projects
    • List projects
      GET
    • Create project
      POST
    • Get project
      GET
    • Push new version
      PUT
    • Update project settings
      PATCH
    • Delete project
      DELETE
    • Get deployment history
      GET
    • Archive project
      POST
    • Create temporary project
      POST
    • Unarchive project
      POST
    • Claim anonymous project
      POST
  • Domains
    • List domains
      GET
    • Get domain
      GET
  • Workspaces
    • List workspaces
      GET
    • Create workspace
      POST
    • Rename workspace
      PATCH
    • Delete workspace
      DELETE
  • Schemas
    • Project
    • Deployment
    • Domain
    • DomainDetail
    • WorkspaceSummary
    • ErrorResponse
    • SuccessResponse
    • FreeTierRestricted
  1. Domains

List domains

GET
/v1/domains
Paid plan required. Not available on the free tier — upgrade to starter or higher.
Returns all custom domains associated with the authenticated user.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or

Responses

🟢200
application/json
List of domains
Bodyapplication/json

🟠401
🟠403
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://connect.litehost.io/v1/domains' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Example 1
{
    "status": "success",
    "data": {
        "domains": [
            {
                "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
                "domain": "example.com",
                "status": "pending_verification",
                "verifiedAt": "2019-08-24T14:15:22.123Z",
                "projectCount": 0,
                "createdAt": "2019-08-24T14:15:22.123Z"
            }
        ]
    }
}
Modified at 2026-04-03 07:05:46
Previous
Claim anonymous project
Next
Get domain
Built with