> ## Documentation Index
> Fetch the complete documentation index at: https://docs.happyuptime.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get project info, plan, and embed URLs

Returns the current project's ID, name, plan, plan limits, embed URLs, ready-to-paste snippets, and status pages. Use `status_pages[].public_url` or `embeds.links.status_page` as the canonical public status-page URL. Do not infer public routes from project slugs.

` GET /project `

Get project info, plan, and embed URLs

Returns the current project's ID, name, plan, plan limits, embed URLs, ready-to-paste snippets, and status pages. Use `status_pages[].public_url` or `embeds.links.status_page` as the canonical public status-page URL. Do not infer public routes from project slugs.

## Servers

- ` https://happyuptime.com/api/v1 `

## Authentication

The operation accepts these alternatives. Schemes within one alternative are required together.

### Alternative 1

- ` bearerAuth `: ` http `

  - HTTP scheme: ` bearer ` (hu_api_key)

  - API key with `hu_` prefix. Send exactly `Authorization: Bearer hu_...`. `X-API-Key` is not supported. Create keys in Dashboard → Settings → API Keys.

## Responses

### ` 200 ` — Project info with plan, limits, and embeds

Content type: ` application/json `

- ` value `: type ` object `

  - ` data `: type ` object `

    - ` id `: type ` string ` — Project ID

    - ` name `: type ` string `

    - ` slug `: type ` string `

    - ` created_at `: type ` string `; format ` date-time `

    - ` plan `: type ` string ` — Current billing plan

      - enum: ` ["free","pro","team","enterprise"] `

    - ` limits `: type ` object ` — Plan-specific resource limits

      - ` monitors `: type ` integer ` — Max monitors allowed

      - ` status_pages `: type ` integer ` — Max status pages allowed

      - ` custom_domains `: type ` integer ` — Max custom domains (0 = not available)

      - ` rate_limit `: type ` integer ` — API requests per minute

    - ` embeds `: type ` object `

      - ` badges `: type ` object `

        - ` uptime `: type ` string `; format ` uri ` — Uptime badge SVG URL

        - ` status `: type ` string `; format ` uri ` — Status badge SVG URL

        - ` response_time `: type ` string `; format ` uri ` — Response time badge SVG URL

      - ` links `: type ` object ` — Canonical public links for the project's default status page

        - ` status_page `: type ` string or null `; format ` uri ` — Canonical public status page URL. Prefers a custom domain when configured.

      - ` widgets `: type ` object `

        - ` status_json `: type ` string `; format ` uri ` — Status JSON endpoint (CORS-enabled)

        - ` badge_iframe `: type ` string `; format ` uri `

        - ` downtime_banner `: type ` string `; format ` uri ` — Embeddable downtime banner JS

      - ` snippets `: type ` object ` — Ready-to-paste HTML and Markdown snippets. Badge snippets are pre-linked to the canonical public status page when one exists.

        - ` uptime_badge_html `: type ` string `

        - ` status_badge_html `: type ` string `

        - ` status_badge_iframe_html `: type ` string ` — Ready-to-paste iframe HTML for the live status badge widget.

        - ` status_badge_markdown `: type ` string `

        - ` uptime_badge_markdown `: type ` string `

        - ` downtime_banner_html `: type ` string `

        - ` status_json_fetch `: type ` string `

    - ` status_pages `: type ` array `

      - ` array item `: type ` object `

        - ` id `: type ` string `

        - ` name `: type ` string `

        - ` slug `: type ` string `

        - ` template `: type ` string `

        - ` brand_color `: type ` string or null `

        - ` logo_url `: type ` string or null `; format ` uri `

        - ` is_published `: type ` integer `

          - enum: ` [0,1] `

        - ` custom_domain `: type ` string or null `

        - ` public_url `: type ` string or null `; format ` uri ` — Canonical public URL for this status page when published. Uses the custom domain when configured, otherwise `/status/{slug}`.

        - ` embeds `: type ` object ` — Scoped badge URLs, widget URLs, and copy-paste snippets for this status page only.

          - ` badges `: type ` object `

            - ` uptime `: type ` string `; format ` uri `

            - ` status `: type ` string `; format ` uri `

            - ` response_time `: type ` string `; format ` uri `

          - ` links `: type ` object `

            - ` status_page `: type ` string or null `; format ` uri `

          - ` widgets `: type ` object `

            - ` status_json `: type ` string `; format ` uri `

            - ` badge_iframe `: type ` string `; format ` uri `

            - ` downtime_banner `: type ` string `; format ` uri `

          - ` snippets `: type ` object `

            - ` uptime_badge_html `: type ` string `

            - ` status_badge_html `: type ` string `

            - ` status_badge_iframe_html `: type ` string `

            - ` status_badge_markdown `: type ` string `

            - ` uptime_badge_markdown `: type ` string `

            - ` downtime_banner_html `: type ` string `

            - ` status_json_fetch `: type ` string `

### ` 401 ` — Unauthorized

Content type: ` application/json `

- ` value `: type ` object `

  - Required fields: ` error `

  - ` error `: type ` object `

    - Required fields: ` code `, ` message `, ` status `

    - ` code `: type ` string `

      - example: ` "not_found" `

    - ` message `: type ` string `

      - example: ` "Monitor not found" `

    - ` status `: type ` integer `

      - example: ` 404 `

## Request examples

### cURL

```curl
curl -X GET 'https://happyuptime.com/api/v1/project' \
  -H 'Authorization: Bearer YOUR_API_TOKEN'
```

### JavaScript

```javascript
const response = await fetch('https://happyuptime.com/api/v1/project', {
  method: 'GET',
  headers: {
      "Authorization": "Bearer YOUR_API_TOKEN"
  }
});

const data = await response.json();
console.log(data);
```

### Python

```python
import requests

headers = {
    'Authorization': 'Bearer YOUR_API_TOKEN'
}

response = requests.get('https://happyuptime.com/api/v1/project', headers=headers)
print(response.json())
```