Uptimeify Docs
Whitelabel

Activate Domain

Activates a verified custom domain. Optionally sets it as the primary domain. Admin-only.

POST /api/organization/whitelabel/domains/activate

Request Body

FieldTypeRequiredDefaultDescription
domainIdnumberYesThe verified domain ID to activate
makePrimarybooleanNoautoSet this domain as primary. Auto-set to true if no primary exists.

Example (cURL)

curl -X POST "$BASE_URL/api/organization/whitelabel/domains/activate" \
  -H "Cookie: $SESSION_COOKIE" \
  -H "Content-Type: application/json" \
  -d '{ "domainId": 2, "makePrimary": true }'

Response

{
  "activated": true,
  "domain": {
    "id": 2,
    "hostname": "app.example.com",
    "status": "active",
    "role": "app",
    "isPrimary": true,
    "verificationToken": "xyz789-abc456",
    "verifiedAt": "2026-04-15T12:30:00.000Z",
    "createdAt": "2026-04-15T12:00:00.000Z",
    "updatedAt": "2026-04-15T13:00:00.000Z"
  }
}

Common errors

  • 400 Domain must be verified before activation
  • 404 Domain not found

On this page