---
title: "Get website"
method: POST
path: "/websites/getById"
tags: ["Websites"]
---

# Get website

`POST /websites/getById`

## Request

- Base URL: `https://api.databuddy.cc`
- URL: `https://api.databuddy.cc/websites/getById`
- Auth: API key in header `x-api-key`

Returns a website by id. Requires website read permission.

## Request body

- object
  - `id` string, required

## Response `200`

OK

- object
  - `id` string, required
  - `domain` string, required
  - `name` string, nullable, required
  - `status` 'ACTIVE' | 'HEALTHY' | 'UNHEALTHY' | 'INACTIVE' | 'PENDING', required
  - `isPublic` boolean, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required
  - `organizationId` string, required
  - `deletedAt` string, date-time, nullable, required
  - `integrations` object, nullable, required
  - `replayEnabled` boolean, required
  - `settings` object, nullable, required
    - `allowedOrigins` string[]
    - `allowedIps` string[]
    - `ignoredTrackingOrigins` string[]
    - `sessionReplay` boolean
    - `trackingIssueWarningsDisabled` boolean

## Other responses

- `400`: 400
- `401`: 401
- `402`: 402
- `403`: 403
- `404`: 404
- `409`: 409
- `429`: 429
- `500`: 500
- `503`: 503

---

[API](https://skmtc.dev/databuddy/apis/databuddy-api.md) - [All operations](https://skmtc.dev/databuddy/apis/databuddy-api/llms.txt) - [OpenAPI document](https://skmtc.dev/databuddy/apis/databuddy-api/revisions/ddfbba648d52?raw)
