1. Projects
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. Projects

Claim anonymous project

POST
/v1/projects/claim/{claimToken}
Permanently transfers an anonymous temporary project to the authenticated user's account.
Before claiming, the endpoint verifies that the user has not exceeded their active project count or storage quota. If either limit would be exceeded the request is rejected with 403.
TTL extension on claim:
Free plan — expiry is extended to 7 days from the moment of claiming.
Paid plans — expiry is removed; the project becomes permanent.
The claimToken is invalidated after a successful claim. Claiming the same token a second time returns 409.

Request

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

Responses

🟢200
application/json
Project claimed successfully.
Body

🟠401
🟠403
🟠404
🟠409
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://connect.litehost.io/v1/projects/claim/' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Example 1
{
    "status": "success",
    "data": {
        "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",
        "slug": "blue-fox-42",
        "url": "https://blue-fox-42.litepage.site",
        "expiresAt": "2026-04-10T01:15:00.000Z"
    }
}
Modified at 2026-04-03 07:05:50
Previous
Unarchive project
Next
List domains
Built with