---
title: "Read Embedded"
method: GET
path: "/api/embed/{doc_id}"
tags: ["embeds"]
---

# Read Embedded

`GET /api/embed/{doc_id}`

## Request

- Base URL: `https://board.noddle.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://board.noddle.dev/api/embed/{doc_id}`
- Auth: none declared

## Path parameters

- `doc_id` string, required

## Query parameters

- `t` string, nullable

## Response `200`

Successful Response

- DocumentOut: Full document (metadata + sanitized SVG + optional editable diagram). ``my_role`` is the CALLER's effective role (owner|editor|viewer) so the frontend can lock the UI without re-deriving ACLs client-side. ``owner`` is the board owner's public profile ({id,name,color,avatar,…}) so the editor can show a subtle "Owned by …" chip to every viewer.
  - `meta` DocMeta, required: Document metadata as returned to clients.
    - `id` string, required
    - `name` string, required
    - `created_at` number, required
    - `updated_at` number, required
    - `folder_id` string, nullable
    - `owner_id` string, nullable
    - `team_id` string, nullable
    - `link_policy` string
  - `svg` string, required
  - `diagram` object, nullable
  - `my_role` string
  - `owner` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/noddle/apis/noddle-board.md) · [All operations](https://skmtc.dev/noddle/apis/noddle-board/llms.txt) · [OpenAPI document](https://skmtc.dev/noddle/apis/noddle-board/revisions/7f324e389516?raw)
