---
title: "Get domain"
method: GET
path: "/v2/domains/{id}"
tags: ["Domains"]
---

# Get domain

`GET /v2/domains/{id}`

Retrieve a single domain by id.

**Required OAuth scope:** `domains:read`

## Path parameters

- `id` string, required

## Response `200`

OK

- DomainDetailResponse — JSON:API single-resource response for a domain.
  - `data` DomainResource, required — JSON:API resource object for a domain.
    - `type` string — Always "domains".
    - `id` string, required — Opaque domain ID. Use in URL paths.
    - `attributes` DomainAttributes, required — Attributes of a domain resource object.
      - `external_id` string, required — Stable UUID5 for cross-system correlation.
      - `name` string, required — Hostname the domain serves. Unique per organization.
      - `access` 'PUBLIC' | 'PRIVATE' | 'PRIVATE_CODE', required — Catalog access mode: PUBLIC, PRIVATE (login required), or PRIVATE_CODE (access code required).
      - `access_message_html` string, required — Message shown on the login / signup / access-code pages.
      - `marketing_message` string, required — Catalog marketing copy.
      - `require_https` boolean, required — Whether the domain forces HTTPS.
      - `created_at` string, date-time, required — Creation timestamp.
      - `modified_at` string, date-time, required — Latest update timestamp.
    - `relationships` object, nullable — Related theme linkage.
    - `links` object, nullable — Self link.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity

---

[API](https://skmtc.net/skilljar/apis/skilljar-api-v2.md) · [All operations](https://skmtc.net/skilljar/apis/skilljar-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/skilljar/skilljar-api-v2/revisions/f8025de20169/schema)
