---
title: "Get Website"
description: "Returns a single website (basic/sanitized). Sensitive fields like encrypted credentials are removed."
---

`GET /api/websites/:websitePublicId`

If you need the full “mega” representation (including additional computed/status fields), use:

- `GET /api/websites/:websitePublicId/details`

## Example (cURL)

```bash
BASE_URL="https://uptimeify.io"
TOKEN="<your-api-token>"

curl -X GET "$BASE_URL/api/websites/9a3d4d4d-7a4b-4f37-a9df-2a6f6d9d7a10" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Accept: application/json"
```

## Response

```json
{
  "id": 101,
  "organizationId": 1,
  "customerId": 1,
  "name": "Main Marketing Site",
  "url": "https://deinkunde.com",
  "status": "active",
  "monitoringType": "combined",
  "checkInterval": 1,
  "createdAt": "2026-02-26T12:00:00.000Z",
  "updatedAt": "2026-02-26T12:00:00.000Z"
}
```

## Common errors

- `400 Website public ID (UUID) required` when `:websitePublicId` is missing/invalid
- `401 Unauthorized` when you are not logged in
- `403 Forbidden` when you cannot access the website
- `404 Not Found` when the website does not exist

